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