aboutsummaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-29 09:32:18 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-29 09:32:18 +0000
commita2b6ef3478e2c37982521a326ea7b90d856adc8c (patch)
treedf983e69378b723011fcfdc6c130f2964278e149 /lib/cookie.h
parentb6526af442e547cd6e234efef5121d481b1eb103 (diff)
cookie jar adjustments
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index befd54cc6..34b6fd56a 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -57,6 +57,7 @@ struct CookieInfo {
char *filename; /* file we read from/write to */
bool running; /* state info, for cookie adding information */
+ long numcookies; /* number of cookies in the "jar" */
};
/* This is the maximum line length we accept for a cookie line */
@@ -72,5 +73,6 @@ struct CookieInfo *Curl_cookie_init(char *, struct CookieInfo *);
struct Cookie *Curl_cookie_getlist(struct CookieInfo *, char *, char *, bool);
void Curl_cookie_freelist(struct Cookie *);
void Curl_cookie_cleanup(struct CookieInfo *);
+int Curl_cookie_output(struct CookieInfo *, char *);
#endif