1<?xml version="1.0" encoding="utf-8"?> 2<!-- 3Permission is hereby granted, free of charge, to any person obtaining a copy 4of this software and associated documentation files (the "Software"), to deal 5in the Software without restriction, including without limitation the rights 6to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7copies of the Software, and to permit persons to whom the Software is 8furnished to do so, subject to the following conditions: 9 10The above copyright notice and this permission notice shall be included in all 11copies or substantial portions of the Software. 12 13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 17ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 18WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 20Except as contained in this notice, the names of the authors or their 21institutions shall not be used in advertising or otherwise to promote the 22sale, use or other dealings in this Software without prior written 23authorization 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 <pad align="4" /> 115 <list type="char" name="data_context"> 116 <fieldref>data_context_len</fieldref> 117 </list> 118 <pad align="4" /> 119 </struct> 120 121 <request name="SetPropertyCreateContext" opcode="8"> 122 <field type="CARD32" name="context_len" /> 123 <list type="char" name="context"> 124 <fieldref>context_len</fieldref> 125 </list> 126 </request> 127 128 <request name="GetPropertyCreateContext" opcode="9"> 129 <reply> 130 <pad bytes="1" /> 131 <field type="CARD32" name="context_len" /> 132 <pad bytes="20" /> 133 <list type="char" name="context"> 134 <fieldref>context_len</fieldref> 135 </list> 136 </reply> 137 </request> 138 139 <request name="SetPropertyUseContext" opcode="10"> 140 <field type="CARD32" name="context_len" /> 141 <list type="char" name="context"> 142 <fieldref>context_len</fieldref> 143 </list> 144 </request> 145 146 <request name="GetPropertyUseContext" opcode="11"> 147 <reply> 148 <pad bytes="1" /> 149 <field type="CARD32" name="context_len" /> 150 <pad bytes="20" /> 151 <list type="char" name="context"> 152 <fieldref>context_len</fieldref> 153 </list> 154 </reply> 155 </request> 156 157 <request name="GetPropertyContext" opcode="12"> 158 <field type="WINDOW" name="window" /> 159 <field type="ATOM" name="property" /> 160 <reply> 161 <pad bytes="1" /> 162 <field type="CARD32" name="context_len" /> 163 <pad bytes="20" /> 164 <list type="char" name="context"> 165 <fieldref>context_len</fieldref> 166 </list> 167 </reply> 168 </request> 169 170 <request name="GetPropertyDataContext" opcode="13"> 171 <field type="WINDOW" name="window" /> 172 <field type="ATOM" name="property" /> 173 <reply> 174 <pad bytes="1" /> 175 <field type="CARD32" name="context_len" /> 176 <pad bytes="20" /> 177 <list type="char" name="context"> 178 <fieldref>context_len</fieldref> 179 </list> 180 </reply> 181 </request> 182 183 <request name="ListProperties" opcode="14"> 184 <field type="WINDOW" name="window" /> 185 <reply> 186 <pad bytes="1" /> 187 <field type="CARD32" name="properties_len" /> 188 <pad bytes="20" /> 189 <list type="ListItem" name="properties"> 190 <fieldref>properties_len</fieldref> 191 </list> 192 </reply> 193 </request> 194 195 <request name="SetSelectionCreateContext" opcode="15"> 196 <field type="CARD32" name="context_len" /> 197 <list type="char" name="context"> 198 <fieldref>context_len</fieldref> 199 </list> 200 </request> 201 202 <request name="GetSelectionCreateContext" opcode="16"> 203 <reply> 204 <pad bytes="1" /> 205 <field type="CARD32" name="context_len" /> 206 <pad bytes="20" /> 207 <list type="char" name="context"> 208 <fieldref>context_len</fieldref> 209 </list> 210 </reply> 211 </request> 212 213 <request name="SetSelectionUseContext" opcode="17"> 214 <field type="CARD32" name="context_len" /> 215 <list type="char" name="context"> 216 <fieldref>context_len</fieldref> 217 </list> 218 </request> 219 220 <request name="GetSelectionUseContext" opcode="18"> 221 <reply> 222 <pad bytes="1" /> 223 <field type="CARD32" name="context_len" /> 224 <pad bytes="20" /> 225 <list type="char" name="context"> 226 <fieldref>context_len</fieldref> 227 </list> 228 </reply> 229 </request> 230 231 <request name="GetSelectionContext" opcode="19"> 232 <field type="ATOM" name="selection" /> 233 <reply> 234 <pad bytes="1" /> 235 <field type="CARD32" name="context_len" /> 236 <pad bytes="20" /> 237 <list type="char" name="context"> 238 <fieldref>context_len</fieldref> 239 </list> 240 </reply> 241 </request> 242 243 <request name="GetSelectionDataContext" opcode="20"> 244 <field type="ATOM" name="selection" /> 245 <reply> 246 <pad bytes="1" /> 247 <field type="CARD32" name="context_len" /> 248 <pad bytes="20" /> 249 <list type="char" name="context"> 250 <fieldref>context_len</fieldref> 251 </list> 252 </reply> 253 </request> 254 255 <request name="ListSelections" opcode="21"> 256 <reply> 257 <pad bytes="1" /> 258 <field type="CARD32" name="selections_len" /> 259 <pad bytes="20" /> 260 <list type="ListItem" name="selections"> 261 <fieldref>selections_len</fieldref> 262 </list> 263 </reply> 264 </request> 265 266 <request name="GetClientContext" opcode="22"> 267 <field type="CARD32" name="resource" /> 268 <reply> 269 <pad bytes="1" /> 270 <field type="CARD32" name="context_len" /> 271 <pad bytes="20" /> 272 <list type="char" name="context"> 273 <fieldref>context_len</fieldref> 274 </list> 275 </reply> 276 </request> 277 278</xcb> 279