mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
oops forgot this one
svn:r179
This commit is contained in:
parent
b4ab56dc04
commit
5c5145dc1c
17
test/regress.rpc
Normal file
17
test/regress.rpc
Normal file
@ -0,0 +1,17 @@
|
||||
/* 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;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user