diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-10 00:26:37 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-07-10 00:26:37 +0000 |
commit | 5feb7018c5228a22d370d070c1f7c3dad2c71e25 (patch) | |
tree | 9899af55ee95f4e48f2df822ce43deccdafb2829 /content/fetch.h | |
parent | 801ef751afd7b5adb7ef41335192638c8443c6f6 (diff) | |
download | netsurf-5feb7018c5228a22d370d070c1f7c3dad2c71e25.tar.gz netsurf-5feb7018c5228a22d370d070c1f7c3dad2c71e25.tar.bz2 |
Replace parent_url with a pointer to the parent content.
svn path=/trunk/netsurf/; revision=8428
Diffstat (limited to 'content/fetch.h')
-rw-r--r-- | content/fetch.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/content/fetch.h b/content/fetch.h index 42b6323c5..3206acc39 100644 --- a/content/fetch.h +++ b/content/fetch.h @@ -63,10 +63,11 @@ typedef void (*fetch_callback)(fetch_msg msg, void *p, const void *data, void fetch_init(void); struct fetch * fetch_start(const char *url, const char *referer, - fetch_callback callback, - void *p, bool only_2xx, const char *post_urlenc, - struct form_successful_control *post_multipart, - bool verifiable, const char *parent_url, char *headers[]); + fetch_callback callback, + void *p, bool only_2xx, const char *post_urlenc, + struct form_successful_control *post_multipart, + bool verifiable, struct content *parent, + char *headers[]); void fetch_abort(struct fetch *f); void fetch_poll(void); void fetch_quit(void); @@ -78,7 +79,7 @@ void fetch_change_callback(struct fetch *fetch, void *p); long fetch_http_code(struct fetch *fetch); const char *fetch_get_referer(struct fetch *fetch); -const char *fetch_get_parent_url(struct fetch *fetch); +struct content *fetch_get_parent(struct fetch *fetch); bool fetch_get_verifiable(struct fetch *fetch); /* API for fetchers themselves */ |