commit:54789cc8538714fc3622646721f6f2ecceae94ac
author:Chip Black
committer:Chip Black
date:Sat Jan 8 01:59:49 2011 -0600
parents:6ce5fb7ab6e31f76e57639e4d04e32af33e77ee6
Add license notifications to all source files
diff --git a/cgi/canned_responses.c b/cgi/canned_responses.c
line changes: +3/-0
index 2f430b1..fb79b6f
--- a/cgi/canned_responses.c
+++ b/cgi/canned_responses.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 <string.h>
 #include "canned_responses.h"

diff --git a/cgi/canned_responses.h b/cgi/canned_responses.h
line changes: +3/-0
index 84fd56a..bfdafda
--- a/cgi/canned_responses.h
+++ b/cgi/canned_responses.h
@@ -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
 

diff --git a/cgi/cgi_blerg.c b/cgi/cgi_blerg.c
line changes: +3/-0
index 83dd53d..737910c
--- a/cgi/cgi_blerg.c
+++ b/cgi/cgi_blerg.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 <string.h>
 #include <stdlib.h>

diff --git a/cgi/rss.c b/cgi/rss.c
line changes: +3/-0
index 173da07..c35e33b
--- 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>

diff --git a/common/app.c b/common/app.c
line changes: +3/-0
index 9d3e6cf..27dfb5f
--- a/common/app.c
+++ b/common/app.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 <string.h>
 #include <stdlib.h>

diff --git a/common/app.h b/common/app.h
line changes: +3/-0
index e37b47a..d1df688
--- a/common/app.h
+++ b/common/app.h
@@ -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
 

diff --git a/common/auth.c b/common/auth.c
line changes: +3/-0
index cdfbf85..7e63f96
--- a/common/auth.c
+++ b/common/auth.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 <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>

diff --git a/common/auth.h b/common/auth.h
line changes: +3/-0
index 124f014..d180bfd
--- a/common/auth.h
+++ b/common/auth.h
@@ -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
 

diff --git a/common/escapery.c b/common/escapery.c
line changes: +3/-0
index 27456bf..0aa1c34
--- a/common/escapery.c
+++ b/common/escapery.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 <string.h>
 #include <stdlib.h>
 #include "escapery.h"

diff --git a/common/escapery.h b/common/escapery.h
line changes: +3/-0
index ae74226..35f3fe0
--- a/common/escapery.h
+++ b/common/escapery.h
@@ -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
 

diff --git a/common/json.c b/common/json.c
line changes: +3/-0
index 6b793ab..5494e4a
--- a/common/json.c
+++ b/common/json.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 <string.h>
 #include <stdlib.h>

diff --git a/common/json.h b/common/json.h
line changes: +3/-0
index 61e396d..78cb4d7
--- a/common/json.h
+++ b/common/json.h
@@ -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
 

diff --git a/database/database.c b/database/database.c
line changes: +3/-0
index 585f508..cb5cf0c
--- a/database/database.c
+++ b/database/database.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 <stdint.h>
 #include <stdlib.h>
 #include <string.h>

diff --git a/database/database.h b/database/database.h
line changes: +3/-0
index d128869..4c5853e
--- a/database/database.h
+++ b/database/database.h
@@ -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
 

diff --git a/database/tags.c b/database/tags.c
line changes: +3/-0
index 356ef88..8386705
--- a/database/tags.c
+++ b/database/tags.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 <string.h>
 #include <stdlib.h>
 #include <stdio.h>

diff --git a/database/tags.h b/database/tags.h
line changes: +3/-0
index 05b6a89..a75047b
--- a/database/tags.h
+++ b/database/tags.h
@@ -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
 

diff --git a/database/util.c b/database/util.c
line changes: +4/-0
index ede0450..2accd5d
--- a/database/util.c
+++ b/database/util.c
@@ -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) {

diff --git a/database/util.h b/database/util.h
line changes: +8/-0
index e046f19..bdac3ea
--- a/database/util.h
+++ b/database/util.h
@@ -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 */

diff --git a/http/canned_responses.c b/http/canned_responses.c
line changes: +3/-0
index 5461b46..ee26799
--- a/http/canned_responses.c
+++ b/http/canned_responses.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 <string.h>
 #include <microhttpd.h>
 #include "app.h"

diff --git a/http/canned_responses.h b/http/canned_responses.h
line changes: +3/-0
index b04ee3e..7b3a0f5
--- a/http/canned_responses.h
+++ b/http/canned_responses.h
@@ -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
 

diff --git a/http/http_blerg.c b/http/http_blerg.c
line changes: +3/-0
index 6abcc11..1a751ac
--- a/http/http_blerg.c
+++ b/http/http_blerg.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 <string.h>

diff --git a/tools/blergtool.c b/tools/blergtool.c
line changes: +3/-0
index cc78c7d..0531858
--- a/tools/blergtool.c
+++ b/tools/blergtool.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 "database.h"

diff --git a/www/css/blerg.css b/www/css/blerg.css
line changes: +3/-0
index efaec44..7cf15a8
--- a/www/css/blerg.css
+++ b/www/css/blerg.css
@@ -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");

diff --git a/www/css/doc.css b/www/css/doc.css
line changes: +3/-0
index ff2636c..de78a26
--- a/www/css/doc.css
+++ b/www/css/doc.css
@@ -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;
 }

diff --git a/www/index.html b/www/index.html
line changes: +3/-0
index 5bd89da..6b25550
--- a/www/index.html
+++ b/www/index.html
@@ -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>

diff --git a/www/js/blerg.js b/www/js/blerg.js
line changes: +4/-0
index 7bb5fe2..bae782e
--- a/www/js/blerg.js
+++ b/www/js/blerg.js
@@ -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(