NetSurf
|
A protection space. More...
Data Fields | |
lwc_string * | scheme |
URL scheme of canonical hostname of this protection space. More... | |
unsigned int | port |
Port number of canonical hostname of this protection space. More... | |
char * | realm |
Protection realm. More... | |
char * | auth |
Authentication details for this protection space in form username:password. More... | |
struct prot_space_data * | next |
Next sibling. More... | |
A protection space.
This is defined as a tuple canonical_root_url and realm. This structure lives as linked list element in a leaf host_part struct so we need additional scheme and port to have a canonical_root_url.
char* prot_space_data::auth |
Authentication details for this protection space in form username:password.
Definition at line 172 of file urldb.c.
Referenced by urldb_destroy_prot_space(), urldb_get_auth_details(), and urldb_set_auth_details().
struct prot_space_data* prot_space_data::next |
Next sibling.
Definition at line 174 of file urldb.c.
Referenced by urldb_destroy_host_tree(), urldb_get_auth_details(), and urldb_set_auth_details().
unsigned int prot_space_data::port |
Port number of canonical hostname of this protection space.
When 0, it means the default port for given scheme, i.e. 80 (http), 443 (https).
Definition at line 164 of file urldb.c.
Referenced by urldb_get_auth_details(), and urldb_set_auth_details().
char* prot_space_data::realm |
Protection realm.
Definition at line 166 of file urldb.c.
Referenced by urldb_destroy_prot_space(), urldb_get_auth_details(), and urldb_set_auth_details().
lwc_string* prot_space_data::scheme |
URL scheme of canonical hostname of this protection space.
Definition at line 158 of file urldb.c.
Referenced by urldb_destroy_prot_space(), urldb_get_auth_details(), and urldb_set_auth_details().