• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/curl-7.23.1/lib/

Lines Matching refs:cookies

32         called before any cookies are set.
53 For a given host and path, return a linked list of cookies that
58 It shall only return cookies that haven't expired.
61 Example set of cookies:
133 * Load cookies from all given cookie files (CURLOPT_COOKIEFILE).
141 data->cookies = Curl_cookie_init(data,
143 data->cookies,
195 bool badcookie = FALSE; /* cookies are good by default. mmmmm yummy */
304 but it seems that these kinds of cookies are in use "out there"
381 /* Session cookies have expires set to 0 so if we get that back
406 /* we already know there are no more cookies */
468 reading the odd netscape cookies-file format here */
474 /* IE introduced HTTP-only cookies to prevent XSS attacks. Cookies
588 c->newsession && /* clean session cookies */
600 clist = c->cookies;
632 /* Both cookies matched fine, except that the already present
635 live cookies stay alive */
680 /* Only show this when NOT reading the cookies from a file */
691 c->cookies = co;
703 * called before any cookies are set. File may be NULL.
705 * If 'newsession' is TRUE, discard all "session cookies" on read from file.
791 * For a given host and path, return a linked list of cookies that the
795 * It shall only return cookies that haven't expired.
809 if(!c || !c->cookies)
810 return NULL; /* no cookie struct or no cookies in the struct */
812 co = c->cookies;
828 /* now check the left part of the path with the cookies path
905 * Clear all existing cookies and reset the counter.
908 void Curl_cookie_clearall(struct CookieInfo *cookies)
910 if(cookies) {
911 Curl_cookie_freelist(cookies->cookies, TRUE);
912 cookies->cookies = NULL;
913 cookies->numcookies = 0;
921 * Free a list of cookies previously returned by Curl_cookie_getlist();
924 * list or actually also free all cookies within the list as well.
949 * Free all session cookies in the cookies list.
952 void Curl_cookie_clearsess(struct CookieInfo *cookies)
956 if(!cookies || !cookies->cookies)
959 first = curr = prev = cookies->cookies;
973 cookies->numcookies--;
979 cookies->cookies = first;
997 co = c->cookies;
1041 * Writes all internally known cookies to the specified file. Specify
1053 /* If there are no known cookies, we don't write or even create any
1075 co = c->cookies;
1104 if((data->cookies == NULL) ||
1105 (data->cookies->numcookies == 0))
1108 c = data->cookies->cookies;
1111 /* fill the list with _all_ the cookies we know */
1142 /* if we have a destination file for all the cookies to get dumped to */
1143 if(cookie_output(data->cookies, data->set.str[STRING_COOKIEJAR]))
1144 infof(data, "WARNING: failed to save cookies in %s\n",
1157 if(cleanup && (!data->share || (data->cookies != data->share->cookies))) {
1158 Curl_cookie_cleanup(data->cookies);