Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 /* tests data packing and unpacking */
3 struct msg {
4 string /* sender */ from_name = 1; /* be verbose */
5 string to_name = 2;
6 optional struct[kill] attack = 3;
7 array struct[run] run = 4;
8 }
10 struct kill {
11 string weapon = 0x10121;
12 string action = 2;
13 array int how_often = 3;
14 }
16 struct run {
17 string how = 1;
18 optional bytes some_bytes = 2;
20 bytes fixed_bytes[24] = 3;
21 array string notes = 4;
23 optional int64 large_number = 5;
24 array int other_numbers = 6;
25 }