Skip to main content

pamoja_updater_confirm

Function pamoja_updater_confirm 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_updater_confirm( updater: *mut PamojaUpdater, out_slot: *mut u8, ) -> PamojaStatus
Expand description

Confirms the pending image, so it will be run from now on.

§Arguments

  • updater - the updater.
  • out_slot - receives the slot that is now confirmed.

§Returns

PamojaStatus::Ok on success.

§Safety

updater must be a live handle from pamoja_updater_new, and out_slot must be writable or null.