1xcb_record_enable_context(3) XCB Requests xcb_record_enable_context(3)
2
3
4
6 xcb_record_enable_context -
7
9 #include <xcb/record.h>
10
11 Request function
12 xcb_record_enable_context_cookie_t
13 xcb_record_enable_context(xcb_connection_t *conn,
14 xcb_record_context_t context);
15
16 Reply datastructure
17 typedef struct xcb_record_enable_context_reply_t {
18 uint8_t response_type;
19 uint8_t category;
20 uint16_t sequence;
21 uint32_t length;
22 xcb_record_element_header_t element_header;
23 uint8_t client_swapped;
24 uint8_t pad0[2];
25 uint32_t xid_base;
26 uint32_t server_time;
27 uint32_t rec_sequence_num;
28 uint8_t pad1[8];
29 } xcb_record_enable_context_reply_t;
30
31 Reply function
32 xcb_record_enable_context_reply_t
33 *xcb_record_enable_context_reply(xcb_connection_t *conn,
34 xcb_record_enable_context_cookie_t cookie,
35 xcb_generic_error_t **e);
36
37 Reply accessors
38 uint8_t *xcb_record_enable_context_data(const
39 xcb_record_enable_context_request_t *reply);
40
41 int xcb_record_enable_context_data_length(const
42 xcb_record_enable_context_reply_t *reply);
43
44 xcb_generic_iterator_t xcb_record_enable_context_data_end(const
45 xcb_record_enable_context_reply_t *reply);
46
48 conn The XCB connection to X11.
49
50 context TODO: NOT YET DOCUMENTED.
51
53 response_type
54 The type of this reply, in this case XCB_RECORD_ENABLE_CON‐
55 TEXT. This field is also present in the xcb_generic_reply_t
56 and can be used to tell replies apart from each other.
57
58 sequence The sequence number of the last request processed by the X11
59 server.
60
61 length The length of the reply, in words (a word is 4 bytes).
62
63 category TODO: NOT YET DOCUMENTED.
64
65 element_header
66 TODO: NOT YET DOCUMENTED.
67
68 client_swapped
69 TODO: NOT YET DOCUMENTED.
70
71 xid_base TODO: NOT YET DOCUMENTED.
72
73 server_time
74 TODO: NOT YET DOCUMENTED.
75
76 rec_sequence_num
77 TODO: NOT YET DOCUMENTED.
78
81 Returns an xcb_record_enable_context_cookie_t. Errors have to be han‐
82 dled when calling the reply function xcb_record_enable_context_reply.
83
84 If you want to handle errors in the event loop instead, use
85 xcb_record_enable_context_unchecked. See xcb-requests(3) for details.
86
88 This request does never generate any errors.
89
92 Generated from record.xml. Contact xcb@lists.freedesktop.org for cor‐
93 rections and improvements.
94
95
96
97X Version 11 libxcb 1.13.1 xcb_record_enable_context(3)