diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-08-01 21:20:01 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-08-01 21:20:01 +0000 |
commit | 50c10aa5bf545eedfdbe561116656b6ec12654cd (patch) | |
tree | ae3de37fd3877d42ffd4c0cdcd03c4530e68a326 /lib/url.h | |
parent | 006878686cfd3faa9eca92fc8fe60cb8f8073a59 (diff) |
Patrick Monnerat and I modified libcurl so that now it *copies* all strings
passed to it with curl_easy_setopt()! Previously it has always just refered
to the data, forcing the user to keep the data around until libcurl is done
with it. That is now history and libcurl will instead clone the given
strings and keep private copies.
Diffstat (limited to 'lib/url.h')
-rw-r--r-- | lib/url.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -32,6 +32,8 @@ CURLcode Curl_open(struct SessionHandle **curl); CURLcode Curl_setopt(struct SessionHandle *data, CURLoption option, va_list arg); +CURLcode Curl_dupset(struct SessionHandle * dst, struct SessionHandle * src); +void Curl_freeset(struct SessionHandle * data); CURLcode Curl_close(struct SessionHandle *data); /* opposite of curl_open() */ CURLcode Curl_connect(struct SessionHandle *, struct connectdata **, bool *async, bool *protocol_connect); |