xinput: UngrabDevice-request: add pad at end
[free-sw/xcb/proto] / src / xselinux.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Permission is hereby granted, free of charge, to any person obtaining a copy
4 of this software and associated documentation files (the "Software"), to deal
5 in the Software without restriction, including without limitation the rights
6 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7 copies of the Software, and to permit persons to whom the Software is
8 furnished to do so, subject to the following conditions:
9
10 The above copyright notice and this permission notice shall be included in all
11 copies or substantial portions of the Software.
12
13 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16 AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
17 ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
18 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
19
20 Except as contained in this notice, the names of the authors or their
21 institutions shall not be used in advertising or otherwise to promote the
22 sale, use or other dealings in this Software without prior written
23 authorization from the authors.
24 -->
25 <xcb header="xselinux" extension-xname="SELinux" extension-name="SELinux"
26      extension-multiword="false" major-version="1" minor-version="0">
27   <import>xproto</import>
28
29   <request name="QueryVersion" opcode="0">
30     <field type="CARD8" name="client_major" />
31     <field type="CARD8" name="client_minor" />
32     <reply>
33       <pad bytes="1" />
34       <field type="CARD16" name="server_major" />
35       <field type="CARD16" name="server_minor" />
36     </reply>
37   </request>
38
39   <request name="SetDeviceCreateContext" opcode="1">
40     <field type="CARD32" name="context_len" />
41     <list type="char" name="context">
42       <fieldref>context_len</fieldref>
43     </list>
44   </request>
45
46   <request name="GetDeviceCreateContext" opcode="2">
47     <reply>
48       <pad bytes="1" />
49       <field type="CARD32" name="context_len" />
50       <pad bytes="20" />
51       <list type="char" name="context">
52         <fieldref>context_len</fieldref>
53       </list>
54     </reply>
55   </request>
56
57   <request name="SetDeviceContext" opcode="3">
58     <field type="CARD32" name="device" />
59     <field type="CARD32" name="context_len" />
60     <list type="char" name="context">
61       <fieldref>context_len</fieldref>
62     </list>
63   </request>
64
65   <request name="GetDeviceContext" opcode="4">
66     <field type="CARD32" name="device" />
67     <reply>
68       <pad bytes="1" />
69       <field type="CARD32" name="context_len" />
70       <pad bytes="20" />
71       <list type="char" name="context">
72         <fieldref>context_len</fieldref>
73       </list>
74     </reply>
75   </request>
76
77   <request name="SetWindowCreateContext" opcode="5">
78     <field type="CARD32" name="context_len" />
79     <list type="char" name="context">
80       <fieldref>context_len</fieldref>
81     </list>
82   </request>
83
84   <request name="GetWindowCreateContext" opcode="6">
85     <reply>
86       <pad bytes="1" />
87       <field type="CARD32" name="context_len" />
88       <pad bytes="20" />
89       <list type="char" name="context">
90         <fieldref>context_len</fieldref>
91       </list>
92     </reply>
93   </request>
94
95   <request name="GetWindowContext" opcode="7">
96     <field type="WINDOW" name="window" />
97     <reply>
98       <pad bytes="1" />
99       <field type="CARD32" name="context_len" />
100       <pad bytes="20" />
101       <list type="char" name="context">
102         <fieldref>context_len</fieldref>
103       </list>
104     </reply>
105   </request>
106
107   <struct name="ListItem">
108     <field type="ATOM" name="name" />
109     <field type="CARD32" name="object_context_len" />
110     <field type="CARD32" name="data_context_len" />
111     <list type="char" name="object_context">
112       <fieldref>object_context_len</fieldref>
113     </list>
114     <list type="char" name="data_context">
115       <fieldref>data_context_len</fieldref>
116     </list>
117   </struct>
118
119   <request name="SetPropertyCreateContext" opcode="8">
120     <field type="CARD32" name="context_len" />
121     <list type="char" name="context">
122       <fieldref>context_len</fieldref>
123     </list>
124   </request>
125
126   <request name="GetPropertyCreateContext" opcode="9">
127     <reply>
128       <pad bytes="1" />
129       <field type="CARD32" name="context_len" />
130       <pad bytes="20" />
131       <list type="char" name="context">
132         <fieldref>context_len</fieldref>
133       </list>
134     </reply>
135   </request>
136
137   <request name="SetPropertyUseContext" opcode="10">
138     <field type="CARD32" name="context_len" />
139     <list type="char" name="context">
140       <fieldref>context_len</fieldref>
141     </list>
142   </request>
143
144   <request name="GetPropertyUseContext" opcode="11">
145     <reply>
146       <pad bytes="1" />
147       <field type="CARD32" name="context_len" />
148       <pad bytes="20" />
149       <list type="char" name="context">
150         <fieldref>context_len</fieldref>
151       </list>
152     </reply>
153   </request>
154
155   <request name="GetPropertyContext" opcode="12">
156     <field type="WINDOW" name="window" />
157     <field type="ATOM" name="property" />
158     <reply>
159       <pad bytes="1" />
160       <field type="CARD32" name="context_len" />
161       <pad bytes="20" />
162       <list type="char" name="context">
163         <fieldref>context_len</fieldref>
164       </list>
165     </reply>
166   </request>
167
168   <request name="GetPropertyDataContext" opcode="13">
169     <field type="WINDOW" name="window" />
170     <field type="ATOM" name="property" />
171     <reply>
172       <pad bytes="1" />
173       <field type="CARD32" name="context_len" />
174       <pad bytes="20" />
175       <list type="char" name="context">
176         <fieldref>context_len</fieldref>
177       </list>
178     </reply>
179   </request>
180
181   <request name="ListProperties" opcode="14">
182     <field type="WINDOW" name="window" />
183     <reply>
184       <pad bytes="1" />
185       <field type="CARD32" name="properties_len" />
186       <pad bytes="20" />
187       <list type="ListItem" name="properties">
188         <fieldref>properties_len</fieldref>
189       </list>
190     </reply>
191   </request>
192
193   <request name="SetSelectionCreateContext" opcode="15">
194     <field type="CARD32" name="context_len" />
195     <list type="char" name="context">
196       <fieldref>context_len</fieldref>
197     </list>
198   </request>
199
200   <request name="GetSelectionCreateContext" opcode="16">
201     <reply>
202       <pad bytes="1" />
203       <field type="CARD32" name="context_len" />
204       <pad bytes="20" />
205       <list type="char" name="context">
206         <fieldref>context_len</fieldref>
207       </list>
208     </reply>
209   </request>
210
211   <request name="SetSelectionUseContext" opcode="17">
212     <field type="CARD32" name="context_len" />
213     <list type="char" name="context">
214       <fieldref>context_len</fieldref>
215     </list>
216   </request>
217
218   <request name="GetSelectionUseContext" opcode="18">
219     <reply>
220       <pad bytes="1" />
221       <field type="CARD32" name="context_len" />
222       <pad bytes="20" />
223       <list type="char" name="context">
224         <fieldref>context_len</fieldref>
225       </list>
226     </reply>
227   </request>
228
229   <request name="GetSelectionContext" opcode="19">
230     <field type="ATOM" name="selection" />
231     <reply>
232       <pad bytes="1" />
233       <field type="CARD32" name="context_len" />
234       <pad bytes="20" />
235       <list type="char" name="context">
236         <fieldref>context_len</fieldref>
237       </list>
238     </reply>
239   </request>
240
241   <request name="GetSelectionDataContext" opcode="20">
242     <field type="ATOM" name="selection" />
243     <reply>
244       <pad bytes="1" />
245       <field type="CARD32" name="context_len" />
246       <pad bytes="20" />
247       <list type="char" name="context">
248         <fieldref>context_len</fieldref>
249       </list>
250     </reply>
251   </request>
252
253   <request name="ListSelections" opcode="21">
254     <reply>
255       <pad bytes="1" />
256       <field type="CARD32" name="selections_len" />
257       <pad bytes="20" />
258       <list type="ListItem" name="selections">
259         <fieldref>selections_len</fieldref>
260       </list>
261     </reply>
262   </request>
263
264   <request name="GetClientContext" opcode="22">
265     <field type="CARD32" name="resource" />
266     <reply>
267       <pad bytes="1" />
268       <field type="CARD32" name="context_len" />
269       <pad bytes="20" />
270       <list type="char" name="context">
271         <fieldref>context_len</fieldref>
272       </list>
273     </reply>
274   </request>
275
276 </xcb>