• Home
  • Raw
  • Download

Lines Matching refs:cookies

338         Curl_cookie_init(data, list->data, data->cookies,  in Curl_cookie_loadfiles()
347 data->cookies = newcookies; in Curl_cookie_loadfiles()
382 static void remove_expired(struct CookieInfo *cookies) in remove_expired() argument
396 if(now < cookies->next_expiration && in remove_expired()
397 cookies->next_expiration != CURL_OFF_T_MAX) in remove_expired()
400 cookies->next_expiration = CURL_OFF_T_MAX; in remove_expired()
404 co = cookies->cookies[i]; in remove_expired()
409 cookies->cookies[i] = co->next; in remove_expired()
414 cookies->numcookies--; in remove_expired()
422 if(co->expires && co->expires < cookies->next_expiration) in remove_expired()
423 cookies->next_expiration = co->expires; in remove_expired()
1061 clist = c->cookies[myhash]; in Curl_cookie_add()
1177 c->cookies[myhash] = co; in Curl_cookie_add()
1400 if(!c || !c->cookies[myhash]) in Curl_cookie_getlist()
1409 co = c->cookies[myhash]; in Curl_cookie_getlist()
1504 void Curl_cookie_clearall(struct CookieInfo *cookies) in Curl_cookie_clearall() argument
1506 if(cookies) { in Curl_cookie_clearall()
1509 Curl_cookie_freelist(cookies->cookies[i]); in Curl_cookie_clearall()
1510 cookies->cookies[i] = NULL; in Curl_cookie_clearall()
1512 cookies->numcookies = 0; in Curl_cookie_clearall()
1536 void Curl_cookie_clearsess(struct CookieInfo *cookies) in Curl_cookie_clearsess() argument
1541 if(!cookies) in Curl_cookie_clearsess()
1545 if(!cookies->cookies[i]) in Curl_cookie_clearsess()
1548 first = curr = prev = cookies->cookies[i]; in Curl_cookie_clearsess()
1562 cookies->numcookies--; in Curl_cookie_clearsess()
1568 cookies->cookies[i] = first; in Curl_cookie_clearsess()
1582 Curl_cookie_freelist(c->cookies[i]); in Curl_cookie_cleanup()
1673 for(co = c->cookies[i]; co; co = co->next) { in cookie_output()
1729 if(!data->cookies || (data->cookies->numcookies == 0)) in cookie_list()
1733 for(c = data->cookies->cookies[i]; c; c = c->next) { in cookie_list()
1771 res = cookie_output(data, data->cookies, data->set.str[STRING_COOKIEJAR]); in Curl_flush_cookies()
1780 if(cleanup && (!data->share || (data->cookies != data->share->cookies))) { in Curl_flush_cookies()
1781 Curl_cookie_cleanup(data->cookies); in Curl_flush_cookies()
1782 data->cookies = NULL; in Curl_flush_cookies()