aboutsummaryrefslogtreecommitdiffstats
path: root/src/content-parser.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-04 05:40:53 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-04 05:40:53 -0300
commit9d484725cf9874ff3f34c61af5f57f6b92e05c00 (patch)
treeb3c5b2ca63d108157ac69fe18b0ecabacf93920b /src/content-parser.h
parentedb7d515d6f3c41196c1dcb36d719baad1a85bc9 (diff)
downloadblogc-9d484725cf9874ff3f34c61af5f57f6b92e05c00.tar.gz
blogc-9d484725cf9874ff3f34c61af5f57f6b92e05c00.tar.bz2
blogc-9d484725cf9874ff3f34c61af5f57f6b92e05c00.zip
started implementint a markdown-like syntax for content
Diffstat (limited to 'src/content-parser.h')
-rw-r--r--src/content-parser.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/content-parser.h b/src/content-parser.h
new file mode 100644
index 0000000..0a55fd9
--- /dev/null
+++ b/src/content-parser.h
@@ -0,0 +1,18 @@
+/*
+ * blogc: A blog compiler.
+ * Copyright (C) 2015 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+ *
+ * This program can be distributed under the terms of the BSD License.
+ * See the file COPYING.
+ */
+
+#ifndef _CONTENT_PARSER_H
+#define _CONTENT_PARSER_H
+
+#include <stdlib.h>
+#include "error.h"
+
+char* blogc_content_parse(const char *src, size_t src_len,
+ blogc_error_t **err);
+
+#endif /* _CONTENT_PARSER_H */