From f62faeb3ff69db2b1d27d775a7c30dbe4a78917c Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 13 May 2018 02:39:28 +0200 Subject: make: added 'watch' rule. improved 'runserver' rule. --- src/blogc-make/httpd.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/blogc-make/httpd.h (limited to 'src/blogc-make/httpd.h') 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 + * + * 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 */ -- cgit v1.2.3-18-g5258