Function openthread_sys::otMessageQueueInit

source ยท
pub unsafe extern "C" fn otMessageQueueInit(
    aQueue: *mut otMessageQueue,
)
Expand description

Initialize the message queue.

MUST be called once and only once for a otMessageQueue instance before any other otMessageQueue functions. The behavior is undefined if other queue APIs are used with an otMessageQueue before it being initialized or if it is initialized more than once.

@param[in] aQueue A pointer to a message queue.