NetSurf
|
Low-level cache object. More...
Data Fields | |
llcache_object * | prev |
Previous in list. More... | |
llcache_object * | next |
Next in list. More... | |
nsurl * | url |
Post-redirect URL for object. More... | |
uint8_t * | source_data |
Source data for object. More... | |
size_t | source_len |
Byte length of source data. More... | |
size_t | source_alloc |
Allocated size of source buffer. More... | |
struct cert_chain * | chain |
Certificate chain from the fetch. More... | |
llcache_store_state | store_state |
where the data for the object is stored More... | |
llcache_object_user * | users |
List of users. More... | |
llcache_fetch_ctx | fetch |
Fetch context for object. More... | |
llcache_cache_control | cache |
Cache control data for object. More... | |
llcache_object * | candidate |
Object to use, if fetch determines that it is still fresh. More... | |
uint32_t | candidate_count |
Count of objects this is a candidate for. More... | |
llcache_header * | headers |
Fetch headers. More... | |
size_t | num_headers |
Number of fetch headers. More... | |
time_t | last_used |
time the last user was removed from the object More... | |
Low-level cache object.
llcache_cache_control llcache_object::cache |
Cache control data for object.
Definition at line 188 of file llcache.c.
Referenced by build_candidate_list(), llcache_clean(), llcache_fetch_header_cache_control(), llcache_fetch_notmodified(), llcache_fetch_process_data(), llcache_fetch_process_header(), llcache_handle_invalidate_cache_data(), llcache_invalidate_cache_control_data(), llcache_object_cache_update(), llcache_object_clone_cache_data(), llcache_object_destroy(), llcache_object_refetch(), llcache_object_retrieve_from_cache(), and llcache_serialise_metadata().
llcache_object* llcache_object::candidate |
Object to use, if fetch determines that it is still fresh.
Definition at line 189 of file llcache.c.
Referenced by llcache_fetch_callback(), llcache_fetch_notmodified(), llcache_fetch_process_data(), llcache_fetch_timeout(), and llcache_object_retrieve_from_cache().
uint32_t llcache_object::candidate_count |
Count of objects this is a candidate for.
Definition at line 192 of file llcache.c.
Referenced by build_candidate_list(), llcache_clean(), and llcache_object_retrieve_from_cache().
struct cert_chain* llcache_object::chain |
Certificate chain from the fetch.
Definition at line 180 of file llcache.c.
Referenced by llcache_fetch_callback(), llcache_object_destroy(), llcache_object_notify_users(), llcache_object_snapshot(), llcache_serialise_metadata(), and total_object_size().
llcache_fetch_ctx llcache_object::fetch |
Fetch context for object.
Definition at line 186 of file llcache.c.
Referenced by build_candidate_list(), llcache_clean(), llcache_fetch_auth(), llcache_fetch_callback(), llcache_fetch_cert_error(), llcache_fetch_notmodified(), llcache_fetch_process_data(), llcache_fetch_redirect(), llcache_fetch_ssl_error(), llcache_fetch_timeout(), llcache_handle_abort(), llcache_handle_invalidate_cache_data(), llcache_hsts_update_policy(), llcache_object_destroy(), llcache_object_is_fresh(), llcache_object_notify_users(), llcache_object_refetch(), and llcache_object_snapshot().
llcache_header* llcache_object::headers |
Fetch headers.
Definition at line 196 of file llcache.c.
Referenced by llcache_destroy_headers(), llcache_fetch_process_header(), llcache_handle_get_header(), llcache_hsts_update_policy(), llcache_object_destroy(), llcache_object_snapshot(), llcache_serialise_metadata(), and total_object_size().
time_t llcache_object::last_used |
time the last user was removed from the object
Definition at line 204 of file llcache.c.
Referenced by llcache_clean().
llcache_object* llcache_object::next |
Next in list.
Definition at line 171 of file llcache.c.
Referenced by build_candidate_list(), llcache_catch_up_all_users(), llcache_clean(), llcache_finalise(), llcache_object_in_list(), llcache_object_remove_from_list(), llcache_object_retrieve_from_cache(), and llcache_persist().
size_t llcache_object::num_headers |
Number of fetch headers.
Definition at line 197 of file llcache.c.
Referenced by llcache_destroy_headers(), llcache_fetch_process_header(), llcache_object_snapshot(), llcache_serialise_metadata(), and total_object_size().
llcache_object* llcache_object::prev |
Previous in list.
Definition at line 170 of file llcache.c.
Referenced by llcache_object_add_to_list(), and llcache_object_remove_from_list().
size_t llcache_object::source_alloc |
Allocated size of source buffer.
Definition at line 178 of file llcache.c.
Referenced by llcache_fetch_process_data(), and llcache_object_snapshot().
uint8_t* llcache_object::source_data |
Source data for object.
Definition at line 176 of file llcache.c.
Referenced by llcache_clean(), llcache_fetch_callback(), llcache_fetch_process_data(), llcache_handle_get_source_data(), llcache_object_destroy(), llcache_object_snapshot(), llcache_retrieve_persisted_data(), total_object_size(), and write_backing_store().
size_t llcache_object::source_len |
Byte length of source data.
Definition at line 177 of file llcache.c.
Referenced by llcache_clean(), llcache_fetch_callback(), llcache_fetch_process_data(), llcache_handle_get_source_data(), llcache_object_notify_users(), llcache_object_snapshot(), llcache_retrieve_persisted_data(), llcache_serialise_metadata(), and write_backing_store().
llcache_store_state llcache_object::store_state |
where the data for the object is stored
Definition at line 182 of file llcache.c.
Referenced by build_candidate_list(), llcache_clean(), llcache_object_destroy(), and llcache_retrieve_persisted_data().
nsurl* llcache_object::url |
Post-redirect URL for object.
Definition at line 173 of file llcache.c.
Referenced by build_candidate_list(), llcache_clean(), llcache_fetch_auth(), llcache_fetch_process_data(), llcache_fetch_redirect(), llcache_handle_get_url(), llcache_handle_retrieve(), llcache_hsts_update_policy(), llcache_object_destroy(), llcache_object_fetch_persistent(), llcache_object_new(), llcache_object_refetch(), llcache_object_retrieve_from_cache(), llcache_object_snapshot(), llcache_persist(), llcache_process_metadata(), llcache_retrieve_persisted_data(), llcache_serialise_metadata(), total_object_size(), and write_backing_store().
llcache_object_user* llcache_object::users |
List of users.
Definition at line 184 of file llcache.c.
Referenced by llcache_clean(), llcache_fetch_notmodified(), llcache_fetch_redirect(), llcache_finalise(), llcache_object_add_user(), llcache_object_find_user(), llcache_object_notify_users(), and llcache_object_remove_user().