aboutsummaryrefslogtreecommitdiff
path: root/include/slweb/http.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/slweb/http.h')
-rw-r--r--include/slweb/http.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/slweb/http.h b/include/slweb/http.h
index ac1f51a..db2c0b6 100644
--- a/include/slweb/http.h
+++ b/include/slweb/http.h
@@ -26,8 +26,12 @@ struct http_payload
{
bool expect_continue;
const void *data;
- size_t n;
- const char *dir;
+ size_t n, nfiles, npairs;
+
+ const struct http_post_pair
+ {
+ const char *name, *value;
+ } *pairs;
const struct http_post_file
{