1<?xml version="1.0" encoding="UTF-8"?> 2<protocol name="test_proto"> 3 4 <copyright> 5 Copyright © 2019 Manuel Stoeckl 6 7 Permission to use, copy, modify, distribute, and sell this 8 software and its documentation for any purpose is hereby granted 9 without fee, provided that\n the above copyright notice appear in 10 all copies and that both that copyright notice and this permission 11 notice appear in supporting documentation, and that the name of 12 the copyright holders not be used in advertising or publicity 13 pertaining to distribution of the software without specific, 14 written prior permission. The copyright holders make no 15 representations about the suitability of this software for any 16 purpose. It is provided "as is" without express or implied 17 warranty. 18 19 THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS 20 SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 21 FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY 22 SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 23 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 24 AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, 25 ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF 26 THIS SOFTWARE. 27 </copyright> 28 29 <interface name="xtype" version="1"> 30 <request name="blue"> 31 <arg name="a" type="new_id"/><!-- no type specified --> 32 <arg name="b" type="fd"/> 33 <arg name="c" type="int"/> 34 <arg name="d" type="uint"/> 35 <arg name="e" type="object"/> 36 <arg name="f" type="string"/> 37 <arg name="g" type="uint"/> 38 </request> 39 40 <event name="yellow"> 41 <arg name="c" type="fixed"/> 42 </event> 43 </interface> 44 45 <interface name="ytype" version="9"> 46 <request name="green"> 47 <arg name="a" type="uint"/> 48 <arg name="b" type="string"/> 49 <arg name="c" type="string"/> 50 <arg name="d" type="fd"/> 51 <arg name="e" type="string"/> 52 <arg name="f" type="new_id" interface="xtype"/> 53 <arg name="g" type="array"/> 54 </request> 55 56 <event name="red"> 57 <arg name="a" type="new_id" interface="xtype"/> 58 <arg name="b" type="int"/> 59 <arg name="c" type="fd"/> 60 <arg name="d" type="new_id" interface="ytype"/> 61 <arg name="e" type="int"/> 62 <arg name="f" type="int"/> 63 <arg name="g" type="new_id" interface="xtype"/> 64 <arg name="h" type="int"/> 65 <arg name="i" type="uint"/> 66 <arg name="j" type="string"/> 67 <arg name="k" type="fd"/> 68 <arg name="l" type="array"/> 69 <arg name="n" type="fixed"/> 70 <arg name="m" type="string"/> 71 <arg name="o" type="object" interface="ytype"/> 72 <arg name="p" type="fd"/> 73 <arg name="q" type="object" interface="xtype"/> 74 </event> 75 </interface> 76 77</protocol> 78