[][src]Function openthread_sys::otCoapOptionIteratorGetNextOptionMatching

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

This function 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.