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

NAME

6       xcb_dri2_authenticate -
7

SYNOPSIS

9       #include <xcb/dri2.h>
10
11   Request function
12       xcb_dri2_authenticate_cookie_t
13              xcb_dri2_authenticate(xcb_connection_t *conn,
14              xcb_window_t window, uint32_t magic);
15
16   Reply datastructure
17       typedef struct xcb_dri2_authenticate_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t authenticated;
23       } xcb_dri2_authenticate_reply_t;
24
25   Reply function
26       xcb_dri2_authenticate_reply_t
27              *xcb_dri2_authenticate_reply(xcb_connection_t *conn,
28              xcb_dri2_authenticate_cookie_t cookie, xcb_generic_error_t **e);
29

REQUEST ARGUMENTS

31       conn      The XCB connection to X11.
32
33       window    TODO: NOT YET DOCUMENTED.
34
35       magic     TODO: NOT YET DOCUMENTED.
36

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

53       Returns an xcb_dri2_authenticate_cookie_t. Errors have to be handled
54       when calling the reply function xcb_dri2_authenticate_reply.
55
56       If you want to handle errors in the event loop instead, use
57       xcb_dri2_authenticate_unchecked. See xcb-requests(3) for details.
58

ERRORS

60       This request does never generate any errors.
61

SEE ALSO

AUTHOR

64       Generated from dri2.xml. Contact xcb@lists.freedesktop.org for correcā€
65       tions and improvements.
66
67
68
69X Version 11                      libxcb 1.13         xcb_dri2_authenticate(3)
Impressum