diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-07-27 22:17:14 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-07-27 22:17:14 +0000 |
commit | 2236ba0d206fe9fef5d93889ee652feaa03fe089 (patch) | |
tree | 2651d5300c11cf99f0abd3d73b9d7ddb14efa748 /include | |
parent | 463c0f7096f7a0e56929a8e1b4fb3c38e164ce13 (diff) |
Peteris Krumins added CURLOPT_COOKIELIST and CURLINFO_COOKIELIST, which is a
simple interface to extracting and setting cookies in libcurl's internal
"cookie jar". See the new cookie_interface.c example code.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index ca12b5948..46f36f921 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -890,6 +890,9 @@ typedef enum { "account" info */ CINIT(FTP_ACCOUNT, OBJECTPOINT, 134), + /* feed cookies into cookie engine */ + CINIT(COOKIELIST, OBJECTPOINT, 135), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; @@ -1244,6 +1247,7 @@ typedef enum { CURLINFO_OS_ERRNO = CURLINFO_LONG + 25, CURLINFO_NUM_CONNECTS = CURLINFO_LONG + 26, CURLINFO_SSL_ENGINES = CURLINFO_SLIST + 27, + CURLINFO_COOKIELIST = CURLINFO_SLIST + 28, /* Fill in new entries below here! */ CURLINFO_LASTONE = 28 |