diff options
author | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-05-13 02:39:28 +0200 |
---|---|---|
committer | Rafael G. Martins <rafael@rafaelmartins.eng.br> | 2018-05-13 19:38:32 +0200 |
commit | f62faeb3ff69db2b1d27d775a7c30dbe4a78917c (patch) | |
tree | 217a48ef4e069369526f4438989849a0f17c3b2e /src/blogc-make/httpd.h | |
parent | 3be45bbbdc3f231926a30b2585a69b2e82918460 (diff) | |
download | blogc-f62faeb3ff69db2b1d27d775a7c30dbe4a78917c.tar.gz blogc-f62faeb3ff69db2b1d27d775a7c30dbe4a78917c.tar.bz2 blogc-f62faeb3ff69db2b1d27d775a7c30dbe4a78917c.zip |
make: added 'watch' rule. improved 'runserver' rule.
Diffstat (limited to 'src/blogc-make/httpd.h')
-rw-r--r-- | src/blogc-make/httpd.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/blogc-make/httpd.h b/src/blogc-make/httpd.h new file mode 100644 index 0000000..97e3b86 --- /dev/null +++ b/src/blogc-make/httpd.h @@ -0,0 +1,19 @@ +/* + * blogc: A blog compiler. + * Copyright (C) 2014-2017 Rafael G. Martins <rafael@rafaelmartins.eng.br> + * + * This program can be distributed under the terms of the BSD License. + * See the file LICENSE. + */ + +#ifndef _MAKE_HTTPD_H +#define _MAKE_HTTPD_H + +#include "../common/utils.h" +#include "ctx.h" +#include "rules.h" + +int bm_httpd_run(bm_ctx_t **ctx, bm_rule_exec_func_t rule_exec, bc_slist_t *outputs, + bc_trie_t *args); + +#endif /* _MAKE_HTTPD_H */ |