NetSurf
Data Fields
path_data Struct Reference

data entry for url More...

Collaboration diagram for path_data:
[legend]

Data Fields

nsurlurl
 Full URL. More...
 
lwc_string * scheme
 URL scheme for data. More...
 
unsigned int port
 Port number for data. More...
 
char * segment
 Path segment for this node. More...
 
unsigned int frag_cnt
 Number of entries in path_data::fragment. More...
 
char ** fragment
 Array of fragments. More...
 
bool persistent
 This entry should persist. More...
 
struct url_internal_data urld
 URL data for resource. More...
 
const struct prot_space_dataprot_space
 Protection space to which this resource belongs too. More...
 
struct cookie_internal_datacookies
 Cookies associated with resource. More...
 
struct cookie_internal_datacookies_end
 Last cookie in list. More...
 
struct path_datanext
 Next sibling. More...
 
struct path_dataprev
 Previous sibling. More...
 
struct path_dataparent
 Parent path segment. More...
 
struct path_datachildren
 Child path segments. More...
 
struct path_datalast
 Last child. More...
 

Detailed Description

data entry for url

Definition at line 194 of file urldb.c.

Field Documentation

◆ children

struct path_data* path_data::children

◆ cookies

struct cookie_internal_data* path_data::cookies

◆ cookies_end

struct cookie_internal_data* path_data::cookies_end

Last cookie in list.

Definition at line 216 of file urldb.c.

Referenced by urldb_delete_cookie_paths(), and urldb_insert_cookie().

◆ frag_cnt

unsigned int path_data::frag_cnt

Number of entries in path_data::fragment.

Definition at line 201 of file urldb.c.

Referenced by urldb_destroy_path_node_content(), and urldb_dump_paths().

◆ fragment

char** path_data::fragment

◆ last

struct path_data* path_data::last

Last child.

Definition at line 222 of file urldb.c.

◆ next

struct path_data* path_data::next

◆ parent

struct path_data* path_data::parent

◆ persistent

bool path_data::persistent

This entry should persist.

Definition at line 203 of file urldb.c.

Referenced by urldb_count_urls(), urldb_set_url_persistence(), and urldb_write_paths().

◆ port

unsigned int path_data::port

Port number for data.

When 0, it means the default port for given scheme, i.e. 80 (http), 443 (https).

Definition at line 197 of file urldb.c.

Referenced by urldb_add_path(), urldb_add_path_node(), urldb_add_url(), urldb_dump_paths(), urldb_get_auth_details(), urldb_load(), urldb_match_path(), urldb_set_auth_details(), and urldb_write_paths().

◆ prev

struct path_data* path_data::prev

Previous sibling.

Definition at line 219 of file urldb.c.

Referenced by urldb_add_path_node().

◆ prot_space

const struct prot_space_data* path_data::prot_space

Protection space to which this resource belongs too.

Can be NULL when it does not belong to a protection space or when it is not known. No ownership (is with struct host_part::prot_space).

Definition at line 212 of file urldb.c.

Referenced by urldb_get_auth_details(), and urldb_set_auth_details().

◆ scheme

lwc_string* path_data::scheme

◆ segment

char* path_data::segment

◆ url

nsurl* path_data::url

◆ urld

struct url_internal_data path_data::urld

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