NetSurf
|
Low-level cache events. More...
#include <llcache.h>
Data Fields | |
llcache_event_type | type |
Type of event. More... | |
union { | |
struct { | |
const uint8_t * buf | |
Buffer of data. More... | |
size_t len | |
Byte length of buffer. More... | |
} data | |
Received data. More... | |
struct { | |
nserror code | |
The error code. More... | |
const char * msg | |
Error message. More... | |
} error | |
const char * progress_msg | |
Progress message. More... | |
struct { | |
nsurl * from | |
Redirect origin. More... | |
nsurl * to | |
Redirect target. More... | |
} redirect | |
Fetch URL redirect occured. More... | |
const struct cert_chain * chain | |
Certificate chain. More... | |
} | data |
Event data. More... | |
Low-level cache events.
Lifetime of contained information is only for the duration of the event and must be copied if it is desirable to retain.
const uint8_t* llcache_event::buf |
Buffer of data.
Definition at line 89 of file llcache.h.
Referenced by content_llcache_callback(), download_callback(), and hlcache_llcache_callback().
const struct cert_chain* llcache_event::chain |
struct { ... } llcache_event::data |
Received data.
Referenced by content_llcache_callback(), download_callback(), and hlcache_llcache_callback().
union { ... } llcache_event::data |
Event data.
struct { ... } llcache_event::error |
Referenced by download_callback().
size_t llcache_event::len |
Byte length of buffer.
Definition at line 90 of file llcache.h.
Referenced by content_llcache_callback(), download_callback(), and hlcache_llcache_callback().
const char* llcache_event::msg |
const char* llcache_event::progress_msg |
Progress message.
Definition at line 96 of file llcache.h.
Referenced by content_llcache_callback().
struct { ... } llcache_event::redirect |
Fetch URL redirect occured.
llcache_event_type llcache_event::type |
Type of event.
Definition at line 86 of file llcache.h.
Referenced by content_llcache_callback(), download_callback(), and hlcache_llcache_callback().