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

NAME

6       xcb_xf86dri_open_connection -
7

SYNOPSIS

9       #include <xcb/xf86dri.h>
10
11   Request function
12       xcb_xf86dri_open_connection_cookie_t
13              xcb_xf86dri_open_connection(xcb_connection_t *conn,
14              uint32_t screen);
15
16   Reply datastructure
17       typedef struct xcb_xf86dri_open_connection_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t sarea_handle_low;
23           uint32_t sarea_handle_high;
24           uint32_t bus_id_len;
25           uint8_t  pad1[12];
26       } xcb_xf86dri_open_connection_reply_t;
27
28   Reply function
29       xcb_xf86dri_open_connection_reply_t
30              *xcb_xf86dri_open_connection_reply(xcb_connection_t *conn,
31              xcb_xf86dri_open_connection_cookie_t cookie,
32              xcb_generic_error_t **e);
33
34   Reply accessors
35       char *xcb_xf86dri_open_connection_bus_id(const
36              xcb_xf86dri_open_connection_request_t *reply);
37
38       int xcb_xf86dri_open_connection_bus_id_length(const
39              xcb_xf86dri_open_connection_reply_t *reply);
40
41       xcb_generic_iterator_t xcb_xf86dri_open_connection_bus_id_end(const
42              xcb_xf86dri_open_connection_reply_t *reply);
43

REQUEST ARGUMENTS

45       conn      The XCB connection to X11.
46
47       screen    TODO: NOT YET DOCUMENTED.
48

REPLY FIELDS

50       response_type
51                 The type of this reply, in this case XCB_XF86DRI_OPEN_CONNEC‐
52                 TION. This field is also present in the xcb_generic_reply_t
53                 and can be used to tell replies apart from each other.
54
55       sequence  The sequence number of the last request processed by the X11
56                 server.
57
58       length    The length of the reply, in words (a word is 4 bytes).
59
60       sarea_handle_low
61                 TODO: NOT YET DOCUMENTED.
62
63       sarea_handle_high
64                 TODO: NOT YET DOCUMENTED.
65
66       bus_id_len
67                 TODO: NOT YET DOCUMENTED.
68

DESCRIPTION

RETURN VALUE

71       Returns an xcb_xf86dri_open_connection_cookie_t. Errors have to be han‐
72       dled when calling the reply function xcb_xf86dri_open_connection_reply.
73
74       If you want to handle errors in the event loop instead, use
75       xcb_xf86dri_open_connection_unchecked. See xcb-requests(3) for details.
76

ERRORS

78       This request does never generate any errors.
79

SEE ALSO

AUTHOR

82       Generated from xf86dri.xml. Contact xcb@lists.freedesktop.org for cor‐
83       rections and improvements.
84
85
86
87X Version 11                      libxcb 1.13   xcb_xf86dri_open_connection(3)
Impressum