diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-17 12:44:11 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-17 12:44:11 +0000 |
commit | 492290499105496458c4f76abdaef115adb0ec4c (patch) | |
tree | 6e741d705609419db0841d689d00717e5e33e73e /lib/url.h | |
parent | decae2dcda736d8b242e79a19f4243fdbdafd196 (diff) | |
download | gnurl-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.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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); |