openthread_sys

Function otCoapOptionIteratorGetFirstOption

Source
pub unsafe extern "C" fn otCoapOptionIteratorGetFirstOption(
    aIterator: *mut otCoapOptionIterator,
) -> *const otCoapOption
Expand description

Returns a pointer to the first option.

@param[in,out] aIterator A pointer to the CoAP message option iterator.

@returns A pointer to the first option. If no option is present NULL pointer is returned.