[][src]Function openthread_sys::otCoapOptionIteratorInit

pub unsafe extern "C" fn otCoapOptionIteratorInit(
    aIterator: *mut otCoapOptionIterator,
    aMessage: *const otMessage
) -> otError

This function initialises an iterator for the options in the given message.

@param[inout] aIterator A pointer to the CoAP message option iterator. @param[in] aMessage A pointer to the CoAP message.

@retval OT_ERROR_NONE Successfully initialised. @retval OT_ERROR_PARSE Message state is inconsistent.