2 * This file generated automatically from res.xml by c_client.py.
7 * @defgroup XCB_Res_API XCB Res API
8 * @brief Res XCB Protocol Implementation.
22 #define XCB_RES_MAJOR_VERSION 1
23 #define XCB_RES_MINOR_VERSION 2
25 extern xcb_extension_t xcb_res_id
;
28 * @brief xcb_res_client_t
30 typedef struct xcb_res_client_t
{
31 uint32_t resource_base
; /**< */
32 uint32_t resource_mask
; /**< */
36 * @brief xcb_res_client_iterator_t
38 typedef struct xcb_res_client_iterator_t
{
39 xcb_res_client_t
*data
; /**< */
42 } xcb_res_client_iterator_t
;
45 * @brief xcb_res_type_t
47 typedef struct xcb_res_type_t
{
48 xcb_atom_t resource_type
; /**< */
49 uint32_t count
; /**< */
53 * @brief xcb_res_type_iterator_t
55 typedef struct xcb_res_type_iterator_t
{
56 xcb_res_type_t
*data
; /**< */
59 } xcb_res_type_iterator_t
;
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
;
67 * @brief xcb_res_client_id_spec_t
69 typedef struct xcb_res_client_id_spec_t
{
70 uint32_t client
; /**< */
71 uint32_t mask
; /**< */
72 } xcb_res_client_id_spec_t
;
75 * @brief xcb_res_client_id_spec_iterator_t
77 typedef struct xcb_res_client_id_spec_iterator_t
{
78 xcb_res_client_id_spec_t
*data
; /**< */
81 } xcb_res_client_id_spec_iterator_t
;
84 * @brief xcb_res_client_id_value_t
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
;
92 * @brief xcb_res_client_id_value_iterator_t
94 typedef struct xcb_res_client_id_value_iterator_t
{
95 xcb_res_client_id_value_t
*data
; /**< */
98 } xcb_res_client_id_value_iterator_t
;
101 * @brief xcb_res_resource_id_spec_t
103 typedef struct xcb_res_resource_id_spec_t
{
104 uint32_t resource
; /**< */
105 uint32_t type
; /**< */
106 } xcb_res_resource_id_spec_t
;
109 * @brief xcb_res_resource_id_spec_iterator_t
111 typedef struct xcb_res_resource_id_spec_iterator_t
{
112 xcb_res_resource_id_spec_t
*data
; /**< */
115 } xcb_res_resource_id_spec_iterator_t
;
118 * @brief xcb_res_resource_size_spec_t
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
;
128 * @brief xcb_res_resource_size_spec_iterator_t
130 typedef struct xcb_res_resource_size_spec_iterator_t
{
131 xcb_res_resource_size_spec_t
*data
; /**< */
134 } xcb_res_resource_size_spec_iterator_t
;
137 * @brief xcb_res_resource_size_value_t
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
;
145 * @brief xcb_res_resource_size_value_iterator_t
147 typedef struct xcb_res_resource_size_value_iterator_t
{
148 xcb_res_resource_size_value_t
*data
; /**< */
151 } xcb_res_resource_size_value_iterator_t
;
154 * @brief xcb_res_query_version_cookie_t
156 typedef struct xcb_res_query_version_cookie_t
{
157 unsigned int sequence
; /**< */
158 } xcb_res_query_version_cookie_t
;
160 /** Opcode for xcb_res_query_version. */
161 #define XCB_RES_QUERY_VERSION 0
164 * @brief xcb_res_query_version_request_t
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
;
175 * @brief xcb_res_query_version_reply_t
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
;
187 * @brief xcb_res_query_clients_cookie_t
189 typedef struct xcb_res_query_clients_cookie_t
{
190 unsigned int sequence
; /**< */
191 } xcb_res_query_clients_cookie_t
;
193 /** Opcode for xcb_res_query_clients. */
194 #define XCB_RES_QUERY_CLIENTS 1
197 * @brief xcb_res_query_clients_request_t
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
;
206 * @brief xcb_res_query_clients_reply_t
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
;
218 * @brief xcb_res_query_client_resources_cookie_t
220 typedef struct xcb_res_query_client_resources_cookie_t
{
221 unsigned int sequence
; /**< */
222 } xcb_res_query_client_resources_cookie_t
;
224 /** Opcode for xcb_res_query_client_resources. */
225 #define XCB_RES_QUERY_CLIENT_RESOURCES 2
228 * @brief xcb_res_query_client_resources_request_t
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
;
238 * @brief xcb_res_query_client_resources_reply_t
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
;
250 * @brief xcb_res_query_client_pixmap_bytes_cookie_t
252 typedef struct xcb_res_query_client_pixmap_bytes_cookie_t
{
253 unsigned int sequence
; /**< */
254 } xcb_res_query_client_pixmap_bytes_cookie_t
;
256 /** Opcode for xcb_res_query_client_pixmap_bytes. */
257 #define XCB_RES_QUERY_CLIENT_PIXMAP_BYTES 3
260 * @brief xcb_res_query_client_pixmap_bytes_request_t
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
;
270 * @brief xcb_res_query_client_pixmap_bytes_reply_t
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
;
282 * @brief xcb_res_query_client_ids_cookie_t
284 typedef struct xcb_res_query_client_ids_cookie_t
{
285 unsigned int sequence
; /**< */
286 } xcb_res_query_client_ids_cookie_t
;
288 /** Opcode for xcb_res_query_client_ids. */
289 #define XCB_RES_QUERY_CLIENT_IDS 4
292 * @brief xcb_res_query_client_ids_request_t
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
;
302 * @brief xcb_res_query_client_ids_reply_t
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
;
314 * @brief xcb_res_query_resource_bytes_cookie_t
316 typedef struct xcb_res_query_resource_bytes_cookie_t
{
317 unsigned int sequence
; /**< */
318 } xcb_res_query_resource_bytes_cookie_t
;
320 /** Opcode for xcb_res_query_resource_bytes. */
321 #define XCB_RES_QUERY_RESOURCE_BYTES 5
324 * @brief xcb_res_query_resource_bytes_request_t
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
;
335 * @brief xcb_res_query_resource_bytes_reply_t
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
;
347 * Get the next element of the iterator
348 * @param i Pointer to a xcb_res_client_iterator_t
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)
355 xcb_res_client_next (xcb_res_client_iterator_t
*i
/**< */);
358 * Return the iterator pointing to the last element
359 * @param i An xcb_res_client_iterator_t
360 * @return The iterator pointing to the last element
362 * Set the current element in the iterator to the last element.
363 * The member rem is set to 0. The member data points to the
366 xcb_generic_iterator_t
367 xcb_res_client_end (xcb_res_client_iterator_t i
/**< */);
370 * Get the next element of the iterator
371 * @param i Pointer to a xcb_res_type_iterator_t
373 * Get the next element in the iterator. The member rem is
374 * decreased by one. The member data points to the next
375 * element. The member index is increased by sizeof(xcb_res_type_t)
378 xcb_res_type_next (xcb_res_type_iterator_t
*i
/**< */);
381 * Return the iterator pointing to the last element
382 * @param i An xcb_res_type_iterator_t
383 * @return The iterator pointing to the last element
385 * Set the current element in the iterator to the last element.
386 * The member rem is set to 0. The member data points to the
389 xcb_generic_iterator_t
390 xcb_res_type_end (xcb_res_type_iterator_t i
/**< */);
393 * Get the next element of the iterator
394 * @param i Pointer to a xcb_res_client_id_spec_iterator_t
396 * Get the next element in the iterator. The member rem is
397 * decreased by one. The member data points to the next
398 * element. The member index is increased by sizeof(xcb_res_client_id_spec_t)
401 xcb_res_client_id_spec_next (xcb_res_client_id_spec_iterator_t
*i
/**< */);
404 * Return the iterator pointing to the last element
405 * @param i An xcb_res_client_id_spec_iterator_t
406 * @return The iterator pointing to the last element
408 * Set the current element in the iterator to the last element.
409 * The member rem is set to 0. The member data points to the
412 xcb_generic_iterator_t
413 xcb_res_client_id_spec_end (xcb_res_client_id_spec_iterator_t i
/**< */);
416 xcb_res_client_id_value_sizeof (const void *_buffer
/**< */);
419 xcb_res_client_id_value_value (const xcb_res_client_id_value_t
*R
/**< */);
422 xcb_res_client_id_value_value_length (const xcb_res_client_id_value_t
*R
/**< */);
424 xcb_generic_iterator_t
425 xcb_res_client_id_value_value_end (const xcb_res_client_id_value_t
*R
/**< */);
428 * Get the next element of the iterator
429 * @param i Pointer to a xcb_res_client_id_value_iterator_t
431 * Get the next element in the iterator. The member rem is
432 * decreased by one. The member data points to the next
433 * element. The member index is increased by sizeof(xcb_res_client_id_value_t)
436 xcb_res_client_id_value_next (xcb_res_client_id_value_iterator_t
*i
/**< */);
439 * Return the iterator pointing to the last element
440 * @param i An xcb_res_client_id_value_iterator_t
441 * @return The iterator pointing to the last element
443 * Set the current element in the iterator to the last element.
444 * The member rem is set to 0. The member data points to the
447 xcb_generic_iterator_t
448 xcb_res_client_id_value_end (xcb_res_client_id_value_iterator_t i
/**< */);
451 * Get the next element of the iterator
452 * @param i Pointer to a xcb_res_resource_id_spec_iterator_t
454 * Get the next element in the iterator. The member rem is
455 * decreased by one. The member data points to the next
456 * element. The member index is increased by sizeof(xcb_res_resource_id_spec_t)
459 xcb_res_resource_id_spec_next (xcb_res_resource_id_spec_iterator_t
*i
/**< */);
462 * Return the iterator pointing to the last element
463 * @param i An xcb_res_resource_id_spec_iterator_t
464 * @return The iterator pointing to the last element
466 * Set the current element in the iterator to the last element.
467 * The member rem is set to 0. The member data points to the
470 xcb_generic_iterator_t
471 xcb_res_resource_id_spec_end (xcb_res_resource_id_spec_iterator_t i
/**< */);
474 * Get the next element of the iterator
475 * @param i Pointer to a xcb_res_resource_size_spec_iterator_t
477 * Get the next element in the iterator. The member rem is
478 * decreased by one. The member data points to the next
479 * element. The member index is increased by sizeof(xcb_res_resource_size_spec_t)
482 xcb_res_resource_size_spec_next (xcb_res_resource_size_spec_iterator_t
*i
/**< */);
485 * Return the iterator pointing to the last element
486 * @param i An xcb_res_resource_size_spec_iterator_t
487 * @return The iterator pointing to the last element
489 * Set the current element in the iterator to the last element.
490 * The member rem is set to 0. The member data points to the
493 xcb_generic_iterator_t
494 xcb_res_resource_size_spec_end (xcb_res_resource_size_spec_iterator_t i
/**< */);
497 xcb_res_resource_size_value_sizeof (const void *_buffer
/**< */);
499 xcb_res_resource_size_spec_t
*
500 xcb_res_resource_size_value_cross_references (const xcb_res_resource_size_value_t
*R
/**< */);
503 xcb_res_resource_size_value_cross_references_length (const xcb_res_resource_size_value_t
*R
/**< */);
505 xcb_res_resource_size_spec_iterator_t
506 xcb_res_resource_size_value_cross_references_iterator (const xcb_res_resource_size_value_t
*R
/**< */);
509 * Get the next element of the iterator
510 * @param i Pointer to a xcb_res_resource_size_value_iterator_t
512 * Get the next element in the iterator. The member rem is
513 * decreased by one. The member data points to the next
514 * element. The member index is increased by sizeof(xcb_res_resource_size_value_t)
517 xcb_res_resource_size_value_next (xcb_res_resource_size_value_iterator_t
*i
/**< */);
520 * Return the iterator pointing to the last element
521 * @param i An xcb_res_resource_size_value_iterator_t
522 * @return The iterator pointing to the last element
524 * Set the current element in the iterator to the last element.
525 * The member rem is set to 0. The member data points to the
528 xcb_generic_iterator_t
529 xcb_res_resource_size_value_end (xcb_res_resource_size_value_iterator_t i
/**< */);
533 * @param c The connection
536 * Delivers a request to the X server.
539 xcb_res_query_version_cookie_t
540 xcb_res_query_version (xcb_connection_t
*c
/**< */,
541 uint8_t client_major
/**< */,
542 uint8_t client_minor
/**< */);
546 * @param c The connection
549 * Delivers a request to the X server.
551 * This form can be used only if the request will cause
552 * a reply to be generated. Any returned error will be
553 * placed in the event queue.
555 xcb_res_query_version_cookie_t
556 xcb_res_query_version_unchecked (xcb_connection_t
*c
/**< */,
557 uint8_t client_major
/**< */,
558 uint8_t client_minor
/**< */);
562 * @param c The connection
563 * @param cookie The cookie
564 * @param e The xcb_generic_error_t supplied
566 * Returns the reply of the request asked by
568 * The parameter @p e supplied to this function must be NULL if
569 * xcb_res_query_version_unchecked(). is used.
570 * Otherwise, it stores the error if any.
572 * The returned value must be freed by the caller using free().
574 xcb_res_query_version_reply_t
*
575 xcb_res_query_version_reply (xcb_connection_t
*c
/**< */,
576 xcb_res_query_version_cookie_t cookie
/**< */,
577 xcb_generic_error_t
**e
/**< */);
580 xcb_res_query_clients_sizeof (const void *_buffer
/**< */);
584 * @param c The connection
587 * Delivers a request to the X server.
590 xcb_res_query_clients_cookie_t
591 xcb_res_query_clients (xcb_connection_t
*c
/**< */);
595 * @param c The connection
598 * Delivers a request to the X server.
600 * This form can be used only if the request will cause
601 * a reply to be generated. Any returned error will be
602 * placed in the event queue.
604 xcb_res_query_clients_cookie_t
605 xcb_res_query_clients_unchecked (xcb_connection_t
*c
/**< */);
608 xcb_res_query_clients_clients (const xcb_res_query_clients_reply_t
*R
/**< */);
611 xcb_res_query_clients_clients_length (const xcb_res_query_clients_reply_t
*R
/**< */);
613 xcb_res_client_iterator_t
614 xcb_res_query_clients_clients_iterator (const xcb_res_query_clients_reply_t
*R
/**< */);
618 * @param c The connection
619 * @param cookie The cookie
620 * @param e The xcb_generic_error_t supplied
622 * Returns the reply of the request asked by
624 * The parameter @p e supplied to this function must be NULL if
625 * xcb_res_query_clients_unchecked(). is used.
626 * Otherwise, it stores the error if any.
628 * The returned value must be freed by the caller using free().
630 xcb_res_query_clients_reply_t
*
631 xcb_res_query_clients_reply (xcb_connection_t
*c
/**< */,
632 xcb_res_query_clients_cookie_t cookie
/**< */,
633 xcb_generic_error_t
**e
/**< */);
636 xcb_res_query_client_resources_sizeof (const void *_buffer
/**< */);
640 * @param c The connection
643 * Delivers a request to the X server.
646 xcb_res_query_client_resources_cookie_t
647 xcb_res_query_client_resources (xcb_connection_t
*c
/**< */,
648 uint32_t xid
/**< */);
652 * @param c The connection
655 * Delivers a request to the X server.
657 * This form can be used only if the request will cause
658 * a reply to be generated. Any returned error will be
659 * placed in the event queue.
661 xcb_res_query_client_resources_cookie_t
662 xcb_res_query_client_resources_unchecked (xcb_connection_t
*c
/**< */,
663 uint32_t xid
/**< */);
666 xcb_res_query_client_resources_types (const xcb_res_query_client_resources_reply_t
*R
/**< */);
669 xcb_res_query_client_resources_types_length (const xcb_res_query_client_resources_reply_t
*R
/**< */);
671 xcb_res_type_iterator_t
672 xcb_res_query_client_resources_types_iterator (const xcb_res_query_client_resources_reply_t
*R
/**< */);
676 * @param c The connection
677 * @param cookie The cookie
678 * @param e The xcb_generic_error_t supplied
680 * Returns the reply of the request asked by
682 * The parameter @p e supplied to this function must be NULL if
683 * xcb_res_query_client_resources_unchecked(). is used.
684 * Otherwise, it stores the error if any.
686 * The returned value must be freed by the caller using free().
688 xcb_res_query_client_resources_reply_t
*
689 xcb_res_query_client_resources_reply (xcb_connection_t
*c
/**< */,
690 xcb_res_query_client_resources_cookie_t cookie
/**< */,
691 xcb_generic_error_t
**e
/**< */);
695 * @param c The connection
698 * Delivers a request to the X server.
701 xcb_res_query_client_pixmap_bytes_cookie_t
702 xcb_res_query_client_pixmap_bytes (xcb_connection_t
*c
/**< */,
703 uint32_t xid
/**< */);
707 * @param c The connection
710 * Delivers a request to the X server.
712 * This form can be used only if the request will cause
713 * a reply to be generated. Any returned error will be
714 * placed in the event queue.
716 xcb_res_query_client_pixmap_bytes_cookie_t
717 xcb_res_query_client_pixmap_bytes_unchecked (xcb_connection_t
*c
/**< */,
718 uint32_t xid
/**< */);
722 * @param c The connection
723 * @param cookie The cookie
724 * @param e The xcb_generic_error_t supplied
726 * Returns the reply of the request asked by
728 * The parameter @p e supplied to this function must be NULL if
729 * xcb_res_query_client_pixmap_bytes_unchecked(). is used.
730 * Otherwise, it stores the error if any.
732 * The returned value must be freed by the caller using free().
734 xcb_res_query_client_pixmap_bytes_reply_t
*
735 xcb_res_query_client_pixmap_bytes_reply (xcb_connection_t
*c
/**< */,
736 xcb_res_query_client_pixmap_bytes_cookie_t cookie
/**< */,
737 xcb_generic_error_t
**e
/**< */);
740 xcb_res_query_client_ids_sizeof (const void *_buffer
/**< */);
744 * @param c The connection
747 * Delivers a request to the X server.
750 xcb_res_query_client_ids_cookie_t
751 xcb_res_query_client_ids (xcb_connection_t
*c
/**< */,
752 uint32_t num_specs
/**< */,
753 const xcb_res_client_id_spec_t
*specs
/**< */);
757 * @param c The connection
760 * Delivers a request to the X server.
762 * This form can be used only if the request will cause
763 * a reply to be generated. Any returned error will be
764 * placed in the event queue.
766 xcb_res_query_client_ids_cookie_t
767 xcb_res_query_client_ids_unchecked (xcb_connection_t
*c
/**< */,
768 uint32_t num_specs
/**< */,
769 const xcb_res_client_id_spec_t
*specs
/**< */);
772 xcb_res_query_client_ids_ids_length (const xcb_res_query_client_ids_reply_t
*R
/**< */);
774 xcb_res_client_id_value_iterator_t
775 xcb_res_query_client_ids_ids_iterator (const xcb_res_query_client_ids_reply_t
*R
/**< */);
779 * @param c The connection
780 * @param cookie The cookie
781 * @param e The xcb_generic_error_t supplied
783 * Returns the reply of the request asked by
785 * The parameter @p e supplied to this function must be NULL if
786 * xcb_res_query_client_ids_unchecked(). is used.
787 * Otherwise, it stores the error if any.
789 * The returned value must be freed by the caller using free().
791 xcb_res_query_client_ids_reply_t
*
792 xcb_res_query_client_ids_reply (xcb_connection_t
*c
/**< */,
793 xcb_res_query_client_ids_cookie_t cookie
/**< */,
794 xcb_generic_error_t
**e
/**< */);
797 xcb_res_query_resource_bytes_sizeof (const void *_buffer
/**< */);
801 * @param c The connection
804 * Delivers a request to the X server.
807 xcb_res_query_resource_bytes_cookie_t
808 xcb_res_query_resource_bytes (xcb_connection_t
*c
/**< */,
809 uint32_t client
/**< */,
810 uint32_t num_specs
/**< */,
811 const xcb_res_resource_id_spec_t
*specs
/**< */);
815 * @param c The connection
818 * Delivers a request to the X server.
820 * This form can be used only if the request will cause
821 * a reply to be generated. Any returned error will be
822 * placed in the event queue.
824 xcb_res_query_resource_bytes_cookie_t
825 xcb_res_query_resource_bytes_unchecked (xcb_connection_t
*c
/**< */,
826 uint32_t client
/**< */,
827 uint32_t num_specs
/**< */,
828 const xcb_res_resource_id_spec_t
*specs
/**< */);
831 xcb_res_query_resource_bytes_sizes_length (const xcb_res_query_resource_bytes_reply_t
*R
/**< */);
833 xcb_res_resource_size_value_iterator_t
834 xcb_res_query_resource_bytes_sizes_iterator (const xcb_res_query_resource_bytes_reply_t
*R
/**< */);
838 * @param c The connection
839 * @param cookie The cookie
840 * @param e The xcb_generic_error_t supplied
842 * Returns the reply of the request asked by
844 * The parameter @p e supplied to this function must be NULL if
845 * xcb_res_query_resource_bytes_unchecked(). is used.
846 * Otherwise, it stores the error if any.
848 * The returned value must be freed by the caller using free().
850 xcb_res_query_resource_bytes_reply_t
*
851 xcb_res_query_resource_bytes_reply (xcb_connection_t
*c
/**< */,
852 xcb_res_query_resource_bytes_cookie_t cookie
/**< */,
853 xcb_generic_error_t
**e
/**< */);