Skip to main content

splinter_get_slot_snapshot

Function splinter_get_slot_snapshot 

Source
pub unsafe extern "C" fn splinter_get_slot_snapshot(
    key: *const c_char,
    snapshot: *mut splinter_slot_snapshot_t,
) -> c_int
Expand description

@brief Copy the current atomic Splinter slot header to a corresponding client structure. @param snapshot A splinter_slot_snaphshot_t structure to receive the values. @return -1 on failure, 0 on success.