• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<protocol name="build_time_wayland_tests">
3
4  <copyright>
5    Copyright © 2017 Samsung Electronics Co., Ltd
6
7    Permission is hereby granted, free of charge, to any person
8    obtaining a copy of this software and associated documentation files
9    (the "Software"), to deal in the Software without restriction,
10    including without limitation the rights to use, copy, modify, merge,
11    publish, distribute, sublicense, and/or sell copies of the Software,
12    and to permit persons to whom the Software is furnished to do so,
13    subject to the following conditions:
14
15    The above copyright notice and this permission notice (including the
16    next paragraph) shall be included in all copies or substantial
17    portions of the Software.
18
19    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21    MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22    NONINFRINGEMENT.  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
23    BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
24    ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
25    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26    SOFTWARE.
27  </copyright>
28
29  <interface name="fd_passer" version="2">
30    <description summary="Sends an event with an fd">
31      A trivial interface for fd passing tests.
32    </description>
33
34    <request name="destroy" type="destructor"/>
35
36    <event name="pre_fd"/>
37
38    <event name="fd">
39      <description summary="passes a file descriptor"/>
40      <arg name="fd" type="fd" summary="file descriptor"/>
41    </event>
42
43    <!-- Version 2 additions -->
44    <request name="conjoin" since="2">
45      <description summary="register another fd passer with this one">
46	Tells this fd passer object about another one to send events
47	to for more complicated fd leak tests.
48      </description>
49      <arg name="passer" type="object" interface="fd_passer"/>
50    </request>
51  </interface>
52</protocol>
53