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;
416 xcb_res_client_id_value_sizeof (
const void *_buffer);
497 xcb_res_resource_size_value_sizeof (
const void *_buffer);
541 uint8_t client_major,
542 uint8_t client_minor);
557 uint8_t client_major,
558 uint8_t client_minor);
580 xcb_res_query_clients_sizeof (
const void *_buffer);
636 xcb_res_query_client_resources_sizeof (
const void *_buffer);
740 xcb_res_query_client_ids_sizeof (
const void *_buffer);
797 xcb_res_query_resource_bytes_sizeof (
const void *_buffer);
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:170
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:140
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:760
xcb_generic_iterator_t xcb_res_resource_size_spec_end(xcb_res_resource_size_spec_iterator_t i)
Definition: res.c:178
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:844
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:30
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:602
Generic iterator.
Definition: xcb.h:114
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:673
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:160
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:542
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:22
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:264
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:550
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:641
xcb_res_query_client_resources_cookie_t xcb_res_query_client_resources_unchecked(xcb_connection_t *c, uint32_t xid)
Definition: res.c:494
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:66
xcb_res_query_client_resources_cookie_t xcb_res_query_client_resources(xcb_connection_t *c, uint32_t xid)
Definition: res.c:468
void xcb_res_resource_size_value_next(xcb_res_resource_size_value_iterator_t *i)
Definition: res.c:241
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:794
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:170
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:320
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:292
xcb_res_query_clients_cookie_t xcb_res_query_clients_unchecked(xcb_connection_t *c)
Definition: res.c:383
xcb_generic_iterator_t xcb_res_type_end(xcb_res_type_iterator_t i)
Definition: res.c:48
void xcb_res_client_id_value_next(xcb_res_client_id_value_iterator_t *i)
Definition: res.c:129
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:58
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:40
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:576
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:721
xcb_res_query_clients_cookie_t xcb_res_query_clients(xcb_connection_t *c)
Definition: res.c:359
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:429
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:252
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:152