aura
0.1
Main Page
Related Pages
Modules
Data Structures
Files
File List
All
Data Structures
Functions
Variables
Modules
Pages
dummy-call-too-early.c
1
#include <aura/aura.h>
2
3
int
main() {
4
slog_init(NULL, 18);
5
6
int
ret;
7
struct
aura_node *n =
aura_open
(
"dummy"
, NULL);
8
struct
aura_buffer
*retbuf;
9
10
/* We don't wait for status. Call should fail. Call shouldn't leak */
11
//aura_wait_status(n, AURA_STATUS_ONLINE);
12
13
ret =
aura_call
(n,
"echo_u16"
, &retbuf, 0x0102);
14
slog(0, SLOG_DEBUG,
"call ret %d"
, ret);
15
if
(ret ==0)
16
BUG(n,
"This shouldn't happen"
);
17
18
aura_close
(n);
19
return
0;
20
}
21
22
aura_buffer
Definition:
aura.h:333
aura_call
int aura_call(struct aura_node *node, const char *name, struct aura_buffer **retbuf,...)
Definition:
aura.c:666
aura_open
struct aura_node * aura_open(const char *name, const char *opts)
Definition:
aura.c:34
aura_close
void aura_close(struct aura_node *node)
Definition:
aura.c:102
tests
dummy-call-too-early.c
Generated on Tue Mar 29 2016 22:49:28 for aura by
1.8.8