aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/ctx.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/ctx.h')
-rw-r--r--src/blogc-make/ctx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blogc-make/ctx.h b/src/blogc-make/ctx.h
index a66d51c..43284a5 100644
--- a/src/blogc-make/ctx.h
+++ b/src/blogc-make/ctx.h
@@ -63,8 +63,10 @@ typedef struct {
bm_filectx_t *listing_entry_fctx;
bc_slist_t *posts_fctx;
+ bool posts_deleted;
bc_slist_t *pages_fctx;
bc_slist_t *copy_fctx;
+
} bm_ctx_t;
bm_filectx_t* bm_filectx_new(bm_ctx_t *ctx, const char *filename, const char *slug,
@@ -76,6 +78,7 @@ void bm_filectx_free(bm_filectx_t *fctx);
bm_ctx_t* bm_ctx_new(bm_ctx_t *base, const char *settings_file,
const char *argv0, bc_error_t **err);
bool bm_ctx_reload(bm_ctx_t **ctx);
+void bm_ctx_autoload_posts(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);