2 #include <aura/private.h>
24 static int ser_open(
struct aura_node *node,
const char *opts)
26 slog(0, SLOG_INFO,
"Opening serial transport: %s", opts);
27 struct serialdata *sdt = calloc(1,
sizeof(*sdt));
34 static void ser_close(
struct aura_node *node)
36 slog(0, SLOG_INFO,
"Closing dummy transport");
39 static void ser_loop(
struct aura_node *node,
const struct aura_pollfds *fd)
42 struct aura_object *o;
49 slog(0, SLOG_DEBUG,
"Dequeued/requeued obj id %d (%s)", o->id, o->name);
59 .buffer_overhead =
sizeof(
struct serpacket),
60 .buffer_offset =
sizeof(
struct serpacket)
62 AURA_TRANSPORT(serial);
struct aura_buffer * aura_dequeue_buffer(struct list_head *head)
const char * name
Required.
void aura_queue_buffer(struct list_head *list, struct aura_buffer *buf)
struct aura_object * object