aboutsummaryrefslogtreecommitdiff
path: root/page.h
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-01-09 01:22:54 +0100
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-02-28 01:43:56 +0100
commitd26f046fc9149693a6ebc28301ccc3581c0f144e (patch)
tree9da22edd4840304d6cd19a27efab58ce245985aa /page.h
downloadslcl-d26f046fc9149693a6ebc28301ccc3581c0f144e.tar.gz
Initial commit
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 */