libevent/test/regress.rpc

18 lines
250 B
Plaintext
Raw Normal View History

2005-08-29 07:23:51 +00:00
/* tests data packing and unpacking */
struct msg {
string from_name = 1;
string to_name = 2;
optional struct[kill] kill = 3;
array struct[run] run = 4;
}
struct kill {
string weapon = 1;
string action = 2;
}
struct run {
string how = 1;
}