1xcb_res_query_client_resources(3)XCB Requestsxcb_res_query_client_resources(3)
2
3
4
6 xcb_res_query_client_resources -
7
9 #include <xcb/res.h>
10
11 Request function
12 xcb_res_query_client_resources_cookie_t
13 xcb_res_query_client_resources(xcb_connection_t *conn,
14 uint32_t xid);
15
16 Reply datastructure
17 typedef struct xcb_res_query_client_resources_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t num_types;
23 uint8_t pad1[20];
24 } xcb_res_query_client_resources_reply_t;
25
26 Reply function
27 xcb_res_query_client_resources_reply_t
28 *xcb_res_query_client_resources_reply(xcb_connection_t *conn,
29 xcb_res_query_client_resources_cookie_t cookie,
30 xcb_generic_error_t **e);
31
32 Reply accessors
33 xcb_res_type_t *xcb_res_query_client_resources_types(const
34 xcb_res_query_client_resources_request_t *reply);
35
36 int xcb_res_query_client_resources_types_length(const
37 xcb_res_query_client_resources_reply_t *reply);
38
39 xcb_res_type_iterator_t
40 xcb_res_query_client_resources_types_iterator(const
41 xcb_res_query_client_resources_reply_t *reply);
42
44 conn The XCB connection to X11.
45
46 xid TODO: NOT YET DOCUMENTED.
47
49 response_type
50 The type of this reply, in this case XCB_RES_QUERY_CLIENT_RE‐
51 SOURCES. This field is also present in the xcb_generic_re‐
52 ply_t and can be used to tell replies apart from each other.
53
54 sequence The sequence number of the last request processed by the X11
55 server.
56
57 length The length of the reply, in words (a word is 4 bytes).
58
59 num_types TODO: NOT YET DOCUMENTED.
60
63 Returns an xcb_res_query_client_resources_cookie_t. Errors have to be
64 handled when calling the reply function xcb_res_query_client_re‐
65 sources_reply.
66
67 If you want to handle errors in the event loop instead, use
68 xcb_res_query_client_resources_unchecked. See xcb-requests(3) for de‐
69 tails.
70
72 This request does never generate any errors.
73
76 Generated from res.xml. Contact xcb@lists.freedesktop.org for correc‐
77 tions and improvements.
78
79
80
81X Version 11 libxcb 1.13xcb_res_query_client_resources(3)