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

NAME

6       xcb_xf86dri_query_version -
7

SYNOPSIS

9       #include <xcb/xf86dri.h>
10
11   Request function
12       xcb_xf86dri_query_version_cookie_t
13              xcb_xf86dri_query_version(xcb_connection_t *conn,
14
15   Reply datastructure
16       typedef struct xcb_xf86dri_query_version_reply_t {
17           uint8_t  response_type;
18           uint8_t  pad0;
19           uint16_t sequence;
20           uint32_t length;
21           uint16_t dri_major_version;
22           uint16_t dri_minor_version;
23           uint32_t dri_minor_patch;
24       } xcb_xf86dri_query_version_reply_t;
25
26   Reply function
27       xcb_xf86dri_query_version_reply_t
28              *xcb_xf86dri_query_version_reply(xcb_connection_t *conn,
29              xcb_xf86dri_query_version_cookie_t cookie,
30              xcb_generic_error_t **e);
31

REQUEST ARGUMENTS

33       conn      The XCB connection to X11.
34

REPLY FIELDS

36       response_type
37                 The type of this reply, in this case XCB_XF86DRI_QUERY_VER‐
38                 SION. This field is also present in the xcb_generic_reply_t
39                 and can be used to tell replies 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       dri_major_version
47                 TODO: NOT YET DOCUMENTED.
48
49       dri_minor_version
50                 TODO: NOT YET DOCUMENTED.
51
52       dri_minor_patch
53                 TODO: NOT YET DOCUMENTED.
54

DESCRIPTION

RETURN VALUE

57       Returns an xcb_xf86dri_query_version_cookie_t. Errors have to be han‐
58       dled when calling the reply function xcb_xf86dri_query_version_reply.
59
60       If you want to handle errors in the event loop instead, use
61       xcb_xf86dri_query_version_unchecked. See xcb-requests(3) for details.
62

ERRORS

64       This request does never generate any errors.
65

SEE ALSO

AUTHOR

68       Generated from xf86dri.xml. Contact xcb@lists.freedesktop.org for cor‐
69       rections and improvements.
70
71
72
73X Version 11                     libxcb 1.13.1    xcb_xf86dri_query_version(3)
Impressum