aboutsummaryrefslogtreecommitdiffstats
path: root/src/blogc-runserver/httpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/blogc-runserver/httpd.h')
-rw-r--r--src/blogc-runserver/httpd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/blogc-runserver/httpd.h b/src/blogc-runserver/httpd.h
new file mode 100644
index 0000000..a59a467
--- /dev/null
+++ b/src/blogc-runserver/httpd.h
@@ -0,0 +1,14 @@
+/*
+ * blogc: A blog compiler.
+ * Copyright (C) 2015-2016 Rafael G. Martins <rafael@rafaelmartins.eng.br>
+ *
+ * This program can be distributed under the terms of the BSD License.
+ * See the file LICENSE.
+ */
+
+#ifndef _HTTPD_H
+#define _HTTPD_H
+
+int br_httpd_run(const char *host, unsigned short port, const char *docroot);
+
+#endif /* _HTTPD_H */