aboutsummaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-07-17 12:44:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-07-17 12:44:11 +0000
commit492290499105496458c4f76abdaef115adb0ec4c (patch)
tree6e741d705609419db0841d689d00717e5e33e73e /lib/url.h
parentdecae2dcda736d8b242e79a19f4243fdbdafd196 (diff)
downloadgnurl-492290499105496458c4f76abdaef115adb0ec4c.tar.gz
gnurl-492290499105496458c4f76abdaef115adb0ec4c.tar.bz2
gnurl-492290499105496458c4f76abdaef115adb0ec4c.zip
Simplified the code within curl_easy_perform() that calls Curl_perform().
Pointed out by Bjorn Reese.
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/url.h b/lib/url.h
index 7b3a76319..40b406c68 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -23,12 +23,15 @@
* $Id$
***************************************************************************/
+#include <stdarg.h> /* to make sure we have ap_list */
+
/*
* Prototypes for library-wide functions provided by url.c
*/
CURLcode Curl_open(struct SessionHandle **curl);
-CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, ...);
+CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
+ va_list arg);
CURLcode Curl_close(struct SessionHandle *data); /* opposite of curl_open() */
CURLcode Curl_connect(struct SessionHandle *, struct connectdata **,
bool *async, bool *protocol_connect);