aboutsummaryrefslogtreecommitdiff
path: root/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'page.h')
-rw-r--r--page.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/page.h b/page.h
new file mode 100644
index 0000000..9743556
--- /dev/null
+++ b/page.h
@@ -0,0 +1,14 @@
+#ifndef PAGE_H
+#define PAGE_H
+
+#include "http.h"
+
+int page_login(struct http_response *r);
+int page_style(struct http_response *r);
+int page_failed_login(struct http_response *r);
+int page_forbidden(struct http_response *r);
+int page_bad_request(struct http_response *r);
+int page_resource(struct http_response *r, const char *dir, const char *root,
+ const char *res);
+
+#endif /* PAGE_H */