aboutsummaryrefslogtreecommitdiffstats
path: root/src/directives.c
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 00:04:10 -0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-11-04 00:04:10 -0200
commit56736b7b39218c10efd64f305f7a35df9d4bc0af (patch)
treed48ededd476a1994cb84fcc865e6346a8f60ba1d /src/directives.c
parentd29c85ef1751cb46c579b3292f676605d9f86951 (diff)
downloadblogc-56736b7b39218c10efd64f305f7a35df9d4bc0af.tar.gz
blogc-56736b7b39218c10efd64f305f7a35df9d4bc0af.tar.bz2
blogc-56736b7b39218c10efd64f305f7a35df9d4bc0af.zip
content-parser: handle errors (that are handler as warnings) in directives
Diffstat (limited to 'src/directives.c')
-rw-r--r--src/directives.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/directives.c b/src/directives.c
index 7a6b47f..5ff3b4d 100644
--- a/src/directives.c
+++ b/src/directives.c
@@ -11,10 +11,11 @@
#endif /* HAVE_CONFIG_H */
#include "utils/utils.h"
-
+#include "error.h"
char*
-blogc_directive_loader(const char *name, const char *argument, b_trie_t *params)
+blogc_directive_loader(const char *name, const char *argument, b_trie_t *params,
+ blogc_error_t **err)
{
// TODO: implement me!
return b_strdup("TODO\n");