aboutsummaryrefslogtreecommitdiffstats
path: root/src/source-parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/source-parser.h')
-rw-r--r--src/source-parser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/source-parser.h b/src/source-parser.h
index e33a7d4..c816e5b 100644
--- a/src/source-parser.h
+++ b/src/source-parser.h
@@ -11,13 +11,15 @@
#include <stdlib.h>
#include "utils/utils.h"
+#include "error.h"
typedef struct {
b_trie_t *config;
char *content;
} blogc_source_t;
-blogc_source_t* blogc_source_parse(const char *src, size_t src_len);
-void blogc_source_free(blogc_source_t *source);
+blogc_source_t* blogc_source_parse(const char *src, size_t src_len,
+ blogc_error_t **err);
+void blogc_source_free(void *source);
#endif /* _SOURCE_PARSER_H */