About time I put a licence on this. MIT as usual, naturally.
[sgt/agedu] / licence.c
diff --git a/licence.c b/licence.c
new file mode 100644 (file)
index 0000000..22627c5
--- /dev/null
+++ b/licence.c
@@ -0,0 +1,24 @@
+const char *const licence[] = {
+    "agedu is copyright 2008 Simon Tatham. All rights reserved.\n",
+    "\n",
+    "Permission is hereby granted, free of charge, to any person\n",
+    "obtaining a copy of this software and associated documentation files\n",
+    "(the \"Software\"), to deal in the Software without restriction,\n",
+    "including without limitation the rights to use, copy, modify, merge,\n",
+    "publish, distribute, sublicense, and/or sell copies of the Software,\n",
+    "and to permit persons to whom the Software is furnished to do so,\n",
+    "subject to the following conditions:\n",
+    "\n",
+    "The above copyright notice and this permission notice shall be\n",
+    "included in all copies or substantial portions of the Software.\n",
+    "\n",
+    "THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n",
+    "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n",
+    "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n",
+    "NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS\n",
+    "BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN\n",
+    "ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\n",
+    "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n",
+    "SOFTWARE.\n",
+    0
+};