#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_ladder_flush(
ladder: *mut PamojaLadder,
out_sent: *mut usize,
) -> PamojaStatusExpand description
Replays the buffer over the rungs, oldest message first.
§Arguments
ladder- the ladder.out_sent- receives how many buffered messages went out, or may be null.
§Returns
PamojaStatus::Ok on success.
§Safety
ladder must be a live handle and out_sent writable or null.