aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/exec.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2019-07-14 23:17:09 +0200
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2019-07-14 23:17:14 +0200
commitb161cdc7c975686fb0df5b6b67ab0340b563f300 (patch)
tree9083189a56d7163742ea4d5f5969d0983adf797c /src/blogc-make/exec.h
parent1028fed081d16ec07a78d99e3853833484289956 (diff)
downloadblogc-b161cdc7c975686fb0df5b6b67ab0340b563f300.tar.gz
blogc-b161cdc7c975686fb0df5b6b67ab0340b563f300.tar.bz2
blogc-b161cdc7c975686fb0df5b6b67ab0340b563f300.zip
make: exec: support printing blogc variables
needs more tests
Diffstat (limited to 'src/blogc-make/exec.h')
-rw-r--r--src/blogc-make/exec.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/blogc-make/exec.h b/src/blogc-make/exec.h
index e09e8ee..140ef62 100644
--- a/src/blogc-make/exec.h
+++ b/src/blogc-make/exec.h
@@ -19,12 +19,13 @@ char* bm_exec_find_binary(const char *argv0, const char *bin, const char *env);
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 *listing_entry, const char *template, const char *output, bool dev,
- bool sources_stdin);
+ bc_trie_t *global_variables, bc_trie_t *local_variables, const char *print,
+ bool listing, 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 *listing_entry, bm_filectx_t *template,
- bm_filectx_t *output, bc_slist_t *sources, bool only_first_source);
+ const char *print, 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);