libosmocore 1.10.0.63-d25f
Osmocom core library
|
Data Structures | |
struct | osmo_it_q |
One instance of an inter-thread queue. More... | |
Macros | |
#define | osmo_it_q_enqueue(queue, item, member) _osmo_it_q_enqueue(queue, &(item)->member) |
#define | osmo_it_q_dequeue(queue, item, member) |
Functions | |
struct osmo_it_q * | osmo_it_q_by_name (const char *name) |
int | _osmo_it_q_enqueue (struct osmo_it_q *queue, struct llist_head *item) |
struct llist_head * | _osmo_it_q_dequeue (struct osmo_it_q *queue) |
struct osmo_it_q * | osmo_it_q_alloc (void *ctx, const char *name, unsigned int max_length, void(*read_cb)(struct osmo_it_q *q, struct llist_head *item), void *data) |
void | osmo_it_q_destroy (struct osmo_it_q *q) |
void | osmo_it_q_flush (struct osmo_it_q *q) |
#define osmo_it_q_dequeue | ( | queue, | |
item, | |||
member | |||
) |
#define osmo_it_q_enqueue | ( | queue, | |
item, | |||
member | |||
) | _osmo_it_q_enqueue(queue, &(item)->member) |
struct llist_head * _osmo_it_q_dequeue | ( | struct osmo_it_q * | queue | ) |
int _osmo_it_q_enqueue | ( | struct osmo_it_q * | queue, |
struct llist_head * | item | ||
) |
struct osmo_it_q * osmo_it_q_alloc | ( | void * | ctx, |
const char * | name, | ||
unsigned int | max_length, | ||
void(*)(struct osmo_it_q *q, struct llist_head *item) | read_cb, | ||
void * | data | ||
) |
struct osmo_it_q * osmo_it_q_by_name | ( | const char * | name | ) |
void osmo_it_q_destroy | ( | struct osmo_it_q * | q | ) |
void osmo_it_q_flush | ( | struct osmo_it_q * | q | ) |