summaryrefslogtreecommitdiff
path: root/smu.h
diff options
context:
space:
mode:
Diffstat (limited to 'smu.h')
-rw-r--r--smu.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/smu.h b/smu.h
new file mode 100644
index 0000000..6a54043
--- /dev/null
+++ b/smu.h
@@ -0,0 +1,19 @@
+/* libsmu - simple markup library
+ * Copyright (C) <2007, 2008> Enno Boland <g s01 de>
+ *
+ * See LICENSE for further informations
+ */
+#include <stdio.h>
+
+/**
+ * Converts contents of a simple markup stream (in) and prints them to out.
+ * If suppresshtml == 1, it will create plain text of the simple markup instead
+ * of HTML.
+ *
+ * Returns 0 on success.
+ */
+int smu_convert(FILE *out, FILE *in, int suppresshtml);
+
+/** utility */
+void eprint(const char *format, ...);
+