22 #define XCB_RES_MAJOR_VERSION 1
23 #define XCB_RES_MINOR_VERSION 2
31 uint32_t resource_base;
32 uint32_t resource_mask;
48 xcb_atom_t resource_type;
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;
141 uint32_t num_cross_references;
157 unsigned int sequence;
161 #define XCB_RES_QUERY_VERSION 0
167 uint8_t major_opcode;
168 uint8_t minor_opcode;
170 uint8_t client_major;
171 uint8_t client_minor;
178 uint8_t response_type;
182 uint16_t server_major;
183 uint16_t server_minor;
190 unsigned int sequence;
194 #define XCB_RES_QUERY_CLIENTS 1
200 uint8_t major_opcode;
201 uint8_t minor_opcode;
209 uint8_t response_type;
213 uint32_t num_clients;
221 unsigned int sequence;
225 #define XCB_RES_QUERY_CLIENT_RESOURCES 2
231 uint8_t major_opcode;
232 uint8_t minor_opcode;
241 uint8_t response_type;
253 unsigned int sequence;
257 #define XCB_RES_QUERY_CLIENT_PIXMAP_BYTES 3
263 uint8_t major_opcode;
264 uint8_t minor_opcode;
273 uint8_t response_type;
278 uint32_t bytes_overflow;
285 unsigned int sequence;
289 #define XCB_RES_QUERY_CLIENT_IDS 4
295 uint8_t major_opcode;
296 uint8_t minor_opcode;
305 uint8_t response_type;
317 unsigned int sequence;
321 #define XCB_RES_QUERY_RESOURCE_BYTES 5
327 uint8_t major_opcode;
328 uint8_t minor_opcode;
338 uint8_t response_type;
476 xcb_res_client_id_value_sizeof (
const void *_buffer );
647 xcb_res_resource_size_value_sizeof (
const void *_buffer );
753 uint8_t client_major ,
754 uint8_t client_minor );
781 uint8_t client_major ,
782 uint8_t client_minor );
816 xcb_res_query_clients_sizeof (
const void *_buffer );
934 xcb_res_query_client_resources_sizeof (
const void *_buffer );
1136 xcb_res_query_client_ids_sizeof (
const void *_buffer );
1160 uint32_t num_specs ,
1188 uint32_t num_specs ,
1249 xcb_res_query_resource_bytes_sizeof (
const void *_buffer );
1275 uint32_t num_specs ,
1305 uint32_t num_specs ,
struct xcb_res_query_client_resources_reply_t xcb_res_query_client_resources_reply_t
xcb_res_query_client_resources_reply_t
xcb_res_type_iterator_t
Definition: res.h:55
Generic error.
Definition: xcb.h:168
struct xcb_res_query_resource_bytes_reply_t xcb_res_query_resource_bytes_reply_t
xcb_res_query_resource_bytes_reply_t
struct xcb_res_resource_size_value_iterator_t xcb_res_resource_size_value_iterator_t
xcb_res_resource_size_value_iterator_t
struct xcb_res_query_client_pixmap_bytes_request_t xcb_res_query_client_pixmap_bytes_request_t
xcb_res_query_client_pixmap_bytes_request_t
xcb_res_query_client_ids_request_t
Definition: res.h:294
xcb_res_query_client_ids_reply_t
Definition: res.h:304
xcb_generic_iterator_t xcb_res_client_id_value_end(xcb_res_client_id_value_iterator_t i)
Definition: res.c:250
struct xcb_res_client_id_spec_t xcb_res_client_id_spec_t
xcb_res_client_id_spec_t
struct xcb_res_query_client_ids_cookie_t xcb_res_query_client_ids_cookie_t
xcb_res_query_client_ids_cookie_t
xcb_res_query_resource_bytes_cookie_t xcb_res_query_resource_bytes(xcb_connection_t *c, uint32_t client, uint32_t num_specs, const xcb_res_resource_id_spec_t *specs)
Definition: res.c:1225
xcb_generic_iterator_t xcb_res_resource_size_spec_end(xcb_res_resource_size_spec_iterator_t i)
Definition: res.c:328
xcb_res_query_resource_bytes_reply_t * xcb_res_query_resource_bytes_reply(xcb_connection_t *c, xcb_res_query_resource_bytes_cookie_t cookie, xcb_generic_error_t **e)
Definition: res.c:1354
struct xcb_res_query_client_resources_cookie_t xcb_res_query_client_resources_cookie_t
xcb_res_query_client_resources_cookie_t
struct xcb_res_client_id_value_t xcb_res_client_id_value_t
xcb_res_client_id_value_t
xcb_res_client_id_value_t
Definition: res.h:86
xcb_res_query_version_request_t
Definition: res.h:166
xcb_res_resource_size_spec_iterator_t
Definition: res.h:130
xcb_res_client_t
Definition: res.h:30
xcb_res_resource_size_value_iterator_t
Definition: res.h:147
xcb_generic_iterator_t xcb_res_client_end(xcb_res_client_iterator_t i)
Definition: res.c:50
xcb_res_query_client_pixmap_bytes_reply_t
Definition: res.h:272
struct xcb_res_query_version_request_t xcb_res_query_version_request_t
xcb_res_query_version_request_t
xcb_res_query_client_pixmap_bytes_reply_t * xcb_res_query_client_pixmap_bytes_reply(xcb_connection_t *c, xcb_res_query_client_pixmap_bytes_cookie_t cookie, xcb_generic_error_t **e)
Definition: res.c:998
Generic iterator.
Definition: xcb.h:112
xcb_res_query_client_ids_cookie_t xcb_res_query_client_ids_unchecked(xcb_connection_t *c, uint32_t num_specs, const xcb_res_client_id_spec_t *specs)
Definition: res.c:1093
xcb_res_resource_id_spec_t
Definition: res.h:103
xcb_res_query_version_reply_t
Definition: res.h:177
struct xcb_res_query_clients_cookie_t xcb_res_query_clients_cookie_t
xcb_res_query_clients_cookie_t
xcb_res_query_clients_request_t
Definition: res.h:199
struct xcb_res_resource_id_spec_t xcb_res_resource_id_spec_t
xcb_res_resource_id_spec_t
struct xcb_res_query_resource_bytes_cookie_t xcb_res_query_resource_bytes_cookie_t
xcb_res_query_resource_bytes_cookie_t
xcb_res_query_clients_cookie_t
Definition: res.h:189
xcb_res_query_resource_bytes_reply_t
Definition: res.h:337
struct xcb_res_client_t xcb_res_client_t
xcb_res_client_t
xcb_res_query_resource_bytes_cookie_t
Definition: res.h:316
struct xcb_res_query_resource_bytes_request_t xcb_res_query_resource_bytes_request_t
xcb_res_query_resource_bytes_request_t
xcb_generic_iterator_t xcb_res_resource_id_spec_end(xcb_res_resource_id_spec_iterator_t i)
Definition: res.c:290
xcb_res_query_client_resources_reply_t * xcb_res_query_client_resources_reply(xcb_connection_t *c, xcb_res_query_client_resources_cookie_t cookie, xcb_generic_error_t **e)
Definition: res.c:904
xcb_res_query_client_pixmap_bytes_request_t
Definition: res.h:262
void xcb_res_client_next(xcb_res_client_iterator_t *i)
Definition: res.c:32
struct xcb_res_type_t xcb_res_type_t
xcb_res_type_t
struct xcb_res_query_client_ids_reply_t xcb_res_query_client_ids_reply_t
xcb_res_query_client_ids_reply_t
xcb_res_resource_size_spec_t
Definition: res.h:120
struct xcb_res_query_client_resources_request_t xcb_res_query_client_resources_request_t
xcb_res_query_client_resources_request_t
xcb_res_query_clients_reply_t
Definition: res.h:208
struct xcb_res_resource_id_spec_iterator_t xcb_res_resource_id_spec_iterator_t
xcb_res_resource_id_spec_iterator_t
xcb_res_query_version_cookie_t xcb_res_query_version(xcb_connection_t *c, uint8_t client_major, uint8_t client_minor)
Definition: res.c:476
xcb_res_query_client_resources_request_t
Definition: res.h:230
struct xcb_res_client_id_value_iterator_t xcb_res_client_id_value_iterator_t
xcb_res_client_id_value_iterator_t
xcb_res_client_iterator_t
Definition: res.h:38
struct xcb_res_resource_size_value_t xcb_res_resource_size_value_t
xcb_res_resource_size_value_t
xcb_res_query_client_pixmap_bytes_cookie_t xcb_res_query_client_pixmap_bytes(xcb_connection_t *c, uint32_t xid)
Definition: res.c:923
xcb_res_query_client_ids_cookie_t
Definition: res.h:284
xcb_res_query_client_pixmap_bytes_cookie_t
Definition: res.h:252
xcb_res_query_client_ids_cookie_t xcb_res_query_client_ids(xcb_connection_t *c, uint32_t num_specs, const xcb_res_client_id_spec_t *specs)
Definition: res.c:1049
xcb_res_query_client_resources_cookie_t xcb_res_query_client_resources_unchecked(xcb_connection_t *c, uint32_t xid)
Definition: res.c:814
struct xcb_res_query_client_pixmap_bytes_cookie_t xcb_res_query_client_pixmap_bytes_cookie_t
xcb_res_query_client_pixmap_bytes_cookie_t
struct xcb_res_client_iterator_t xcb_res_client_iterator_t
xcb_res_client_iterator_t
xcb_generic_iterator_t xcb_res_client_id_spec_end(xcb_res_client_id_spec_iterator_t i)
Definition: res.c:126
xcb_res_query_client_resources_cookie_t xcb_res_query_client_resources(xcb_connection_t *c, uint32_t xid)
Definition: res.c:777
void xcb_res_resource_size_value_next(xcb_res_resource_size_value_iterator_t *i)
Definition: res.c:431
xcb_res_query_resource_bytes_cookie_t xcb_res_query_resource_bytes_unchecked(xcb_connection_t *c, uint32_t client, uint32_t num_specs, const xcb_res_resource_id_spec_t *specs)
Definition: res.c:1272
xcb_res_client_id_spec_iterator_t
Definition: res.h:77
struct xcb_res_query_client_ids_request_t xcb_res_query_client_ids_request_t
xcb_res_query_client_ids_request_t
struct xcb_res_resource_size_spec_iterator_t xcb_res_resource_size_spec_iterator_t
xcb_res_resource_size_spec_iterator_t
xcb_res_query_resource_bytes_request_t
Definition: res.h:326
struct xcb_res_query_client_pixmap_bytes_reply_t xcb_res_query_client_pixmap_bytes_reply_t
xcb_res_query_client_pixmap_bytes_reply_t
void xcb_res_resource_size_spec_next(xcb_res_resource_size_spec_iterator_t *i)
Definition: res.c:310
struct xcb_res_client_id_spec_iterator_t xcb_res_client_id_spec_iterator_t
xcb_res_client_id_spec_iterator_t
xcb_res_query_version_reply_t * xcb_res_query_version_reply(xcb_connection_t *c, xcb_res_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: res.c:556
xcb_res_resource_size_value_t
Definition: res.h:139
xcb_res_query_version_cookie_t xcb_res_query_version_unchecked(xcb_connection_t *c, uint8_t client_major, uint8_t client_minor)
Definition: res.c:516
xcb_res_query_clients_cookie_t xcb_res_query_clients_unchecked(xcb_connection_t *c)
Definition: res.c:639
xcb_generic_iterator_t xcb_res_type_end(xcb_res_type_iterator_t i)
Definition: res.c:88
void xcb_res_client_id_value_next(xcb_res_client_id_value_iterator_t *i)
Definition: res.c:229
struct xcb_res_query_version_reply_t xcb_res_query_version_reply_t
xcb_res_query_version_reply_t
void xcb_res_client_id_spec_next(xcb_res_client_id_spec_iterator_t *i)
Definition: res.c:108
xcb_res_client_id_spec_t
Definition: res.h:69
xcb_res_type_t
Definition: res.h:47
void xcb_res_type_next(xcb_res_type_iterator_t *i)
Definition: res.c:70
struct xcb_res_type_iterator_t xcb_res_type_iterator_t
xcb_res_type_iterator_t
xcb_res_query_client_pixmap_bytes_cookie_t xcb_res_query_client_pixmap_bytes_unchecked(xcb_connection_t *c, uint32_t xid)
Definition: res.c:960
struct xcb_res_query_version_cookie_t xcb_res_query_version_cookie_t
xcb_res_query_version_cookie_t
xcb_res_client_id_value_iterator_t
Definition: res.h:94
xcb_res_query_client_resources_reply_t
Definition: res.h:240
xcb_res_query_client_ids_reply_t * xcb_res_query_client_ids_reply(xcb_connection_t *c, xcb_res_query_client_ids_cookie_t cookie, xcb_generic_error_t **e)
Definition: res.c:1173
xcb_res_query_clients_cookie_t xcb_res_query_clients(xcb_connection_t *c)
Definition: res.c:605
xcb_res_query_version_cookie_t
Definition: res.h:156
xcb_res_query_clients_reply_t * xcb_res_query_clients_reply(xcb_connection_t *c, xcb_res_query_clients_cookie_t cookie, xcb_generic_error_t **e)
Definition: res.c:727
struct xcb_res_query_clients_reply_t xcb_res_query_clients_reply_t
xcb_res_query_clients_reply_t
xcb_generic_iterator_t xcb_res_resource_size_value_end(xcb_res_resource_size_value_iterator_t i)
Definition: res.c:452
xcb_res_resource_id_spec_iterator_t
Definition: res.h:111
struct xcb_res_query_clients_request_t xcb_res_query_clients_request_t
xcb_res_query_clients_request_t
struct xcb_res_resource_size_spec_t xcb_res_resource_size_spec_t
xcb_res_resource_size_spec_t
xcb_res_query_client_resources_cookie_t
Definition: res.h:220
void xcb_res_resource_id_spec_next(xcb_res_resource_id_spec_iterator_t *i)
Definition: res.c:272