Function riot_sys::suit_parse

source ·
pub unsafe extern "C" fn suit_parse(
    manifest: *mut suit_manifest_t,
    buf: *const u8,
    len: size_t
) -> c_int
Expand description

@brief Parse a manifest

@note The buffer is still required after parsing, please don’t reuse the buffer while the @p manifest is used

@param[in] manifest manifest context to store information in @param[in] buf buffer to parse the manifest from @param[in] len length of the manifest data in the buffer

@return SUIT_OK on parseable manifest @return negative @ref suit_error_t code on error