Dillo v3.1.1-98-g318d1f14
|
Go to the source code of this file.
Functions | |
void | a_Cookies_init (void) |
Initialize the cookies module (The 'disabled' variable is writable only within a_Cookies_init) | |
char * | a_Cookies_get_query (const DilloUrl *query_url, const DilloUrl *requester) |
Return a string containing cookie data for an HTTP query. | |
void | a_Cookies_set (Dlist *cookie_string, const DilloUrl *set_url, const char *server_date) |
Set the value corresponding to the cookie string. | |
void | a_Cookies_freeall (void) |
Flush cookies to disk and free all the memory allocated. | |
void a_Cookies_freeall | ( | void | ) |
Return a string containing cookie data for an HTTP query.
Definition at line 185 of file cookies.c.
References _MSG, a_Dpi_send_blocking_cmd(), a_Dpip_build_cmd(), a_Dpip_get_attr(), a_Url_same_organization(), COOKIE_DENY, Cookies_control_check(), dFree(), disabled, dStrdup(), MSG, path(), URL_HOST, URL_HOST_, URL_PATH_, and URL_SCHEME.
Referenced by expect(), Http_make_query_str(), and main().
void a_Cookies_init | ( | void | ) |
Set the value corresponding to the cookie string.
Definition at line 142 of file cookies.c.
References _MSG, a_Dpi_send_blocking_cmd(), a_Dpip_build_cmd(), COOKIE_DENY, Cookies_control_check(), dFree(), disabled, dList_nth_data(), path(), URL_HOST_, and URL_PATH_.
Referenced by Cache_parse_header(), expires_date_formats(), expires_extremes(), expires_server_ahead(), expires_server_behind(), main(), maxage(), path(), and toomany().