mirror of
https://github.com/libevent/libevent.git
synced 2025-01-20 05:02:55 +08:00
5c5145dc1c
svn:r179
18 lines
250 B
Plaintext
18 lines
250 B
Plaintext
/* 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;
|
|
}
|