Lines Matching refs:Cookie
37 struct Cookie *Curl_cookie_add(struct Curl_easy *data,
113 static void freecookie(struct Cookie *co)
141 * "example.com", the user agent will include the cookie in the Cookie
382 struct Cookie *co, *nx;
401 struct Cookie *pv = NULL;
480 struct Cookie *
492 struct Cookie *clist;
493 struct Cookie *co;
494 struct Cookie *lastc = NULL;
495 struct Cookie *replace_co = NULL;
496 struct Cookie *replace_clist = NULL;
508 co = calloc(1, sizeof(struct Cookie));
1251 if(checkprefix("Set-Cookie:", line)) {
1301 struct Cookie *c1 = *(struct Cookie **)p1;
1302 struct Cookie *c2 = *(struct Cookie **)p2;
1337 struct Cookie *c1 = *(struct Cookie **)p1;
1338 struct Cookie *c2 = *(struct Cookie **)p2;
1352 static struct Cookie *dup_cookie(struct Cookie *src)
1354 struct Cookie *d = calloc(1, sizeof(struct Cookie));
1384 struct Cookie *Curl_cookie_getlist(struct Curl_easy *data,
1389 struct Cookie *newco;
1390 struct Cookie *co;
1391 struct Cookie *mainco = NULL;
1461 struct Cookie **array;
1465 array = malloc(sizeof(struct Cookie *) * matches);
1475 qsort(array, matches, sizeof(struct Cookie *), cookie_sort);
1517 void Curl_cookie_freelist(struct Cookie *co)
1519 struct Cookie *next;
1534 struct Cookie *first, *curr, *next, *prev = NULL;
1590 static char *get_netscape_format(const struct Cookie *co)
1627 struct Cookie *co;
1651 fputs("# Netscape HTTP Cookie File\n"
1659 struct Cookie **array;
1661 array = calloc(1, sizeof(struct Cookie *) * c->numcookies);
1676 qsort(array, nvalid, sizeof(struct Cookie *), cookie_sort_ct);
1721 struct Cookie *c;