From 2236ba0d206fe9fef5d93889ee652feaa03fe089 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 27 Jul 2005 22:17:14 +0000 Subject: 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. --- include/curl/curl.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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 -- cgit v1.2.3