CURLINFO_COOKIELIST is added in 7.14.1

This commit is contained in:
Daniel Stenberg 2005-08-25 07:06:15 +00:00
parent 49a16f7121
commit 573350637e

View File

@ -137,10 +137,10 @@ to make persistent connections to save time. (Added in 7.12.3)
.IP CURLINFO_COOKIELIST .IP CURLINFO_COOKIELIST
Pass a pointer to a 'struct curl_slist *' to receive a linked-list of all Pass a pointer to a 'struct curl_slist *' to receive a linked-list of all
cookies cURL knows (expired ones, too). Don't forget to cookies cURL knows (expired ones, too). Don't forget to
\fIcurl_slist_free_all(3)\fP the list after it has been used. \fIcurl_slist_free_all(3)\fP the list after it has been used. If there are no
If there are no cookies (cookies for the handle have not been enabled or cookies (cookies for the handle have not been enabled or simply none have been
simply none have been received) 'struct curl_slist *' will be set to received) 'struct curl_slist *' will be set to point to NULL. (Added in
point to NULL. 7.14.1)
.SH RETURN VALUE .SH RETURN VALUE
If the operation was successful, CURLE_OK is returned. Otherwise an If the operation was successful, CURLE_OK is returned. Otherwise an
appropriate error code will be returned. appropriate error code will be returned.