Skip to main content

pamoja_mesh_seen_capacity

Function pamoja_mesh_seen_capacity 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_mesh_seen_capacity( cache: *const PamojaSeenCache, ) -> usize
Expand description

Returns how many packets a duplicate cache remembers.

§Returns

The capacity it was created with, or 0 if cache is null.

§Safety

cache must be a live handle from pamoja_mesh_seen_new, or null.