diff options
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 |