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