Browse Source

The code is under MIT license.

Georgi Chorbadzhiyski 13 years ago
parent
commit
c1e105edd6
20 changed files with 93 additions and 20 deletions
  1. 20
    0
      LICENSE-MIT.txt
  2. 3
    0
      asyncdns.c
  3. 3
    0
      asyncdns.h
  4. 7
    0
      cbuf.c
  5. 7
    0
      cbuf.h
  6. 3
    0
      http_response.c
  7. 3
    0
      http_response.h
  8. 3
    0
      io.c
  9. 3
    0
      io.h
  10. 3
    0
      libfuncs.h
  11. 2
    0
      list.c
  12. 2
    0
      list.h
  13. 3
    5
      log.c
  14. 3
    5
      log.h
  15. 7
    0
      misc.c
  16. 7
    0
      misc.h
  17. 4
    5
      queue.c
  18. 4
    5
      queue.h
  19. 3
    0
      server.c
  20. 3
    0
      server.h

+ 20
- 0
LICENSE-MIT.txt View File

@@ -0,0 +1,20 @@
1
+Copyright (c) 2006-2010 Unix Solutions Ltd.
2
+
3
+Permission is hereby granted, free of charge, to any person obtaining
4
+a copy of this software and associated documentation files (the
5
+"Software"), to deal in the Software without restriction, including
6
+without limitation the rights to use, copy, modify, merge, publish,
7
+distribute, sublicense, and/or sell copies of the Software, and to
8
+permit persons to whom the Software is furnished to do so, subject
9
+to the following conditions:
10
+
11
+The above copyright notice and this permission notice shall be
12
+included in all copies or substantial portions of the Software.
13
+
14
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
17
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
18
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
19
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
20
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 3
- 0
asyncdns.c View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * Async DNS resolver
3 3
  * Copyright (C) 2009-2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 #include <stdio.h>

+ 3
- 0
asyncdns.h View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * Async DNS resolver
3 3
  * Copyright (C) 2009-2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 #ifndef ASYNCDNS_H

+ 7
- 0
cbuf.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Circular buffer
3
+ * Copyright (C) 2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <stdio.h>
2 9
 #include <stdlib.h>
3 10
 #include <string.h>

+ 7
- 0
cbuf.h View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Circular buffer header file
3
+ * Copyright (C) 2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #ifndef CBUF_H
2 9
 #define CBUF_H
3 10
 

+ 3
- 0
http_response.c View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * HTTP responses
3 3
  * Copyright (C) 2006-2009 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 #include <stdio.h>

+ 3
- 0
http_response.h View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * HTTP responses header file
3 3
  * Copyright (C) 2006-2009 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 #ifndef HTTP_RESPONSE_H

+ 3
- 0
io.c View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * UX IO functions
3 3
  * Copyright (C) 2006-2009 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 /* Needed for POLLRDHUP */

+ 3
- 0
io.h View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * UX IO functions header file
3 3
  * Copyright (C) 2006-2009 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 #ifndef IO_H

+ 3
- 0
libfuncs.h View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * UX libfuncs main header
3 3
  * Copyright (C) 2006-2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 #ifndef LIBFUNCS_H

+ 2
- 0
list.c View File

@@ -2,6 +2,8 @@
2 2
  * List manipulations
3 3
  * Copyright (C) 2006-2010 Unix Solutions Ltd.
4 4
  *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
5 7
  */
6 8
 #include <string.h>
7 9
 #include <stdlib.h>

+ 2
- 0
list.h View File

@@ -2,6 +2,8 @@
2 2
  * List manipulations header file
3 3
  * Copyright (C) 2006-2010 Unix Solutions Ltd.
4 4
  *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
5 7
  */
6 8
 #ifndef LIST_H
7 9
 # define LIST_H

+ 3
- 5
log.c View File

@@ -1,12 +1,10 @@
1 1
 /*
2
- * IPTV.bg Media Proxy
3 2
  * LOG functions
4
- * 
5 3
  * Copyright (C) 2006-2008 Unix Solutions Ltd.
6
- * Written by Luben Karavelov (luben@unixsol.org)
7
- * 
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
8 7
  */
9
-
10 8
 /* Needed for POLLRDHUP */
11 9
 #define _GNU_SOURCE 1
12 10
 

+ 3
- 5
log.h View File

@@ -1,12 +1,10 @@
1 1
 /*
2
- * IPTV.bg Media Proxy
3 2
  * LOG functions header file
4
- * 
5 3
  * Copyright (C) 2006 Unix Solutions Ltd.
6
- * Written by Luben Karavelov (luben@unixsol.org)
7
- * 
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
8 7
  */
9
-
10 8
 #ifndef LOG_H
11 9
 # define LOG_H
12 10
 

+ 7
- 0
misc.c View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Misc functions
3
+ * Copyright (C) 2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #include <sys/time.h>
2 9
 #include <string.h>
3 10
 #include <errno.h>

+ 7
- 0
misc.h View File

@@ -1,3 +1,10 @@
1
+/*
2
+ * Misc functions header file
3
+ * Copyright (C) 2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
7
+ */
1 8
 #ifndef MISC_H
2 9
 #define MISC_H
3 10
 

+ 4
- 5
queue.c View File

@@ -1,10 +1,9 @@
1 1
 /*
2
- * IPTV.bg Media Proxy
3
- * Request queue handling
4
- * 
2
+ * Queue handling
5 3
  * Copyright (C) 2006 Unix Solutions Ltd.
6
- * Written by Luben Karavelov (luben@unixsol.org)
7
- * 
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
8 7
  */
9 8
 #include <stdio.h>
10 9
 #include <stdlib.h>

+ 4
- 5
queue.h View File

@@ -1,10 +1,9 @@
1 1
 /*
2
- * IPTV.bg Media Proxy
3
- * Request queue header file
4
- * 
2
+ * Queue header file
5 3
  * Copyright (C) 2006 Unix Solutions Ltd.
6
- * Written by Luben Karavelov (luben@unixsol.org)
7
- * 
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
8 7
  */
9 8
 #ifndef QUEUE_H
10 9
 # define QUEUE_H

+ 3
- 0
server.c View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * Server functions
3 3
  * Copyright (C) 2006-2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 
6 9
 #include <stdio.h>

+ 3
- 0
server.h View File

@@ -1,6 +1,9 @@
1 1
 /*
2 2
  * Server functions
3 3
  * Copyright (C) 2006-2010 Unix Solutions Ltd.
4
+ *
5
+ * Released under MIT license.
6
+ * See LICENSE-MIT.txt for license terms.
4 7
  */
5 8
 #ifndef SERVER_H
6 9
 # define SERVER_H

Loading…
Cancel
Save