summaryrefslogtreecommitdiffstats
path: root/src/source-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/source-parser.h')
-rw-r--r--src/source-parser.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/source-parser.h b/src/source-parser.h
new file mode 100644
index 0000000..0d54742
--- /dev/null
+++ b/src/source-parser.h
@@ -0,0 +1,19 @@
+/*
+ * blogc: A blog compiler.
+ * Copyright (C) 2015-2016 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+ *
+ * This program can be distributed under the terms of the BSD License.
+ * See the file LICENSE.
+ */
+
+#ifndef _SOURCE_PARSER_H
+#define _SOURCE_PARSER_H
+
+#include <stddef.h>
+#include "error.h"
+#include "utils.h"
+
+sb_trie_t* blogc_source_parse(const char *src, size_t src_len,
+ blogc_error_t **err);
+
+#endif /* _SOURCE_PARSER_H */