summaryrefslogtreecommitdiff
path: root/src/creole.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/creole.h')
-rw-r--r--src/creole.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/creole.h b/src/creole.h
new file mode 100644
index 0000000..ac3e706
--- /dev/null
+++ b/src/creole.h
@@ -0,0 +1,15 @@
+#ifndef CREOLE_H
+#define CREOLE_H
+
+// Defines a module for rendering Wiki Creole [1] to a file. This functionality
+// of this module is based on the formal grammar [2] of Wiki Creole.
+//
+// [1]: http://www.wikicreole.org/wiki/Home
+// [2]: http://www.wikicreole.org/wiki/EBNFGrammarForWikiCreole1.0
+
+#include <stddef.h> // size_t
+#include <stdio.h> // FILE
+
+void render_creole(FILE *out, const char *source, size_t length);
+
+#endif