1xcb_glx_query_server_string(3) XCB Requests xcb_glx_query_server_string(3)
2
3
4
6 xcb_glx_query_server_string -
7
9 #include <xcb/glx.h>
10
11 Request function
12 xcb_glx_query_server_string_cookie_t
13 xcb_glx_query_server_string(xcb_connection_t *conn,
14 uint32_t screen, uint32_t name);
15
16 Reply datastructure
17 typedef struct xcb_glx_query_server_string_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint8_t pad1[4];
23 uint32_t str_len;
24 uint8_t pad2[16];
25 } xcb_glx_query_server_string_reply_t;
26
27 Reply function
28 xcb_glx_query_server_string_reply_t
29 *xcb_glx_query_server_string_reply(xcb_connection_t *conn,
30 xcb_glx_query_server_string_cookie_t cookie,
31 xcb_generic_error_t **e);
32
33 Reply accessors
34 char *xcb_glx_query_server_string_string(const
35 xcb_glx_query_server_string_request_t *reply);
36
37 int xcb_glx_query_server_string_string_length(const
38 xcb_glx_query_server_string_reply_t *reply);
39
40 xcb_generic_iterator_t xcb_glx_query_server_string_string_end(const
41 xcb_glx_query_server_string_reply_t *reply);
42
44 conn The XCB connection to X11.
45
46 screen TODO: NOT YET DOCUMENTED.
47
48 name TODO: NOT YET DOCUMENTED.
49
51 response_type
52 The type of this reply, in this case XCB_GLX_QUERY_SERV‐
53 ER_STRING. This field is also present in the xcb_generic_re‐
54 ply_t and can be used to tell replies apart from each other.
55
56 sequence The sequence number of the last request processed by the X11
57 server.
58
59 length The length of the reply, in words (a word is 4 bytes).
60
61 str_len TODO: NOT YET DOCUMENTED.
62
65 Returns an xcb_glx_query_server_string_cookie_t. Errors have to be han‐
66 dled when calling the reply function xcb_glx_query_server_string_reply.
67
68 If you want to handle errors in the event loop instead, use
69 xcb_glx_query_server_string_unchecked. See xcb-requests(3) for details.
70
72 This request does never generate any errors.
73
76 Generated from glx.xml. Contact xcb@lists.freedesktop.org for correc‐
77 tions and improvements.
78
79
80
81X Version 11 libxcb 1.12 xcb_glx_query_server_string(3)