NetSurf
|
Backing store object index entry. More...
Data Fields | |
nsurl * | url |
The URL for this entry. More... | |
int64_t | last_used |
UNIX time the entry was last used. More... | |
uint16_t | use_count |
number of times this entry has been accessed More... | |
uint8_t | flags |
entry flags More... | |
struct store_entry_element | elem [ENTRY_ELEM_COUNT] |
Entry element (data or meta) specific information. More... | |
Backing store object index entry.
An entry in the backing store contains two elements for the actual data and the metadata. The two elements are treated identically for storage lifetime but as a collective whole for expiration and indexing.
Definition at line 167 of file fs_backing_store.c.
struct store_entry_element store_entry::elem[ENTRY_ELEM_COUNT] |
Entry element (data or meta) specific information.
Definition at line 173 of file fs_backing_store.c.
Referenced by compar(), entry_release_alloc(), fetch(), invalidate_element(), invalidate_entry(), read_entries(), release(), set_store_entry(), store(), store_evict(), store_read_block(), store_read_file(), store_write_block(), and store_write_file().
uint8_t store_entry::flags |
entry flags
Definition at line 171 of file fs_backing_store.c.
Referenced by invalidate_entry(), and release().
int64_t store_entry::last_used |
UNIX time the entry was last used.
Definition at line 169 of file fs_backing_store.c.
Referenced by compar(), get_store_entry(), and set_store_entry().
nsurl* store_entry::url |
The URL for this entry.
Definition at line 168 of file fs_backing_store.c.
Referenced by entries_hashmap_value_alloc(), entries_hashmap_value_destroy(), get_store_entry(), invalidate(), invalidate_element(), invalidate_entry(), read_entries(), store(), store_read_file(), store_write_file(), and write_entry().
uint16_t store_entry::use_count |
number of times this entry has been accessed
Definition at line 170 of file fs_backing_store.c.
Referenced by compar(), get_store_entry(), and set_store_entry().