aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-make/httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-make/httpd.h')
-rw-r--r--src/blogc-make/httpd.h19
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 */