Add license notifications to all source files
authorChip Black <bytex64@bytex64.net>
Sat, 8 Jan 2011 07:59:49 +0000 (01:59 -0600)
committerChip Black <bytex64@bytex64.net>
Sat, 8 Jan 2011 07:59:49 +0000 (01:59 -0600)
26 files changed:
cgi/canned_responses.c
cgi/canned_responses.h
cgi/cgi_blerg.c
cgi/rss.c
common/app.c
common/app.h
common/auth.c
common/auth.h
common/escapery.c
common/escapery.h
common/json.c
common/json.h
database/database.c
database/database.h
database/tags.c
database/tags.h
database/util.c
database/util.h
http/canned_responses.c
http/canned_responses.h
http/http_blerg.c
tools/blergtool.c
www/css/blerg.css
www/css/doc.css
www/index.html
www/js/blerg.js

index 2f430b1..fb79b6f 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <string.h>
 #include "canned_responses.h"
index 84fd56a..bfdafda 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _CANNED_RESPONSES
 #define _CANNED_RESPONSES
 
index 83dd53d..737910c 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
index 173da07..c35e33b 100644 (file)
--- a/cgi/rss.c
+++ b/cgi/rss.c
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <time.h>
index 9d3e6cf..27dfb5f 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
index e37b47a..d1df688 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _APP_H
 #define _APP_H
 
index cdfbf85..7e63f96 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
index 124f014..d180bfd 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _AUTH_H
 #define _AUTH_H
 
index 27456bf..0aa1c34 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <string.h>
 #include <stdlib.h>
 #include "escapery.h"
index ae74226..35f3fe0 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _ESCAPERY_H
 #define _ESCAPERY_H
 
index 6b793ab..5494e4a 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
index 61e396d..78cb4d7 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _JSON_H
 #define _JSON_H
 
index 585f508..cb5cf0c 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdint.h>
 #include <stdlib.h>
 #include <string.h>
index d128869..4c5853e 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _DATABASE_H
 #define _DATABASE_H
 
index 356ef88..8386705 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <string.h>
 #include <stdlib.h>
 #include <stdio.h>
index 05b6a89..a75047b 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _TAGS_H
 #define _TAGS_H
 
index ede0450..2accd5d 100644 (file)
@@ -1,3 +1,7 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
+
 #define VALID_CHAR(x) (x == ' ' || x == '\'' || x == '-' || x == '.' || (x >= '0' && x <= '9') || (x >= 'A' && x <= 'Z') || x == '_' || (x >= 'a' && x <= 'z'))
 
 int valid_name(const char *name) {
index e046f19..bdac3ea 100644 (file)
@@ -1 +1,9 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
+#ifndef _UTIL_H
+#define _UTIL_H
+
 int valid_name(const char *name);
+
+#endif /* _UTIL_H */
index 5461b46..ee26799 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <string.h>
 #include <microhttpd.h>
 #include "app.h"
index b04ee3e..7b3a0f5 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #ifndef _CANNED_RESPONSES
 #define _CANNED_RESPONSES
 
index 6abcc11..1a751ac 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
index cc78c7d..0531858 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include "database.h"
index efaec44..7cf15a8 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 @font-face {
        font-family: "Alte Haas Grotesk Bold";
        src: url("/fonts/AlteHaasGroteskBold.ttf");
index ff2636c..de78a26 100644 (file)
@@ -1,3 +1,6 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
 body {
        font: 14pt serif;
 }
index 5bd89da..6b25550 100644 (file)
@@ -1,4 +1,7 @@
 <!DOCTYPE html>
+<!-- Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+     BSD-style license.  Please see the COPYING file for details.
+  --> 
 <html>
 <head>
 <title>BlĂ«rg!</title>
index 7bb5fe2..bae782e 100644 (file)
@@ -1,3 +1,7 @@
+/* Blerg is (C) 2011 The Dominion of Awesome, and is distributed under a
+ * BSD-style license.  Please see the COPYING file for details.
+ */
+
 // Config
 var baseURL = '';
 var recordTemplate = new Template(