xref: /minix3/external/mit/xorg/lib/libxcb/files/res.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1971bb1a5SLionel Sambuc /*
2971bb1a5SLionel Sambuc  * This file generated automatically from res.xml by c_client.py.
3971bb1a5SLionel Sambuc  * Edit at your peril.
4971bb1a5SLionel Sambuc  */
5971bb1a5SLionel Sambuc 
6971bb1a5SLionel Sambuc /**
7971bb1a5SLionel Sambuc  * @defgroup XCB_Res_API XCB Res API
8971bb1a5SLionel Sambuc  * @brief Res XCB Protocol Implementation.
9971bb1a5SLionel Sambuc  * @{
10971bb1a5SLionel Sambuc  **/
11971bb1a5SLionel Sambuc 
12971bb1a5SLionel Sambuc #ifndef __RES_H
13971bb1a5SLionel Sambuc #define __RES_H
14971bb1a5SLionel Sambuc 
15971bb1a5SLionel Sambuc #include "xcb.h"
16971bb1a5SLionel Sambuc #include "xproto.h"
17971bb1a5SLionel Sambuc 
18971bb1a5SLionel Sambuc #ifdef __cplusplus
19971bb1a5SLionel Sambuc extern "C" {
20971bb1a5SLionel Sambuc #endif
21971bb1a5SLionel Sambuc 
22971bb1a5SLionel Sambuc #define XCB_RES_MAJOR_VERSION 1
23*0a6a1f1dSLionel Sambuc #define XCB_RES_MINOR_VERSION 2
24971bb1a5SLionel Sambuc 
25971bb1a5SLionel Sambuc extern xcb_extension_t xcb_res_id;
26971bb1a5SLionel Sambuc 
27971bb1a5SLionel Sambuc /**
28971bb1a5SLionel Sambuc  * @brief xcb_res_client_t
29971bb1a5SLionel Sambuc  **/
30971bb1a5SLionel Sambuc typedef struct xcb_res_client_t {
31971bb1a5SLionel Sambuc     uint32_t resource_base; /**<  */
32971bb1a5SLionel Sambuc     uint32_t resource_mask; /**<  */
33971bb1a5SLionel Sambuc } xcb_res_client_t;
34971bb1a5SLionel Sambuc 
35971bb1a5SLionel Sambuc /**
36971bb1a5SLionel Sambuc  * @brief xcb_res_client_iterator_t
37971bb1a5SLionel Sambuc  **/
38971bb1a5SLionel Sambuc typedef struct xcb_res_client_iterator_t {
39971bb1a5SLionel Sambuc     xcb_res_client_t *data; /**<  */
40971bb1a5SLionel Sambuc     int               rem; /**<  */
41971bb1a5SLionel Sambuc     int               index; /**<  */
42971bb1a5SLionel Sambuc } xcb_res_client_iterator_t;
43971bb1a5SLionel Sambuc 
44971bb1a5SLionel Sambuc /**
45971bb1a5SLionel Sambuc  * @brief xcb_res_type_t
46971bb1a5SLionel Sambuc  **/
47971bb1a5SLionel Sambuc typedef struct xcb_res_type_t {
48971bb1a5SLionel Sambuc     xcb_atom_t resource_type; /**<  */
49971bb1a5SLionel Sambuc     uint32_t   count; /**<  */
50971bb1a5SLionel Sambuc } xcb_res_type_t;
51971bb1a5SLionel Sambuc 
52971bb1a5SLionel Sambuc /**
53971bb1a5SLionel Sambuc  * @brief xcb_res_type_iterator_t
54971bb1a5SLionel Sambuc  **/
55971bb1a5SLionel Sambuc typedef struct xcb_res_type_iterator_t {
56971bb1a5SLionel Sambuc     xcb_res_type_t *data; /**<  */
57971bb1a5SLionel Sambuc     int             rem; /**<  */
58971bb1a5SLionel Sambuc     int             index; /**<  */
59971bb1a5SLionel Sambuc } xcb_res_type_iterator_t;
60971bb1a5SLionel Sambuc 
61*0a6a1f1dSLionel Sambuc typedef enum xcb_res_client_id_mask_t {
62*0a6a1f1dSLionel Sambuc     XCB_RES_CLIENT_ID_MASK_CLIENT_XID = 1,
63*0a6a1f1dSLionel Sambuc     XCB_RES_CLIENT_ID_MASK_LOCAL_CLIENT_PID = 2
64*0a6a1f1dSLionel Sambuc } xcb_res_client_id_mask_t;
65*0a6a1f1dSLionel Sambuc 
66*0a6a1f1dSLionel Sambuc /**
67*0a6a1f1dSLionel Sambuc  * @brief xcb_res_client_id_spec_t
68*0a6a1f1dSLionel Sambuc  **/
69*0a6a1f1dSLionel Sambuc typedef struct xcb_res_client_id_spec_t {
70*0a6a1f1dSLionel Sambuc     uint32_t client; /**<  */
71*0a6a1f1dSLionel Sambuc     uint32_t mask; /**<  */
72*0a6a1f1dSLionel Sambuc } xcb_res_client_id_spec_t;
73*0a6a1f1dSLionel Sambuc 
74*0a6a1f1dSLionel Sambuc /**
75*0a6a1f1dSLionel Sambuc  * @brief xcb_res_client_id_spec_iterator_t
76*0a6a1f1dSLionel Sambuc  **/
77*0a6a1f1dSLionel Sambuc typedef struct xcb_res_client_id_spec_iterator_t {
78*0a6a1f1dSLionel Sambuc     xcb_res_client_id_spec_t *data; /**<  */
79*0a6a1f1dSLionel Sambuc     int                       rem; /**<  */
80*0a6a1f1dSLionel Sambuc     int                       index; /**<  */
81*0a6a1f1dSLionel Sambuc } xcb_res_client_id_spec_iterator_t;
82*0a6a1f1dSLionel Sambuc 
83*0a6a1f1dSLionel Sambuc /**
84*0a6a1f1dSLionel Sambuc  * @brief xcb_res_client_id_value_t
85*0a6a1f1dSLionel Sambuc  **/
86*0a6a1f1dSLionel Sambuc typedef struct xcb_res_client_id_value_t {
87*0a6a1f1dSLionel Sambuc     xcb_res_client_id_spec_t spec; /**<  */
88*0a6a1f1dSLionel Sambuc     uint32_t                 length; /**<  */
89*0a6a1f1dSLionel Sambuc } xcb_res_client_id_value_t;
90*0a6a1f1dSLionel Sambuc 
91*0a6a1f1dSLionel Sambuc /**
92*0a6a1f1dSLionel Sambuc  * @brief xcb_res_client_id_value_iterator_t
93*0a6a1f1dSLionel Sambuc  **/
94*0a6a1f1dSLionel Sambuc typedef struct xcb_res_client_id_value_iterator_t {
95*0a6a1f1dSLionel Sambuc     xcb_res_client_id_value_t *data; /**<  */
96*0a6a1f1dSLionel Sambuc     int                        rem; /**<  */
97*0a6a1f1dSLionel Sambuc     int                        index; /**<  */
98*0a6a1f1dSLionel Sambuc } xcb_res_client_id_value_iterator_t;
99*0a6a1f1dSLionel Sambuc 
100*0a6a1f1dSLionel Sambuc /**
101*0a6a1f1dSLionel Sambuc  * @brief xcb_res_resource_id_spec_t
102*0a6a1f1dSLionel Sambuc  **/
103*0a6a1f1dSLionel Sambuc typedef struct xcb_res_resource_id_spec_t {
104*0a6a1f1dSLionel Sambuc     uint32_t resource; /**<  */
105*0a6a1f1dSLionel Sambuc     uint32_t type; /**<  */
106*0a6a1f1dSLionel Sambuc } xcb_res_resource_id_spec_t;
107*0a6a1f1dSLionel Sambuc 
108*0a6a1f1dSLionel Sambuc /**
109*0a6a1f1dSLionel Sambuc  * @brief xcb_res_resource_id_spec_iterator_t
110*0a6a1f1dSLionel Sambuc  **/
111*0a6a1f1dSLionel Sambuc typedef struct xcb_res_resource_id_spec_iterator_t {
112*0a6a1f1dSLionel Sambuc     xcb_res_resource_id_spec_t *data; /**<  */
113*0a6a1f1dSLionel Sambuc     int                         rem; /**<  */
114*0a6a1f1dSLionel Sambuc     int                         index; /**<  */
115*0a6a1f1dSLionel Sambuc } xcb_res_resource_id_spec_iterator_t;
116*0a6a1f1dSLionel Sambuc 
117*0a6a1f1dSLionel Sambuc /**
118*0a6a1f1dSLionel Sambuc  * @brief xcb_res_resource_size_spec_t
119*0a6a1f1dSLionel Sambuc  **/
120*0a6a1f1dSLionel Sambuc typedef struct xcb_res_resource_size_spec_t {
121*0a6a1f1dSLionel Sambuc     xcb_res_resource_id_spec_t spec; /**<  */
122*0a6a1f1dSLionel Sambuc     uint32_t                   bytes; /**<  */
123*0a6a1f1dSLionel Sambuc     uint32_t                   ref_count; /**<  */
124*0a6a1f1dSLionel Sambuc     uint32_t                   use_count; /**<  */
125*0a6a1f1dSLionel Sambuc } xcb_res_resource_size_spec_t;
126*0a6a1f1dSLionel Sambuc 
127*0a6a1f1dSLionel Sambuc /**
128*0a6a1f1dSLionel Sambuc  * @brief xcb_res_resource_size_spec_iterator_t
129*0a6a1f1dSLionel Sambuc  **/
130*0a6a1f1dSLionel Sambuc typedef struct xcb_res_resource_size_spec_iterator_t {
131*0a6a1f1dSLionel Sambuc     xcb_res_resource_size_spec_t *data; /**<  */
132*0a6a1f1dSLionel Sambuc     int                           rem; /**<  */
133*0a6a1f1dSLionel Sambuc     int                           index; /**<  */
134*0a6a1f1dSLionel Sambuc } xcb_res_resource_size_spec_iterator_t;
135*0a6a1f1dSLionel Sambuc 
136*0a6a1f1dSLionel Sambuc /**
137*0a6a1f1dSLionel Sambuc  * @brief xcb_res_resource_size_value_t
138*0a6a1f1dSLionel Sambuc  **/
139*0a6a1f1dSLionel Sambuc typedef struct xcb_res_resource_size_value_t {
140*0a6a1f1dSLionel Sambuc     xcb_res_resource_size_spec_t size; /**<  */
141*0a6a1f1dSLionel Sambuc     uint32_t                     num_cross_references; /**<  */
142*0a6a1f1dSLionel Sambuc } xcb_res_resource_size_value_t;
143*0a6a1f1dSLionel Sambuc 
144*0a6a1f1dSLionel Sambuc /**
145*0a6a1f1dSLionel Sambuc  * @brief xcb_res_resource_size_value_iterator_t
146*0a6a1f1dSLionel Sambuc  **/
147*0a6a1f1dSLionel Sambuc typedef struct xcb_res_resource_size_value_iterator_t {
148*0a6a1f1dSLionel Sambuc     xcb_res_resource_size_value_t *data; /**<  */
149*0a6a1f1dSLionel Sambuc     int                            rem; /**<  */
150*0a6a1f1dSLionel Sambuc     int                            index; /**<  */
151*0a6a1f1dSLionel Sambuc } xcb_res_resource_size_value_iterator_t;
152*0a6a1f1dSLionel Sambuc 
153971bb1a5SLionel Sambuc /**
154971bb1a5SLionel Sambuc  * @brief xcb_res_query_version_cookie_t
155971bb1a5SLionel Sambuc  **/
156971bb1a5SLionel Sambuc typedef struct xcb_res_query_version_cookie_t {
157971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
158971bb1a5SLionel Sambuc } xcb_res_query_version_cookie_t;
159971bb1a5SLionel Sambuc 
160971bb1a5SLionel Sambuc /** Opcode for xcb_res_query_version. */
161971bb1a5SLionel Sambuc #define XCB_RES_QUERY_VERSION 0
162971bb1a5SLionel Sambuc 
163971bb1a5SLionel Sambuc /**
164971bb1a5SLionel Sambuc  * @brief xcb_res_query_version_request_t
165971bb1a5SLionel Sambuc  **/
166971bb1a5SLionel Sambuc typedef struct xcb_res_query_version_request_t {
167971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
168971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
169971bb1a5SLionel Sambuc     uint16_t length; /**<  */
170971bb1a5SLionel Sambuc     uint8_t  client_major; /**<  */
171971bb1a5SLionel Sambuc     uint8_t  client_minor; /**<  */
172971bb1a5SLionel Sambuc } xcb_res_query_version_request_t;
173971bb1a5SLionel Sambuc 
174971bb1a5SLionel Sambuc /**
175971bb1a5SLionel Sambuc  * @brief xcb_res_query_version_reply_t
176971bb1a5SLionel Sambuc  **/
177971bb1a5SLionel Sambuc typedef struct xcb_res_query_version_reply_t {
178971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
179971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
180971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
181971bb1a5SLionel Sambuc     uint32_t length; /**<  */
182971bb1a5SLionel Sambuc     uint16_t server_major; /**<  */
183971bb1a5SLionel Sambuc     uint16_t server_minor; /**<  */
184971bb1a5SLionel Sambuc } xcb_res_query_version_reply_t;
185971bb1a5SLionel Sambuc 
186971bb1a5SLionel Sambuc /**
187971bb1a5SLionel Sambuc  * @brief xcb_res_query_clients_cookie_t
188971bb1a5SLionel Sambuc  **/
189971bb1a5SLionel Sambuc typedef struct xcb_res_query_clients_cookie_t {
190971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
191971bb1a5SLionel Sambuc } xcb_res_query_clients_cookie_t;
192971bb1a5SLionel Sambuc 
193971bb1a5SLionel Sambuc /** Opcode for xcb_res_query_clients. */
194971bb1a5SLionel Sambuc #define XCB_RES_QUERY_CLIENTS 1
195971bb1a5SLionel Sambuc 
196971bb1a5SLionel Sambuc /**
197971bb1a5SLionel Sambuc  * @brief xcb_res_query_clients_request_t
198971bb1a5SLionel Sambuc  **/
199971bb1a5SLionel Sambuc typedef struct xcb_res_query_clients_request_t {
200971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
201971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
202971bb1a5SLionel Sambuc     uint16_t length; /**<  */
203971bb1a5SLionel Sambuc } xcb_res_query_clients_request_t;
204971bb1a5SLionel Sambuc 
205971bb1a5SLionel Sambuc /**
206971bb1a5SLionel Sambuc  * @brief xcb_res_query_clients_reply_t
207971bb1a5SLionel Sambuc  **/
208971bb1a5SLionel Sambuc typedef struct xcb_res_query_clients_reply_t {
209971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
210971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
211971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
212971bb1a5SLionel Sambuc     uint32_t length; /**<  */
213971bb1a5SLionel Sambuc     uint32_t num_clients; /**<  */
214971bb1a5SLionel Sambuc     uint8_t  pad1[20]; /**<  */
215971bb1a5SLionel Sambuc } xcb_res_query_clients_reply_t;
216971bb1a5SLionel Sambuc 
217971bb1a5SLionel Sambuc /**
218971bb1a5SLionel Sambuc  * @brief xcb_res_query_client_resources_cookie_t
219971bb1a5SLionel Sambuc  **/
220971bb1a5SLionel Sambuc typedef struct xcb_res_query_client_resources_cookie_t {
221971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
222971bb1a5SLionel Sambuc } xcb_res_query_client_resources_cookie_t;
223971bb1a5SLionel Sambuc 
224971bb1a5SLionel Sambuc /** Opcode for xcb_res_query_client_resources. */
225971bb1a5SLionel Sambuc #define XCB_RES_QUERY_CLIENT_RESOURCES 2
226971bb1a5SLionel Sambuc 
227971bb1a5SLionel Sambuc /**
228971bb1a5SLionel Sambuc  * @brief xcb_res_query_client_resources_request_t
229971bb1a5SLionel Sambuc  **/
230971bb1a5SLionel Sambuc typedef struct xcb_res_query_client_resources_request_t {
231971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
232971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
233971bb1a5SLionel Sambuc     uint16_t length; /**<  */
234971bb1a5SLionel Sambuc     uint32_t xid; /**<  */
235971bb1a5SLionel Sambuc } xcb_res_query_client_resources_request_t;
236971bb1a5SLionel Sambuc 
237971bb1a5SLionel Sambuc /**
238971bb1a5SLionel Sambuc  * @brief xcb_res_query_client_resources_reply_t
239971bb1a5SLionel Sambuc  **/
240971bb1a5SLionel Sambuc typedef struct xcb_res_query_client_resources_reply_t {
241971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
242971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
243971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
244971bb1a5SLionel Sambuc     uint32_t length; /**<  */
245971bb1a5SLionel Sambuc     uint32_t num_types; /**<  */
246971bb1a5SLionel Sambuc     uint8_t  pad1[20]; /**<  */
247971bb1a5SLionel Sambuc } xcb_res_query_client_resources_reply_t;
248971bb1a5SLionel Sambuc 
249971bb1a5SLionel Sambuc /**
250971bb1a5SLionel Sambuc  * @brief xcb_res_query_client_pixmap_bytes_cookie_t
251971bb1a5SLionel Sambuc  **/
252971bb1a5SLionel Sambuc typedef struct xcb_res_query_client_pixmap_bytes_cookie_t {
253971bb1a5SLionel Sambuc     unsigned int sequence; /**<  */
254971bb1a5SLionel Sambuc } xcb_res_query_client_pixmap_bytes_cookie_t;
255971bb1a5SLionel Sambuc 
256971bb1a5SLionel Sambuc /** Opcode for xcb_res_query_client_pixmap_bytes. */
257971bb1a5SLionel Sambuc #define XCB_RES_QUERY_CLIENT_PIXMAP_BYTES 3
258971bb1a5SLionel Sambuc 
259971bb1a5SLionel Sambuc /**
260971bb1a5SLionel Sambuc  * @brief xcb_res_query_client_pixmap_bytes_request_t
261971bb1a5SLionel Sambuc  **/
262971bb1a5SLionel Sambuc typedef struct xcb_res_query_client_pixmap_bytes_request_t {
263971bb1a5SLionel Sambuc     uint8_t  major_opcode; /**<  */
264971bb1a5SLionel Sambuc     uint8_t  minor_opcode; /**<  */
265971bb1a5SLionel Sambuc     uint16_t length; /**<  */
266971bb1a5SLionel Sambuc     uint32_t xid; /**<  */
267971bb1a5SLionel Sambuc } xcb_res_query_client_pixmap_bytes_request_t;
268971bb1a5SLionel Sambuc 
269971bb1a5SLionel Sambuc /**
270971bb1a5SLionel Sambuc  * @brief xcb_res_query_client_pixmap_bytes_reply_t
271971bb1a5SLionel Sambuc  **/
272971bb1a5SLionel Sambuc typedef struct xcb_res_query_client_pixmap_bytes_reply_t {
273971bb1a5SLionel Sambuc     uint8_t  response_type; /**<  */
274971bb1a5SLionel Sambuc     uint8_t  pad0; /**<  */
275971bb1a5SLionel Sambuc     uint16_t sequence; /**<  */
276971bb1a5SLionel Sambuc     uint32_t length; /**<  */
277971bb1a5SLionel Sambuc     uint32_t bytes; /**<  */
278971bb1a5SLionel Sambuc     uint32_t bytes_overflow; /**<  */
279971bb1a5SLionel Sambuc } xcb_res_query_client_pixmap_bytes_reply_t;
280971bb1a5SLionel Sambuc 
281971bb1a5SLionel Sambuc /**
282*0a6a1f1dSLionel Sambuc  * @brief xcb_res_query_client_ids_cookie_t
283*0a6a1f1dSLionel Sambuc  **/
284*0a6a1f1dSLionel Sambuc typedef struct xcb_res_query_client_ids_cookie_t {
285*0a6a1f1dSLionel Sambuc     unsigned int sequence; /**<  */
286*0a6a1f1dSLionel Sambuc } xcb_res_query_client_ids_cookie_t;
287*0a6a1f1dSLionel Sambuc 
288*0a6a1f1dSLionel Sambuc /** Opcode for xcb_res_query_client_ids. */
289*0a6a1f1dSLionel Sambuc #define XCB_RES_QUERY_CLIENT_IDS 4
290*0a6a1f1dSLionel Sambuc 
291*0a6a1f1dSLionel Sambuc /**
292*0a6a1f1dSLionel Sambuc  * @brief xcb_res_query_client_ids_request_t
293*0a6a1f1dSLionel Sambuc  **/
294*0a6a1f1dSLionel Sambuc typedef struct xcb_res_query_client_ids_request_t {
295*0a6a1f1dSLionel Sambuc     uint8_t  major_opcode; /**<  */
296*0a6a1f1dSLionel Sambuc     uint8_t  minor_opcode; /**<  */
297*0a6a1f1dSLionel Sambuc     uint16_t length; /**<  */
298*0a6a1f1dSLionel Sambuc     uint32_t num_specs; /**<  */
299*0a6a1f1dSLionel Sambuc } xcb_res_query_client_ids_request_t;
300*0a6a1f1dSLionel Sambuc 
301*0a6a1f1dSLionel Sambuc /**
302*0a6a1f1dSLionel Sambuc  * @brief xcb_res_query_client_ids_reply_t
303*0a6a1f1dSLionel Sambuc  **/
304*0a6a1f1dSLionel Sambuc typedef struct xcb_res_query_client_ids_reply_t {
305*0a6a1f1dSLionel Sambuc     uint8_t  response_type; /**<  */
306*0a6a1f1dSLionel Sambuc     uint8_t  pad0; /**<  */
307*0a6a1f1dSLionel Sambuc     uint16_t sequence; /**<  */
308*0a6a1f1dSLionel Sambuc     uint32_t length; /**<  */
309*0a6a1f1dSLionel Sambuc     uint32_t num_ids; /**<  */
310*0a6a1f1dSLionel Sambuc     uint8_t  pad1[20]; /**<  */
311*0a6a1f1dSLionel Sambuc } xcb_res_query_client_ids_reply_t;
312*0a6a1f1dSLionel Sambuc 
313*0a6a1f1dSLionel Sambuc /**
314*0a6a1f1dSLionel Sambuc  * @brief xcb_res_query_resource_bytes_cookie_t
315*0a6a1f1dSLionel Sambuc  **/
316*0a6a1f1dSLionel Sambuc typedef struct xcb_res_query_resource_bytes_cookie_t {
317*0a6a1f1dSLionel Sambuc     unsigned int sequence; /**<  */
318*0a6a1f1dSLionel Sambuc } xcb_res_query_resource_bytes_cookie_t;
319*0a6a1f1dSLionel Sambuc 
320*0a6a1f1dSLionel Sambuc /** Opcode for xcb_res_query_resource_bytes. */
321*0a6a1f1dSLionel Sambuc #define XCB_RES_QUERY_RESOURCE_BYTES 5
322*0a6a1f1dSLionel Sambuc 
323*0a6a1f1dSLionel Sambuc /**
324*0a6a1f1dSLionel Sambuc  * @brief xcb_res_query_resource_bytes_request_t
325*0a6a1f1dSLionel Sambuc  **/
326*0a6a1f1dSLionel Sambuc typedef struct xcb_res_query_resource_bytes_request_t {
327*0a6a1f1dSLionel Sambuc     uint8_t  major_opcode; /**<  */
328*0a6a1f1dSLionel Sambuc     uint8_t  minor_opcode; /**<  */
329*0a6a1f1dSLionel Sambuc     uint16_t length; /**<  */
330*0a6a1f1dSLionel Sambuc     uint32_t client; /**<  */
331*0a6a1f1dSLionel Sambuc     uint32_t num_specs; /**<  */
332*0a6a1f1dSLionel Sambuc } xcb_res_query_resource_bytes_request_t;
333*0a6a1f1dSLionel Sambuc 
334*0a6a1f1dSLionel Sambuc /**
335*0a6a1f1dSLionel Sambuc  * @brief xcb_res_query_resource_bytes_reply_t
336*0a6a1f1dSLionel Sambuc  **/
337*0a6a1f1dSLionel Sambuc typedef struct xcb_res_query_resource_bytes_reply_t {
338*0a6a1f1dSLionel Sambuc     uint8_t  response_type; /**<  */
339*0a6a1f1dSLionel Sambuc     uint8_t  pad0; /**<  */
340*0a6a1f1dSLionel Sambuc     uint16_t sequence; /**<  */
341*0a6a1f1dSLionel Sambuc     uint32_t length; /**<  */
342*0a6a1f1dSLionel Sambuc     uint32_t num_sizes; /**<  */
343*0a6a1f1dSLionel Sambuc     uint8_t  pad1[20]; /**<  */
344*0a6a1f1dSLionel Sambuc } xcb_res_query_resource_bytes_reply_t;
345*0a6a1f1dSLionel Sambuc 
346*0a6a1f1dSLionel Sambuc /**
347971bb1a5SLionel Sambuc  * Get the next element of the iterator
348971bb1a5SLionel Sambuc  * @param i Pointer to a xcb_res_client_iterator_t
349971bb1a5SLionel Sambuc  *
350971bb1a5SLionel Sambuc  * Get the next element in the iterator. The member rem is
351971bb1a5SLionel Sambuc  * decreased by one. The member data points to the next
352971bb1a5SLionel Sambuc  * element. The member index is increased by sizeof(xcb_res_client_t)
353971bb1a5SLionel Sambuc  */
354971bb1a5SLionel Sambuc void
355971bb1a5SLionel Sambuc xcb_res_client_next (xcb_res_client_iterator_t *i  /**< */);
356971bb1a5SLionel Sambuc 
357971bb1a5SLionel Sambuc /**
358971bb1a5SLionel Sambuc  * Return the iterator pointing to the last element
359971bb1a5SLionel Sambuc  * @param i An xcb_res_client_iterator_t
360971bb1a5SLionel Sambuc  * @return  The iterator pointing to the last element
361971bb1a5SLionel Sambuc  *
362971bb1a5SLionel Sambuc  * Set the current element in the iterator to the last element.
363971bb1a5SLionel Sambuc  * The member rem is set to 0. The member data points to the
364971bb1a5SLionel Sambuc  * last element.
365971bb1a5SLionel Sambuc  */
366971bb1a5SLionel Sambuc xcb_generic_iterator_t
367971bb1a5SLionel Sambuc xcb_res_client_end (xcb_res_client_iterator_t i  /**< */);
368971bb1a5SLionel Sambuc 
369971bb1a5SLionel Sambuc /**
370971bb1a5SLionel Sambuc  * Get the next element of the iterator
371971bb1a5SLionel Sambuc  * @param i Pointer to a xcb_res_type_iterator_t
372971bb1a5SLionel Sambuc  *
373971bb1a5SLionel Sambuc  * Get the next element in the iterator. The member rem is
374971bb1a5SLionel Sambuc  * decreased by one. The member data points to the next
375971bb1a5SLionel Sambuc  * element. The member index is increased by sizeof(xcb_res_type_t)
376971bb1a5SLionel Sambuc  */
377971bb1a5SLionel Sambuc void
378971bb1a5SLionel Sambuc xcb_res_type_next (xcb_res_type_iterator_t *i  /**< */);
379971bb1a5SLionel Sambuc 
380971bb1a5SLionel Sambuc /**
381971bb1a5SLionel Sambuc  * Return the iterator pointing to the last element
382971bb1a5SLionel Sambuc  * @param i An xcb_res_type_iterator_t
383971bb1a5SLionel Sambuc  * @return  The iterator pointing to the last element
384971bb1a5SLionel Sambuc  *
385971bb1a5SLionel Sambuc  * Set the current element in the iterator to the last element.
386971bb1a5SLionel Sambuc  * The member rem is set to 0. The member data points to the
387971bb1a5SLionel Sambuc  * last element.
388971bb1a5SLionel Sambuc  */
389971bb1a5SLionel Sambuc xcb_generic_iterator_t
390971bb1a5SLionel Sambuc xcb_res_type_end (xcb_res_type_iterator_t i  /**< */);
391971bb1a5SLionel Sambuc 
392971bb1a5SLionel Sambuc /**
393*0a6a1f1dSLionel Sambuc  * Get the next element of the iterator
394*0a6a1f1dSLionel Sambuc  * @param i Pointer to a xcb_res_client_id_spec_iterator_t
395*0a6a1f1dSLionel Sambuc  *
396*0a6a1f1dSLionel Sambuc  * Get the next element in the iterator. The member rem is
397*0a6a1f1dSLionel Sambuc  * decreased by one. The member data points to the next
398*0a6a1f1dSLionel Sambuc  * element. The member index is increased by sizeof(xcb_res_client_id_spec_t)
399*0a6a1f1dSLionel Sambuc  */
400*0a6a1f1dSLionel Sambuc void
401*0a6a1f1dSLionel Sambuc xcb_res_client_id_spec_next (xcb_res_client_id_spec_iterator_t *i  /**< */);
402*0a6a1f1dSLionel Sambuc 
403*0a6a1f1dSLionel Sambuc /**
404*0a6a1f1dSLionel Sambuc  * Return the iterator pointing to the last element
405*0a6a1f1dSLionel Sambuc  * @param i An xcb_res_client_id_spec_iterator_t
406*0a6a1f1dSLionel Sambuc  * @return  The iterator pointing to the last element
407*0a6a1f1dSLionel Sambuc  *
408*0a6a1f1dSLionel Sambuc  * Set the current element in the iterator to the last element.
409*0a6a1f1dSLionel Sambuc  * The member rem is set to 0. The member data points to the
410*0a6a1f1dSLionel Sambuc  * last element.
411*0a6a1f1dSLionel Sambuc  */
412*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
413*0a6a1f1dSLionel Sambuc xcb_res_client_id_spec_end (xcb_res_client_id_spec_iterator_t i  /**< */);
414*0a6a1f1dSLionel Sambuc 
415*0a6a1f1dSLionel Sambuc int
416*0a6a1f1dSLionel Sambuc xcb_res_client_id_value_sizeof (const void  *_buffer  /**< */);
417*0a6a1f1dSLionel Sambuc 
418*0a6a1f1dSLionel Sambuc uint32_t *
419*0a6a1f1dSLionel Sambuc xcb_res_client_id_value_value (const xcb_res_client_id_value_t *R  /**< */);
420*0a6a1f1dSLionel Sambuc 
421*0a6a1f1dSLionel Sambuc int
422*0a6a1f1dSLionel Sambuc xcb_res_client_id_value_value_length (const xcb_res_client_id_value_t *R  /**< */);
423*0a6a1f1dSLionel Sambuc 
424*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
425*0a6a1f1dSLionel Sambuc xcb_res_client_id_value_value_end (const xcb_res_client_id_value_t *R  /**< */);
426*0a6a1f1dSLionel Sambuc 
427*0a6a1f1dSLionel Sambuc /**
428*0a6a1f1dSLionel Sambuc  * Get the next element of the iterator
429*0a6a1f1dSLionel Sambuc  * @param i Pointer to a xcb_res_client_id_value_iterator_t
430*0a6a1f1dSLionel Sambuc  *
431*0a6a1f1dSLionel Sambuc  * Get the next element in the iterator. The member rem is
432*0a6a1f1dSLionel Sambuc  * decreased by one. The member data points to the next
433*0a6a1f1dSLionel Sambuc  * element. The member index is increased by sizeof(xcb_res_client_id_value_t)
434*0a6a1f1dSLionel Sambuc  */
435*0a6a1f1dSLionel Sambuc void
436*0a6a1f1dSLionel Sambuc xcb_res_client_id_value_next (xcb_res_client_id_value_iterator_t *i  /**< */);
437*0a6a1f1dSLionel Sambuc 
438*0a6a1f1dSLionel Sambuc /**
439*0a6a1f1dSLionel Sambuc  * Return the iterator pointing to the last element
440*0a6a1f1dSLionel Sambuc  * @param i An xcb_res_client_id_value_iterator_t
441*0a6a1f1dSLionel Sambuc  * @return  The iterator pointing to the last element
442*0a6a1f1dSLionel Sambuc  *
443*0a6a1f1dSLionel Sambuc  * Set the current element in the iterator to the last element.
444*0a6a1f1dSLionel Sambuc  * The member rem is set to 0. The member data points to the
445*0a6a1f1dSLionel Sambuc  * last element.
446*0a6a1f1dSLionel Sambuc  */
447*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
448*0a6a1f1dSLionel Sambuc xcb_res_client_id_value_end (xcb_res_client_id_value_iterator_t i  /**< */);
449*0a6a1f1dSLionel Sambuc 
450*0a6a1f1dSLionel Sambuc /**
451*0a6a1f1dSLionel Sambuc  * Get the next element of the iterator
452*0a6a1f1dSLionel Sambuc  * @param i Pointer to a xcb_res_resource_id_spec_iterator_t
453*0a6a1f1dSLionel Sambuc  *
454*0a6a1f1dSLionel Sambuc  * Get the next element in the iterator. The member rem is
455*0a6a1f1dSLionel Sambuc  * decreased by one. The member data points to the next
456*0a6a1f1dSLionel Sambuc  * element. The member index is increased by sizeof(xcb_res_resource_id_spec_t)
457*0a6a1f1dSLionel Sambuc  */
458*0a6a1f1dSLionel Sambuc void
459*0a6a1f1dSLionel Sambuc xcb_res_resource_id_spec_next (xcb_res_resource_id_spec_iterator_t *i  /**< */);
460*0a6a1f1dSLionel Sambuc 
461*0a6a1f1dSLionel Sambuc /**
462*0a6a1f1dSLionel Sambuc  * Return the iterator pointing to the last element
463*0a6a1f1dSLionel Sambuc  * @param i An xcb_res_resource_id_spec_iterator_t
464*0a6a1f1dSLionel Sambuc  * @return  The iterator pointing to the last element
465*0a6a1f1dSLionel Sambuc  *
466*0a6a1f1dSLionel Sambuc  * Set the current element in the iterator to the last element.
467*0a6a1f1dSLionel Sambuc  * The member rem is set to 0. The member data points to the
468*0a6a1f1dSLionel Sambuc  * last element.
469*0a6a1f1dSLionel Sambuc  */
470*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
471*0a6a1f1dSLionel Sambuc xcb_res_resource_id_spec_end (xcb_res_resource_id_spec_iterator_t i  /**< */);
472*0a6a1f1dSLionel Sambuc 
473*0a6a1f1dSLionel Sambuc /**
474*0a6a1f1dSLionel Sambuc  * Get the next element of the iterator
475*0a6a1f1dSLionel Sambuc  * @param i Pointer to a xcb_res_resource_size_spec_iterator_t
476*0a6a1f1dSLionel Sambuc  *
477*0a6a1f1dSLionel Sambuc  * Get the next element in the iterator. The member rem is
478*0a6a1f1dSLionel Sambuc  * decreased by one. The member data points to the next
479*0a6a1f1dSLionel Sambuc  * element. The member index is increased by sizeof(xcb_res_resource_size_spec_t)
480*0a6a1f1dSLionel Sambuc  */
481*0a6a1f1dSLionel Sambuc void
482*0a6a1f1dSLionel Sambuc xcb_res_resource_size_spec_next (xcb_res_resource_size_spec_iterator_t *i  /**< */);
483*0a6a1f1dSLionel Sambuc 
484*0a6a1f1dSLionel Sambuc /**
485*0a6a1f1dSLionel Sambuc  * Return the iterator pointing to the last element
486*0a6a1f1dSLionel Sambuc  * @param i An xcb_res_resource_size_spec_iterator_t
487*0a6a1f1dSLionel Sambuc  * @return  The iterator pointing to the last element
488*0a6a1f1dSLionel Sambuc  *
489*0a6a1f1dSLionel Sambuc  * Set the current element in the iterator to the last element.
490*0a6a1f1dSLionel Sambuc  * The member rem is set to 0. The member data points to the
491*0a6a1f1dSLionel Sambuc  * last element.
492*0a6a1f1dSLionel Sambuc  */
493*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
494*0a6a1f1dSLionel Sambuc xcb_res_resource_size_spec_end (xcb_res_resource_size_spec_iterator_t i  /**< */);
495*0a6a1f1dSLionel Sambuc 
496*0a6a1f1dSLionel Sambuc int
497*0a6a1f1dSLionel Sambuc xcb_res_resource_size_value_sizeof (const void  *_buffer  /**< */);
498*0a6a1f1dSLionel Sambuc 
499*0a6a1f1dSLionel Sambuc xcb_res_resource_size_spec_t *
500*0a6a1f1dSLionel Sambuc xcb_res_resource_size_value_cross_references (const xcb_res_resource_size_value_t *R  /**< */);
501*0a6a1f1dSLionel Sambuc 
502*0a6a1f1dSLionel Sambuc int
503*0a6a1f1dSLionel Sambuc xcb_res_resource_size_value_cross_references_length (const xcb_res_resource_size_value_t *R  /**< */);
504*0a6a1f1dSLionel Sambuc 
505*0a6a1f1dSLionel Sambuc xcb_res_resource_size_spec_iterator_t
506*0a6a1f1dSLionel Sambuc xcb_res_resource_size_value_cross_references_iterator (const xcb_res_resource_size_value_t *R  /**< */);
507*0a6a1f1dSLionel Sambuc 
508*0a6a1f1dSLionel Sambuc /**
509*0a6a1f1dSLionel Sambuc  * Get the next element of the iterator
510*0a6a1f1dSLionel Sambuc  * @param i Pointer to a xcb_res_resource_size_value_iterator_t
511*0a6a1f1dSLionel Sambuc  *
512*0a6a1f1dSLionel Sambuc  * Get the next element in the iterator. The member rem is
513*0a6a1f1dSLionel Sambuc  * decreased by one. The member data points to the next
514*0a6a1f1dSLionel Sambuc  * element. The member index is increased by sizeof(xcb_res_resource_size_value_t)
515*0a6a1f1dSLionel Sambuc  */
516*0a6a1f1dSLionel Sambuc void
517*0a6a1f1dSLionel Sambuc xcb_res_resource_size_value_next (xcb_res_resource_size_value_iterator_t *i  /**< */);
518*0a6a1f1dSLionel Sambuc 
519*0a6a1f1dSLionel Sambuc /**
520*0a6a1f1dSLionel Sambuc  * Return the iterator pointing to the last element
521*0a6a1f1dSLionel Sambuc  * @param i An xcb_res_resource_size_value_iterator_t
522*0a6a1f1dSLionel Sambuc  * @return  The iterator pointing to the last element
523*0a6a1f1dSLionel Sambuc  *
524*0a6a1f1dSLionel Sambuc  * Set the current element in the iterator to the last element.
525*0a6a1f1dSLionel Sambuc  * The member rem is set to 0. The member data points to the
526*0a6a1f1dSLionel Sambuc  * last element.
527*0a6a1f1dSLionel Sambuc  */
528*0a6a1f1dSLionel Sambuc xcb_generic_iterator_t
529*0a6a1f1dSLionel Sambuc xcb_res_resource_size_value_end (xcb_res_resource_size_value_iterator_t i  /**< */);
530*0a6a1f1dSLionel Sambuc 
531*0a6a1f1dSLionel Sambuc /**
532971bb1a5SLionel Sambuc  *
533971bb1a5SLionel Sambuc  * @param c The connection
534971bb1a5SLionel Sambuc  * @return A cookie
535971bb1a5SLionel Sambuc  *
536971bb1a5SLionel Sambuc  * Delivers a request to the X server.
537971bb1a5SLionel Sambuc  *
538971bb1a5SLionel Sambuc  */
539971bb1a5SLionel Sambuc xcb_res_query_version_cookie_t
540971bb1a5SLionel Sambuc xcb_res_query_version (xcb_connection_t *c  /**< */,
541971bb1a5SLionel Sambuc                        uint8_t           client_major  /**< */,
542971bb1a5SLionel Sambuc                        uint8_t           client_minor  /**< */);
543971bb1a5SLionel Sambuc 
544971bb1a5SLionel Sambuc /**
545971bb1a5SLionel Sambuc  *
546971bb1a5SLionel Sambuc  * @param c The connection
547971bb1a5SLionel Sambuc  * @return A cookie
548971bb1a5SLionel Sambuc  *
549971bb1a5SLionel Sambuc  * Delivers a request to the X server.
550971bb1a5SLionel Sambuc  *
551971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
552971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
553971bb1a5SLionel Sambuc  * placed in the event queue.
554971bb1a5SLionel Sambuc  */
555971bb1a5SLionel Sambuc xcb_res_query_version_cookie_t
556971bb1a5SLionel Sambuc xcb_res_query_version_unchecked (xcb_connection_t *c  /**< */,
557971bb1a5SLionel Sambuc                                  uint8_t           client_major  /**< */,
558971bb1a5SLionel Sambuc                                  uint8_t           client_minor  /**< */);
559971bb1a5SLionel Sambuc 
560971bb1a5SLionel Sambuc /**
561971bb1a5SLionel Sambuc  * Return the reply
562971bb1a5SLionel Sambuc  * @param c      The connection
563971bb1a5SLionel Sambuc  * @param cookie The cookie
564971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
565971bb1a5SLionel Sambuc  *
566971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
567971bb1a5SLionel Sambuc  *
568971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
569971bb1a5SLionel Sambuc  * xcb_res_query_version_unchecked(). is used.
570971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
571971bb1a5SLionel Sambuc  *
572971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
573971bb1a5SLionel Sambuc  */
574971bb1a5SLionel Sambuc xcb_res_query_version_reply_t *
575971bb1a5SLionel Sambuc xcb_res_query_version_reply (xcb_connection_t                *c  /**< */,
576971bb1a5SLionel Sambuc                              xcb_res_query_version_cookie_t   cookie  /**< */,
577971bb1a5SLionel Sambuc                              xcb_generic_error_t            **e  /**< */);
578971bb1a5SLionel Sambuc 
579971bb1a5SLionel Sambuc int
580971bb1a5SLionel Sambuc xcb_res_query_clients_sizeof (const void  *_buffer  /**< */);
581971bb1a5SLionel Sambuc 
582971bb1a5SLionel Sambuc /**
583971bb1a5SLionel Sambuc  *
584971bb1a5SLionel Sambuc  * @param c The connection
585971bb1a5SLionel Sambuc  * @return A cookie
586971bb1a5SLionel Sambuc  *
587971bb1a5SLionel Sambuc  * Delivers a request to the X server.
588971bb1a5SLionel Sambuc  *
589971bb1a5SLionel Sambuc  */
590971bb1a5SLionel Sambuc xcb_res_query_clients_cookie_t
591971bb1a5SLionel Sambuc xcb_res_query_clients (xcb_connection_t *c  /**< */);
592971bb1a5SLionel Sambuc 
593971bb1a5SLionel Sambuc /**
594971bb1a5SLionel Sambuc  *
595971bb1a5SLionel Sambuc  * @param c The connection
596971bb1a5SLionel Sambuc  * @return A cookie
597971bb1a5SLionel Sambuc  *
598971bb1a5SLionel Sambuc  * Delivers a request to the X server.
599971bb1a5SLionel Sambuc  *
600971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
601971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
602971bb1a5SLionel Sambuc  * placed in the event queue.
603971bb1a5SLionel Sambuc  */
604971bb1a5SLionel Sambuc xcb_res_query_clients_cookie_t
605971bb1a5SLionel Sambuc xcb_res_query_clients_unchecked (xcb_connection_t *c  /**< */);
606971bb1a5SLionel Sambuc 
607971bb1a5SLionel Sambuc xcb_res_client_t *
608971bb1a5SLionel Sambuc xcb_res_query_clients_clients (const xcb_res_query_clients_reply_t *R  /**< */);
609971bb1a5SLionel Sambuc 
610971bb1a5SLionel Sambuc int
611971bb1a5SLionel Sambuc xcb_res_query_clients_clients_length (const xcb_res_query_clients_reply_t *R  /**< */);
612971bb1a5SLionel Sambuc 
613971bb1a5SLionel Sambuc xcb_res_client_iterator_t
614971bb1a5SLionel Sambuc xcb_res_query_clients_clients_iterator (const xcb_res_query_clients_reply_t *R  /**< */);
615971bb1a5SLionel Sambuc 
616971bb1a5SLionel Sambuc /**
617971bb1a5SLionel Sambuc  * Return the reply
618971bb1a5SLionel Sambuc  * @param c      The connection
619971bb1a5SLionel Sambuc  * @param cookie The cookie
620971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
621971bb1a5SLionel Sambuc  *
622971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
623971bb1a5SLionel Sambuc  *
624971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
625971bb1a5SLionel Sambuc  * xcb_res_query_clients_unchecked(). is used.
626971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
627971bb1a5SLionel Sambuc  *
628971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
629971bb1a5SLionel Sambuc  */
630971bb1a5SLionel Sambuc xcb_res_query_clients_reply_t *
631971bb1a5SLionel Sambuc xcb_res_query_clients_reply (xcb_connection_t                *c  /**< */,
632971bb1a5SLionel Sambuc                              xcb_res_query_clients_cookie_t   cookie  /**< */,
633971bb1a5SLionel Sambuc                              xcb_generic_error_t            **e  /**< */);
634971bb1a5SLionel Sambuc 
635971bb1a5SLionel Sambuc int
636971bb1a5SLionel Sambuc xcb_res_query_client_resources_sizeof (const void  *_buffer  /**< */);
637971bb1a5SLionel Sambuc 
638971bb1a5SLionel Sambuc /**
639971bb1a5SLionel Sambuc  *
640971bb1a5SLionel Sambuc  * @param c The connection
641971bb1a5SLionel Sambuc  * @return A cookie
642971bb1a5SLionel Sambuc  *
643971bb1a5SLionel Sambuc  * Delivers a request to the X server.
644971bb1a5SLionel Sambuc  *
645971bb1a5SLionel Sambuc  */
646971bb1a5SLionel Sambuc xcb_res_query_client_resources_cookie_t
647971bb1a5SLionel Sambuc xcb_res_query_client_resources (xcb_connection_t *c  /**< */,
648971bb1a5SLionel Sambuc                                 uint32_t          xid  /**< */);
649971bb1a5SLionel Sambuc 
650971bb1a5SLionel Sambuc /**
651971bb1a5SLionel Sambuc  *
652971bb1a5SLionel Sambuc  * @param c The connection
653971bb1a5SLionel Sambuc  * @return A cookie
654971bb1a5SLionel Sambuc  *
655971bb1a5SLionel Sambuc  * Delivers a request to the X server.
656971bb1a5SLionel Sambuc  *
657971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
658971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
659971bb1a5SLionel Sambuc  * placed in the event queue.
660971bb1a5SLionel Sambuc  */
661971bb1a5SLionel Sambuc xcb_res_query_client_resources_cookie_t
662971bb1a5SLionel Sambuc xcb_res_query_client_resources_unchecked (xcb_connection_t *c  /**< */,
663971bb1a5SLionel Sambuc                                           uint32_t          xid  /**< */);
664971bb1a5SLionel Sambuc 
665971bb1a5SLionel Sambuc xcb_res_type_t *
666971bb1a5SLionel Sambuc xcb_res_query_client_resources_types (const xcb_res_query_client_resources_reply_t *R  /**< */);
667971bb1a5SLionel Sambuc 
668971bb1a5SLionel Sambuc int
669971bb1a5SLionel Sambuc xcb_res_query_client_resources_types_length (const xcb_res_query_client_resources_reply_t *R  /**< */);
670971bb1a5SLionel Sambuc 
671971bb1a5SLionel Sambuc xcb_res_type_iterator_t
672971bb1a5SLionel Sambuc xcb_res_query_client_resources_types_iterator (const xcb_res_query_client_resources_reply_t *R  /**< */);
673971bb1a5SLionel Sambuc 
674971bb1a5SLionel Sambuc /**
675971bb1a5SLionel Sambuc  * Return the reply
676971bb1a5SLionel Sambuc  * @param c      The connection
677971bb1a5SLionel Sambuc  * @param cookie The cookie
678971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
679971bb1a5SLionel Sambuc  *
680971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
681971bb1a5SLionel Sambuc  *
682971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
683971bb1a5SLionel Sambuc  * xcb_res_query_client_resources_unchecked(). is used.
684971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
685971bb1a5SLionel Sambuc  *
686971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
687971bb1a5SLionel Sambuc  */
688971bb1a5SLionel Sambuc xcb_res_query_client_resources_reply_t *
689971bb1a5SLionel Sambuc xcb_res_query_client_resources_reply (xcb_connection_t                         *c  /**< */,
690971bb1a5SLionel Sambuc                                       xcb_res_query_client_resources_cookie_t   cookie  /**< */,
691971bb1a5SLionel Sambuc                                       xcb_generic_error_t                     **e  /**< */);
692971bb1a5SLionel Sambuc 
693971bb1a5SLionel Sambuc /**
694971bb1a5SLionel Sambuc  *
695971bb1a5SLionel Sambuc  * @param c The connection
696971bb1a5SLionel Sambuc  * @return A cookie
697971bb1a5SLionel Sambuc  *
698971bb1a5SLionel Sambuc  * Delivers a request to the X server.
699971bb1a5SLionel Sambuc  *
700971bb1a5SLionel Sambuc  */
701971bb1a5SLionel Sambuc xcb_res_query_client_pixmap_bytes_cookie_t
702971bb1a5SLionel Sambuc xcb_res_query_client_pixmap_bytes (xcb_connection_t *c  /**< */,
703971bb1a5SLionel Sambuc                                    uint32_t          xid  /**< */);
704971bb1a5SLionel Sambuc 
705971bb1a5SLionel Sambuc /**
706971bb1a5SLionel Sambuc  *
707971bb1a5SLionel Sambuc  * @param c The connection
708971bb1a5SLionel Sambuc  * @return A cookie
709971bb1a5SLionel Sambuc  *
710971bb1a5SLionel Sambuc  * Delivers a request to the X server.
711971bb1a5SLionel Sambuc  *
712971bb1a5SLionel Sambuc  * This form can be used only if the request will cause
713971bb1a5SLionel Sambuc  * a reply to be generated. Any returned error will be
714971bb1a5SLionel Sambuc  * placed in the event queue.
715971bb1a5SLionel Sambuc  */
716971bb1a5SLionel Sambuc xcb_res_query_client_pixmap_bytes_cookie_t
717971bb1a5SLionel Sambuc xcb_res_query_client_pixmap_bytes_unchecked (xcb_connection_t *c  /**< */,
718971bb1a5SLionel Sambuc                                              uint32_t          xid  /**< */);
719971bb1a5SLionel Sambuc 
720971bb1a5SLionel Sambuc /**
721971bb1a5SLionel Sambuc  * Return the reply
722971bb1a5SLionel Sambuc  * @param c      The connection
723971bb1a5SLionel Sambuc  * @param cookie The cookie
724971bb1a5SLionel Sambuc  * @param e      The xcb_generic_error_t supplied
725971bb1a5SLionel Sambuc  *
726971bb1a5SLionel Sambuc  * Returns the reply of the request asked by
727971bb1a5SLionel Sambuc  *
728971bb1a5SLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
729971bb1a5SLionel Sambuc  * xcb_res_query_client_pixmap_bytes_unchecked(). is used.
730971bb1a5SLionel Sambuc  * Otherwise, it stores the error if any.
731971bb1a5SLionel Sambuc  *
732971bb1a5SLionel Sambuc  * The returned value must be freed by the caller using free().
733971bb1a5SLionel Sambuc  */
734971bb1a5SLionel Sambuc xcb_res_query_client_pixmap_bytes_reply_t *
735971bb1a5SLionel Sambuc xcb_res_query_client_pixmap_bytes_reply (xcb_connection_t                            *c  /**< */,
736971bb1a5SLionel Sambuc                                          xcb_res_query_client_pixmap_bytes_cookie_t   cookie  /**< */,
737971bb1a5SLionel Sambuc                                          xcb_generic_error_t                        **e  /**< */);
738971bb1a5SLionel Sambuc 
739*0a6a1f1dSLionel Sambuc int
740*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_sizeof (const void  *_buffer  /**< */);
741*0a6a1f1dSLionel Sambuc 
742*0a6a1f1dSLionel Sambuc /**
743*0a6a1f1dSLionel Sambuc  *
744*0a6a1f1dSLionel Sambuc  * @param c The connection
745*0a6a1f1dSLionel Sambuc  * @return A cookie
746*0a6a1f1dSLionel Sambuc  *
747*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
748*0a6a1f1dSLionel Sambuc  *
749*0a6a1f1dSLionel Sambuc  */
750*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_cookie_t
751*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids (xcb_connection_t               *c  /**< */,
752*0a6a1f1dSLionel Sambuc                           uint32_t                        num_specs  /**< */,
753*0a6a1f1dSLionel Sambuc                           const xcb_res_client_id_spec_t *specs  /**< */);
754*0a6a1f1dSLionel Sambuc 
755*0a6a1f1dSLionel Sambuc /**
756*0a6a1f1dSLionel Sambuc  *
757*0a6a1f1dSLionel Sambuc  * @param c The connection
758*0a6a1f1dSLionel Sambuc  * @return A cookie
759*0a6a1f1dSLionel Sambuc  *
760*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
761*0a6a1f1dSLionel Sambuc  *
762*0a6a1f1dSLionel Sambuc  * This form can be used only if the request will cause
763*0a6a1f1dSLionel Sambuc  * a reply to be generated. Any returned error will be
764*0a6a1f1dSLionel Sambuc  * placed in the event queue.
765*0a6a1f1dSLionel Sambuc  */
766*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_cookie_t
767*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_unchecked (xcb_connection_t               *c  /**< */,
768*0a6a1f1dSLionel Sambuc                                     uint32_t                        num_specs  /**< */,
769*0a6a1f1dSLionel Sambuc                                     const xcb_res_client_id_spec_t *specs  /**< */);
770*0a6a1f1dSLionel Sambuc 
771*0a6a1f1dSLionel Sambuc int
772*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_ids_length (const xcb_res_query_client_ids_reply_t *R  /**< */);
773*0a6a1f1dSLionel Sambuc 
774*0a6a1f1dSLionel Sambuc xcb_res_client_id_value_iterator_t
775*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_ids_iterator (const xcb_res_query_client_ids_reply_t *R  /**< */);
776*0a6a1f1dSLionel Sambuc 
777*0a6a1f1dSLionel Sambuc /**
778*0a6a1f1dSLionel Sambuc  * Return the reply
779*0a6a1f1dSLionel Sambuc  * @param c      The connection
780*0a6a1f1dSLionel Sambuc  * @param cookie The cookie
781*0a6a1f1dSLionel Sambuc  * @param e      The xcb_generic_error_t supplied
782*0a6a1f1dSLionel Sambuc  *
783*0a6a1f1dSLionel Sambuc  * Returns the reply of the request asked by
784*0a6a1f1dSLionel Sambuc  *
785*0a6a1f1dSLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
786*0a6a1f1dSLionel Sambuc  * xcb_res_query_client_ids_unchecked(). is used.
787*0a6a1f1dSLionel Sambuc  * Otherwise, it stores the error if any.
788*0a6a1f1dSLionel Sambuc  *
789*0a6a1f1dSLionel Sambuc  * The returned value must be freed by the caller using free().
790*0a6a1f1dSLionel Sambuc  */
791*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_reply_t *
792*0a6a1f1dSLionel Sambuc xcb_res_query_client_ids_reply (xcb_connection_t                   *c  /**< */,
793*0a6a1f1dSLionel Sambuc                                 xcb_res_query_client_ids_cookie_t   cookie  /**< */,
794*0a6a1f1dSLionel Sambuc                                 xcb_generic_error_t               **e  /**< */);
795*0a6a1f1dSLionel Sambuc 
796*0a6a1f1dSLionel Sambuc int
797*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_sizeof (const void  *_buffer  /**< */);
798*0a6a1f1dSLionel Sambuc 
799*0a6a1f1dSLionel Sambuc /**
800*0a6a1f1dSLionel Sambuc  *
801*0a6a1f1dSLionel Sambuc  * @param c The connection
802*0a6a1f1dSLionel Sambuc  * @return A cookie
803*0a6a1f1dSLionel Sambuc  *
804*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
805*0a6a1f1dSLionel Sambuc  *
806*0a6a1f1dSLionel Sambuc  */
807*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_cookie_t
808*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes (xcb_connection_t                 *c  /**< */,
809*0a6a1f1dSLionel Sambuc                               uint32_t                          client  /**< */,
810*0a6a1f1dSLionel Sambuc                               uint32_t                          num_specs  /**< */,
811*0a6a1f1dSLionel Sambuc                               const xcb_res_resource_id_spec_t *specs  /**< */);
812*0a6a1f1dSLionel Sambuc 
813*0a6a1f1dSLionel Sambuc /**
814*0a6a1f1dSLionel Sambuc  *
815*0a6a1f1dSLionel Sambuc  * @param c The connection
816*0a6a1f1dSLionel Sambuc  * @return A cookie
817*0a6a1f1dSLionel Sambuc  *
818*0a6a1f1dSLionel Sambuc  * Delivers a request to the X server.
819*0a6a1f1dSLionel Sambuc  *
820*0a6a1f1dSLionel Sambuc  * This form can be used only if the request will cause
821*0a6a1f1dSLionel Sambuc  * a reply to be generated. Any returned error will be
822*0a6a1f1dSLionel Sambuc  * placed in the event queue.
823*0a6a1f1dSLionel Sambuc  */
824*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_cookie_t
825*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_unchecked (xcb_connection_t                 *c  /**< */,
826*0a6a1f1dSLionel Sambuc                                         uint32_t                          client  /**< */,
827*0a6a1f1dSLionel Sambuc                                         uint32_t                          num_specs  /**< */,
828*0a6a1f1dSLionel Sambuc                                         const xcb_res_resource_id_spec_t *specs  /**< */);
829*0a6a1f1dSLionel Sambuc 
830*0a6a1f1dSLionel Sambuc int
831*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_sizes_length (const xcb_res_query_resource_bytes_reply_t *R  /**< */);
832*0a6a1f1dSLionel Sambuc 
833*0a6a1f1dSLionel Sambuc xcb_res_resource_size_value_iterator_t
834*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_sizes_iterator (const xcb_res_query_resource_bytes_reply_t *R  /**< */);
835*0a6a1f1dSLionel Sambuc 
836*0a6a1f1dSLionel Sambuc /**
837*0a6a1f1dSLionel Sambuc  * Return the reply
838*0a6a1f1dSLionel Sambuc  * @param c      The connection
839*0a6a1f1dSLionel Sambuc  * @param cookie The cookie
840*0a6a1f1dSLionel Sambuc  * @param e      The xcb_generic_error_t supplied
841*0a6a1f1dSLionel Sambuc  *
842*0a6a1f1dSLionel Sambuc  * Returns the reply of the request asked by
843*0a6a1f1dSLionel Sambuc  *
844*0a6a1f1dSLionel Sambuc  * The parameter @p e supplied to this function must be NULL if
845*0a6a1f1dSLionel Sambuc  * xcb_res_query_resource_bytes_unchecked(). is used.
846*0a6a1f1dSLionel Sambuc  * Otherwise, it stores the error if any.
847*0a6a1f1dSLionel Sambuc  *
848*0a6a1f1dSLionel Sambuc  * The returned value must be freed by the caller using free().
849*0a6a1f1dSLionel Sambuc  */
850*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_reply_t *
851*0a6a1f1dSLionel Sambuc xcb_res_query_resource_bytes_reply (xcb_connection_t                       *c  /**< */,
852*0a6a1f1dSLionel Sambuc                                     xcb_res_query_resource_bytes_cookie_t   cookie  /**< */,
853*0a6a1f1dSLionel Sambuc                                     xcb_generic_error_t                   **e  /**< */);
854*0a6a1f1dSLionel Sambuc 
855971bb1a5SLionel Sambuc 
856971bb1a5SLionel Sambuc #ifdef __cplusplus
857971bb1a5SLionel Sambuc }
858971bb1a5SLionel Sambuc #endif
859971bb1a5SLionel Sambuc 
860971bb1a5SLionel Sambuc #endif
861971bb1a5SLionel Sambuc 
862971bb1a5SLionel Sambuc /**
863971bb1a5SLionel Sambuc  * @}
864971bb1a5SLionel Sambuc  */
865