1xcb_test_get_version(3) XCB Requests xcb_test_get_version(3)
2
3
4
6 xcb_test_get_version -
7
9 #include <xcb/xtest.h>
10
11 Request function
12 xcb_test_get_version_cookie_t
13 xcb_test_get_version(xcb_connection_t *conn,
14 uint8_t major_version, uint16_t minor_version);
15
16 Reply datastructure
17 typedef struct xcb_test_get_version_reply_t {
18 uint8_t response_type;
19 uint8_t major_version;
20 uint16_t sequence;
21 uint32_t length;
22 uint16_t minor_version;
23 } xcb_test_get_version_reply_t;
24
25 Reply function
26 xcb_test_get_version_reply_t
27 *xcb_test_get_version_reply(xcb_connection_t *conn,
28 xcb_test_get_version_cookie_t cookie, xcb_generic_error_t **e);
29
31 conn The XCB connection to X11.
32
33 major_version
34 TODO: NOT YET DOCUMENTED.
35
36 minor_version
37 TODO: NOT YET DOCUMENTED.
38
40 response_type
41 The type of this reply, in this case XCB_TEST_GET_VERSION.
42 This field is also present in the xcb_generic_reply_t and can
43 be used to tell replies apart from each other.
44
45 sequence The sequence number of the last request processed by the X11
46 server.
47
48 length The length of the reply, in words (a word is 4 bytes).
49
50 major_version
51 TODO: NOT YET DOCUMENTED.
52
53 minor_version
54 TODO: NOT YET DOCUMENTED.
55
58 Returns an xcb_test_get_version_cookie_t. Errors have to be handled
59 when calling the reply function xcb_test_get_version_reply.
60
61 If you want to handle errors in the event loop instead, use
62 xcb_test_get_version_unchecked. See xcb-requests(3) for details.
63
65 This request does never generate any errors.
66
69 Generated from xtest.xml. Contact xcb@lists.freedesktop.org for correcā
70 tions and improvements.
71
72
73
74X Version 11 libxcb 1.13 xcb_test_get_version(3)