aboutsummaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'http.h')
-rw-r--r--http.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/http.h b/http.h
index 3390e49..33f42c6 100644
--- a/http.h
+++ b/http.h
@@ -79,6 +79,8 @@ struct http_cfg
int (*write)(const void *buf, size_t n, void *user);
int (*payload)(const struct http_payload *p, struct http_response *r,
void *user);
+ int (*length)(unsigned long long len, const struct http_cookie *c,
+ void *user);
const char *tmpdir;
void *user;
};