Skip to main content

pamoja_audit_entry_index

Function pamoja_audit_entry_index 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_audit_entry_index( entry: *const PamojaAuditEntry, ) -> u64
Expand description

Returns the position of an entry in its chain.

§Arguments

  • entry - the entry.

§Returns

The zero-based index, or 0 if entry is null.

§Safety

entry must be a live handle from a call that produced one, or null.