summaryrefslogtreecommitdiff
path: root/content/fetchcache.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2004-01-20 19:08:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2004-01-20 19:08:34 +0000
commit0dab93fe7652dd1f1c656356a62f01d4053bb2ff (patch)
tree3b3d7bc784d3f39f2474b231e4727288144b5902 /content/fetchcache.h
parent10b546f7f974ac8e157426ee42d7abdd52dbf14b (diff)
downloadnetsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.gz
netsurf-0dab93fe7652dd1f1c656356a62f01d4053bb2ff.tar.bz2
[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
Diffstat (limited to 'content/fetchcache.h')
-rw-r--r--content/fetchcache.h7
1 files changed, 6 insertions, 1 deletions
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