#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_updater_provision(
updater: *mut PamojaUpdater,
slot: u8,
sequence: u64,
) -> PamojaStatusExpand description
Records that a slot already holds a confirmed image at a sequence number.
This is how a device that shipped with firmware tells the updater what it is running, so the rollback rule has something to compare against.
§Arguments
updater- the updater.slot- the slot holding the running image.sequence- the sequence number of that image.
§Returns
PamojaStatus::Ok on success.
§Safety
updater must be a live handle from pamoja_updater_new.