res.xml revision d4401354
1d4401354Smrg<?xml version="1.0" encoding="utf-8"?> 2d4401354Smrg<!-- 3d4401354SmrgCopyright (C) 2006 Jeremy Kolb 4d4401354SmrgAll Rights Reserved. 5d4401354Smrg 6d4401354SmrgPermission is hereby granted, free of charge, to any person obtaining a copy 7d4401354Smrgof this software and associated documentation files (the "Software"), to deal 8d4401354Smrgin the Software without restriction, including without limitation the rights 9d4401354Smrgto use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10d4401354Smrgcopies of the Software, and to permit persons to whom the Software is 11d4401354Smrgfurnished to do so, subject to the following conditions: 12d4401354Smrg 13d4401354SmrgThe above copyright notice and this permission notice shall be included in all 14d4401354Smrgcopies or substantial portions of the Software. 15d4401354Smrg 16d4401354SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17d4401354SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18d4401354SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19d4401354SmrgAUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 20d4401354SmrgACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 21d4401354SmrgWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22d4401354Smrg 23d4401354SmrgExcept as contained in this notice, the names of the authors or their 24d4401354Smrginstitutions shall not be used in advertising or otherwise to promote the 25d4401354Smrgsale, use or other dealings in this Software without prior written 26d4401354Smrgauthorization from the authors. 27d4401354Smrg--> 28d4401354Smrg<xcb header="res" extension-xname="X-Resource" extension-name="Res" 29d4401354Smrg major-version="1" minor-version="0"> 30d4401354Smrg <import>xproto</import> 31d4401354Smrg 32d4401354Smrg <struct name="Client"> 33d4401354Smrg <field type="CARD32" name="resource_base" /> 34d4401354Smrg <field type="CARD32" name="resource_mask" /> 35d4401354Smrg </struct> 36d4401354Smrg 37d4401354Smrg <struct name="Type"> 38d4401354Smrg <field type="ATOM" name="resource_type" /> 39d4401354Smrg <field type="CARD32" name="count" /> 40d4401354Smrg </struct> 41d4401354Smrg 42d4401354Smrg <request name="QueryVersion" opcode="0"> 43d4401354Smrg <field type="CARD8" name="client_major" /> 44d4401354Smrg <field type="CARD8" name="client_minor" /> 45d4401354Smrg <reply> 46d4401354Smrg <pad bytes="1" /> 47d4401354Smrg <field type="CARD16" name="server_major" /> 48d4401354Smrg <field type="CARD16" name="server_minor" /> 49d4401354Smrg </reply> 50d4401354Smrg </request> 51d4401354Smrg 52d4401354Smrg <request name="QueryClients" opcode="1"> 53d4401354Smrg <reply> 54d4401354Smrg <pad bytes="1" /> 55d4401354Smrg <field type="CARD32" name="num_clients" /> 56d4401354Smrg <pad bytes="20" /> 57d4401354Smrg <list type="Client" name="clients"> 58d4401354Smrg <fieldref>num_clients</fieldref> 59d4401354Smrg </list> 60d4401354Smrg </reply> 61d4401354Smrg </request> 62d4401354Smrg 63d4401354Smrg <request name="QueryClientResources" opcode="2"> 64d4401354Smrg <field type="CARD32" name="xid" /> 65d4401354Smrg <reply> 66d4401354Smrg <pad bytes="1" /> 67d4401354Smrg <field type="CARD32" name="num_types" /> 68d4401354Smrg <pad bytes="20" /> 69d4401354Smrg <list type="Type" name="types"> 70d4401354Smrg <fieldref>num_types</fieldref> 71d4401354Smrg </list> 72d4401354Smrg </reply> 73d4401354Smrg </request> 74d4401354Smrg 75d4401354Smrg <request name="QueryClientPixmapBytes" opcode="3"> 76d4401354Smrg <field type="CARD32" name="xid" /> 77d4401354Smrg <reply> 78d4401354Smrg <pad bytes="1" /> 79d4401354Smrg <field type="CARD32" name="bytes" /> 80d4401354Smrg <field type="CARD32" name="bytes_overflow" /> 81d4401354Smrg </reply> 82d4401354Smrg </request> 83d4401354Smrg</xcb> 84