riot_sys::bindgen

Function coap_get_accept

Source
pub unsafe extern "C" fn coap_get_accept(
    pkt: *mut coap_pkt_t,
) -> c_uint
Expand description

@brief Get the Accept option value from a packet if present

@param[in] pkt packet to work on

@returns the packet’s Accept option value if included, COAP_FORMAT_NONE otherwise