xref: /netbsd-src/external/mit/xorg/lib/libxcb/files/res.h (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1 /*
2  * This file generated automatically from res.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_Res_API XCB Res API
8  * @brief Res XCB Protocol Implementation.
9  * @{
10  **/
11 
12 #ifndef __RES_H
13 #define __RES_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_RES_MAJOR_VERSION 1
23 #define XCB_RES_MINOR_VERSION 2
24 
25 extern xcb_extension_t xcb_res_id;
26 
27 /**
28  * @brief xcb_res_client_t
29  **/
30 typedef struct xcb_res_client_t {
31     uint32_t resource_base; /**<  */
32     uint32_t resource_mask; /**<  */
33 } xcb_res_client_t;
34 
35 /**
36  * @brief xcb_res_client_iterator_t
37  **/
38 typedef struct xcb_res_client_iterator_t {
39     xcb_res_client_t *data; /**<  */
40     int               rem; /**<  */
41     int               index; /**<  */
42 } xcb_res_client_iterator_t;
43 
44 /**
45  * @brief xcb_res_type_t
46  **/
47 typedef struct xcb_res_type_t {
48     xcb_atom_t resource_type; /**<  */
49     uint32_t   count; /**<  */
50 } xcb_res_type_t;
51 
52 /**
53  * @brief xcb_res_type_iterator_t
54  **/
55 typedef struct xcb_res_type_iterator_t {
56     xcb_res_type_t *data; /**<  */
57     int             rem; /**<  */
58     int             index; /**<  */
59 } xcb_res_type_iterator_t;
60 
61 typedef enum xcb_res_client_id_mask_t {
62     XCB_RES_CLIENT_ID_MASK_CLIENT_XID = 1,
63     XCB_RES_CLIENT_ID_MASK_LOCAL_CLIENT_PID = 2
64 } xcb_res_client_id_mask_t;
65 
66 /**
67  * @brief xcb_res_client_id_spec_t
68  **/
69 typedef struct xcb_res_client_id_spec_t {
70     uint32_t client; /**<  */
71     uint32_t mask; /**<  */
72 } xcb_res_client_id_spec_t;
73 
74 /**
75  * @brief xcb_res_client_id_spec_iterator_t
76  **/
77 typedef struct xcb_res_client_id_spec_iterator_t {
78     xcb_res_client_id_spec_t *data; /**<  */
79     int                       rem; /**<  */
80     int                       index; /**<  */
81 } xcb_res_client_id_spec_iterator_t;
82 
83 /**
84  * @brief xcb_res_client_id_value_t
85  **/
86 typedef struct xcb_res_client_id_value_t {
87     xcb_res_client_id_spec_t spec; /**<  */
88     uint32_t                 length; /**<  */
89 } xcb_res_client_id_value_t;
90 
91 /**
92  * @brief xcb_res_client_id_value_iterator_t
93  **/
94 typedef struct xcb_res_client_id_value_iterator_t {
95     xcb_res_client_id_value_t *data; /**<  */
96     int                        rem; /**<  */
97     int                        index; /**<  */
98 } xcb_res_client_id_value_iterator_t;
99 
100 /**
101  * @brief xcb_res_resource_id_spec_t
102  **/
103 typedef struct xcb_res_resource_id_spec_t {
104     uint32_t resource; /**<  */
105     uint32_t type; /**<  */
106 } xcb_res_resource_id_spec_t;
107 
108 /**
109  * @brief xcb_res_resource_id_spec_iterator_t
110  **/
111 typedef struct xcb_res_resource_id_spec_iterator_t {
112     xcb_res_resource_id_spec_t *data; /**<  */
113     int                         rem; /**<  */
114     int                         index; /**<  */
115 } xcb_res_resource_id_spec_iterator_t;
116 
117 /**
118  * @brief xcb_res_resource_size_spec_t
119  **/
120 typedef struct xcb_res_resource_size_spec_t {
121     xcb_res_resource_id_spec_t spec; /**<  */
122     uint32_t                   bytes; /**<  */
123     uint32_t                   ref_count; /**<  */
124     uint32_t                   use_count; /**<  */
125 } xcb_res_resource_size_spec_t;
126 
127 /**
128  * @brief xcb_res_resource_size_spec_iterator_t
129  **/
130 typedef struct xcb_res_resource_size_spec_iterator_t {
131     xcb_res_resource_size_spec_t *data; /**<  */
132     int                           rem; /**<  */
133     int                           index; /**<  */
134 } xcb_res_resource_size_spec_iterator_t;
135 
136 /**
137  * @brief xcb_res_resource_size_value_t
138  **/
139 typedef struct xcb_res_resource_size_value_t {
140     xcb_res_resource_size_spec_t size; /**<  */
141     uint32_t                     num_cross_references; /**<  */
142 } xcb_res_resource_size_value_t;
143 
144 /**
145  * @brief xcb_res_resource_size_value_iterator_t
146  **/
147 typedef struct xcb_res_resource_size_value_iterator_t {
148     xcb_res_resource_size_value_t *data; /**<  */
149     int                            rem; /**<  */
150     int                            index; /**<  */
151 } xcb_res_resource_size_value_iterator_t;
152 
153 /**
154  * @brief xcb_res_query_version_cookie_t
155  **/
156 typedef struct xcb_res_query_version_cookie_t {
157     unsigned int sequence; /**<  */
158 } xcb_res_query_version_cookie_t;
159 
160 /** Opcode for xcb_res_query_version. */
161 #define XCB_RES_QUERY_VERSION 0
162 
163 /**
164  * @brief xcb_res_query_version_request_t
165  **/
166 typedef struct xcb_res_query_version_request_t {
167     uint8_t  major_opcode; /**<  */
168     uint8_t  minor_opcode; /**<  */
169     uint16_t length; /**<  */
170     uint8_t  client_major; /**<  */
171     uint8_t  client_minor; /**<  */
172 } xcb_res_query_version_request_t;
173 
174 /**
175  * @brief xcb_res_query_version_reply_t
176  **/
177 typedef struct xcb_res_query_version_reply_t {
178     uint8_t  response_type; /**<  */
179     uint8_t  pad0; /**<  */
180     uint16_t sequence; /**<  */
181     uint32_t length; /**<  */
182     uint16_t server_major; /**<  */
183     uint16_t server_minor; /**<  */
184 } xcb_res_query_version_reply_t;
185 
186 /**
187  * @brief xcb_res_query_clients_cookie_t
188  **/
189 typedef struct xcb_res_query_clients_cookie_t {
190     unsigned int sequence; /**<  */
191 } xcb_res_query_clients_cookie_t;
192 
193 /** Opcode for xcb_res_query_clients. */
194 #define XCB_RES_QUERY_CLIENTS 1
195 
196 /**
197  * @brief xcb_res_query_clients_request_t
198  **/
199 typedef struct xcb_res_query_clients_request_t {
200     uint8_t  major_opcode; /**<  */
201     uint8_t  minor_opcode; /**<  */
202     uint16_t length; /**<  */
203 } xcb_res_query_clients_request_t;
204 
205 /**
206  * @brief xcb_res_query_clients_reply_t
207  **/
208 typedef struct xcb_res_query_clients_reply_t {
209     uint8_t  response_type; /**<  */
210     uint8_t  pad0; /**<  */
211     uint16_t sequence; /**<  */
212     uint32_t length; /**<  */
213     uint32_t num_clients; /**<  */
214     uint8_t  pad1[20]; /**<  */
215 } xcb_res_query_clients_reply_t;
216 
217 /**
218  * @brief xcb_res_query_client_resources_cookie_t
219  **/
220 typedef struct xcb_res_query_client_resources_cookie_t {
221     unsigned int sequence; /**<  */
222 } xcb_res_query_client_resources_cookie_t;
223 
224 /** Opcode for xcb_res_query_client_resources. */
225 #define XCB_RES_QUERY_CLIENT_RESOURCES 2
226 
227 /**
228  * @brief xcb_res_query_client_resources_request_t
229  **/
230 typedef struct xcb_res_query_client_resources_request_t {
231     uint8_t  major_opcode; /**<  */
232     uint8_t  minor_opcode; /**<  */
233     uint16_t length; /**<  */
234     uint32_t xid; /**<  */
235 } xcb_res_query_client_resources_request_t;
236 
237 /**
238  * @brief xcb_res_query_client_resources_reply_t
239  **/
240 typedef struct xcb_res_query_client_resources_reply_t {
241     uint8_t  response_type; /**<  */
242     uint8_t  pad0; /**<  */
243     uint16_t sequence; /**<  */
244     uint32_t length; /**<  */
245     uint32_t num_types; /**<  */
246     uint8_t  pad1[20]; /**<  */
247 } xcb_res_query_client_resources_reply_t;
248 
249 /**
250  * @brief xcb_res_query_client_pixmap_bytes_cookie_t
251  **/
252 typedef struct xcb_res_query_client_pixmap_bytes_cookie_t {
253     unsigned int sequence; /**<  */
254 } xcb_res_query_client_pixmap_bytes_cookie_t;
255 
256 /** Opcode for xcb_res_query_client_pixmap_bytes. */
257 #define XCB_RES_QUERY_CLIENT_PIXMAP_BYTES 3
258 
259 /**
260  * @brief xcb_res_query_client_pixmap_bytes_request_t
261  **/
262 typedef struct xcb_res_query_client_pixmap_bytes_request_t {
263     uint8_t  major_opcode; /**<  */
264     uint8_t  minor_opcode; /**<  */
265     uint16_t length; /**<  */
266     uint32_t xid; /**<  */
267 } xcb_res_query_client_pixmap_bytes_request_t;
268 
269 /**
270  * @brief xcb_res_query_client_pixmap_bytes_reply_t
271  **/
272 typedef struct xcb_res_query_client_pixmap_bytes_reply_t {
273     uint8_t  response_type; /**<  */
274     uint8_t  pad0; /**<  */
275     uint16_t sequence; /**<  */
276     uint32_t length; /**<  */
277     uint32_t bytes; /**<  */
278     uint32_t bytes_overflow; /**<  */
279 } xcb_res_query_client_pixmap_bytes_reply_t;
280 
281 /**
282  * @brief xcb_res_query_client_ids_cookie_t
283  **/
284 typedef struct xcb_res_query_client_ids_cookie_t {
285     unsigned int sequence; /**<  */
286 } xcb_res_query_client_ids_cookie_t;
287 
288 /** Opcode for xcb_res_query_client_ids. */
289 #define XCB_RES_QUERY_CLIENT_IDS 4
290 
291 /**
292  * @brief xcb_res_query_client_ids_request_t
293  **/
294 typedef struct xcb_res_query_client_ids_request_t {
295     uint8_t  major_opcode; /**<  */
296     uint8_t  minor_opcode; /**<  */
297     uint16_t length; /**<  */
298     uint32_t num_specs; /**<  */
299 } xcb_res_query_client_ids_request_t;
300 
301 /**
302  * @brief xcb_res_query_client_ids_reply_t
303  **/
304 typedef struct xcb_res_query_client_ids_reply_t {
305     uint8_t  response_type; /**<  */
306     uint8_t  pad0; /**<  */
307     uint16_t sequence; /**<  */
308     uint32_t length; /**<  */
309     uint32_t num_ids; /**<  */
310     uint8_t  pad1[20]; /**<  */
311 } xcb_res_query_client_ids_reply_t;
312 
313 /**
314  * @brief xcb_res_query_resource_bytes_cookie_t
315  **/
316 typedef struct xcb_res_query_resource_bytes_cookie_t {
317     unsigned int sequence; /**<  */
318 } xcb_res_query_resource_bytes_cookie_t;
319 
320 /** Opcode for xcb_res_query_resource_bytes. */
321 #define XCB_RES_QUERY_RESOURCE_BYTES 5
322 
323 /**
324  * @brief xcb_res_query_resource_bytes_request_t
325  **/
326 typedef struct xcb_res_query_resource_bytes_request_t {
327     uint8_t  major_opcode; /**<  */
328     uint8_t  minor_opcode; /**<  */
329     uint16_t length; /**<  */
330     uint32_t client; /**<  */
331     uint32_t num_specs; /**<  */
332 } xcb_res_query_resource_bytes_request_t;
333 
334 /**
335  * @brief xcb_res_query_resource_bytes_reply_t
336  **/
337 typedef struct xcb_res_query_resource_bytes_reply_t {
338     uint8_t  response_type; /**<  */
339     uint8_t  pad0; /**<  */
340     uint16_t sequence; /**<  */
341     uint32_t length; /**<  */
342     uint32_t num_sizes; /**<  */
343     uint8_t  pad1[20]; /**<  */
344 } xcb_res_query_resource_bytes_reply_t;
345 
346 /**
347  * Get the next element of the iterator
348  * @param i Pointer to a xcb_res_client_iterator_t
349  *
350  * Get the next element in the iterator. The member rem is
351  * decreased by one. The member data points to the next
352  * element. The member index is increased by sizeof(xcb_res_client_t)
353  */
354 
355 /*****************************************************************************
356  **
357  ** void xcb_res_client_next
358  **
359  ** @param xcb_res_client_iterator_t *i
360  ** @returns void
361  **
362  *****************************************************************************/
363 
364 void
365 xcb_res_client_next (xcb_res_client_iterator_t *i  /**< */);
366 
367 /**
368  * Return the iterator pointing to the last element
369  * @param i An xcb_res_client_iterator_t
370  * @return  The iterator pointing to the last element
371  *
372  * Set the current element in the iterator to the last element.
373  * The member rem is set to 0. The member data points to the
374  * last element.
375  */
376 
377 /*****************************************************************************
378  **
379  ** xcb_generic_iterator_t xcb_res_client_end
380  **
381  ** @param xcb_res_client_iterator_t i
382  ** @returns xcb_generic_iterator_t
383  **
384  *****************************************************************************/
385 
386 xcb_generic_iterator_t
387 xcb_res_client_end (xcb_res_client_iterator_t i  /**< */);
388 
389 /**
390  * Get the next element of the iterator
391  * @param i Pointer to a xcb_res_type_iterator_t
392  *
393  * Get the next element in the iterator. The member rem is
394  * decreased by one. The member data points to the next
395  * element. The member index is increased by sizeof(xcb_res_type_t)
396  */
397 
398 /*****************************************************************************
399  **
400  ** void xcb_res_type_next
401  **
402  ** @param xcb_res_type_iterator_t *i
403  ** @returns void
404  **
405  *****************************************************************************/
406 
407 void
408 xcb_res_type_next (xcb_res_type_iterator_t *i  /**< */);
409 
410 /**
411  * Return the iterator pointing to the last element
412  * @param i An xcb_res_type_iterator_t
413  * @return  The iterator pointing to the last element
414  *
415  * Set the current element in the iterator to the last element.
416  * The member rem is set to 0. The member data points to the
417  * last element.
418  */
419 
420 /*****************************************************************************
421  **
422  ** xcb_generic_iterator_t xcb_res_type_end
423  **
424  ** @param xcb_res_type_iterator_t i
425  ** @returns xcb_generic_iterator_t
426  **
427  *****************************************************************************/
428 
429 xcb_generic_iterator_t
430 xcb_res_type_end (xcb_res_type_iterator_t i  /**< */);
431 
432 /**
433  * Get the next element of the iterator
434  * @param i Pointer to a xcb_res_client_id_spec_iterator_t
435  *
436  * Get the next element in the iterator. The member rem is
437  * decreased by one. The member data points to the next
438  * element. The member index is increased by sizeof(xcb_res_client_id_spec_t)
439  */
440 
441 /*****************************************************************************
442  **
443  ** void xcb_res_client_id_spec_next
444  **
445  ** @param xcb_res_client_id_spec_iterator_t *i
446  ** @returns void
447  **
448  *****************************************************************************/
449 
450 void
451 xcb_res_client_id_spec_next (xcb_res_client_id_spec_iterator_t *i  /**< */);
452 
453 /**
454  * Return the iterator pointing to the last element
455  * @param i An xcb_res_client_id_spec_iterator_t
456  * @return  The iterator pointing to the last element
457  *
458  * Set the current element in the iterator to the last element.
459  * The member rem is set to 0. The member data points to the
460  * last element.
461  */
462 
463 /*****************************************************************************
464  **
465  ** xcb_generic_iterator_t xcb_res_client_id_spec_end
466  **
467  ** @param xcb_res_client_id_spec_iterator_t i
468  ** @returns xcb_generic_iterator_t
469  **
470  *****************************************************************************/
471 
472 xcb_generic_iterator_t
473 xcb_res_client_id_spec_end (xcb_res_client_id_spec_iterator_t i  /**< */);
474 
475 int
476 xcb_res_client_id_value_sizeof (const void  *_buffer  /**< */);
477 
478 
479 /*****************************************************************************
480  **
481  ** uint32_t * xcb_res_client_id_value_value
482  **
483  ** @param const xcb_res_client_id_value_t *R
484  ** @returns uint32_t *
485  **
486  *****************************************************************************/
487 
488 uint32_t *
489 xcb_res_client_id_value_value (const xcb_res_client_id_value_t *R  /**< */);
490 
491 
492 /*****************************************************************************
493  **
494  ** int xcb_res_client_id_value_value_length
495  **
496  ** @param const xcb_res_client_id_value_t *R
497  ** @returns int
498  **
499  *****************************************************************************/
500 
501 int
502 xcb_res_client_id_value_value_length (const xcb_res_client_id_value_t *R  /**< */);
503 
504 
505 /*****************************************************************************
506  **
507  ** xcb_generic_iterator_t xcb_res_client_id_value_value_end
508  **
509  ** @param const xcb_res_client_id_value_t *R
510  ** @returns xcb_generic_iterator_t
511  **
512  *****************************************************************************/
513 
514 xcb_generic_iterator_t
515 xcb_res_client_id_value_value_end (const xcb_res_client_id_value_t *R  /**< */);
516 
517 /**
518  * Get the next element of the iterator
519  * @param i Pointer to a xcb_res_client_id_value_iterator_t
520  *
521  * Get the next element in the iterator. The member rem is
522  * decreased by one. The member data points to the next
523  * element. The member index is increased by sizeof(xcb_res_client_id_value_t)
524  */
525 
526 /*****************************************************************************
527  **
528  ** void xcb_res_client_id_value_next
529  **
530  ** @param xcb_res_client_id_value_iterator_t *i
531  ** @returns void
532  **
533  *****************************************************************************/
534 
535 void
536 xcb_res_client_id_value_next (xcb_res_client_id_value_iterator_t *i  /**< */);
537 
538 /**
539  * Return the iterator pointing to the last element
540  * @param i An xcb_res_client_id_value_iterator_t
541  * @return  The iterator pointing to the last element
542  *
543  * Set the current element in the iterator to the last element.
544  * The member rem is set to 0. The member data points to the
545  * last element.
546  */
547 
548 /*****************************************************************************
549  **
550  ** xcb_generic_iterator_t xcb_res_client_id_value_end
551  **
552  ** @param xcb_res_client_id_value_iterator_t i
553  ** @returns xcb_generic_iterator_t
554  **
555  *****************************************************************************/
556 
557 xcb_generic_iterator_t
558 xcb_res_client_id_value_end (xcb_res_client_id_value_iterator_t i  /**< */);
559 
560 /**
561  * Get the next element of the iterator
562  * @param i Pointer to a xcb_res_resource_id_spec_iterator_t
563  *
564  * Get the next element in the iterator. The member rem is
565  * decreased by one. The member data points to the next
566  * element. The member index is increased by sizeof(xcb_res_resource_id_spec_t)
567  */
568 
569 /*****************************************************************************
570  **
571  ** void xcb_res_resource_id_spec_next
572  **
573  ** @param xcb_res_resource_id_spec_iterator_t *i
574  ** @returns void
575  **
576  *****************************************************************************/
577 
578 void
579 xcb_res_resource_id_spec_next (xcb_res_resource_id_spec_iterator_t *i  /**< */);
580 
581 /**
582  * Return the iterator pointing to the last element
583  * @param i An xcb_res_resource_id_spec_iterator_t
584  * @return  The iterator pointing to the last element
585  *
586  * Set the current element in the iterator to the last element.
587  * The member rem is set to 0. The member data points to the
588  * last element.
589  */
590 
591 /*****************************************************************************
592  **
593  ** xcb_generic_iterator_t xcb_res_resource_id_spec_end
594  **
595  ** @param xcb_res_resource_id_spec_iterator_t i
596  ** @returns xcb_generic_iterator_t
597  **
598  *****************************************************************************/
599 
600 xcb_generic_iterator_t
601 xcb_res_resource_id_spec_end (xcb_res_resource_id_spec_iterator_t i  /**< */);
602 
603 /**
604  * Get the next element of the iterator
605  * @param i Pointer to a xcb_res_resource_size_spec_iterator_t
606  *
607  * Get the next element in the iterator. The member rem is
608  * decreased by one. The member data points to the next
609  * element. The member index is increased by sizeof(xcb_res_resource_size_spec_t)
610  */
611 
612 /*****************************************************************************
613  **
614  ** void xcb_res_resource_size_spec_next
615  **
616  ** @param xcb_res_resource_size_spec_iterator_t *i
617  ** @returns void
618  **
619  *****************************************************************************/
620 
621 void
622 xcb_res_resource_size_spec_next (xcb_res_resource_size_spec_iterator_t *i  /**< */);
623 
624 /**
625  * Return the iterator pointing to the last element
626  * @param i An xcb_res_resource_size_spec_iterator_t
627  * @return  The iterator pointing to the last element
628  *
629  * Set the current element in the iterator to the last element.
630  * The member rem is set to 0. The member data points to the
631  * last element.
632  */
633 
634 /*****************************************************************************
635  **
636  ** xcb_generic_iterator_t xcb_res_resource_size_spec_end
637  **
638  ** @param xcb_res_resource_size_spec_iterator_t i
639  ** @returns xcb_generic_iterator_t
640  **
641  *****************************************************************************/
642 
643 xcb_generic_iterator_t
644 xcb_res_resource_size_spec_end (xcb_res_resource_size_spec_iterator_t i  /**< */);
645 
646 int
647 xcb_res_resource_size_value_sizeof (const void  *_buffer  /**< */);
648 
649 
650 /*****************************************************************************
651  **
652  ** xcb_res_resource_size_spec_t * xcb_res_resource_size_value_cross_references
653  **
654  ** @param const xcb_res_resource_size_value_t *R
655  ** @returns xcb_res_resource_size_spec_t *
656  **
657  *****************************************************************************/
658 
659 xcb_res_resource_size_spec_t *
660 xcb_res_resource_size_value_cross_references (const xcb_res_resource_size_value_t *R  /**< */);
661 
662 
663 /*****************************************************************************
664  **
665  ** int xcb_res_resource_size_value_cross_references_length
666  **
667  ** @param const xcb_res_resource_size_value_t *R
668  ** @returns int
669  **
670  *****************************************************************************/
671 
672 int
673 xcb_res_resource_size_value_cross_references_length (const xcb_res_resource_size_value_t *R  /**< */);
674 
675 
676 /*****************************************************************************
677  **
678  ** xcb_res_resource_size_spec_iterator_t xcb_res_resource_size_value_cross_references_iterator
679  **
680  ** @param const xcb_res_resource_size_value_t *R
681  ** @returns xcb_res_resource_size_spec_iterator_t
682  **
683  *****************************************************************************/
684 
685 xcb_res_resource_size_spec_iterator_t
686 xcb_res_resource_size_value_cross_references_iterator (const xcb_res_resource_size_value_t *R  /**< */);
687 
688 /**
689  * Get the next element of the iterator
690  * @param i Pointer to a xcb_res_resource_size_value_iterator_t
691  *
692  * Get the next element in the iterator. The member rem is
693  * decreased by one. The member data points to the next
694  * element. The member index is increased by sizeof(xcb_res_resource_size_value_t)
695  */
696 
697 /*****************************************************************************
698  **
699  ** void xcb_res_resource_size_value_next
700  **
701  ** @param xcb_res_resource_size_value_iterator_t *i
702  ** @returns void
703  **
704  *****************************************************************************/
705 
706 void
707 xcb_res_resource_size_value_next (xcb_res_resource_size_value_iterator_t *i  /**< */);
708 
709 /**
710  * Return the iterator pointing to the last element
711  * @param i An xcb_res_resource_size_value_iterator_t
712  * @return  The iterator pointing to the last element
713  *
714  * Set the current element in the iterator to the last element.
715  * The member rem is set to 0. The member data points to the
716  * last element.
717  */
718 
719 /*****************************************************************************
720  **
721  ** xcb_generic_iterator_t xcb_res_resource_size_value_end
722  **
723  ** @param xcb_res_resource_size_value_iterator_t i
724  ** @returns xcb_generic_iterator_t
725  **
726  *****************************************************************************/
727 
728 xcb_generic_iterator_t
729 xcb_res_resource_size_value_end (xcb_res_resource_size_value_iterator_t i  /**< */);
730 
731 /**
732  *
733  * @param c The connection
734  * @return A cookie
735  *
736  * Delivers a request to the X server.
737  *
738  */
739 
740 /*****************************************************************************
741  **
742  ** xcb_res_query_version_cookie_t xcb_res_query_version
743  **
744  ** @param xcb_connection_t *c
745  ** @param uint8_t           client_major
746  ** @param uint8_t           client_minor
747  ** @returns xcb_res_query_version_cookie_t
748  **
749  *****************************************************************************/
750 
751 xcb_res_query_version_cookie_t
752 xcb_res_query_version (xcb_connection_t *c  /**< */,
753                        uint8_t           client_major  /**< */,
754                        uint8_t           client_minor  /**< */);
755 
756 /**
757  *
758  * @param c The connection
759  * @return A cookie
760  *
761  * Delivers a request to the X server.
762  *
763  * This form can be used only if the request will cause
764  * a reply to be generated. Any returned error will be
765  * placed in the event queue.
766  */
767 
768 /*****************************************************************************
769  **
770  ** xcb_res_query_version_cookie_t xcb_res_query_version_unchecked
771  **
772  ** @param xcb_connection_t *c
773  ** @param uint8_t           client_major
774  ** @param uint8_t           client_minor
775  ** @returns xcb_res_query_version_cookie_t
776  **
777  *****************************************************************************/
778 
779 xcb_res_query_version_cookie_t
780 xcb_res_query_version_unchecked (xcb_connection_t *c  /**< */,
781                                  uint8_t           client_major  /**< */,
782                                  uint8_t           client_minor  /**< */);
783 
784 /**
785  * Return the reply
786  * @param c      The connection
787  * @param cookie The cookie
788  * @param e      The xcb_generic_error_t supplied
789  *
790  * Returns the reply of the request asked by
791  *
792  * The parameter @p e supplied to this function must be NULL if
793  * xcb_res_query_version_unchecked(). is used.
794  * Otherwise, it stores the error if any.
795  *
796  * The returned value must be freed by the caller using free().
797  */
798 
799 /*****************************************************************************
800  **
801  ** xcb_res_query_version_reply_t * xcb_res_query_version_reply
802  **
803  ** @param xcb_connection_t                *c
804  ** @param xcb_res_query_version_cookie_t   cookie
805  ** @param xcb_generic_error_t            **e
806  ** @returns xcb_res_query_version_reply_t *
807  **
808  *****************************************************************************/
809 
810 xcb_res_query_version_reply_t *
811 xcb_res_query_version_reply (xcb_connection_t                *c  /**< */,
812                              xcb_res_query_version_cookie_t   cookie  /**< */,
813                              xcb_generic_error_t            **e  /**< */);
814 
815 int
816 xcb_res_query_clients_sizeof (const void  *_buffer  /**< */);
817 
818 /**
819  *
820  * @param c The connection
821  * @return A cookie
822  *
823  * Delivers a request to the X server.
824  *
825  */
826 
827 /*****************************************************************************
828  **
829  ** xcb_res_query_clients_cookie_t xcb_res_query_clients
830  **
831  ** @param xcb_connection_t *c
832  ** @returns xcb_res_query_clients_cookie_t
833  **
834  *****************************************************************************/
835 
836 xcb_res_query_clients_cookie_t
837 xcb_res_query_clients (xcb_connection_t *c  /**< */);
838 
839 /**
840  *
841  * @param c The connection
842  * @return A cookie
843  *
844  * Delivers a request to the X server.
845  *
846  * This form can be used only if the request will cause
847  * a reply to be generated. Any returned error will be
848  * placed in the event queue.
849  */
850 
851 /*****************************************************************************
852  **
853  ** xcb_res_query_clients_cookie_t xcb_res_query_clients_unchecked
854  **
855  ** @param xcb_connection_t *c
856  ** @returns xcb_res_query_clients_cookie_t
857  **
858  *****************************************************************************/
859 
860 xcb_res_query_clients_cookie_t
861 xcb_res_query_clients_unchecked (xcb_connection_t *c  /**< */);
862 
863 
864 /*****************************************************************************
865  **
866  ** xcb_res_client_t * xcb_res_query_clients_clients
867  **
868  ** @param const xcb_res_query_clients_reply_t *R
869  ** @returns xcb_res_client_t *
870  **
871  *****************************************************************************/
872 
873 xcb_res_client_t *
874 xcb_res_query_clients_clients (const xcb_res_query_clients_reply_t *R  /**< */);
875 
876 
877 /*****************************************************************************
878  **
879  ** int xcb_res_query_clients_clients_length
880  **
881  ** @param const xcb_res_query_clients_reply_t *R
882  ** @returns int
883  **
884  *****************************************************************************/
885 
886 int
887 xcb_res_query_clients_clients_length (const xcb_res_query_clients_reply_t *R  /**< */);
888 
889 
890 /*****************************************************************************
891  **
892  ** xcb_res_client_iterator_t xcb_res_query_clients_clients_iterator
893  **
894  ** @param const xcb_res_query_clients_reply_t *R
895  ** @returns xcb_res_client_iterator_t
896  **
897  *****************************************************************************/
898 
899 xcb_res_client_iterator_t
900 xcb_res_query_clients_clients_iterator (const xcb_res_query_clients_reply_t *R  /**< */);
901 
902 /**
903  * Return the reply
904  * @param c      The connection
905  * @param cookie The cookie
906  * @param e      The xcb_generic_error_t supplied
907  *
908  * Returns the reply of the request asked by
909  *
910  * The parameter @p e supplied to this function must be NULL if
911  * xcb_res_query_clients_unchecked(). is used.
912  * Otherwise, it stores the error if any.
913  *
914  * The returned value must be freed by the caller using free().
915  */
916 
917 /*****************************************************************************
918  **
919  ** xcb_res_query_clients_reply_t * xcb_res_query_clients_reply
920  **
921  ** @param xcb_connection_t                *c
922  ** @param xcb_res_query_clients_cookie_t   cookie
923  ** @param xcb_generic_error_t            **e
924  ** @returns xcb_res_query_clients_reply_t *
925  **
926  *****************************************************************************/
927 
928 xcb_res_query_clients_reply_t *
929 xcb_res_query_clients_reply (xcb_connection_t                *c  /**< */,
930                              xcb_res_query_clients_cookie_t   cookie  /**< */,
931                              xcb_generic_error_t            **e  /**< */);
932 
933 int
934 xcb_res_query_client_resources_sizeof (const void  *_buffer  /**< */);
935 
936 /**
937  *
938  * @param c The connection
939  * @return A cookie
940  *
941  * Delivers a request to the X server.
942  *
943  */
944 
945 /*****************************************************************************
946  **
947  ** xcb_res_query_client_resources_cookie_t xcb_res_query_client_resources
948  **
949  ** @param xcb_connection_t *c
950  ** @param uint32_t          xid
951  ** @returns xcb_res_query_client_resources_cookie_t
952  **
953  *****************************************************************************/
954 
955 xcb_res_query_client_resources_cookie_t
956 xcb_res_query_client_resources (xcb_connection_t *c  /**< */,
957                                 uint32_t          xid  /**< */);
958 
959 /**
960  *
961  * @param c The connection
962  * @return A cookie
963  *
964  * Delivers a request to the X server.
965  *
966  * This form can be used only if the request will cause
967  * a reply to be generated. Any returned error will be
968  * placed in the event queue.
969  */
970 
971 /*****************************************************************************
972  **
973  ** xcb_res_query_client_resources_cookie_t xcb_res_query_client_resources_unchecked
974  **
975  ** @param xcb_connection_t *c
976  ** @param uint32_t          xid
977  ** @returns xcb_res_query_client_resources_cookie_t
978  **
979  *****************************************************************************/
980 
981 xcb_res_query_client_resources_cookie_t
982 xcb_res_query_client_resources_unchecked (xcb_connection_t *c  /**< */,
983                                           uint32_t          xid  /**< */);
984 
985 
986 /*****************************************************************************
987  **
988  ** xcb_res_type_t * xcb_res_query_client_resources_types
989  **
990  ** @param const xcb_res_query_client_resources_reply_t *R
991  ** @returns xcb_res_type_t *
992  **
993  *****************************************************************************/
994 
995 xcb_res_type_t *
996 xcb_res_query_client_resources_types (const xcb_res_query_client_resources_reply_t *R  /**< */);
997 
998 
999 /*****************************************************************************
1000  **
1001  ** int xcb_res_query_client_resources_types_length
1002  **
1003  ** @param const xcb_res_query_client_resources_reply_t *R
1004  ** @returns int
1005  **
1006  *****************************************************************************/
1007 
1008 int
1009 xcb_res_query_client_resources_types_length (const xcb_res_query_client_resources_reply_t *R  /**< */);
1010 
1011 
1012 /*****************************************************************************
1013  **
1014  ** xcb_res_type_iterator_t xcb_res_query_client_resources_types_iterator
1015  **
1016  ** @param const xcb_res_query_client_resources_reply_t *R
1017  ** @returns xcb_res_type_iterator_t
1018  **
1019  *****************************************************************************/
1020 
1021 xcb_res_type_iterator_t
1022 xcb_res_query_client_resources_types_iterator (const xcb_res_query_client_resources_reply_t *R  /**< */);
1023 
1024 /**
1025  * Return the reply
1026  * @param c      The connection
1027  * @param cookie The cookie
1028  * @param e      The xcb_generic_error_t supplied
1029  *
1030  * Returns the reply of the request asked by
1031  *
1032  * The parameter @p e supplied to this function must be NULL if
1033  * xcb_res_query_client_resources_unchecked(). is used.
1034  * Otherwise, it stores the error if any.
1035  *
1036  * The returned value must be freed by the caller using free().
1037  */
1038 
1039 /*****************************************************************************
1040  **
1041  ** xcb_res_query_client_resources_reply_t * xcb_res_query_client_resources_reply
1042  **
1043  ** @param xcb_connection_t                         *c
1044  ** @param xcb_res_query_client_resources_cookie_t   cookie
1045  ** @param xcb_generic_error_t                     **e
1046  ** @returns xcb_res_query_client_resources_reply_t *
1047  **
1048  *****************************************************************************/
1049 
1050 xcb_res_query_client_resources_reply_t *
1051 xcb_res_query_client_resources_reply (xcb_connection_t                         *c  /**< */,
1052                                       xcb_res_query_client_resources_cookie_t   cookie  /**< */,
1053                                       xcb_generic_error_t                     **e  /**< */);
1054 
1055 /**
1056  *
1057  * @param c The connection
1058  * @return A cookie
1059  *
1060  * Delivers a request to the X server.
1061  *
1062  */
1063 
1064 /*****************************************************************************
1065  **
1066  ** xcb_res_query_client_pixmap_bytes_cookie_t xcb_res_query_client_pixmap_bytes
1067  **
1068  ** @param xcb_connection_t *c
1069  ** @param uint32_t          xid
1070  ** @returns xcb_res_query_client_pixmap_bytes_cookie_t
1071  **
1072  *****************************************************************************/
1073 
1074 xcb_res_query_client_pixmap_bytes_cookie_t
1075 xcb_res_query_client_pixmap_bytes (xcb_connection_t *c  /**< */,
1076                                    uint32_t          xid  /**< */);
1077 
1078 /**
1079  *
1080  * @param c The connection
1081  * @return A cookie
1082  *
1083  * Delivers a request to the X server.
1084  *
1085  * This form can be used only if the request will cause
1086  * a reply to be generated. Any returned error will be
1087  * placed in the event queue.
1088  */
1089 
1090 /*****************************************************************************
1091  **
1092  ** xcb_res_query_client_pixmap_bytes_cookie_t xcb_res_query_client_pixmap_bytes_unchecked
1093  **
1094  ** @param xcb_connection_t *c
1095  ** @param uint32_t          xid
1096  ** @returns xcb_res_query_client_pixmap_bytes_cookie_t
1097  **
1098  *****************************************************************************/
1099 
1100 xcb_res_query_client_pixmap_bytes_cookie_t
1101 xcb_res_query_client_pixmap_bytes_unchecked (xcb_connection_t *c  /**< */,
1102                                              uint32_t          xid  /**< */);
1103 
1104 /**
1105  * Return the reply
1106  * @param c      The connection
1107  * @param cookie The cookie
1108  * @param e      The xcb_generic_error_t supplied
1109  *
1110  * Returns the reply of the request asked by
1111  *
1112  * The parameter @p e supplied to this function must be NULL if
1113  * xcb_res_query_client_pixmap_bytes_unchecked(). is used.
1114  * Otherwise, it stores the error if any.
1115  *
1116  * The returned value must be freed by the caller using free().
1117  */
1118 
1119 /*****************************************************************************
1120  **
1121  ** xcb_res_query_client_pixmap_bytes_reply_t * xcb_res_query_client_pixmap_bytes_reply
1122  **
1123  ** @param xcb_connection_t                            *c
1124  ** @param xcb_res_query_client_pixmap_bytes_cookie_t   cookie
1125  ** @param xcb_generic_error_t                        **e
1126  ** @returns xcb_res_query_client_pixmap_bytes_reply_t *
1127  **
1128  *****************************************************************************/
1129 
1130 xcb_res_query_client_pixmap_bytes_reply_t *
1131 xcb_res_query_client_pixmap_bytes_reply (xcb_connection_t                            *c  /**< */,
1132                                          xcb_res_query_client_pixmap_bytes_cookie_t   cookie  /**< */,
1133                                          xcb_generic_error_t                        **e  /**< */);
1134 
1135 int
1136 xcb_res_query_client_ids_sizeof (const void  *_buffer  /**< */);
1137 
1138 /**
1139  *
1140  * @param c The connection
1141  * @return A cookie
1142  *
1143  * Delivers a request to the X server.
1144  *
1145  */
1146 
1147 /*****************************************************************************
1148  **
1149  ** xcb_res_query_client_ids_cookie_t xcb_res_query_client_ids
1150  **
1151  ** @param xcb_connection_t               *c
1152  ** @param uint32_t                        num_specs
1153  ** @param const xcb_res_client_id_spec_t *specs
1154  ** @returns xcb_res_query_client_ids_cookie_t
1155  **
1156  *****************************************************************************/
1157 
1158 xcb_res_query_client_ids_cookie_t
1159 xcb_res_query_client_ids (xcb_connection_t               *c  /**< */,
1160                           uint32_t                        num_specs  /**< */,
1161                           const xcb_res_client_id_spec_t *specs  /**< */);
1162 
1163 /**
1164  *
1165  * @param c The connection
1166  * @return A cookie
1167  *
1168  * Delivers a request to the X server.
1169  *
1170  * This form can be used only if the request will cause
1171  * a reply to be generated. Any returned error will be
1172  * placed in the event queue.
1173  */
1174 
1175 /*****************************************************************************
1176  **
1177  ** xcb_res_query_client_ids_cookie_t xcb_res_query_client_ids_unchecked
1178  **
1179  ** @param xcb_connection_t               *c
1180  ** @param uint32_t                        num_specs
1181  ** @param const xcb_res_client_id_spec_t *specs
1182  ** @returns xcb_res_query_client_ids_cookie_t
1183  **
1184  *****************************************************************************/
1185 
1186 xcb_res_query_client_ids_cookie_t
1187 xcb_res_query_client_ids_unchecked (xcb_connection_t               *c  /**< */,
1188                                     uint32_t                        num_specs  /**< */,
1189                                     const xcb_res_client_id_spec_t *specs  /**< */);
1190 
1191 
1192 /*****************************************************************************
1193  **
1194  ** int xcb_res_query_client_ids_ids_length
1195  **
1196  ** @param const xcb_res_query_client_ids_reply_t *R
1197  ** @returns int
1198  **
1199  *****************************************************************************/
1200 
1201 int
1202 xcb_res_query_client_ids_ids_length (const xcb_res_query_client_ids_reply_t *R  /**< */);
1203 
1204 
1205 /*****************************************************************************
1206  **
1207  ** xcb_res_client_id_value_iterator_t xcb_res_query_client_ids_ids_iterator
1208  **
1209  ** @param const xcb_res_query_client_ids_reply_t *R
1210  ** @returns xcb_res_client_id_value_iterator_t
1211  **
1212  *****************************************************************************/
1213 
1214 xcb_res_client_id_value_iterator_t
1215 xcb_res_query_client_ids_ids_iterator (const xcb_res_query_client_ids_reply_t *R  /**< */);
1216 
1217 /**
1218  * Return the reply
1219  * @param c      The connection
1220  * @param cookie The cookie
1221  * @param e      The xcb_generic_error_t supplied
1222  *
1223  * Returns the reply of the request asked by
1224  *
1225  * The parameter @p e supplied to this function must be NULL if
1226  * xcb_res_query_client_ids_unchecked(). is used.
1227  * Otherwise, it stores the error if any.
1228  *
1229  * The returned value must be freed by the caller using free().
1230  */
1231 
1232 /*****************************************************************************
1233  **
1234  ** xcb_res_query_client_ids_reply_t * xcb_res_query_client_ids_reply
1235  **
1236  ** @param xcb_connection_t                   *c
1237  ** @param xcb_res_query_client_ids_cookie_t   cookie
1238  ** @param xcb_generic_error_t               **e
1239  ** @returns xcb_res_query_client_ids_reply_t *
1240  **
1241  *****************************************************************************/
1242 
1243 xcb_res_query_client_ids_reply_t *
1244 xcb_res_query_client_ids_reply (xcb_connection_t                   *c  /**< */,
1245                                 xcb_res_query_client_ids_cookie_t   cookie  /**< */,
1246                                 xcb_generic_error_t               **e  /**< */);
1247 
1248 int
1249 xcb_res_query_resource_bytes_sizeof (const void  *_buffer  /**< */);
1250 
1251 /**
1252  *
1253  * @param c The connection
1254  * @return A cookie
1255  *
1256  * Delivers a request to the X server.
1257  *
1258  */
1259 
1260 /*****************************************************************************
1261  **
1262  ** xcb_res_query_resource_bytes_cookie_t xcb_res_query_resource_bytes
1263  **
1264  ** @param xcb_connection_t                 *c
1265  ** @param uint32_t                          client
1266  ** @param uint32_t                          num_specs
1267  ** @param const xcb_res_resource_id_spec_t *specs
1268  ** @returns xcb_res_query_resource_bytes_cookie_t
1269  **
1270  *****************************************************************************/
1271 
1272 xcb_res_query_resource_bytes_cookie_t
1273 xcb_res_query_resource_bytes (xcb_connection_t                 *c  /**< */,
1274                               uint32_t                          client  /**< */,
1275                               uint32_t                          num_specs  /**< */,
1276                               const xcb_res_resource_id_spec_t *specs  /**< */);
1277 
1278 /**
1279  *
1280  * @param c The connection
1281  * @return A cookie
1282  *
1283  * Delivers a request to the X server.
1284  *
1285  * This form can be used only if the request will cause
1286  * a reply to be generated. Any returned error will be
1287  * placed in the event queue.
1288  */
1289 
1290 /*****************************************************************************
1291  **
1292  ** xcb_res_query_resource_bytes_cookie_t xcb_res_query_resource_bytes_unchecked
1293  **
1294  ** @param xcb_connection_t                 *c
1295  ** @param uint32_t                          client
1296  ** @param uint32_t                          num_specs
1297  ** @param const xcb_res_resource_id_spec_t *specs
1298  ** @returns xcb_res_query_resource_bytes_cookie_t
1299  **
1300  *****************************************************************************/
1301 
1302 xcb_res_query_resource_bytes_cookie_t
1303 xcb_res_query_resource_bytes_unchecked (xcb_connection_t                 *c  /**< */,
1304                                         uint32_t                          client  /**< */,
1305                                         uint32_t                          num_specs  /**< */,
1306                                         const xcb_res_resource_id_spec_t *specs  /**< */);
1307 
1308 
1309 /*****************************************************************************
1310  **
1311  ** int xcb_res_query_resource_bytes_sizes_length
1312  **
1313  ** @param const xcb_res_query_resource_bytes_reply_t *R
1314  ** @returns int
1315  **
1316  *****************************************************************************/
1317 
1318 int
1319 xcb_res_query_resource_bytes_sizes_length (const xcb_res_query_resource_bytes_reply_t *R  /**< */);
1320 
1321 
1322 /*****************************************************************************
1323  **
1324  ** xcb_res_resource_size_value_iterator_t xcb_res_query_resource_bytes_sizes_iterator
1325  **
1326  ** @param const xcb_res_query_resource_bytes_reply_t *R
1327  ** @returns xcb_res_resource_size_value_iterator_t
1328  **
1329  *****************************************************************************/
1330 
1331 xcb_res_resource_size_value_iterator_t
1332 xcb_res_query_resource_bytes_sizes_iterator (const xcb_res_query_resource_bytes_reply_t *R  /**< */);
1333 
1334 /**
1335  * Return the reply
1336  * @param c      The connection
1337  * @param cookie The cookie
1338  * @param e      The xcb_generic_error_t supplied
1339  *
1340  * Returns the reply of the request asked by
1341  *
1342  * The parameter @p e supplied to this function must be NULL if
1343  * xcb_res_query_resource_bytes_unchecked(). is used.
1344  * Otherwise, it stores the error if any.
1345  *
1346  * The returned value must be freed by the caller using free().
1347  */
1348 
1349 /*****************************************************************************
1350  **
1351  ** xcb_res_query_resource_bytes_reply_t * xcb_res_query_resource_bytes_reply
1352  **
1353  ** @param xcb_connection_t                       *c
1354  ** @param xcb_res_query_resource_bytes_cookie_t   cookie
1355  ** @param xcb_generic_error_t                   **e
1356  ** @returns xcb_res_query_resource_bytes_reply_t *
1357  **
1358  *****************************************************************************/
1359 
1360 xcb_res_query_resource_bytes_reply_t *
1361 xcb_res_query_resource_bytes_reply (xcb_connection_t                       *c  /**< */,
1362                                     xcb_res_query_resource_bytes_cookie_t   cookie  /**< */,
1363                                     xcb_generic_error_t                   **e  /**< */);
1364 
1365 
1366 #ifdef __cplusplus
1367 }
1368 #endif
1369 
1370 #endif
1371 
1372 /**
1373  * @}
1374  */
1375