|
aura
0.1
|
Data Structures | |
| struct | aura_transport |
Functions | |
| void | aura_call_fail (struct aura_node *node, struct aura_object *o) |
| void | aura_set_status (struct aura_node *node, int status) |
| void | aura_set_node_endian (struct aura_node *node, enum aura_endianness en) |
| static void | aura_set_transportdata (struct aura_node *node, void *udata) |
| static void * | aura_get_transportdata (struct aura_node *node) |
| void | aura_queue_buffer (struct list_head *queue, struct aura_buffer *buf) |
| struct aura_buffer * | aura_peek_buffer (struct list_head *head) |
| struct aura_buffer * | aura_dequeue_buffer (struct list_head *head) |
| void | aura_requeue_buffer (struct list_head *list, struct aura_buffer *buf) |
This chapter describes the transport API. You will have to use this API to create your own transports.
To create a transport module you have to do the following:
The simplest example is below:
| void aura_call_fail | ( | struct aura_node * | node, |
| struct aura_object * | o | ||
| ) |
| struct aura_buffer* aura_dequeue_buffer | ( | struct list_head * | head | ) |
Dequeue the next buffer from a queue and return it. This functions sets buffer's internal data pointer to the beginning of serialized data by calling aura_buffer_rewind() internally
| head |
Definition at line 45 of file queue.c.
References aura_buffer_rewind(), and aura_peek_buffer().
Referenced by aura_get_next_event().
|
inlinestatic |
| struct aura_buffer* aura_peek_buffer | ( | struct list_head * | head | ) |
Dequeue the next buffer from a queue and
| head |
Definition at line 28 of file queue.c.
References aura_buffer::qentry.
Referenced by aura_dequeue_buffer().
| void aura_queue_buffer | ( | struct list_head * | queue, |
| struct aura_buffer * | buf | ||
| ) |
Add an aura_buffer to a queue. This functions sets buffer's internal data pointer to the beginning of serialized data by calling aura_buffer_rewind() internally
| queue | |
| buf |
Definition at line 16 of file queue.c.
References aura_buffer_rewind(), and aura_buffer::qentry.
Referenced by aura_core_start_call().
| void aura_requeue_buffer | ( | struct list_head * | list, |
| struct aura_buffer * | buf | ||
| ) |
Put the buffer back to the start of the queue.
| head |
Definition at line 62 of file queue.c.
References aura_buffer::qentry.
| void aura_set_node_endian | ( | struct aura_node * | node, |
| enum aura_endianness | en | ||
| ) |
| void aura_set_status | ( | struct aura_node * | node, |
| int | status | ||
| ) |