]> granicus.if.org Git - libevent/commitdiff
oops forgot this one
authorNiels Provos <provos@gmail.com>
Mon, 29 Aug 2005 07:23:51 +0000 (07:23 +0000)
committerNiels Provos <provos@gmail.com>
Mon, 29 Aug 2005 07:23:51 +0000 (07:23 +0000)
svn:r179

test/regress.rpc [new file with mode: 0644]

diff --git a/test/regress.rpc b/test/regress.rpc
new file mode 100644 (file)
index 0000000..7bc6b75
--- /dev/null
@@ -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;
+}