Skip to main content

splinter_header_snapshot_t

Type Alias splinter_header_snapshot_t 

Source
pub type splinter_header_snapshot_t = splinter_header_snapshot;
Expand description

@struct splinter_header_snapshot @brief structure to hold splinter bus snapshots

Aliased Type§

#[repr(C)]
pub struct splinter_header_snapshot_t { pub magic: u32, pub version: u32, pub slots: u32, pub max_val_sz: u32, pub epoch: u64, pub core_flags: u8, pub user_flags: u8, pub parse_failures: u64, pub last_failure_epoch: u64, }

Fields§

§magic: u32

@brief Magic number (SPLINTER_MAGIC) to verify integrity.

§version: u32

@brief Data layout version (SPLINTER_VER).

§slots: u32

@brief Total number of available key-value slots.

§max_val_sz: u32

@brief Maximum size for any single value.

§epoch: u64

@brief Global epoch, incremented on any write. Used for change detection.

§core_flags: u8

@Brief holds the slot type flags

§user_flags: u8

@Brief holds the slot user flags

§parse_failures: u64§last_failure_epoch: u64