From bc93011554f57d4d29087001712329ad9e808862 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Thu, 8 Jan 2009 00:31:49 +0000 Subject: 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 --- lib/url.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/url.h') 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); -- cgit v1.2.3