summaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-01-08 00:31:49 +0000
committerDan Fandrich <dan@coneharvesters.com>2009-01-08 00:31:49 +0000
commitbc93011554f57d4d29087001712329ad9e808862 (patch)
tree5cea03db69772448585ba14fa09736e68e16ee7d /lib/url.h
parent14b6cc4e22d5db75eda3bcd756ab52748cd2b34a (diff)
downloadcurl-bc93011554f57d4d29087001712329ad9e808862.tar.gz
Unified much of the SessionHandle initialization done in Curl_open() and
curl_easy_reset() by creating Curl_init_userdefined(). This had the side effect of fixing curl_easy_reset() so it now also resets CURLOPT_FTP_FILEMETHOD and CURLOPT_SSL_SESSIONID_CACHE
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/url.h b/lib/url.h
index 8ca70a850..2c60507c3 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -30,6 +30,7 @@
*/
CURLcode Curl_open(struct SessionHandle **curl);
+CURLcode Curl_init_userdefined(struct UserDefined *set);
CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option,
va_list arg);
CURLcode Curl_dupset(struct SessionHandle * dst, struct SessionHandle * src);