Dillo v3.1.1-99-gf3103cc4
|
Go to the source code of this file.
Functions | |
void | a_Domain_parse (FILE *fp) |
Parse domainrc. | |
void | a_Domain_freeall (void) |
bool_t | a_Domain_permit (const DilloUrl *source, const DilloUrl *dest) |
Is the resource at 'source' permitted to request the resource at 'dest'? | |
void a_Domain_freeall | ( | void | ) |
Definition at line 79 of file domain.c.
References dFree(), exceptions, and num_exceptions.
Referenced by main().
void a_Domain_parse | ( | FILE * | fp | ) |
Parse domainrc.
Definition at line 31 of file domain.c.
References _MSG, a_List_add, default_deny, dFree(), dGetline(), dStrAsciiCasecmp(), dStrdup(), dStrstrip(), exceptions, FALSE, MSG, num_exceptions, num_exceptions_max, and TRUE.
Referenced by main().
Is the resource at 'source' permitted to request the resource at 'dest'?
Definition at line 116 of file domain.c.
References _MSG, a_Url_same_organization(), default_deny, Domain_match(), dStrAsciiCasecmp(), exceptions, FALSE, MSG, num_exceptions, TRUE, URL_HOST, URL_SCHEME, and URL_STR.
Referenced by Cache_parse_header(), and Capi_request_permitted().