Dillo v3.1.1-98-g318d1f14
Loading...
Searching...
No Matches
cookies.h File Reference
This graph shows which files directly or indirectly include this file:

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.
 

Function Documentation

◆ a_Cookies_freeall()

void a_Cookies_freeall ( void  )

Flush cookies to disk and free all the memory allocated.

Definition at line 135 of file cookies.c.

Referenced by main().

◆ a_Cookies_get_query()

char * a_Cookies_get_query ( const DilloUrl query_url,
const DilloUrl requester 
)

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().

◆ a_Cookies_init()

void a_Cookies_init ( void  )

Initialize the cookies module (The 'disabled' variable is writable only within a_Cookies_init)

Definition at line 117 of file cookies.c.

References Cookie_control_init(), disabled, FALSE, MSG, and TRUE.

Referenced by main().

◆ a_Cookies_set()

void a_Cookies_set ( Dlist cookie_string,
const DilloUrl set_url,
const char *  server_date 
)