summaryrefslogtreecommitdiff
path: root/lib/cookie.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2007-08-29 05:36:53 +0000
committerDan Fandrich <dan@coneharvesters.com>2007-08-29 05:36:53 +0000
commit1b66c1da6c6cf6e33bedbc01c93f5d4c48de4e55 (patch)
tree05f46364bf954812b410a36ac545a830e886d31c /lib/cookie.h
parent5cb2ee878c2ff013c03f642b4fac36e4eccd38e0 (diff)
downloadcurl-1b66c1da6c6cf6e33bedbc01c93f5d4c48de4e55.tar.gz
Added lots of consts
Diffstat (limited to 'lib/cookie.h')
-rw-r--r--lib/cookie.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/cookie.h b/lib/cookie.h
index 57c3acbdd..ea4c83602 100644
--- a/lib/cookie.h
+++ b/lib/cookie.h
@@ -84,17 +84,18 @@ struct SessionHandle;
*/
struct Cookie *Curl_cookie_add(struct SessionHandle *data,
- struct CookieInfo *, bool header, char *line,
- char *domain, char *path);
+ struct CookieInfo *, bool header, char *lineptr,
+ const char *domain, const char *path);
struct CookieInfo *Curl_cookie_init(struct SessionHandle *data,
- char *, struct CookieInfo *, bool);
-struct Cookie *Curl_cookie_getlist(struct CookieInfo *, char *, char *, bool);
+ const char *, struct CookieInfo *, bool);
+struct Cookie *Curl_cookie_getlist(struct CookieInfo *, const char *,
+ const char *, bool);
void Curl_cookie_freelist(struct Cookie *);
void Curl_cookie_clearall(struct CookieInfo *cookies);
void Curl_cookie_clearsess(struct CookieInfo *cookies);
void Curl_cookie_cleanup(struct CookieInfo *);
-int Curl_cookie_output(struct CookieInfo *, char *);
+int Curl_cookie_output(struct CookieInfo *, const char *);
#if defined(CURL_DISABLE_HTTP) || defined(CURL_DISABLE_COOKIES)
#define Curl_cookie_list(x) NULL