aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/exec.h
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-24 23:15:28 +0100
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2017-02-24 23:15:28 +0100
commitfb27e8ed5030e6b5aa8df33cc4d347eacaef76ba (patch)
tree35f634c605ae01c195408ffb4334da43b89f4c07 /src/blogc-make/exec.h
parent144f49bdee2dd7d29748d2c3d2e3c0e5cfbfa34d (diff)
downloadblogc-fb27e8ed5030e6b5aa8df33cc4d347eacaef76ba.tar.gz
blogc-fb27e8ed5030e6b5aa8df33cc4d347eacaef76ba.tar.bz2
blogc-fb27e8ed5030e6b5aa8df33cc4d347eacaef76ba.zip
make: parse runserver arguments from cli, instead of env
this is some over-optimized parser, to celebrate #cloudbleed :D
Diffstat (limited to 'src/blogc-make/exec.h')
-rw-r--r--src/blogc-make/exec.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/blogc-make/exec.h b/src/blogc-make/exec.h
index 8c42c9f..970befa 100644
--- a/src/blogc-make/exec.h
+++ b/src/blogc-make/exec.h
@@ -22,6 +22,7 @@ char* bm_exec_build_blogc_cmd(bm_settings_t *settings, bc_trie_t *variables,
int bm_exec_blogc(bm_settings_t *settings, bc_trie_t *variables, bool listing,
bm_filectx_t *template, bm_filectx_t *output, bc_slist_t *sources,
bool verbose, bool only_first_source);
-int bm_exec_blogc_runserver(const char *output_dir, bool verbose);
+int bm_exec_blogc_runserver(const char *output_dir, const char *host,
+ const char *port, const char *threads, bool verbose);
#endif /* _MAKE_EXEC_H */