1xcb_res_query_resource_bytes(3) XCB Requests xcb_res_query_resource_bytes(3)
2
3
4
6 xcb_res_query_resource_bytes -
7
9 #include <xcb/res.h>
10
11 Request function
12 xcb_res_query_resource_bytes_cookie_t
13 xcb_res_query_resource_bytes(xcb_connection_t *conn,
14 uint32_t client, uint32_t num_specs, const
15 xcb_res_resource_id_spec_t *specs);
16
17 Reply datastructure
18 typedef struct xcb_res_query_resource_bytes_reply_t {
19 uint8_t response_type;
20 uint8_t pad0;
21 uint16_t sequence;
22 uint32_t length;
23 uint32_t num_sizes;
24 uint8_t pad1[20];
25 } xcb_res_query_resource_bytes_reply_t;
26
27 Reply function
28 xcb_res_query_resource_bytes_reply_t
29 *xcb_res_query_resource_bytes_reply(xcb_connection_t *conn,
30 xcb_res_query_resource_bytes_cookie_t cookie,
31 xcb_generic_error_t **e);
32
33 Reply accessors
34 int xcb_res_query_resource_bytes_sizes_length(const
35 xcb_res_query_resource_bytes_reply_t *reply);
36
37 xcb_res_resource_size_value_iterator_t
38 xcb_res_query_resource_bytes_sizes_iterator(const
39 xcb_res_query_resource_bytes_reply_t *reply);
40
42 conn The XCB connection to X11.
43
44 client TODO: NOT YET DOCUMENTED.
45
46 num_specs TODO: NOT YET DOCUMENTED.
47
48 specs TODO: NOT YET DOCUMENTED.
49
51 response_type
52 The type of this reply, in this case XCB_RES_QUERY_RE‐
53 SOURCE_BYTES. This field is also present in the xcb_gener‐
54 ic_reply_t and can be used to tell replies apart from each
55 other.
56
57 sequence The sequence number of the last request processed by the X11
58 server.
59
60 length The length of the reply, in words (a word is 4 bytes).
61
62 num_sizes TODO: NOT YET DOCUMENTED.
63
66 Returns an xcb_res_query_resource_bytes_cookie_t. Errors have to be
67 handled when calling the reply function xcb_res_query_re‐
68 source_bytes_reply.
69
70 If you want to handle errors in the event loop instead, use
71 xcb_res_query_resource_bytes_unchecked. See xcb-requests(3) for de‐
72 tails.
73
75 This request does never generate any errors.
76
79 Generated from res.xml. Contact xcb@lists.freedesktop.org for correc‐
80 tions and improvements.
81
82
83
84X Version 11 libxcb 1.13.1 xcb_res_query_resource_bytes(3)