ipc/chromium/src/third_party/libevent/test/regress.rpc

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1 /* tests data packing and unpacking */
michael@0 2
michael@0 3 struct msg {
michael@0 4 string /* sender */ from_name = 1; /* be verbose */
michael@0 5 string to_name = 2;
michael@0 6 optional struct[kill] attack = 3;
michael@0 7 array struct[run] run = 4;
michael@0 8 }
michael@0 9
michael@0 10 struct kill {
michael@0 11 string weapon = 0x10121;
michael@0 12 string action = 2;
michael@0 13 array int how_often = 3;
michael@0 14 }
michael@0 15
michael@0 16 struct run {
michael@0 17 string how = 1;
michael@0 18 optional bytes some_bytes = 2;
michael@0 19
michael@0 20 bytes fixed_bytes[24] = 3;
michael@0 21 array string notes = 4;
michael@0 22
michael@0 23 optional int64 large_number = 5;
michael@0 24 array int other_numbers = 6;
michael@0 25 }

mercurial