aboutsummaryrefslogtreecommitdiffstats
path: root/src/directives.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 01:30:17 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 01:30:17 -0200
commitbbe7e42e7ae5b5eb5d8f20fdf79c8a3e622746b8 (patch)
treeff53b56d31231f9f05fd3ff9f518f7f90f90bea0 /src/directives.c
parent43bb8973e683743e780895f99f46364c7d85457f (diff)
downloadblogc-bbe7e42e7ae5b5eb5d8f20fdf79c8a3e622746b8.tar.gz
blogc-bbe7e42e7ae5b5eb5d8f20fdf79c8a3e622746b8.tar.bz2
blogc-bbe7e42e7ae5b5eb5d8f20fdf79c8a3e622746b8.zip
Revert "Revert "content-parser: added basic rst-like directives support""
This reverts commit 43bb8973e683743e780895f99f46364c7d85457f.
Diffstat (limited to 'src/directives.c')
-rw-r--r--src/directives.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/directives.c b/src/directives.c
new file mode 100644
index 0000000..7a6b47f
--- /dev/null
+++ b/src/directives.c
@@ -0,0 +1,21 @@
+/*
+ * 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 LICENSE.
+ */
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif /* HAVE_CONFIG_H */
+
+#include "utils/utils.h"
+
+
+char*
+blogc_directive_loader(const char *name, const char *argument, b_trie_t *params)
+{
+ // TODO: implement me!
+ return b_strdup("TODO\n");
+}