aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index 34b6fd56a..a00530bda 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -68,7 +68,13 @@ struct CookieInfo {
#define MAX_NAME 256
#define MAX_NAME_TXT "255"
-struct Cookie *Curl_cookie_add(struct CookieInfo *, bool, char *);
+/*
+ * Add a cookie to the internal list of cookies. The domain argument is only
+ * used if the header boolean is TRUE.
+ */
+struct Cookie *Curl_cookie_add(struct CookieInfo *, bool header, char *line,
+ char *domain);
+
struct CookieInfo *Curl_cookie_init(char *, struct CookieInfo *);
struct Cookie *Curl_cookie_getlist(struct CookieInfo *, char *, char *, bool);
void Curl_cookie_freelist(struct Cookie *);