aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/ctx.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-26 00:47:48 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2018-07-26 00:47:48 +0200
commit00b8de1ca989a0f66517b2a4ccfcc30766f0d669 (patch)
tree9476afdda2e0b7fa431fe88dbc5554a509bcb2df /src/blogc-make/ctx.h
parenteae0bfe730bb4f29f88c609c2562025a9d029256 (diff)
downloadblogc-00b8de1ca989a0f66517b2a4ccfcc30766f0d669.tar.gz
blogc-00b8de1ca989a0f66517b2a4ccfcc30766f0d669.tar.bz2
blogc-00b8de1ca989a0f66517b2a4ccfcc30766f0d669.zip
make: prevent dereferencing segfaults. minor style fixes
Diffstat (limited to 'src/blogc-make/ctx.h')
-rw-r--r--src/blogc-make/ctx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blogc-make/ctx.h b/src/blogc-make/ctx.h
index 2adfc94..df512e1 100644
--- a/src/blogc-make/ctx.h
+++ b/src/blogc-make/ctx.h
@@ -76,5 +76,7 @@ bm_ctx_t* bm_ctx_new(bm_ctx_t *base, const char *settings_file,
bool bm_ctx_reload(bm_ctx_t **ctx);
void bm_ctx_free_internal(bm_ctx_t *ctx);
void bm_ctx_free(bm_ctx_t *ctx);
+const char* bm_ctx_settings_lookup(bm_ctx_t *ctx, const char *key);
+const char* bm_ctx_settings_lookup_str(bm_ctx_t *ctx, const char *key);
#endif /* _MAKE_CTX_H */