openthread_sys

Function otCoapOptionIteratorGetNextOptionMatching

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

Returns a pointer to the next option matching the specified option number.

@param[in] aIterator A pointer to the CoAP message option iterator. @param[in] aOption The option number sought.

@returns A pointer to the next matching option. If no further matching option is present NULL pointer is returned.