tinywebd

changeset 12:86f703031228

Attribution headers
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 19 Apr 2015 00:01:01 +0300
parents b13fda5c01bc
children a9ed0b2260ee
files libtinyweb/src/http.c libtinyweb/src/http.h libtinyweb/src/logger.c libtinyweb/src/logger.h libtinyweb/src/mime.c libtinyweb/src/mime.h libtinyweb/src/rbtree.c libtinyweb/src/rbtree.h libtinyweb/src/tinyweb.c libtinyweb/src/tinyweb.h src/main.c
diffstat 11 files changed, 75 insertions(+), 12 deletions(-) [+]
line diff
     1.1 --- a/libtinyweb/src/http.c	Sat Apr 18 23:55:34 2015 +0300
     1.2 +++ b/libtinyweb/src/http.c	Sun Apr 19 00:01:01 2015 +0300
     1.3 @@ -1,3 +1,10 @@
     1.4 +/* tinyweb - tiny web server library and daemon
     1.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
     1.6 + *
     1.7 + * This program is placed in the public domain. Feel free to use it any
     1.8 + * way you like. Mentions and retaining this attribution header will be
     1.9 + * appreciated, but not required.
    1.10 + */
    1.11  #include <stdio.h>
    1.12  #include <stdlib.h>
    1.13  #include <string.h>
     2.1 --- a/libtinyweb/src/http.h	Sat Apr 18 23:55:34 2015 +0300
     2.2 +++ b/libtinyweb/src/http.h	Sun Apr 19 00:01:01 2015 +0300
     2.3 @@ -1,3 +1,10 @@
     2.4 +/* tinyweb - tiny web server library and daemon
     2.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
     2.6 + *
     2.7 + * This program is placed in the public domain. Feel free to use it any
     2.8 + * way you like. Mentions and retaining this attribution header will be
     2.9 + * appreciated, but not required.
    2.10 + */
    2.11  #ifndef HTTP_H_
    2.12  #define HTTP_H_
    2.13  
     3.1 --- a/libtinyweb/src/logger.c	Sat Apr 18 23:55:34 2015 +0300
     3.2 +++ b/libtinyweb/src/logger.c	Sun Apr 19 00:01:01 2015 +0300
     3.3 @@ -1,3 +1,10 @@
     3.4 +/* tinyweb - tiny web server library and daemon
     3.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
     3.6 + *
     3.7 + * This program is placed in the public domain. Feel free to use it any
     3.8 + * way you like. Mentions and retaining this attribution header will be
     3.9 + * appreciated, but not required.
    3.10 + */
    3.11  #include <stdio.h>
    3.12  #include <stdlib.h>
    3.13  #include <string.h>
     4.1 --- a/libtinyweb/src/logger.h	Sat Apr 18 23:55:34 2015 +0300
     4.2 +++ b/libtinyweb/src/logger.h	Sun Apr 19 00:01:01 2015 +0300
     4.3 @@ -1,3 +1,10 @@
     4.4 +/* tinyweb - tiny web server library and daemon
     4.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
     4.6 + *
     4.7 + * This program is placed in the public domain. Feel free to use it any
     4.8 + * way you like. Mentions and retaining this attribution header will be
     4.9 + * appreciated, but not required.
    4.10 + */
    4.11  #ifndef LOGGER_H_
    4.12  #define LOGGER_H_
    4.13  
     5.1 --- a/libtinyweb/src/mime.c	Sat Apr 18 23:55:34 2015 +0300
     5.2 +++ b/libtinyweb/src/mime.c	Sun Apr 19 00:01:01 2015 +0300
     5.3 @@ -1,3 +1,10 @@
     5.4 +/* tinyweb - tiny web server library and daemon
     5.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
     5.6 + *
     5.7 + * This program is placed in the public domain. Feel free to use it any
     5.8 + * way you like. Mentions and retaining this attribution header will be
     5.9 + * appreciated, but not required.
    5.10 + */
    5.11  #include <stdlib.h>
    5.12  #include <string.h>
    5.13  #include "mime.h"
     6.1 --- a/libtinyweb/src/mime.h	Sat Apr 18 23:55:34 2015 +0300
     6.2 +++ b/libtinyweb/src/mime.h	Sun Apr 19 00:01:01 2015 +0300
     6.3 @@ -1,3 +1,10 @@
     6.4 +/* tinyweb - tiny web server library and daemon
     6.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
     6.6 + *
     6.7 + * This program is placed in the public domain. Feel free to use it any
     6.8 + * way you like. Mentions and retaining this attribution header will be
     6.9 + * appreciated, but not required.
    6.10 + */
    6.11  #ifndef MIME_H_
    6.12  #define MIME_H_
    6.13  
     7.1 --- a/libtinyweb/src/rbtree.c	Sat Apr 18 23:55:34 2015 +0300
     7.2 +++ b/libtinyweb/src/rbtree.c	Sun Apr 19 00:01:01 2015 +0300
     7.3 @@ -1,9 +1,9 @@
     7.4 -/*
     7.5 -rbtree - simple balanced binary search tree (red-black tree) library.
     7.6 -Copyright (C) 2011-2014  John Tsiombikas <nuclear@member.fsf.org>
     7.7 -
     7.8 -rbtree is free software, feel free to use, modify, and redistribute it, under
     7.9 -the terms of the 3-clause BSD license. See COPYING for details.
    7.10 +/* tinyweb - tiny web server library and daemon
    7.11 + * Author: John Tsiombikas <nuclear@member.fsf.org>
    7.12 + *
    7.13 + * This program is placed in the public domain. Feel free to use it any
    7.14 + * way you like. Mentions and retaining this attribution header will be
    7.15 + * appreciated, but not required.
    7.16   */
    7.17  #include <stdio.h>
    7.18  #include <stdlib.h>
     8.1 --- a/libtinyweb/src/rbtree.h	Sat Apr 18 23:55:34 2015 +0300
     8.2 +++ b/libtinyweb/src/rbtree.h	Sun Apr 19 00:01:01 2015 +0300
     8.3 @@ -1,9 +1,9 @@
     8.4 -/*
     8.5 -rbtree - simple balanced binary search tree (red-black tree) library.
     8.6 -Copyright (C) 2011-2014  John Tsiombikas <nuclear@member.fsf.org>
     8.7 -
     8.8 -rbtree is free software, feel free to use, modify, and redistribute it, under
     8.9 -the terms of the 3-clause BSD license. See COPYING for details.
    8.10 +/* tinyweb - tiny web server library and daemon
    8.11 + * Author: John Tsiombikas <nuclear@member.fsf.org>
    8.12 + *
    8.13 + * This program is placed in the public domain. Feel free to use it any
    8.14 + * way you like. Mentions and retaining this attribution header will be
    8.15 + * appreciated, but not required.
    8.16   */
    8.17  #ifndef RBTREE_H_
    8.18  #define RBTREE_H_
     9.1 --- a/libtinyweb/src/tinyweb.c	Sat Apr 18 23:55:34 2015 +0300
     9.2 +++ b/libtinyweb/src/tinyweb.c	Sun Apr 19 00:01:01 2015 +0300
     9.3 @@ -1,3 +1,10 @@
     9.4 +/* tinyweb - tiny web server library and daemon
     9.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
     9.6 + *
     9.7 + * This program is placed in the public domain. Feel free to use it any
     9.8 + * way you like. Mentions and retaining this attribution header will be
     9.9 + * appreciated, but not required.
    9.10 + */
    9.11  #include <stdio.h>
    9.12  #include <stdlib.h>
    9.13  #include <string.h>
    10.1 --- a/libtinyweb/src/tinyweb.h	Sat Apr 18 23:55:34 2015 +0300
    10.2 +++ b/libtinyweb/src/tinyweb.h	Sun Apr 19 00:01:01 2015 +0300
    10.3 @@ -1,3 +1,10 @@
    10.4 +/* tinyweb - tiny web server library and daemon
    10.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
    10.6 + *
    10.7 + * This program is placed in the public domain. Feel free to use it any
    10.8 + * way you like. Mentions and retaining this attribution header will be
    10.9 + * appreciated, but not required.
   10.10 + */
   10.11  #ifndef TINYWEB_H_
   10.12  #define TINYWEB_H_
   10.13  
    11.1 --- a/src/main.c	Sat Apr 18 23:55:34 2015 +0300
    11.2 +++ b/src/main.c	Sun Apr 19 00:01:01 2015 +0300
    11.3 @@ -1,3 +1,10 @@
    11.4 +/* tinyweb - tiny web server library and daemon
    11.5 + * Author: John Tsiombikas <nuclear@member.fsf.org>
    11.6 + *
    11.7 + * This program is placed in the public domain. Feel free to use it any
    11.8 + * way you like. Mentions and retaining this attribution header will be
    11.9 + * appreciated, but not required.
   11.10 + */
   11.11  #include <stdio.h>
   11.12  #include <stdlib.h>
   11.13  #include <string.h>