libevent/test/regress.rpc
Niels Provos a4cc3d148a rename the rpc member from kill to attack; that way the
structure does not have the same name.  might find some
bugs.


svn:r449
2007-09-22 23:57:11 +00:00

18 lines
252 B
Plaintext

/* tests data packing and unpacking */
struct msg {
string from_name = 1;
string to_name = 2;
optional struct[kill] attack = 3;
array struct[run] run = 4;
}
struct kill {
string weapon = 1;
string action = 2;
}
struct run {
string how = 1;
}