riot_sys::bindgen

Function suit_worker_trigger_prepared

Source
pub unsafe extern "C" fn suit_worker_trigger_prepared(
    manifest: *const u8,
    size: size_t,
)
Expand description

@brief Trigger a SUIT update via a worker thread

@pre The caller called @ref suit_worker_try_prepare to obtain the @p buf, and populated @p size bytes into it.

This can be called with a size of 0 when writing a manifest was started, but could not be completed.

@param[in] manifest Pointer to the manifest. This must be the return value of a previous call to @ref suit_worker_try_prepare, and is invalidated at some point during or after the call. @param[in] size Number of bytes that have been prepared in the buffer before the call.