diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2007-01-27 20:58:20 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2007-01-27 20:58:20 +0000 |
commit | df4dbaf4cfebf0b8b5ec9ae7d0bf6ae467609a4e (patch) | |
tree | 8668484e194b0f7cb6fbc169f04e0cae2d85374a /content/fetch.h | |
parent | cd98970628e9cfcea702df8038ed653a8d1ea6a2 (diff) | |
download | netsurf-df4dbaf4cfebf0b8b5ec9ae7d0bf6ae467609a4e.tar.gz netsurf-df4dbaf4cfebf0b8b5ec9ae7d0bf6ae467609a4e.tar.bz2 |
Handle cookies in unverifiable transactions
svn path=/trunk/netsurf/; revision=3151
Diffstat (limited to 'content/fetch.h')
-rw-r--r-- | content/fetch.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/content/fetch.h b/content/fetch.h index 331207fe2..847d16abf 100644 --- a/content/fetch.h +++ b/content/fetch.h @@ -66,12 +66,12 @@ extern bool fetch_active; extern CURLM *fetch_curl_multi; void fetch_init(void); -struct fetch * fetch_start(char *url, char *referer, +struct fetch * fetch_start(const char *url, const char *referer, void (*callback)(fetch_msg msg, void *p, const void *data, unsigned long size), - void *p, bool only_2xx, char *post_urlenc, + void *p, bool only_2xx, const char *post_urlenc, struct form_successful_control *post_multipart, - bool cookies, char *headers[]); + bool verifiable, char *headers[]); void fetch_abort(struct fetch *f); void fetch_poll(void); void fetch_quit(void); @@ -83,5 +83,6 @@ void fetch_change_callback(struct fetch *fetch, unsigned long size), void *p); long fetch_http_code(struct fetch *fetch); +const char *fetch_get_referer(struct fetch *fetch); #endif |