|
myMPD
Internal API documentation
|
#include <msg_queue.h>

Data Fields | |
| unsigned | length |
| length of the queue | |
| struct t_mympd_msg * | head |
| pointer to first message | |
| struct t_mympd_msg * | tail |
| pointer to last message | |
| pthread_mutex_t | mutex |
| the mutex | |
| pthread_cond_t | wakeup |
| condition variable for the mutex | |
| const char * | name |
| descriptive name | |
| enum mympd_queue_types | type |
| the queue type (request or response) | |
| int | event_fd |
| event fd | |
| unsigned long | mg_conn_id |
| mongoose listener id | |
| void * | mg_mgr |
| mongoose mgr | |
Struct for the thread save message queue