openthread_sys

Function otMessageQueueGetHead

Source
pub unsafe extern "C" fn otMessageQueueGetHead(
    aQueue: *mut otMessageQueue,
) -> *mut otMessage
Expand description

Returns a pointer to the message at the head of the queue.

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

@returns A pointer to the message at the head of queue or NULL if queue is empty.