From df4dbaf4cfebf0b8b5ec9ae7d0bf6ae467609a4e Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Sat, 27 Jan 2007 20:58:20 +0000 Subject: Handle cookies in unverifiable transactions svn path=/trunk/netsurf/; revision=3151 --- content/fetch.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'content/fetch.h') 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 -- cgit v1.2.3