26#ifndef SOPC_ASYNC_QUEUE_H_
27#define SOPC_ASYNC_QUEUE_H_
SOPC_ReturnStatus SOPC_AsyncQueue_BlockingDequeue(SOPC_AsyncQueue *queue, void **element)
Get and remove the head element of the queue. If the queue is empty the function will block until an ...
SOPC_ReturnStatus SOPC_AsyncQueue_BlockingEnqueue(SOPC_AsyncQueue *queue, void *element)
Add a new element (and allocate new queue element) to the head of the given linked queue....
void SOPC_AsyncQueue_Free(SOPC_AsyncQueue **queue)
: clear the queue by freeing every present element and free the asynchronous queue
SOPC_ReturnStatus SOPC_AsyncQueue_NonBlockingDequeue(SOPC_AsyncQueue *queue, void **element)
Get and remove the head element of the queue. If the queue is empty the function will block until an ...
SOPC_ReturnStatus SOPC_AsyncQueue_BlockingEnqueueFirstOut(SOPC_AsyncQueue *queue, void *element)
Add a new element (and allocate new queue element) to the tail of the given linked queue....
SOPC_ReturnStatus SOPC_AsyncQueue_Init(SOPC_AsyncQueue **queue, const char *queueName)
Initialize the queue, the queue must be freed at the end of it's use with SOPC_AsyncQueue_Free.
struct SOPC_AsyncQueue SOPC_AsyncQueue
Definition sopc_async_queue.h:31
enum _SOPC_ReturnStatus SOPC_ReturnStatus
Common enumerations for S2OPC.