NetSurf
Data Fields
store_entry Struct Reference

Backing store object index entry. More...

Collaboration diagram for store_entry:
[legend]

Data Fields

nsurlurl
 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...
 

Detailed Description

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.

Note
Order is important to avoid excessive structure packing overhead.

Definition at line 167 of file fs_backing_store.c.

Field Documentation

◆ elem

struct store_entry_element store_entry::elem[ENTRY_ELEM_COUNT]

◆ flags

uint8_t store_entry::flags

entry flags

Definition at line 171 of file fs_backing_store.c.

Referenced by invalidate_entry(), and release().

◆ last_used

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().

◆ url

nsurl* store_entry::url

◆ use_count

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().


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