7 struct aura_node *n =
aura_open(
"dummy", NULL);
12 ret =
aura_call(n,
"echo_buf", &retbuf, iobuf);
13 slog(0, SLOG_DEBUG,
"call ret %d", ret);
15 BUG(n,
"call failed");
18 BUG(n,
"test not ok");
struct aura_buffer * aura_buffer_request(struct aura_node *nd, int size)
void aura_wait_status(struct aura_node *node, int status)
int aura_call(struct aura_node *node, const char *name, struct aura_buffer **retbuf,...)
struct aura_node * aura_open(const char *name, const char *opts)
void aura_buffer_release(struct aura_buffer *buf)
void aura_close(struct aura_node *node)
struct aura_buffer * aura_buffer_get_buf(struct aura_buffer *buf)
Retrieve aura_buffer pointer from within the buffer and advance internal pointer by it's size...