aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-05-24 22:46:38 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-05-24 22:46:38 +0000
commit606562aa7ea28ee0fdd5bf2cd6febada9594ad19 (patch)
tree751a53ebc9700f6bde77d0cbce1b6f23499c5940 /lib/cookie.h
parentf689d06ca91b772c56440101e578dca21fab4daa (diff)
downloadgnurl-606562aa7ea28ee0fdd5bf2cd6febada9594ad19.tar.gz
gnurl-606562aa7ea28ee0fdd5bf2cd6febada9594ad19.tar.bz2
gnurl-606562aa7ea28ee0fdd5bf2cd6febada9594ad19.zip
Michael Wallner provided a patch that allows "SESS" to be set with
CURLOPT_COOKIELIST, which then makes all session cookies get cleared. (slightly edited by me, and the re-indent in cookie.c was also done by me)
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index 0dd863074..bdd222b9c 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -7,7 +7,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -89,6 +89,8 @@ 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_clearall(struct CookieInfo *cookies);
+void Curl_cookie_clearsess(struct CookieInfo *cookies);
void Curl_cookie_cleanup(struct CookieInfo *);
int Curl_cookie_output(struct CookieInfo *, char *);