Merge branch 'master' into browser
[projects/chimara/chimara.git] / babel / register_ifiction.c
diff --git a/babel/register_ifiction.c b/babel/register_ifiction.c
new file mode 100644 (file)
index 0000000..55fe9e2
--- /dev/null
@@ -0,0 +1,29 @@
+/* register_ifiction.c    Register modules for babel's ifiction API\r
+ *\r
+ * 2006 by L. Ross Raszewski\r
+ *\r
+ * This code is freely usable for all purposes.\r
+ *\r
+ * This work is licensed under the Creative Commons Attribution2.5 License.\r
+ * To view a copy of this license, visit\r
+ * http://creativecommons.org/licenses/by/2.5/ or send a letter to\r
+ * Creative Commons,\r
+ * 543 Howard Street, 5th Floor,\r
+ * San Francisco, California, 94105, USA.\r
+ *\r
+ * This file depends on modules.h\r
+ *\r
+ * This version of register.c is stripped down to include only the\r
+ * needed functionality for the ifiction api\r
+ */\r
+\r
+#include <stdlib.h>\r
+#include "treaty.h"\r
+\r
+char *format_registry[] = {\r
+        #define TREATY_REGISTER\r
+        #define CONTAINER_REGISTER\r
+        #define FORMAT_REGISTER\r
+        #include "modules.h"\r
+        NULL\r
+};\r