pub unsafe extern "C" fn coap_get_blockopt(
pkt: *mut coap_pkt_t,
option: u16,
blknum: *mut u32,
szx: *mut u8,
) -> c_int
Expand description
@brief Generic block option getter
@param[in] pkt pkt to work on @param[in] option actual block option number to get @param[out] blknum block number @param[out] szx SZX value
@returns -1 if option not found @returns 0 if more flag is not set @returns 1 if more flag is set