[][src]Function openthread_sys::otMessageQueueInit

pub unsafe extern "C" fn otMessageQueueInit(aQueue: *mut otMessageQueue)

Initialize the message queue.

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