1xcb_genericevent_query_version(3)XCB Requestsxcb_genericevent_query_version(3)
2
3
4

NAME

6       xcb_genericevent_query_version -
7

SYNOPSIS

9       #include <xcb/ge.h>
10
11   Request function
12       xcb_genericevent_query_version_cookie_t
13              xcb_genericevent_query_version(xcb_connection_t *conn,
14              uint16_t client_major_version, uint16_t client_minor_version);
15
16   Reply datastructure
17       typedef struct xcb_genericevent_query_version_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint16_t major_version;
23           uint16_t minor_version;
24           uint8_t  pad1[20];
25       } xcb_genericevent_query_version_reply_t;
26
27   Reply function
28       xcb_genericevent_query_version_reply_t
29              *xcb_genericevent_query_version_reply(xcb_connection_t *conn,
30              xcb_genericevent_query_version_cookie_t cookie,
31              xcb_generic_error_t **e);
32

REQUEST ARGUMENTS

34       conn      The XCB connection to X11.
35
36       client_major_version
37                 TODO: NOT YET DOCUMENTED.
38
39       client_minor_version
40                 TODO: NOT YET DOCUMENTED.
41

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

62       Returns an xcb_genericevent_query_version_cookie_t. Errors have to be
63       handled when calling the reply function xcb_genericevent_query_ver‐
64       sion_reply.
65
66       If you want to handle errors in the event loop instead, use xcb_gener‐
67       icevent_query_version_unchecked. See xcb-requests(3) for details.
68

ERRORS

70       This request does never generate any errors.
71

SEE ALSO

AUTHOR

74       Generated from ge.xml. Contact xcb@lists.freedesktop.org for correc‐
75       tions and improvements.
76
77
78
79X Version 11                      libxcb 1.13xcb_genericevent_query_version(3)
Impressum