aboutsummaryrefslogtreecommitdiff
path: root/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'page.h')
-rw-r--r--page.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/page.h b/page.h
index 22658fd..d5fabc1 100644
--- a/page.h
+++ b/page.h
@@ -13,7 +13,7 @@ struct page_quota
struct page_resource
{
struct http_response *r;
- const char *dir, *root, *res;
+ const char *adir, *username, *dir, *root, *res;
const struct page_quota *q;
const struct http_arg *args;
size_t n_args;
@@ -26,7 +26,7 @@ struct page_search
char *name;
} *results;
- const char *root;
+ const char *root, *adir, *username;
size_t n;
bool limit_exceeded;
};
@@ -50,5 +50,6 @@ int page_quota_exceeded(struct http_response *r, unsigned long long len,
unsigned long long quota);
int page_search(struct http_response *r, const struct page_search *s);
int page_rm(struct http_response *r, const struct page_rm *rm);
+int page_thumbnail(struct http_response *r, const char *res);
#endif /* PAGE_H */