aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/settings.h')
-rw-r--r--src/blogc-make/settings.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/blogc-make/settings.h b/src/blogc-make/settings.h
index b1ea117..d524d23 100644
--- a/src/blogc-make/settings.h
+++ b/src/blogc-make/settings.h
@@ -10,13 +10,12 @@
#define _MAKE_SETTINGS_H
#include <stddef.h>
-#include "../common/error.h"
-#include "../common/utils.h"
+#include <squareball.h>
typedef struct {
char *root_dir;
- bc_trie_t *global;
- bc_trie_t *settings;
+ sb_trie_t *global;
+ sb_trie_t *settings;
char **posts;
char **pages;
char **copy;
@@ -24,8 +23,8 @@ typedef struct {
} bm_settings_t;
bm_settings_t* bm_settings_parse(const char *content, size_t content_len,
- bc_error_t **err);
-bm_settings_t* bm_settings_parse_file(const char *filename, bc_error_t **err);
+ sb_error_t **err);
+bm_settings_t* bm_settings_parse_file(const char *filename, sb_error_t **err);
void bm_settings_free(bm_settings_t *settings);
#endif /* _MAKE_SETTINGS_H */