21 #define XCB_RECORD_MAJOR_VERSION 1 22 #define XCB_RECORD_MINOR_VERSION 13 26 typedef uint32_t xcb_record_context_t;
32 xcb_record_context_t *data;
99 uint8_t client_started;
112 typedef uint8_t xcb_record_element_header_t;
118 xcb_record_element_header_t *data;
123 typedef enum xcb_record_h_type_t {
124 XCB_RECORD_H_TYPE_FROM_SERVER_TIME = 1,
125 XCB_RECORD_H_TYPE_FROM_CLIENT_TIME = 2,
126 XCB_RECORD_H_TYPE_FROM_CLIENT_SEQUENCE = 4
127 } xcb_record_h_type_t;
129 typedef uint32_t xcb_record_client_spec_t;
135 xcb_record_client_spec_t *data;
140 typedef enum xcb_record_cs_t {
141 XCB_RECORD_CS_CURRENT_CLIENTS = 1,
142 XCB_RECORD_CS_FUTURE_CLIENTS = 2,
143 XCB_RECORD_CS_ALL_CLIENTS = 3
150 xcb_record_client_spec_t client_resource;
164 #define XCB_RECORD_BAD_CONTEXT 0 170 uint8_t response_type;
173 uint32_t invalid_record;
180 unsigned int sequence;
184 #define XCB_RECORD_QUERY_VERSION 0 190 uint8_t major_opcode;
191 uint8_t minor_opcode;
193 uint16_t major_version;
194 uint16_t minor_version;
201 uint8_t response_type;
205 uint16_t major_version;
206 uint16_t minor_version;
210 #define XCB_RECORD_CREATE_CONTEXT 1 216 uint8_t major_opcode;
217 uint8_t minor_opcode;
219 xcb_record_context_t context;
220 xcb_record_element_header_t element_header;
222 uint32_t num_client_specs;
227 #define XCB_RECORD_REGISTER_CLIENTS 2 233 uint8_t major_opcode;
234 uint8_t minor_opcode;
236 xcb_record_context_t context;
237 xcb_record_element_header_t element_header;
239 uint32_t num_client_specs;
244 #define XCB_RECORD_UNREGISTER_CLIENTS 3 250 uint8_t major_opcode;
251 uint8_t minor_opcode;
253 xcb_record_context_t context;
254 uint32_t num_client_specs;
261 unsigned int sequence;
265 #define XCB_RECORD_GET_CONTEXT 4 271 uint8_t major_opcode;
272 uint8_t minor_opcode;
274 xcb_record_context_t context;
281 uint8_t response_type;
285 xcb_record_element_header_t element_header;
287 uint32_t num_intercepted_clients;
295 unsigned int sequence;
299 #define XCB_RECORD_ENABLE_CONTEXT 5 305 uint8_t major_opcode;
306 uint8_t minor_opcode;
308 xcb_record_context_t context;
315 uint8_t response_type;
319 xcb_record_element_header_t element_header;
320 uint8_t client_swapped;
323 uint32_t server_time;
324 uint32_t rec_sequence_num;
329 #define XCB_RECORD_DISABLE_CONTEXT 6 335 uint8_t major_opcode;
336 uint8_t minor_opcode;
338 xcb_record_context_t context;
342 #define XCB_RECORD_FREE_CONTEXT 7 348 uint8_t major_opcode;
349 uint8_t minor_opcode;
351 xcb_record_context_t context;
516 xcb_record_client_info_sizeof (
const void *_buffer);
560 uint16_t major_version,
561 uint16_t minor_version);
576 uint16_t major_version,
577 uint16_t minor_version);
599 xcb_record_create_context_sizeof (
const void *_buffer);
614 xcb_record_context_t context,
615 xcb_record_element_header_t element_header,
616 uint32_t num_client_specs,
618 const xcb_record_client_spec_t *client_specs,
631 xcb_record_context_t context,
632 xcb_record_element_header_t element_header,
633 uint32_t num_client_specs,
635 const xcb_record_client_spec_t *client_specs,
638 xcb_record_client_spec_t *
657 xcb_record_register_clients_sizeof (
const void *_buffer);
672 xcb_record_context_t context,
673 xcb_record_element_header_t element_header,
674 uint32_t num_client_specs,
676 const xcb_record_client_spec_t *client_specs,
689 xcb_record_context_t context,
690 xcb_record_element_header_t element_header,
691 uint32_t num_client_specs,
693 const xcb_record_client_spec_t *client_specs,
696 xcb_record_client_spec_t *
715 xcb_record_unregister_clients_sizeof (
const void *_buffer);
730 xcb_record_context_t context,
731 uint32_t num_client_specs,
732 const xcb_record_client_spec_t *client_specs);
744 xcb_record_context_t context,
745 uint32_t num_client_specs,
746 const xcb_record_client_spec_t *client_specs);
748 xcb_record_client_spec_t *
758 xcb_record_get_context_sizeof (
const void *_buffer);
770 xcb_record_context_t context);
785 xcb_record_context_t context);
813 xcb_record_enable_context_sizeof (
const void *_buffer);
825 xcb_record_context_t context);
840 xcb_record_context_t context);
883 xcb_record_context_t context);
895 xcb_record_context_t context);
910 xcb_record_context_t context);
922 xcb_record_context_t context);
Generic error.
Definition: xcb.h:170
xcb_record_free_context_request_t
Definition: record.h:347
xcb_generic_iterator_t xcb_record_range_end(xcb_record_range_iterator_t i)
Definition: record.c:101
struct xcb_record_register_clients_request_t xcb_record_register_clients_request_t
xcb_record_register_clients_request_t
xcb_void_cookie_t xcb_record_unregister_clients_checked(xcb_connection_t *c, xcb_record_context_t context, uint32_t num_client_specs, const xcb_record_client_spec_t *client_specs)
Definition: record.c:676
xcb_void_cookie_t xcb_record_free_context_checked(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:1043
struct xcb_record_disable_context_request_t xcb_record_disable_context_request_t
xcb_record_disable_context_request_t
xcb_record_client_spec_iterator_t
Definition: record.h:134
xcb_void_cookie_t xcb_record_register_clients(xcb_connection_t *c, xcb_record_context_t context, xcb_record_element_header_t element_header, uint32_t num_client_specs, uint32_t num_ranges, const xcb_record_client_spec_t *client_specs, const xcb_record_range_t *ranges)
Definition: record.c:554
struct xcb_record_enable_context_request_t xcb_record_enable_context_request_t
xcb_record_enable_context_request_t
struct xcb_record_query_version_cookie_t xcb_record_query_version_cookie_t
xcb_record_query_version_cookie_t
xcb_generic_iterator_t xcb_record_range_16_end(xcb_record_range_16_iterator_t i)
Definition: record.c:65
xcb_void_cookie_t xcb_record_create_context_checked(xcb_connection_t *c, xcb_record_context_t context, xcb_record_element_header_t element_header, uint32_t num_client_specs, uint32_t num_ranges, const xcb_record_client_spec_t *client_specs, const xcb_record_range_t *ranges)
Definition: record.c:330
xcb_record_enable_context_reply_t * xcb_record_enable_context_reply(xcb_connection_t *c, xcb_record_enable_context_cookie_t cookie, xcb_generic_error_t **e)
Definition: record.c:983
struct xcb_record_unregister_clients_request_t xcb_record_unregister_clients_request_t
xcb_record_unregister_clients_request_t
xcb_record_enable_context_request_t
Definition: record.h:304
xcb_record_get_context_request_t
Definition: record.h:270
Generic iterator.
Definition: xcb.h:114
xcb_record_enable_context_reply_t
Definition: record.h:314
xcb_void_cookie_t xcb_record_disable_context(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:1017
struct xcb_record_get_context_reply_t xcb_record_get_context_reply_t
xcb_record_get_context_reply_t
xcb_void_cookie_t xcb_record_create_context(xcb_connection_t *c, xcb_record_context_t context, xcb_record_element_header_t element_header, uint32_t num_client_specs, uint32_t num_ranges, const xcb_record_client_spec_t *client_specs, const xcb_record_range_t *ranges)
Definition: record.c:375
struct xcb_record_ext_range_iterator_t xcb_record_ext_range_iterator_t
xcb_record_ext_range_iterator_t
struct xcb_record_range_iterator_t xcb_record_range_iterator_t
xcb_record_range_iterator_t
struct xcb_record_create_context_request_t xcb_record_create_context_request_t
xcb_record_create_context_request_t
struct xcb_record_context_iterator_t xcb_record_context_iterator_t
xcb_record_context_iterator_t
struct xcb_record_client_info_t xcb_record_client_info_t
xcb_record_client_info_t
xcb_record_create_context_request_t
Definition: record.h:215
struct xcb_record_query_version_request_t xcb_record_query_version_request_t
xcb_record_query_version_request_t
struct xcb_record_range_8_t xcb_record_range_8_t
xcb_record_range_8_t
xcb_record_range_iterator_t
Definition: record.h:106
void xcb_record_context_next(xcb_record_context_iterator_t *i)
Definition: record.c:21
xcb_generic_iterator_t xcb_record_ext_range_end(xcb_record_ext_range_iterator_t i)
Definition: record.c:83
xcb_record_enable_context_cookie_t
Definition: record.h:294
xcb_record_context_iterator_t
Definition: record.h:31
xcb_generic_iterator_t xcb_record_element_header_end(xcb_record_element_header_iterator_t i)
Definition: record.c:119
xcb_record_bad_context_error_t
Definition: record.h:169
xcb_record_enable_context_cookie_t xcb_record_enable_context_unchecked(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:935
void xcb_record_range_next(xcb_record_range_iterator_t *i)
Definition: record.c:93
struct xcb_record_client_info_iterator_t xcb_record_client_info_iterator_t
xcb_record_client_info_iterator_t
void xcb_record_element_header_next(xcb_record_element_header_iterator_t *i)
Definition: record.c:111
xcb_record_range_8_t
Definition: record.h:40
xcb_record_query_version_reply_t * xcb_record_query_version_reply(xcb_connection_t *c, xcb_record_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: record.c:279
void xcb_record_range_8_next(xcb_record_range_8_iterator_t *i)
Definition: record.c:39
xcb_generic_iterator_t xcb_record_range_8_end(xcb_record_range_8_iterator_t i)
Definition: record.c:47
struct xcb_record_element_header_iterator_t xcb_record_element_header_iterator_t
xcb_record_element_header_iterator_t
xcb_record_get_context_cookie_t xcb_record_get_context_unchecked(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:828
xcb_record_client_info_t
Definition: record.h:149
xcb_record_query_version_cookie_t xcb_record_query_version_unchecked(xcb_connection_t *c, uint16_t major_version, uint16_t minor_version)
Definition: record.c:251
xcb_generic_iterator_t xcb_record_client_info_end(xcb_record_client_info_iterator_t i)
Definition: record.c:211
xcb_record_get_context_reply_t
Definition: record.h:280
xcb_record_ext_range_t
Definition: record.h:74
void xcb_record_ext_range_next(xcb_record_ext_range_iterator_t *i)
Definition: record.c:75
xcb_record_range_16_iterator_t
Definition: record.h:65
struct xcb_record_get_context_cookie_t xcb_record_get_context_cookie_t
xcb_record_get_context_cookie_t
void xcb_record_range_16_next(xcb_record_range_16_iterator_t *i)
Definition: record.c:57
xcb_record_query_version_reply_t
Definition: record.h:200
struct xcb_record_range_16_t xcb_record_range_16_t
xcb_record_range_16_t
struct xcb_record_query_version_reply_t xcb_record_query_version_reply_t
xcb_record_query_version_reply_t
struct xcb_record_range_16_iterator_t xcb_record_range_16_iterator_t
xcb_record_range_16_iterator_t
xcb_record_range_16_t
Definition: record.h:57
xcb_record_unregister_clients_request_t
Definition: record.h:249
xcb_generic_iterator_t xcb_record_context_end(xcb_record_context_iterator_t i)
Definition: record.c:29
void xcb_record_client_info_next(xcb_record_client_info_iterator_t *i)
Definition: record.c:200
xcb_record_get_context_reply_t * xcb_record_get_context_reply(xcb_connection_t *c, xcb_record_get_context_cookie_t cookie, xcb_generic_error_t **e)
Definition: record.c:870
xcb_record_ext_range_iterator_t
Definition: record.h:82
struct xcb_record_enable_context_reply_t xcb_record_enable_context_reply_t
xcb_record_enable_context_reply_t
xcb_record_enable_context_cookie_t xcb_record_enable_context(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:909
struct xcb_record_range_8_iterator_t xcb_record_range_8_iterator_t
xcb_record_range_8_iterator_t
xcb_record_query_version_cookie_t
Definition: record.h:179
xcb_generic_iterator_t xcb_record_client_spec_end(xcb_record_client_spec_iterator_t i)
Definition: record.c:137
xcb_record_range_8_iterator_t
Definition: record.h:48
xcb_record_disable_context_request_t
Definition: record.h:334
xcb_record_client_info_iterator_t
Definition: record.h:157
xcb_record_get_context_cookie_t
Definition: record.h:260
xcb_void_cookie_t xcb_record_register_clients_checked(xcb_connection_t *c, xcb_record_context_t context, xcb_record_element_header_t element_header, uint32_t num_client_specs, uint32_t num_ranges, const xcb_record_client_spec_t *client_specs, const xcb_record_range_t *ranges)
Definition: record.c:509
xcb_record_query_version_request_t
Definition: record.h:189
xcb_record_register_clients_request_t
Definition: record.h:232
struct xcb_record_client_spec_iterator_t xcb_record_client_spec_iterator_t
xcb_record_client_spec_iterator_t
struct xcb_record_bad_context_error_t xcb_record_bad_context_error_t
xcb_record_bad_context_error_t
xcb_void_cookie_t xcb_record_free_context(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:1069
struct xcb_record_range_t xcb_record_range_t
xcb_record_range_t
struct xcb_record_enable_context_cookie_t xcb_record_enable_context_cookie_t
xcb_record_enable_context_cookie_t
void xcb_record_client_spec_next(xcb_record_client_spec_iterator_t *i)
Definition: record.c:129
Generic cookie.
Definition: xcb.h:187
xcb_record_range_t
Definition: record.h:91
struct xcb_record_ext_range_t xcb_record_ext_range_t
xcb_record_ext_range_t
struct xcb_record_get_context_request_t xcb_record_get_context_request_t
xcb_record_get_context_request_t
xcb_record_get_context_cookie_t xcb_record_get_context(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:802
struct xcb_record_free_context_request_t xcb_record_free_context_request_t
xcb_record_free_context_request_t
xcb_void_cookie_t xcb_record_unregister_clients(xcb_connection_t *c, xcb_record_context_t context, uint32_t num_client_specs, const xcb_record_client_spec_t *client_specs)
Definition: record.c:710
xcb_record_query_version_cookie_t xcb_record_query_version(xcb_connection_t *c, uint16_t major_version, uint16_t minor_version)
Definition: record.c:223
xcb_void_cookie_t xcb_record_disable_context_checked(xcb_connection_t *c, xcb_record_context_t context)
Definition: record.c:991