From 0dab93fe7652dd1f1c656356a62f01d4053bb2ff Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Tue, 20 Jan 2004 19:08:34 +0000 Subject: [project @ 2004-01-20 19:08:34 by jmb] Allow toggling of POST support. Add new toolbar icon numbers to riscos/gui.h svn path=/import/netsurf/; revision=490 --- content/fetchcache.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'content/fetchcache.h') diff --git a/content/fetchcache.h b/content/fetchcache.h index bc1cfb76e..cbd447aa1 100644 --- a/content/fetchcache.h +++ b/content/fetchcache.h @@ -19,14 +19,19 @@ #include "netsurf/utils/config.h" #include "netsurf/content/content.h" +#ifdef WITH_POST struct form_successful_control; +#endif struct content * fetchcache(const char *url, char *referer, void (*callback)(content_msg msg, struct content *c, void *p1, void *p2, const char *error), void *p1, void *p2, unsigned long width, unsigned long height, - bool only_2xx, char *post_urlenc, + bool only_2xx +#ifdef WITH_POST + , char *post_urlenc, struct form_successful_control *post_multipart +#endif #ifdef WITH_COOKIES ,bool cookies #endif -- cgit v1.2.3