aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/exec.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-03 00:39:56 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-04-03 00:40:03 +0200
commit3afa72febc3d6ed7003d10f3a5c4211bf761d746 (patch)
treeb102b9fa81ce90c99a251156635aee74dfd012e9 /src/blogc-make/exec.h
parentadc3e6d77117d095e485ec64a93f1b64ffbf2cea (diff)
downloadblogc-3afa72febc3d6ed7003d10f3a5c4211bf761d746.tar.gz
blogc-3afa72febc3d6ed7003d10f3a5c4211bf761d746.tar.bz2
blogc-3afa72febc3d6ed7003d10f3a5c4211bf761d746.zip
make: added support for `blogc -e`
must still add tests
Diffstat (limited to 'src/blogc-make/exec.h')
-rw-r--r--src/blogc-make/exec.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/blogc-make/exec.h b/src/blogc-make/exec.h
index 1d58c0d..e09e8ee 100644
--- a/src/blogc-make/exec.h
+++ b/src/blogc-make/exec.h
@@ -20,10 +20,11 @@ int bm_exec_command(const char *cmd, const char *input, char **output,
char **error, bc_error_t **err);
char* bm_exec_build_blogc_cmd(const char *blogc_bin, bm_settings_t *settings,
bc_trie_t *global_variables, bc_trie_t *local_variables, bool listing,
- const char *template, const char *output, bool dev, bool sources_stdin);
+ const char *listing_entry, const char *template, const char *output, bool dev,
+ bool sources_stdin);
int bm_exec_blogc(bm_ctx_t *ctx, bc_trie_t *global_variables, bc_trie_t *local_variables,
- bool listing, bm_filectx_t *template, bm_filectx_t *output, bc_slist_t *sources,
- bool only_first_source);
+ bool listing, bm_filectx_t *listing_entry, bm_filectx_t *template,
+ bm_filectx_t *output, bc_slist_t *sources, bool only_first_source);
int bm_exec_blogc_runserver(bm_ctx_t *ctx, const char *host, const char *port,
const char *threads);