summaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index 7af65073c..99aa20af7 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -105,21 +105,21 @@ struct CookieInfo {
#define MAX_COOKIE_SEND_AMOUNT 150
struct Curl_easy;
+struct connectdata;
+
/*
* Add a cookie to the internal list of cookies. The domain and path arguments
* are only used if the header boolean is TRUE.
*/
+bool Curl_secure_context(struct connectdata *conn, const char *host);
struct Cookie *Curl_cookie_add(struct Curl_easy *data,
struct CookieInfo *c, bool header,
bool noexpiry, const char *lineptr,
const char *domain, const char *path,
bool secure);
-
-int Curl_cookie_getlist(struct Curl_easy *data,
- struct CookieInfo *c, const char *host,
- const char *path, bool secure,
- struct Curl_llist *list);
+int Curl_cookie_getlist(struct Curl_easy *data, struct connectdata *conn,
+ const char *host, struct Curl_llist *list);
void Curl_cookie_clearall(struct CookieInfo *cookies);
void Curl_cookie_clearsess(struct CookieInfo *cookies);