1xcb_x_print_print_query_version(3)XCB Requestsxcb_x_print_print_query_version(3)
2
3
4
6 xcb_x_print_print_query_version -
7
9 #include <xcb/xprint.h>
10
11 Request function
12 xcb_x_print_print_query_version_cookie_t
13 xcb_x_print_print_query_version(xcb_connection_t *conn,
14
15 Reply datastructure
16 typedef struct xcb_x_print_print_query_version_reply_t {
17 uint8_t response_type;
18 uint8_t pad0;
19 uint16_t sequence;
20 uint32_t length;
21 uint16_t major_version;
22 uint16_t minor_version;
23 } xcb_x_print_print_query_version_reply_t;
24
25 Reply function
26 xcb_x_print_print_query_version_reply_t
27 *xcb_x_print_print_query_version_reply(xcb_connection_t *conn,
28 xcb_x_print_print_query_version_cookie_t cookie,
29 xcb_generic_error_t **e);
30
32 conn The XCB connection to X11.
33
35 response_type
36 The type of this reply, in this case
37 XCB_X_PRINT_PRINT_QUERY_VERSION. This field is also present
38 in the xcb_generic_reply_t and can be used to tell replies
39 apart from each other.
40
41 sequence The sequence number of the last request processed by the X11
42 server.
43
44 length The length of the reply, in words (a word is 4 bytes).
45
46 major_version
47 TODO: NOT YET DOCUMENTED.
48
49 minor_version
50 TODO: NOT YET DOCUMENTED.
51
54 Returns an xcb_x_print_print_query_version_cookie_t. Errors have to be
55 handled when calling the reply function xcb_x_print_print_query_ver‐
56 sion_reply.
57
58 If you want to handle errors in the event loop instead, use
59 xcb_x_print_print_query_version_unchecked. See xcb-requests(3) for de‐
60 tails.
61
63 This request does never generate any errors.
64
67 Generated from xprint.xml. Contact xcb@lists.freedesktop.org for cor‐
68 rections and improvements.
69
70
71
72X Version 11 libxcb 1.13xcb_x_print_print_query_version(3)