Skip to main content

splinter_shard_table_snapshot

Function splinter_shard_table_snapshot 

Source
pub unsafe extern "C" fn splinter_shard_table_snapshot(
    out: *mut splinter_shard_bid_snapshot,
    max: usize,
) -> c_int
Expand description

@brief Copy a non-atomic snapshot of every bid slot for inspection/audit. @param out Array of at least SPLINTER_MAX_SHARDS records. @param max Capacity of out (capped at SPLINTER_MAX_SHARDS). @return number of records copied, or -2 on bad args/no store.