#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_audit_entry_previous(
entry: *const PamojaAuditEntry,
out_previous: *mut u8,
) -> PamojaStatusExpand description
Copies out the hash of the entry before this one.
The first entry of a chain carries all zeroes here, since nothing precedes it.
§Arguments
entry- the entry.out_previous- receivesPAMOJA_AUDIT_DIGEST_LENbytes.
§Returns
PamojaStatus::Ok on success.
§Safety
entry must be a live handle, and out_previous must point to at least
PAMOJA_AUDIT_DIGEST_LEN writable bytes.