Skip to content

Commit

Permalink
Updated license
Browse files Browse the repository at this point in the history
  • Loading branch information
geky committed Jul 28, 2016
1 parent da0e401 commit c3e6189
Show file tree
Hide file tree
Showing 10 changed files with 58 additions and 3 deletions.
18 changes: 15 additions & 3 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,19 @@
Copyright (c) 2016 Christopher Haster

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
6 changes: 6 additions & 0 deletions events.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Flexible event queue for dispatching events
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#include "events.h"

#include <stdlib.h>
Expand Down
3 changes: 3 additions & 0 deletions events.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/*
* Flexible event queue for dispatching events
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#ifndef EVENTS_H
#define EVENTS_H
Expand Down
7 changes: 7 additions & 0 deletions events_mbed.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/*
* Implementation for the mbed library
* https://github.com/mbedmicro/mbed
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#if defined(__MBED__)

#include "events_tick.h"
Expand Down
3 changes: 3 additions & 0 deletions events_mutex.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/*
* System specific mutex implementation
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#ifndef EVENTS_MUTEX_H
#define EVENTS_MUTEX_H
Expand Down
6 changes: 6 additions & 0 deletions events_posix.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Implementation for Posix compliant platforms
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#if defined(__unix__)

#include "events_tick.h"
Expand Down
3 changes: 3 additions & 0 deletions events_sema.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/*
* System specific semaphore implementation
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#ifndef EVENTS_SEMA_H
#define EVENTS_SEMA_H
Expand Down
3 changes: 3 additions & 0 deletions events_tick.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/*
* System specific tick implementation
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#ifndef EVENTS_TICK_H
#define EVENTS_TICK_H
Expand Down
6 changes: 6 additions & 0 deletions tests/prof.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Profiling framework for the events library
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#include "events.h"
#include <unistd.h>
#include <stdio.h>
Expand Down
6 changes: 6 additions & 0 deletions tests/tests.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* Testing framework for the events library
*
* Copyright (c) 2016 Christopher Haster
* Distributed under the MIT license
*/
#include "events.h"
#include <unistd.h>
#include <stdio.h>
Expand Down

0 comments on commit c3e6189

Please sign in to comment.