20 const size_t item_size,
const size_t n_slot);
void hipcQueueClear(struct HIPC_queue *const que_p)
Clears a queue.
void hipcQueueInit(struct HIPC_queue *const que_p, void *const buf_p, const size_t item_size, const size_t n_slot)
Initializes a queue.
void hipcQueuePop(struct HIPC_queue *const que_p)
Pops an item and releases a slot.
void hipcQueuePush(struct HIPC_queue *const que_p)
Pushes an item and occupies a slot.
void * hipcQueueEmpty(struct HIPC_queue *const que_p)
Returns an address of the head item if it exists.
void * hipcQueueFull(struct HIPC_queue const *const que_p)
Returns an address of an empty slot if it exists.
size_t hipcQueueItemSize(struct HIPC_queue *const que_p)
Gets item size.