Typedefs | |
typedef ix_msg_queue_s | ix_msg_queue_t |
handler for message queues | |
Functions | |
ix_msg_queue_t * | ix_msg_queue_new (ix_event_t *pev) |
ix_msg_queue_t * | ix_msg_queue_size_new (ix_event_t *pev, size_t size) |
int | ix_msg_queue_overrun (ix_msg_queue_t *pmq) |
int | ix_msg_queue_count (ix_msg_queue_t *pmq) |
void | ix_msg_queue_free (ix_msg_queue_t *pmq) |
void * | ix_msg_queue_eat (ix_msg_queue_t *pmq) |
int | ix_msg_queue_add (ix_msg_queue_t *pmq, void *pb, void **pret) |
int ix_msg_queue_add | ( | ix_msg_queue_t * | pmq, | |
void * | pb, | |||
void ** | pret | |||
) |
adds data to queue
pmq | handle of message queue | |
pb | pointer to store | |
pret | pointer to store the eventually overwritten entry |
int ix_msg_queue_count | ( | ix_msg_queue_t * | pmq | ) |
message queue count
pmq | handle of message queue |
void* ix_msg_queue_eat | ( | ix_msg_queue_t * | pmq | ) |
eats head of message-queue
pmq | handle of message queue |
void ix_msg_queue_free | ( | ix_msg_queue_t * | pmq | ) |
free message queue
pmq | handle of message queue |
ix_msg_queue_t* ix_msg_queue_new | ( | ix_event_t * | pev | ) |
creates new message queue with default size
pev | event to trigger when something was put to queue |
int ix_msg_queue_overrun | ( | ix_msg_queue_t * | pmq | ) |
message queue overruns
pmq | handle of message queue |
ix_msg_queue_t* ix_msg_queue_size_new | ( | ix_event_t * | pev, | |
size_t | size | |||
) |
creates new message queue user defined size
pev | event to trigger when something was put to queue | |
size | message queue for max size entries |