diff options
Diffstat (limited to 'src/blogc-make/ctx.h')
-rw-r--r-- | src/blogc-make/ctx.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/blogc-make/ctx.h b/src/blogc-make/ctx.h index 05e85fc..7b68965 100644 --- a/src/blogc-make/ctx.h +++ b/src/blogc-make/ctx.h @@ -38,8 +38,12 @@ typedef struct { } bm_ctx_t; bm_filectx_t* bm_filectx_new(bm_ctx_t *ctx, const char *filename); +bool bm_filectx_changed(bm_filectx_t *ctx, struct timespec *ts); +void bm_filectx_reload(bm_filectx_t *ctx); void bm_filectx_free(bm_filectx_t *fctx); -bm_ctx_t* bm_ctx_new(const char *filename, bc_error_t **err); +bm_ctx_t* bm_ctx_new(bm_ctx_t *base, const char *settings_file, bc_error_t **err); +void bm_ctx_reload(bm_ctx_t *ctx); +void bm_ctx_free_internal(bm_ctx_t *ctx); void bm_ctx_free(bm_ctx_t *ctx); #endif /* _MAKE_CTX_H */ |