riot_sys

Function cose_hdr_encode_to_map

Source
pub unsafe extern "C" fn cose_hdr_encode_to_map(
    hdr: *const cose_hdr_t,
    map: *mut nanocbor_encoder_t,
) -> c_int
Expand description

Iterate over the headers and add them to a supplied cbor map

@param hdr Header struct array to feed from @param map CborEncoder map

@return 0 on success