NetSurf
Data Fields
prot_space_data Struct Reference

A protection space. More...

Collaboration diagram for prot_space_data:
[legend]

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_datanext
 Next sibling. More...
 

Detailed Description

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.

Definition at line 154 of file urldb.c.

Field Documentation

◆ auth

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

◆ next

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

◆ port

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

◆ realm

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

◆ scheme

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


The documentation for this struct was generated from the following file: