diff options
author | Daniel Stenberg <daniel@haxx.se> | 2001-08-29 09:32:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2001-08-29 09:32:18 +0000 |
commit | a2b6ef3478e2c37982521a326ea7b90d856adc8c (patch) | |
tree | df983e69378b723011fcfdc6c130f2964278e149 /lib/cookie.h | |
parent | b6526af442e547cd6e234efef5121d481b1eb103 (diff) | |
download | curl-a2b6ef3478e2c37982521a326ea7b90d856adc8c.tar.gz |
cookie jar adjustments
Diffstat (limited to 'lib/cookie.h')
-rw-r--r-- | lib/cookie.h | 2 |
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 |