aboutsummaryrefslogtreecommitdiff
path: root/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'page.h')
-rw-r--r--page.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/page.h b/page.h
index 9743556..7ddce40 100644
--- a/page.h
+++ b/page.h
@@ -3,12 +3,17 @@
#include "http.h"
+struct page_quota
+{
+ unsigned long long cur, max;
+};
+
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);
+ const char *res, const struct page_quota *q);
#endif /* PAGE_H */