14 const size_t item_size,
const size_t n_slot)
50 return ((
unsigned char *) (que_p->
buf_p)) +
82 return ((
unsigned char *) que_p->
buf_p) +
size_t hipcQueueItemSize(struct HIPC_queue *const que_p)
Gets item size.
void * hipcQueueEmpty(struct HIPC_queue *const que_p)
Returns an address of the head item if it exists.
void hipcQueueClear(struct HIPC_queue *const que_p)
Clears a queue.
void * hipcQueueFull(struct HIPC_queue const *const que_p)
Returns an address of an empty slot if it exists.
void hipcQueuePush(struct HIPC_queue *const que_p)
Pushes an item and occupies a slot.
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.