1xcb_res_query_version(3)         XCB Requests         xcb_res_query_version(3)
2
3
4

NAME

6       xcb_res_query_version -
7

SYNOPSIS

9       #include <xcb/res.h>
10
11   Request function
12       xcb_res_query_version_cookie_t
13              xcb_res_query_version(xcb_connection_t *conn,
14              uint8_t client_major, uint8_t client_minor);
15
16   Reply datastructure
17       typedef struct xcb_res_query_version_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint16_t server_major;
23           uint16_t server_minor;
24       } xcb_res_query_version_reply_t;
25
26   Reply function
27       xcb_res_query_version_reply_t
28              *xcb_res_query_version_reply(xcb_connection_t *conn,
29              xcb_res_query_version_cookie_t cookie, xcb_generic_error_t **e);
30

REQUEST ARGUMENTS

32       conn      The XCB connection to X11.
33
34       client_major
35                 TODO: NOT YET DOCUMENTED.
36
37       client_minor
38                 TODO: NOT YET DOCUMENTED.
39

REPLY FIELDS

41       response_type
42                 The type of this reply, in this case XCB_RES_QUERY_VERSION.
43                 This field is also present in the xcb_generic_reply_t and can
44                 be used to tell replies apart from each other.
45
46       sequence  The sequence number of the last request processed by the X11
47                 server.
48
49       length    The length of the reply, in words (a word is 4 bytes).
50
51       server_major
52                 TODO: NOT YET DOCUMENTED.
53
54       server_minor
55                 TODO: NOT YET DOCUMENTED.
56

DESCRIPTION

RETURN VALUE

59       Returns an xcb_res_query_version_cookie_t. Errors have to be handled
60       when calling the reply function xcb_res_query_version_reply.
61
62       If you want to handle errors in the event loop instead, use
63       xcb_res_query_version_unchecked. See xcb-requests(3) for details.
64

ERRORS

66       This request does never generate any errors.
67

SEE ALSO

AUTHOR

70       Generated from res.xml. Contact xcb@lists.freedesktop.org for correcā€
71       tions and improvements.
72
73
74
75X Version 11                      libxcb 1.13         xcb_res_query_version(3)
Impressum