NetSurf
Data Fields
fetch Struct Reference

Information for a single fetch. More...

Collaboration diagram for fetch:
[legend]

Data Fields

fetch_callback callback
 Callback function. More...
 
nsurlurl
 URL. More...
 
nsurlreferer
 Referer URL. More...
 
bool verifiable
 Transaction is verifiable. More...
 
void * p
 Private data for callback. More...
 
lwc_string * host
 Host part of URL, interned. More...
 
long http_code
 HTTP response code, or 0. More...
 
int fetcherd
 Fetcher descriptor for this fetch. More...
 
void * fetcher_handle
 The handle for the fetcher. More...
 
bool fetch_is_active
 This fetch is active. More...
 
fetch_msg_type last_msg
 The last message sent for this fetch. More...
 
struct fetchr_prev
 Previous active fetch in fetch_ring. More...
 
struct fetchr_next
 Next active fetch in fetch_ring. More...
 

Detailed Description

Information for a single fetch.

Definition at line 89 of file fetch.c.

Field Documentation

◆ callback

fetch_callback fetch::callback

Callback function.

Definition at line 90 of file fetch.c.

Referenced by fetch_change_callback(), fetch_send_callback(), and fetch_start().

◆ fetch_is_active

bool fetch::fetch_is_active

This fetch is active.

Definition at line 99 of file fetch.c.

Referenced by fetch_dispatch_job(), and fetch_remove_from_queues().

◆ fetcher_handle

void* fetch::fetcher_handle

The handle for the fetcher.

Definition at line 98 of file fetch.c.

Referenced by fetch_abort(), fetch_dispatch_job(), fetch_free(), fetch_remove_from_queues(), and fetch_start().

◆ fetcherd

int fetch::fetcherd

◆ host

lwc_string* fetch::host

Host part of URL, interned.

Definition at line 95 of file fetch.c.

Referenced by fetch_alloc(), fetch_choose_and_dispatch(), fetch_curl_setup(), fetch_curl_start(), fetch_free(), and fetch_start().

◆ http_code

long fetch::http_code

HTTP response code, or 0.

Definition at line 96 of file fetch.c.

Referenced by fetch_alloc(), fetch_http_code(), and fetch_set_http_code().

◆ last_msg

fetch_msg_type fetch::last_msg

The last message sent for this fetch.

Definition at line 100 of file fetch.c.

Referenced by fetch_abort(), fetch_free(), and fetch_send_callback().

◆ p

void* fetch::p

Private data for callback.

Definition at line 94 of file fetch.c.

Referenced by fetch_change_callback(), fetch_send_callback(), and fetch_start().

◆ r_next

struct fetch* fetch::r_next

Next active fetch in fetch_ring.

Definition at line 102 of file fetch.c.

Referenced by dump_rings(), and fetch_choose_and_dispatch().

◆ r_prev

struct fetch* fetch::r_prev

Previous active fetch in fetch_ring.

Definition at line 101 of file fetch.c.

◆ referer

nsurl* fetch::referer

Referer URL.

Definition at line 92 of file fetch.c.

Referenced by fetch_free(), fetch_set_cookie(), and fetch_start().

◆ url

nsurl* fetch::url

◆ verifiable

bool fetch::verifiable

Transaction is verifiable.

Definition at line 93 of file fetch.c.

Referenced by fetch_set_cookie(), and fetch_start().


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