summaryrefslogtreecommitdiff
path: root/content/fetch.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/fetch.h')
-rw-r--r--content/fetch.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/content/fetch.h b/content/fetch.h
index ed469de04..762664923 100644
--- a/content/fetch.h
+++ b/content/fetch.h
@@ -18,11 +18,13 @@ typedef enum {FETCH_TYPE, FETCH_DATA, FETCH_FINISHED, FETCH_ERROR, FETCH_REDIREC
struct content;
struct fetch;
+struct form_successful_control;
void fetch_init(void);
struct fetch * fetch_start(char *url, char *referer,
void (*callback)(fetch_msg msg, void *p, char *data, unsigned long size),
- void *p, bool only_2xx);
+ void *p, bool only_2xx, char *post_urlenc,
+ struct form_successful_control *post_multipart);
void fetch_abort(struct fetch *f);
void fetch_poll(void);
void fetch_quit(void);