From 96e217b49628a7dd19ad4be66b1842dcf0940309 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 11 Aug 2003 09:56:06 +0000 Subject: the new cookie functions that require 'data' passed in --- lib/cookie.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lib/cookie.h') diff --git a/lib/cookie.h b/lib/cookie.h index a3a54c717..9be196aba 100644 --- a/lib/cookie.h +++ b/lib/cookie.h @@ -68,14 +68,18 @@ struct CookieInfo { #define MAX_NAME 256 #define MAX_NAME_TXT "255" +struct SessionHandle; /* * Add a cookie to the internal list of cookies. The domain and path arguments * are only used if the header boolean is TRUE. */ -struct Cookie *Curl_cookie_add(struct CookieInfo *, bool header, char *line, + +struct Cookie *Curl_cookie_add(struct SessionHandle *data, + struct CookieInfo *, bool header, char *line, char *domain, char *path); -struct CookieInfo *Curl_cookie_init(char *, struct CookieInfo *, bool); +struct CookieInfo *Curl_cookie_init(struct SessionHandle *data, + char *, struct CookieInfo *, bool); struct Cookie *Curl_cookie_getlist(struct CookieInfo *, char *, char *, bool); void Curl_cookie_freelist(struct Cookie *); void Curl_cookie_cleanup(struct CookieInfo *); -- cgit v1.2.3