aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog5
-rw-r--r--include/http.h4
2 files changed, 7 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index bb16d383f..581904cc7 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-26 David Shaw <[email protected]>
+
+ * http.h: Pass in a STRLIST for additional headers on http_open
+ and http_open_document.
+
2009-04-05 David Shaw <[email protected]>
* srv.h: Move from util/srv.h.
diff --git a/include/http.h b/include/http.h
index a10d31c0e..7959be837 100644
--- a/include/http.h
+++ b/include/http.h
@@ -75,12 +75,12 @@ typedef struct http_context *HTTP_HD;
int http_open( HTTP_HD hd, HTTP_REQ_TYPE reqtype, const char *url,
char *auth, unsigned int flags, const char *proxy,
- const char *srvtag );
+ const char *srvtag, STRLIST headers );
void http_start_data( HTTP_HD hd );
int http_wait_response( HTTP_HD hd, unsigned int *ret_status );
void http_close( HTTP_HD hd );
int http_open_document( HTTP_HD hd, const char *document, char *auth,
unsigned int flags, const char *proxy,
- const char *srvtag );
+ const char *srvtag, STRLIST headers );
#endif /*G10_HTTP_H*/