xref: /netbsd/external/mit/xorg/lib/libxcb/files/xf86dri.h (revision 6550d01e)
1 /*
2  * This file generated automatically from xf86dri.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_XF86Dri_API XCB XF86Dri API
8  * @brief XF86Dri XCB Protocol Implementation.
9  * @{
10  **/
11 
12 #ifndef __XF86DRI_H
13 #define __XF86DRI_H
14 
15 #include "xcb.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #define XCB_XF86DRI_MAJOR_VERSION 4
22 #define XCB_XF86DRI_MINOR_VERSION 1
23 
24 extern xcb_extension_t xcb_xf86dri_id;
25 
26 /**
27  * @brief xcb_xf86dri_drm_clip_rect_t
28  **/
29 typedef struct xcb_xf86dri_drm_clip_rect_t {
30     int16_t x1; /**<  */
31     int16_t y1; /**<  */
32     int16_t x2; /**<  */
33     int16_t x3; /**<  */
34 } xcb_xf86dri_drm_clip_rect_t;
35 
36 /**
37  * @brief xcb_xf86dri_drm_clip_rect_iterator_t
38  **/
39 typedef struct xcb_xf86dri_drm_clip_rect_iterator_t {
40     xcb_xf86dri_drm_clip_rect_t *data; /**<  */
41     int                          rem; /**<  */
42     int                          index; /**<  */
43 } xcb_xf86dri_drm_clip_rect_iterator_t;
44 
45 /**
46  * @brief xcb_xf86dri_query_version_cookie_t
47  **/
48 typedef struct xcb_xf86dri_query_version_cookie_t {
49     unsigned int sequence; /**<  */
50 } xcb_xf86dri_query_version_cookie_t;
51 
52 /** Opcode for xcb_xf86dri_query_version. */
53 #define XCB_XF86DRI_QUERY_VERSION 0
54 
55 /**
56  * @brief xcb_xf86dri_query_version_request_t
57  **/
58 typedef struct xcb_xf86dri_query_version_request_t {
59     uint8_t  major_opcode; /**<  */
60     uint8_t  minor_opcode; /**<  */
61     uint16_t length; /**<  */
62 } xcb_xf86dri_query_version_request_t;
63 
64 /**
65  * @brief xcb_xf86dri_query_version_reply_t
66  **/
67 typedef struct xcb_xf86dri_query_version_reply_t {
68     uint8_t  response_type; /**<  */
69     uint8_t  pad0; /**<  */
70     uint16_t sequence; /**<  */
71     uint32_t length; /**<  */
72     uint16_t dri_major_version; /**<  */
73     uint16_t dri_minor_version; /**<  */
74     uint32_t dri_minor_patch; /**<  */
75 } xcb_xf86dri_query_version_reply_t;
76 
77 /**
78  * @brief xcb_xf86dri_query_direct_rendering_capable_cookie_t
79  **/
80 typedef struct xcb_xf86dri_query_direct_rendering_capable_cookie_t {
81     unsigned int sequence; /**<  */
82 } xcb_xf86dri_query_direct_rendering_capable_cookie_t;
83 
84 /** Opcode for xcb_xf86dri_query_direct_rendering_capable. */
85 #define XCB_XF86DRI_QUERY_DIRECT_RENDERING_CAPABLE 1
86 
87 /**
88  * @brief xcb_xf86dri_query_direct_rendering_capable_request_t
89  **/
90 typedef struct xcb_xf86dri_query_direct_rendering_capable_request_t {
91     uint8_t  major_opcode; /**<  */
92     uint8_t  minor_opcode; /**<  */
93     uint16_t length; /**<  */
94     uint32_t screen; /**<  */
95 } xcb_xf86dri_query_direct_rendering_capable_request_t;
96 
97 /**
98  * @brief xcb_xf86dri_query_direct_rendering_capable_reply_t
99  **/
100 typedef struct xcb_xf86dri_query_direct_rendering_capable_reply_t {
101     uint8_t  response_type; /**<  */
102     uint8_t  pad0; /**<  */
103     uint16_t sequence; /**<  */
104     uint32_t length; /**<  */
105     uint8_t  is_capable; /**<  */
106 } xcb_xf86dri_query_direct_rendering_capable_reply_t;
107 
108 /**
109  * @brief xcb_xf86dri_open_connection_cookie_t
110  **/
111 typedef struct xcb_xf86dri_open_connection_cookie_t {
112     unsigned int sequence; /**<  */
113 } xcb_xf86dri_open_connection_cookie_t;
114 
115 /** Opcode for xcb_xf86dri_open_connection. */
116 #define XCB_XF86DRI_OPEN_CONNECTION 2
117 
118 /**
119  * @brief xcb_xf86dri_open_connection_request_t
120  **/
121 typedef struct xcb_xf86dri_open_connection_request_t {
122     uint8_t  major_opcode; /**<  */
123     uint8_t  minor_opcode; /**<  */
124     uint16_t length; /**<  */
125     uint32_t screen; /**<  */
126 } xcb_xf86dri_open_connection_request_t;
127 
128 /**
129  * @brief xcb_xf86dri_open_connection_reply_t
130  **/
131 typedef struct xcb_xf86dri_open_connection_reply_t {
132     uint8_t  response_type; /**<  */
133     uint8_t  pad0; /**<  */
134     uint16_t sequence; /**<  */
135     uint32_t length; /**<  */
136     uint32_t sarea_handle_low; /**<  */
137     uint32_t sarea_handle_high; /**<  */
138     uint32_t bus_id_len; /**<  */
139     uint8_t  pad1[12]; /**<  */
140 } xcb_xf86dri_open_connection_reply_t;
141 
142 /** Opcode for xcb_xf86dri_close_connection. */
143 #define XCB_XF86DRI_CLOSE_CONNECTION 3
144 
145 /**
146  * @brief xcb_xf86dri_close_connection_request_t
147  **/
148 typedef struct xcb_xf86dri_close_connection_request_t {
149     uint8_t  major_opcode; /**<  */
150     uint8_t  minor_opcode; /**<  */
151     uint16_t length; /**<  */
152     uint32_t screen; /**<  */
153 } xcb_xf86dri_close_connection_request_t;
154 
155 /**
156  * @brief xcb_xf86dri_get_client_driver_name_cookie_t
157  **/
158 typedef struct xcb_xf86dri_get_client_driver_name_cookie_t {
159     unsigned int sequence; /**<  */
160 } xcb_xf86dri_get_client_driver_name_cookie_t;
161 
162 /** Opcode for xcb_xf86dri_get_client_driver_name. */
163 #define XCB_XF86DRI_GET_CLIENT_DRIVER_NAME 4
164 
165 /**
166  * @brief xcb_xf86dri_get_client_driver_name_request_t
167  **/
168 typedef struct xcb_xf86dri_get_client_driver_name_request_t {
169     uint8_t  major_opcode; /**<  */
170     uint8_t  minor_opcode; /**<  */
171     uint16_t length; /**<  */
172     uint32_t screen; /**<  */
173 } xcb_xf86dri_get_client_driver_name_request_t;
174 
175 /**
176  * @brief xcb_xf86dri_get_client_driver_name_reply_t
177  **/
178 typedef struct xcb_xf86dri_get_client_driver_name_reply_t {
179     uint8_t  response_type; /**<  */
180     uint8_t  pad0; /**<  */
181     uint16_t sequence; /**<  */
182     uint32_t length; /**<  */
183     uint32_t client_driver_major_version; /**<  */
184     uint32_t client_driver_minor_version; /**<  */
185     uint32_t client_driver_patch_version; /**<  */
186     uint32_t client_driver_name_len; /**<  */
187     uint8_t  pad1[8]; /**<  */
188 } xcb_xf86dri_get_client_driver_name_reply_t;
189 
190 /**
191  * @brief xcb_xf86dri_create_context_cookie_t
192  **/
193 typedef struct xcb_xf86dri_create_context_cookie_t {
194     unsigned int sequence; /**<  */
195 } xcb_xf86dri_create_context_cookie_t;
196 
197 /** Opcode for xcb_xf86dri_create_context. */
198 #define XCB_XF86DRI_CREATE_CONTEXT 5
199 
200 /**
201  * @brief xcb_xf86dri_create_context_request_t
202  **/
203 typedef struct xcb_xf86dri_create_context_request_t {
204     uint8_t  major_opcode; /**<  */
205     uint8_t  minor_opcode; /**<  */
206     uint16_t length; /**<  */
207     uint32_t screen; /**<  */
208     uint32_t visual; /**<  */
209     uint32_t context; /**<  */
210 } xcb_xf86dri_create_context_request_t;
211 
212 /**
213  * @brief xcb_xf86dri_create_context_reply_t
214  **/
215 typedef struct xcb_xf86dri_create_context_reply_t {
216     uint8_t  response_type; /**<  */
217     uint8_t  pad0; /**<  */
218     uint16_t sequence; /**<  */
219     uint32_t length; /**<  */
220     uint32_t hw_context; /**<  */
221 } xcb_xf86dri_create_context_reply_t;
222 
223 /** Opcode for xcb_xf86dri_destroy_context. */
224 #define XCB_XF86DRI_DESTROY_CONTEXT 6
225 
226 /**
227  * @brief xcb_xf86dri_destroy_context_request_t
228  **/
229 typedef struct xcb_xf86dri_destroy_context_request_t {
230     uint8_t  major_opcode; /**<  */
231     uint8_t  minor_opcode; /**<  */
232     uint16_t length; /**<  */
233     uint32_t screen; /**<  */
234     uint32_t context; /**<  */
235 } xcb_xf86dri_destroy_context_request_t;
236 
237 /**
238  * @brief xcb_xf86dri_create_drawable_cookie_t
239  **/
240 typedef struct xcb_xf86dri_create_drawable_cookie_t {
241     unsigned int sequence; /**<  */
242 } xcb_xf86dri_create_drawable_cookie_t;
243 
244 /** Opcode for xcb_xf86dri_create_drawable. */
245 #define XCB_XF86DRI_CREATE_DRAWABLE 7
246 
247 /**
248  * @brief xcb_xf86dri_create_drawable_request_t
249  **/
250 typedef struct xcb_xf86dri_create_drawable_request_t {
251     uint8_t  major_opcode; /**<  */
252     uint8_t  minor_opcode; /**<  */
253     uint16_t length; /**<  */
254     uint32_t screen; /**<  */
255     uint32_t drawable; /**<  */
256 } xcb_xf86dri_create_drawable_request_t;
257 
258 /**
259  * @brief xcb_xf86dri_create_drawable_reply_t
260  **/
261 typedef struct xcb_xf86dri_create_drawable_reply_t {
262     uint8_t  response_type; /**<  */
263     uint8_t  pad0; /**<  */
264     uint16_t sequence; /**<  */
265     uint32_t length; /**<  */
266     uint32_t hw_drawable_handle; /**<  */
267 } xcb_xf86dri_create_drawable_reply_t;
268 
269 /** Opcode for xcb_xf86dri_destroy_drawable. */
270 #define XCB_XF86DRI_DESTROY_DRAWABLE 8
271 
272 /**
273  * @brief xcb_xf86dri_destroy_drawable_request_t
274  **/
275 typedef struct xcb_xf86dri_destroy_drawable_request_t {
276     uint8_t  major_opcode; /**<  */
277     uint8_t  minor_opcode; /**<  */
278     uint16_t length; /**<  */
279     uint32_t screen; /**<  */
280     uint32_t drawable; /**<  */
281 } xcb_xf86dri_destroy_drawable_request_t;
282 
283 /**
284  * @brief xcb_xf86dri_get_drawable_info_cookie_t
285  **/
286 typedef struct xcb_xf86dri_get_drawable_info_cookie_t {
287     unsigned int sequence; /**<  */
288 } xcb_xf86dri_get_drawable_info_cookie_t;
289 
290 /** Opcode for xcb_xf86dri_get_drawable_info. */
291 #define XCB_XF86DRI_GET_DRAWABLE_INFO 9
292 
293 /**
294  * @brief xcb_xf86dri_get_drawable_info_request_t
295  **/
296 typedef struct xcb_xf86dri_get_drawable_info_request_t {
297     uint8_t  major_opcode; /**<  */
298     uint8_t  minor_opcode; /**<  */
299     uint16_t length; /**<  */
300     uint32_t screen; /**<  */
301     uint32_t drawable; /**<  */
302 } xcb_xf86dri_get_drawable_info_request_t;
303 
304 /**
305  * @brief xcb_xf86dri_get_drawable_info_reply_t
306  **/
307 typedef struct xcb_xf86dri_get_drawable_info_reply_t {
308     uint8_t  response_type; /**<  */
309     uint8_t  pad0; /**<  */
310     uint16_t sequence; /**<  */
311     uint32_t length; /**<  */
312     uint32_t drawable_table_index; /**<  */
313     uint32_t drawable_table_stamp; /**<  */
314     int16_t  drawable_origin_X; /**<  */
315     int16_t  drawable_origin_Y; /**<  */
316     int16_t  drawable_size_W; /**<  */
317     int16_t  drawable_size_H; /**<  */
318     uint32_t num_clip_rects; /**<  */
319     uint8_t  pad1[4]; /**<  */
320 } xcb_xf86dri_get_drawable_info_reply_t;
321 
322 /**
323  * @brief xcb_xf86dri_get_device_info_cookie_t
324  **/
325 typedef struct xcb_xf86dri_get_device_info_cookie_t {
326     unsigned int sequence; /**<  */
327 } xcb_xf86dri_get_device_info_cookie_t;
328 
329 /** Opcode for xcb_xf86dri_get_device_info. */
330 #define XCB_XF86DRI_GET_DEVICE_INFO 10
331 
332 /**
333  * @brief xcb_xf86dri_get_device_info_request_t
334  **/
335 typedef struct xcb_xf86dri_get_device_info_request_t {
336     uint8_t  major_opcode; /**<  */
337     uint8_t  minor_opcode; /**<  */
338     uint16_t length; /**<  */
339     uint32_t screen; /**<  */
340 } xcb_xf86dri_get_device_info_request_t;
341 
342 /**
343  * @brief xcb_xf86dri_get_device_info_reply_t
344  **/
345 typedef struct xcb_xf86dri_get_device_info_reply_t {
346     uint8_t  response_type; /**<  */
347     uint8_t  pad0; /**<  */
348     uint16_t sequence; /**<  */
349     uint32_t length; /**<  */
350     uint32_t framebuffer_handle_low; /**<  */
351     uint32_t framebuffer_handle_high; /**<  */
352     uint32_t framebuffer_origin_offset; /**<  */
353     uint32_t framebuffer_size; /**<  */
354     uint32_t framebuffer_stride; /**<  */
355     uint32_t device_private_size; /**<  */
356 } xcb_xf86dri_get_device_info_reply_t;
357 
358 /**
359  * @brief xcb_xf86dri_auth_connection_cookie_t
360  **/
361 typedef struct xcb_xf86dri_auth_connection_cookie_t {
362     unsigned int sequence; /**<  */
363 } xcb_xf86dri_auth_connection_cookie_t;
364 
365 /** Opcode for xcb_xf86dri_auth_connection. */
366 #define XCB_XF86DRI_AUTH_CONNECTION 11
367 
368 /**
369  * @brief xcb_xf86dri_auth_connection_request_t
370  **/
371 typedef struct xcb_xf86dri_auth_connection_request_t {
372     uint8_t  major_opcode; /**<  */
373     uint8_t  minor_opcode; /**<  */
374     uint16_t length; /**<  */
375     uint32_t screen; /**<  */
376     uint32_t magic; /**<  */
377 } xcb_xf86dri_auth_connection_request_t;
378 
379 /**
380  * @brief xcb_xf86dri_auth_connection_reply_t
381  **/
382 typedef struct xcb_xf86dri_auth_connection_reply_t {
383     uint8_t  response_type; /**<  */
384     uint8_t  pad0; /**<  */
385     uint16_t sequence; /**<  */
386     uint32_t length; /**<  */
387     uint32_t authenticated; /**<  */
388 } xcb_xf86dri_auth_connection_reply_t;
389 
390 /**
391  * Get the next element of the iterator
392  * @param i Pointer to a xcb_xf86dri_drm_clip_rect_iterator_t
393  *
394  * Get the next element in the iterator. The member rem is
395  * decreased by one. The member data points to the next
396  * element. The member index is increased by sizeof(xcb_xf86dri_drm_clip_rect_t)
397  */
398 
399 /*****************************************************************************
400  **
401  ** void xcb_xf86dri_drm_clip_rect_next
402  **
403  ** @param xcb_xf86dri_drm_clip_rect_iterator_t *i
404  ** @returns void
405  **
406  *****************************************************************************/
407 
408 void
409 xcb_xf86dri_drm_clip_rect_next (xcb_xf86dri_drm_clip_rect_iterator_t *i  /**< */);
410 
411 /**
412  * Return the iterator pointing to the last element
413  * @param i An xcb_xf86dri_drm_clip_rect_iterator_t
414  * @return  The iterator pointing to the last element
415  *
416  * Set the current element in the iterator to the last element.
417  * The member rem is set to 0. The member data points to the
418  * last element.
419  */
420 
421 /*****************************************************************************
422  **
423  ** xcb_generic_iterator_t xcb_xf86dri_drm_clip_rect_end
424  **
425  ** @param xcb_xf86dri_drm_clip_rect_iterator_t i
426  ** @returns xcb_generic_iterator_t
427  **
428  *****************************************************************************/
429 
430 xcb_generic_iterator_t
431 xcb_xf86dri_drm_clip_rect_end (xcb_xf86dri_drm_clip_rect_iterator_t i  /**< */);
432 
433 /**
434  * Delivers a request to the X server
435  * @param c The connection
436  * @return A cookie
437  *
438  * Delivers a request to the X server.
439  *
440  */
441 
442 /*****************************************************************************
443  **
444  ** xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version
445  **
446  ** @param xcb_connection_t *c
447  ** @returns xcb_xf86dri_query_version_cookie_t
448  **
449  *****************************************************************************/
450 
451 xcb_xf86dri_query_version_cookie_t
452 xcb_xf86dri_query_version (xcb_connection_t *c  /**< */);
453 
454 /**
455  * Delivers a request to the X server
456  * @param c The connection
457  * @return A cookie
458  *
459  * Delivers a request to the X server.
460  *
461  * This form can be used only if the request will cause
462  * a reply to be generated. Any returned error will be
463  * placed in the event queue.
464  */
465 
466 /*****************************************************************************
467  **
468  ** xcb_xf86dri_query_version_cookie_t xcb_xf86dri_query_version_unchecked
469  **
470  ** @param xcb_connection_t *c
471  ** @returns xcb_xf86dri_query_version_cookie_t
472  **
473  *****************************************************************************/
474 
475 xcb_xf86dri_query_version_cookie_t
476 xcb_xf86dri_query_version_unchecked (xcb_connection_t *c  /**< */);
477 
478 /**
479  * Return the reply
480  * @param c      The connection
481  * @param cookie The cookie
482  * @param e      The xcb_generic_error_t supplied
483  *
484  * Returns the reply of the request asked by
485  *
486  * The parameter @p e supplied to this function must be NULL if
487  * xcb_xf86dri_query_version_unchecked(). is used.
488  * Otherwise, it stores the error if any.
489  *
490  * The returned value must be freed by the caller using free().
491  */
492 
493 /*****************************************************************************
494  **
495  ** xcb_xf86dri_query_version_reply_t * xcb_xf86dri_query_version_reply
496  **
497  ** @param xcb_connection_t                    *c
498  ** @param xcb_xf86dri_query_version_cookie_t   cookie
499  ** @param xcb_generic_error_t                **e
500  ** @returns xcb_xf86dri_query_version_reply_t *
501  **
502  *****************************************************************************/
503 
504 xcb_xf86dri_query_version_reply_t *
505 xcb_xf86dri_query_version_reply (xcb_connection_t                    *c  /**< */,
506                                  xcb_xf86dri_query_version_cookie_t   cookie  /**< */,
507                                  xcb_generic_error_t                **e  /**< */);
508 
509 /**
510  * Delivers a request to the X server
511  * @param c The connection
512  * @return A cookie
513  *
514  * Delivers a request to the X server.
515  *
516  */
517 
518 /*****************************************************************************
519  **
520  ** xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable
521  **
522  ** @param xcb_connection_t *c
523  ** @param uint32_t          screen
524  ** @returns xcb_xf86dri_query_direct_rendering_capable_cookie_t
525  **
526  *****************************************************************************/
527 
528 xcb_xf86dri_query_direct_rendering_capable_cookie_t
529 xcb_xf86dri_query_direct_rendering_capable (xcb_connection_t *c  /**< */,
530                                             uint32_t          screen  /**< */);
531 
532 /**
533  * Delivers a request to the X server
534  * @param c The connection
535  * @return A cookie
536  *
537  * Delivers a request to the X server.
538  *
539  * This form can be used only if the request will cause
540  * a reply to be generated. Any returned error will be
541  * placed in the event queue.
542  */
543 
544 /*****************************************************************************
545  **
546  ** xcb_xf86dri_query_direct_rendering_capable_cookie_t xcb_xf86dri_query_direct_rendering_capable_unchecked
547  **
548  ** @param xcb_connection_t *c
549  ** @param uint32_t          screen
550  ** @returns xcb_xf86dri_query_direct_rendering_capable_cookie_t
551  **
552  *****************************************************************************/
553 
554 xcb_xf86dri_query_direct_rendering_capable_cookie_t
555 xcb_xf86dri_query_direct_rendering_capable_unchecked (xcb_connection_t *c  /**< */,
556                                                       uint32_t          screen  /**< */);
557 
558 /**
559  * Return the reply
560  * @param c      The connection
561  * @param cookie The cookie
562  * @param e      The xcb_generic_error_t supplied
563  *
564  * Returns the reply of the request asked by
565  *
566  * The parameter @p e supplied to this function must be NULL if
567  * xcb_xf86dri_query_direct_rendering_capable_unchecked(). is used.
568  * Otherwise, it stores the error if any.
569  *
570  * The returned value must be freed by the caller using free().
571  */
572 
573 /*****************************************************************************
574  **
575  ** xcb_xf86dri_query_direct_rendering_capable_reply_t * xcb_xf86dri_query_direct_rendering_capable_reply
576  **
577  ** @param xcb_connection_t                                     *c
578  ** @param xcb_xf86dri_query_direct_rendering_capable_cookie_t   cookie
579  ** @param xcb_generic_error_t                                 **e
580  ** @returns xcb_xf86dri_query_direct_rendering_capable_reply_t *
581  **
582  *****************************************************************************/
583 
584 xcb_xf86dri_query_direct_rendering_capable_reply_t *
585 xcb_xf86dri_query_direct_rendering_capable_reply (xcb_connection_t                                     *c  /**< */,
586                                                   xcb_xf86dri_query_direct_rendering_capable_cookie_t   cookie  /**< */,
587                                                   xcb_generic_error_t                                 **e  /**< */);
588 
589 /**
590  * Delivers a request to the X server
591  * @param c The connection
592  * @return A cookie
593  *
594  * Delivers a request to the X server.
595  *
596  */
597 
598 /*****************************************************************************
599  **
600  ** xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection
601  **
602  ** @param xcb_connection_t *c
603  ** @param uint32_t          screen
604  ** @returns xcb_xf86dri_open_connection_cookie_t
605  **
606  *****************************************************************************/
607 
608 xcb_xf86dri_open_connection_cookie_t
609 xcb_xf86dri_open_connection (xcb_connection_t *c  /**< */,
610                              uint32_t          screen  /**< */);
611 
612 /**
613  * Delivers a request to the X server
614  * @param c The connection
615  * @return A cookie
616  *
617  * Delivers a request to the X server.
618  *
619  * This form can be used only if the request will cause
620  * a reply to be generated. Any returned error will be
621  * placed in the event queue.
622  */
623 
624 /*****************************************************************************
625  **
626  ** xcb_xf86dri_open_connection_cookie_t xcb_xf86dri_open_connection_unchecked
627  **
628  ** @param xcb_connection_t *c
629  ** @param uint32_t          screen
630  ** @returns xcb_xf86dri_open_connection_cookie_t
631  **
632  *****************************************************************************/
633 
634 xcb_xf86dri_open_connection_cookie_t
635 xcb_xf86dri_open_connection_unchecked (xcb_connection_t *c  /**< */,
636                                        uint32_t          screen  /**< */);
637 
638 
639 /*****************************************************************************
640  **
641  ** char * xcb_xf86dri_open_connection_bus_id
642  **
643  ** @param const xcb_xf86dri_open_connection_reply_t *R
644  ** @returns char *
645  **
646  *****************************************************************************/
647 
648 char *
649 xcb_xf86dri_open_connection_bus_id (const xcb_xf86dri_open_connection_reply_t *R  /**< */);
650 
651 
652 /*****************************************************************************
653  **
654  ** int xcb_xf86dri_open_connection_bus_id_length
655  **
656  ** @param const xcb_xf86dri_open_connection_reply_t *R
657  ** @returns int
658  **
659  *****************************************************************************/
660 
661 int
662 xcb_xf86dri_open_connection_bus_id_length (const xcb_xf86dri_open_connection_reply_t *R  /**< */);
663 
664 
665 /*****************************************************************************
666  **
667  ** xcb_generic_iterator_t xcb_xf86dri_open_connection_bus_id_end
668  **
669  ** @param const xcb_xf86dri_open_connection_reply_t *R
670  ** @returns xcb_generic_iterator_t
671  **
672  *****************************************************************************/
673 
674 xcb_generic_iterator_t
675 xcb_xf86dri_open_connection_bus_id_end (const xcb_xf86dri_open_connection_reply_t *R  /**< */);
676 
677 /**
678  * Return the reply
679  * @param c      The connection
680  * @param cookie The cookie
681  * @param e      The xcb_generic_error_t supplied
682  *
683  * Returns the reply of the request asked by
684  *
685  * The parameter @p e supplied to this function must be NULL if
686  * xcb_xf86dri_open_connection_unchecked(). is used.
687  * Otherwise, it stores the error if any.
688  *
689  * The returned value must be freed by the caller using free().
690  */
691 
692 /*****************************************************************************
693  **
694  ** xcb_xf86dri_open_connection_reply_t * xcb_xf86dri_open_connection_reply
695  **
696  ** @param xcb_connection_t                      *c
697  ** @param xcb_xf86dri_open_connection_cookie_t   cookie
698  ** @param xcb_generic_error_t                  **e
699  ** @returns xcb_xf86dri_open_connection_reply_t *
700  **
701  *****************************************************************************/
702 
703 xcb_xf86dri_open_connection_reply_t *
704 xcb_xf86dri_open_connection_reply (xcb_connection_t                      *c  /**< */,
705                                    xcb_xf86dri_open_connection_cookie_t   cookie  /**< */,
706                                    xcb_generic_error_t                  **e  /**< */);
707 
708 /**
709  * Delivers a request to the X server
710  * @param c The connection
711  * @return A cookie
712  *
713  * Delivers a request to the X server.
714  *
715  * This form can be used only if the request will not cause
716  * a reply to be generated. Any returned error will be
717  * saved for handling by xcb_request_check().
718  */
719 
720 /*****************************************************************************
721  **
722  ** xcb_void_cookie_t xcb_xf86dri_close_connection_checked
723  **
724  ** @param xcb_connection_t *c
725  ** @param uint32_t          screen
726  ** @returns xcb_void_cookie_t
727  **
728  *****************************************************************************/
729 
730 xcb_void_cookie_t
731 xcb_xf86dri_close_connection_checked (xcb_connection_t *c  /**< */,
732                                       uint32_t          screen  /**< */);
733 
734 /**
735  * Delivers a request to the X server
736  * @param c The connection
737  * @return A cookie
738  *
739  * Delivers a request to the X server.
740  *
741  */
742 
743 /*****************************************************************************
744  **
745  ** xcb_void_cookie_t xcb_xf86dri_close_connection
746  **
747  ** @param xcb_connection_t *c
748  ** @param uint32_t          screen
749  ** @returns xcb_void_cookie_t
750  **
751  *****************************************************************************/
752 
753 xcb_void_cookie_t
754 xcb_xf86dri_close_connection (xcb_connection_t *c  /**< */,
755                               uint32_t          screen  /**< */);
756 
757 /**
758  * Delivers a request to the X server
759  * @param c The connection
760  * @return A cookie
761  *
762  * Delivers a request to the X server.
763  *
764  */
765 
766 /*****************************************************************************
767  **
768  ** xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name
769  **
770  ** @param xcb_connection_t *c
771  ** @param uint32_t          screen
772  ** @returns xcb_xf86dri_get_client_driver_name_cookie_t
773  **
774  *****************************************************************************/
775 
776 xcb_xf86dri_get_client_driver_name_cookie_t
777 xcb_xf86dri_get_client_driver_name (xcb_connection_t *c  /**< */,
778                                     uint32_t          screen  /**< */);
779 
780 /**
781  * Delivers a request to the X server
782  * @param c The connection
783  * @return A cookie
784  *
785  * Delivers a request to the X server.
786  *
787  * This form can be used only if the request will cause
788  * a reply to be generated. Any returned error will be
789  * placed in the event queue.
790  */
791 
792 /*****************************************************************************
793  **
794  ** xcb_xf86dri_get_client_driver_name_cookie_t xcb_xf86dri_get_client_driver_name_unchecked
795  **
796  ** @param xcb_connection_t *c
797  ** @param uint32_t          screen
798  ** @returns xcb_xf86dri_get_client_driver_name_cookie_t
799  **
800  *****************************************************************************/
801 
802 xcb_xf86dri_get_client_driver_name_cookie_t
803 xcb_xf86dri_get_client_driver_name_unchecked (xcb_connection_t *c  /**< */,
804                                               uint32_t          screen  /**< */);
805 
806 
807 /*****************************************************************************
808  **
809  ** char * xcb_xf86dri_get_client_driver_name_client_driver_name
810  **
811  ** @param const xcb_xf86dri_get_client_driver_name_reply_t *R
812  ** @returns char *
813  **
814  *****************************************************************************/
815 
816 char *
817 xcb_xf86dri_get_client_driver_name_client_driver_name (const xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
818 
819 
820 /*****************************************************************************
821  **
822  ** int xcb_xf86dri_get_client_driver_name_client_driver_name_length
823  **
824  ** @param const xcb_xf86dri_get_client_driver_name_reply_t *R
825  ** @returns int
826  **
827  *****************************************************************************/
828 
829 int
830 xcb_xf86dri_get_client_driver_name_client_driver_name_length (const xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
831 
832 
833 /*****************************************************************************
834  **
835  ** xcb_generic_iterator_t xcb_xf86dri_get_client_driver_name_client_driver_name_end
836  **
837  ** @param const xcb_xf86dri_get_client_driver_name_reply_t *R
838  ** @returns xcb_generic_iterator_t
839  **
840  *****************************************************************************/
841 
842 xcb_generic_iterator_t
843 xcb_xf86dri_get_client_driver_name_client_driver_name_end (const xcb_xf86dri_get_client_driver_name_reply_t *R  /**< */);
844 
845 /**
846  * Return the reply
847  * @param c      The connection
848  * @param cookie The cookie
849  * @param e      The xcb_generic_error_t supplied
850  *
851  * Returns the reply of the request asked by
852  *
853  * The parameter @p e supplied to this function must be NULL if
854  * xcb_xf86dri_get_client_driver_name_unchecked(). is used.
855  * Otherwise, it stores the error if any.
856  *
857  * The returned value must be freed by the caller using free().
858  */
859 
860 /*****************************************************************************
861  **
862  ** xcb_xf86dri_get_client_driver_name_reply_t * xcb_xf86dri_get_client_driver_name_reply
863  **
864  ** @param xcb_connection_t                             *c
865  ** @param xcb_xf86dri_get_client_driver_name_cookie_t   cookie
866  ** @param xcb_generic_error_t                         **e
867  ** @returns xcb_xf86dri_get_client_driver_name_reply_t *
868  **
869  *****************************************************************************/
870 
871 xcb_xf86dri_get_client_driver_name_reply_t *
872 xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t                             *c  /**< */,
873                                           xcb_xf86dri_get_client_driver_name_cookie_t   cookie  /**< */,
874                                           xcb_generic_error_t                         **e  /**< */);
875 
876 /**
877  * Delivers a request to the X server
878  * @param c The connection
879  * @return A cookie
880  *
881  * Delivers a request to the X server.
882  *
883  */
884 
885 /*****************************************************************************
886  **
887  ** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context
888  **
889  ** @param xcb_connection_t *c
890  ** @param uint32_t          screen
891  ** @param uint32_t          visual
892  ** @param uint32_t          context
893  ** @returns xcb_xf86dri_create_context_cookie_t
894  **
895  *****************************************************************************/
896 
897 xcb_xf86dri_create_context_cookie_t
898 xcb_xf86dri_create_context (xcb_connection_t *c  /**< */,
899                             uint32_t          screen  /**< */,
900                             uint32_t          visual  /**< */,
901                             uint32_t          context  /**< */);
902 
903 /**
904  * Delivers a request to the X server
905  * @param c The connection
906  * @return A cookie
907  *
908  * Delivers a request to the X server.
909  *
910  * This form can be used only if the request will cause
911  * a reply to be generated. Any returned error will be
912  * placed in the event queue.
913  */
914 
915 /*****************************************************************************
916  **
917  ** xcb_xf86dri_create_context_cookie_t xcb_xf86dri_create_context_unchecked
918  **
919  ** @param xcb_connection_t *c
920  ** @param uint32_t          screen
921  ** @param uint32_t          visual
922  ** @param uint32_t          context
923  ** @returns xcb_xf86dri_create_context_cookie_t
924  **
925  *****************************************************************************/
926 
927 xcb_xf86dri_create_context_cookie_t
928 xcb_xf86dri_create_context_unchecked (xcb_connection_t *c  /**< */,
929                                       uint32_t          screen  /**< */,
930                                       uint32_t          visual  /**< */,
931                                       uint32_t          context  /**< */);
932 
933 /**
934  * Return the reply
935  * @param c      The connection
936  * @param cookie The cookie
937  * @param e      The xcb_generic_error_t supplied
938  *
939  * Returns the reply of the request asked by
940  *
941  * The parameter @p e supplied to this function must be NULL if
942  * xcb_xf86dri_create_context_unchecked(). is used.
943  * Otherwise, it stores the error if any.
944  *
945  * The returned value must be freed by the caller using free().
946  */
947 
948 /*****************************************************************************
949  **
950  ** xcb_xf86dri_create_context_reply_t * xcb_xf86dri_create_context_reply
951  **
952  ** @param xcb_connection_t                     *c
953  ** @param xcb_xf86dri_create_context_cookie_t   cookie
954  ** @param xcb_generic_error_t                 **e
955  ** @returns xcb_xf86dri_create_context_reply_t *
956  **
957  *****************************************************************************/
958 
959 xcb_xf86dri_create_context_reply_t *
960 xcb_xf86dri_create_context_reply (xcb_connection_t                     *c  /**< */,
961                                   xcb_xf86dri_create_context_cookie_t   cookie  /**< */,
962                                   xcb_generic_error_t                 **e  /**< */);
963 
964 /**
965  * Delivers a request to the X server
966  * @param c The connection
967  * @return A cookie
968  *
969  * Delivers a request to the X server.
970  *
971  * This form can be used only if the request will not cause
972  * a reply to be generated. Any returned error will be
973  * saved for handling by xcb_request_check().
974  */
975 
976 /*****************************************************************************
977  **
978  ** xcb_void_cookie_t xcb_xf86dri_destroy_context_checked
979  **
980  ** @param xcb_connection_t *c
981  ** @param uint32_t          screen
982  ** @param uint32_t          context
983  ** @returns xcb_void_cookie_t
984  **
985  *****************************************************************************/
986 
987 xcb_void_cookie_t
988 xcb_xf86dri_destroy_context_checked (xcb_connection_t *c  /**< */,
989                                      uint32_t          screen  /**< */,
990                                      uint32_t          context  /**< */);
991 
992 /**
993  * Delivers a request to the X server
994  * @param c The connection
995  * @return A cookie
996  *
997  * Delivers a request to the X server.
998  *
999  */
1000 
1001 /*****************************************************************************
1002  **
1003  ** xcb_void_cookie_t xcb_xf86dri_destroy_context
1004  **
1005  ** @param xcb_connection_t *c
1006  ** @param uint32_t          screen
1007  ** @param uint32_t          context
1008  ** @returns xcb_void_cookie_t
1009  **
1010  *****************************************************************************/
1011 
1012 xcb_void_cookie_t
1013 xcb_xf86dri_destroy_context (xcb_connection_t *c  /**< */,
1014                              uint32_t          screen  /**< */,
1015                              uint32_t          context  /**< */);
1016 
1017 /**
1018  * Delivers a request to the X server
1019  * @param c The connection
1020  * @return A cookie
1021  *
1022  * Delivers a request to the X server.
1023  *
1024  */
1025 
1026 /*****************************************************************************
1027  **
1028  ** xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable
1029  **
1030  ** @param xcb_connection_t *c
1031  ** @param uint32_t          screen
1032  ** @param uint32_t          drawable
1033  ** @returns xcb_xf86dri_create_drawable_cookie_t
1034  **
1035  *****************************************************************************/
1036 
1037 xcb_xf86dri_create_drawable_cookie_t
1038 xcb_xf86dri_create_drawable (xcb_connection_t *c  /**< */,
1039                              uint32_t          screen  /**< */,
1040                              uint32_t          drawable  /**< */);
1041 
1042 /**
1043  * Delivers a request to the X server
1044  * @param c The connection
1045  * @return A cookie
1046  *
1047  * Delivers a request to the X server.
1048  *
1049  * This form can be used only if the request will cause
1050  * a reply to be generated. Any returned error will be
1051  * placed in the event queue.
1052  */
1053 
1054 /*****************************************************************************
1055  **
1056  ** xcb_xf86dri_create_drawable_cookie_t xcb_xf86dri_create_drawable_unchecked
1057  **
1058  ** @param xcb_connection_t *c
1059  ** @param uint32_t          screen
1060  ** @param uint32_t          drawable
1061  ** @returns xcb_xf86dri_create_drawable_cookie_t
1062  **
1063  *****************************************************************************/
1064 
1065 xcb_xf86dri_create_drawable_cookie_t
1066 xcb_xf86dri_create_drawable_unchecked (xcb_connection_t *c  /**< */,
1067                                        uint32_t          screen  /**< */,
1068                                        uint32_t          drawable  /**< */);
1069 
1070 /**
1071  * Return the reply
1072  * @param c      The connection
1073  * @param cookie The cookie
1074  * @param e      The xcb_generic_error_t supplied
1075  *
1076  * Returns the reply of the request asked by
1077  *
1078  * The parameter @p e supplied to this function must be NULL if
1079  * xcb_xf86dri_create_drawable_unchecked(). is used.
1080  * Otherwise, it stores the error if any.
1081  *
1082  * The returned value must be freed by the caller using free().
1083  */
1084 
1085 /*****************************************************************************
1086  **
1087  ** xcb_xf86dri_create_drawable_reply_t * xcb_xf86dri_create_drawable_reply
1088  **
1089  ** @param xcb_connection_t                      *c
1090  ** @param xcb_xf86dri_create_drawable_cookie_t   cookie
1091  ** @param xcb_generic_error_t                  **e
1092  ** @returns xcb_xf86dri_create_drawable_reply_t *
1093  **
1094  *****************************************************************************/
1095 
1096 xcb_xf86dri_create_drawable_reply_t *
1097 xcb_xf86dri_create_drawable_reply (xcb_connection_t                      *c  /**< */,
1098                                    xcb_xf86dri_create_drawable_cookie_t   cookie  /**< */,
1099                                    xcb_generic_error_t                  **e  /**< */);
1100 
1101 /**
1102  * Delivers a request to the X server
1103  * @param c The connection
1104  * @return A cookie
1105  *
1106  * Delivers a request to the X server.
1107  *
1108  * This form can be used only if the request will not cause
1109  * a reply to be generated. Any returned error will be
1110  * saved for handling by xcb_request_check().
1111  */
1112 
1113 /*****************************************************************************
1114  **
1115  ** xcb_void_cookie_t xcb_xf86dri_destroy_drawable_checked
1116  **
1117  ** @param xcb_connection_t *c
1118  ** @param uint32_t          screen
1119  ** @param uint32_t          drawable
1120  ** @returns xcb_void_cookie_t
1121  **
1122  *****************************************************************************/
1123 
1124 xcb_void_cookie_t
1125 xcb_xf86dri_destroy_drawable_checked (xcb_connection_t *c  /**< */,
1126                                       uint32_t          screen  /**< */,
1127                                       uint32_t          drawable  /**< */);
1128 
1129 /**
1130  * Delivers a request to the X server
1131  * @param c The connection
1132  * @return A cookie
1133  *
1134  * Delivers a request to the X server.
1135  *
1136  */
1137 
1138 /*****************************************************************************
1139  **
1140  ** xcb_void_cookie_t xcb_xf86dri_destroy_drawable
1141  **
1142  ** @param xcb_connection_t *c
1143  ** @param uint32_t          screen
1144  ** @param uint32_t          drawable
1145  ** @returns xcb_void_cookie_t
1146  **
1147  *****************************************************************************/
1148 
1149 xcb_void_cookie_t
1150 xcb_xf86dri_destroy_drawable (xcb_connection_t *c  /**< */,
1151                               uint32_t          screen  /**< */,
1152                               uint32_t          drawable  /**< */);
1153 
1154 /**
1155  * Delivers a request to the X server
1156  * @param c The connection
1157  * @return A cookie
1158  *
1159  * Delivers a request to the X server.
1160  *
1161  */
1162 
1163 /*****************************************************************************
1164  **
1165  ** xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info
1166  **
1167  ** @param xcb_connection_t *c
1168  ** @param uint32_t          screen
1169  ** @param uint32_t          drawable
1170  ** @returns xcb_xf86dri_get_drawable_info_cookie_t
1171  **
1172  *****************************************************************************/
1173 
1174 xcb_xf86dri_get_drawable_info_cookie_t
1175 xcb_xf86dri_get_drawable_info (xcb_connection_t *c  /**< */,
1176                                uint32_t          screen  /**< */,
1177                                uint32_t          drawable  /**< */);
1178 
1179 /**
1180  * Delivers a request to the X server
1181  * @param c The connection
1182  * @return A cookie
1183  *
1184  * Delivers a request to the X server.
1185  *
1186  * This form can be used only if the request will cause
1187  * a reply to be generated. Any returned error will be
1188  * placed in the event queue.
1189  */
1190 
1191 /*****************************************************************************
1192  **
1193  ** xcb_xf86dri_get_drawable_info_cookie_t xcb_xf86dri_get_drawable_info_unchecked
1194  **
1195  ** @param xcb_connection_t *c
1196  ** @param uint32_t          screen
1197  ** @param uint32_t          drawable
1198  ** @returns xcb_xf86dri_get_drawable_info_cookie_t
1199  **
1200  *****************************************************************************/
1201 
1202 xcb_xf86dri_get_drawable_info_cookie_t
1203 xcb_xf86dri_get_drawable_info_unchecked (xcb_connection_t *c  /**< */,
1204                                          uint32_t          screen  /**< */,
1205                                          uint32_t          drawable  /**< */);
1206 
1207 
1208 /*****************************************************************************
1209  **
1210  ** xcb_xf86dri_drm_clip_rect_t * xcb_xf86dri_get_drawable_info_clip_rects
1211  **
1212  ** @param const xcb_xf86dri_get_drawable_info_reply_t *R
1213  ** @returns xcb_xf86dri_drm_clip_rect_t *
1214  **
1215  *****************************************************************************/
1216 
1217 xcb_xf86dri_drm_clip_rect_t *
1218 xcb_xf86dri_get_drawable_info_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
1219 
1220 
1221 /*****************************************************************************
1222  **
1223  ** int xcb_xf86dri_get_drawable_info_clip_rects_length
1224  **
1225  ** @param const xcb_xf86dri_get_drawable_info_reply_t *R
1226  ** @returns int
1227  **
1228  *****************************************************************************/
1229 
1230 int
1231 xcb_xf86dri_get_drawable_info_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
1232 
1233 
1234 /*****************************************************************************
1235  **
1236  ** xcb_xf86dri_drm_clip_rect_iterator_t xcb_xf86dri_get_drawable_info_clip_rects_iterator
1237  **
1238  ** @param const xcb_xf86dri_get_drawable_info_reply_t *R
1239  ** @returns xcb_xf86dri_drm_clip_rect_iterator_t
1240  **
1241  *****************************************************************************/
1242 
1243 xcb_xf86dri_drm_clip_rect_iterator_t
1244 xcb_xf86dri_get_drawable_info_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R  /**< */);
1245 
1246 /**
1247  * Return the reply
1248  * @param c      The connection
1249  * @param cookie The cookie
1250  * @param e      The xcb_generic_error_t supplied
1251  *
1252  * Returns the reply of the request asked by
1253  *
1254  * The parameter @p e supplied to this function must be NULL if
1255  * xcb_xf86dri_get_drawable_info_unchecked(). is used.
1256  * Otherwise, it stores the error if any.
1257  *
1258  * The returned value must be freed by the caller using free().
1259  */
1260 
1261 /*****************************************************************************
1262  **
1263  ** xcb_xf86dri_get_drawable_info_reply_t * xcb_xf86dri_get_drawable_info_reply
1264  **
1265  ** @param xcb_connection_t                        *c
1266  ** @param xcb_xf86dri_get_drawable_info_cookie_t   cookie
1267  ** @param xcb_generic_error_t                    **e
1268  ** @returns xcb_xf86dri_get_drawable_info_reply_t *
1269  **
1270  *****************************************************************************/
1271 
1272 xcb_xf86dri_get_drawable_info_reply_t *
1273 xcb_xf86dri_get_drawable_info_reply (xcb_connection_t                        *c  /**< */,
1274                                      xcb_xf86dri_get_drawable_info_cookie_t   cookie  /**< */,
1275                                      xcb_generic_error_t                    **e  /**< */);
1276 
1277 /**
1278  * Delivers a request to the X server
1279  * @param c The connection
1280  * @return A cookie
1281  *
1282  * Delivers a request to the X server.
1283  *
1284  */
1285 
1286 /*****************************************************************************
1287  **
1288  ** xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info
1289  **
1290  ** @param xcb_connection_t *c
1291  ** @param uint32_t          screen
1292  ** @returns xcb_xf86dri_get_device_info_cookie_t
1293  **
1294  *****************************************************************************/
1295 
1296 xcb_xf86dri_get_device_info_cookie_t
1297 xcb_xf86dri_get_device_info (xcb_connection_t *c  /**< */,
1298                              uint32_t          screen  /**< */);
1299 
1300 /**
1301  * Delivers a request to the X server
1302  * @param c The connection
1303  * @return A cookie
1304  *
1305  * Delivers a request to the X server.
1306  *
1307  * This form can be used only if the request will cause
1308  * a reply to be generated. Any returned error will be
1309  * placed in the event queue.
1310  */
1311 
1312 /*****************************************************************************
1313  **
1314  ** xcb_xf86dri_get_device_info_cookie_t xcb_xf86dri_get_device_info_unchecked
1315  **
1316  ** @param xcb_connection_t *c
1317  ** @param uint32_t          screen
1318  ** @returns xcb_xf86dri_get_device_info_cookie_t
1319  **
1320  *****************************************************************************/
1321 
1322 xcb_xf86dri_get_device_info_cookie_t
1323 xcb_xf86dri_get_device_info_unchecked (xcb_connection_t *c  /**< */,
1324                                        uint32_t          screen  /**< */);
1325 
1326 
1327 /*****************************************************************************
1328  **
1329  ** uint32_t * xcb_xf86dri_get_device_info_device_private
1330  **
1331  ** @param const xcb_xf86dri_get_device_info_reply_t *R
1332  ** @returns uint32_t *
1333  **
1334  *****************************************************************************/
1335 
1336 uint32_t *
1337 xcb_xf86dri_get_device_info_device_private (const xcb_xf86dri_get_device_info_reply_t *R  /**< */);
1338 
1339 
1340 /*****************************************************************************
1341  **
1342  ** int xcb_xf86dri_get_device_info_device_private_length
1343  **
1344  ** @param const xcb_xf86dri_get_device_info_reply_t *R
1345  ** @returns int
1346  **
1347  *****************************************************************************/
1348 
1349 int
1350 xcb_xf86dri_get_device_info_device_private_length (const xcb_xf86dri_get_device_info_reply_t *R  /**< */);
1351 
1352 
1353 /*****************************************************************************
1354  **
1355  ** xcb_generic_iterator_t xcb_xf86dri_get_device_info_device_private_end
1356  **
1357  ** @param const xcb_xf86dri_get_device_info_reply_t *R
1358  ** @returns xcb_generic_iterator_t
1359  **
1360  *****************************************************************************/
1361 
1362 xcb_generic_iterator_t
1363 xcb_xf86dri_get_device_info_device_private_end (const xcb_xf86dri_get_device_info_reply_t *R  /**< */);
1364 
1365 /**
1366  * Return the reply
1367  * @param c      The connection
1368  * @param cookie The cookie
1369  * @param e      The xcb_generic_error_t supplied
1370  *
1371  * Returns the reply of the request asked by
1372  *
1373  * The parameter @p e supplied to this function must be NULL if
1374  * xcb_xf86dri_get_device_info_unchecked(). is used.
1375  * Otherwise, it stores the error if any.
1376  *
1377  * The returned value must be freed by the caller using free().
1378  */
1379 
1380 /*****************************************************************************
1381  **
1382  ** xcb_xf86dri_get_device_info_reply_t * xcb_xf86dri_get_device_info_reply
1383  **
1384  ** @param xcb_connection_t                      *c
1385  ** @param xcb_xf86dri_get_device_info_cookie_t   cookie
1386  ** @param xcb_generic_error_t                  **e
1387  ** @returns xcb_xf86dri_get_device_info_reply_t *
1388  **
1389  *****************************************************************************/
1390 
1391 xcb_xf86dri_get_device_info_reply_t *
1392 xcb_xf86dri_get_device_info_reply (xcb_connection_t                      *c  /**< */,
1393                                    xcb_xf86dri_get_device_info_cookie_t   cookie  /**< */,
1394                                    xcb_generic_error_t                  **e  /**< */);
1395 
1396 /**
1397  * Delivers a request to the X server
1398  * @param c The connection
1399  * @return A cookie
1400  *
1401  * Delivers a request to the X server.
1402  *
1403  */
1404 
1405 /*****************************************************************************
1406  **
1407  ** xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection
1408  **
1409  ** @param xcb_connection_t *c
1410  ** @param uint32_t          screen
1411  ** @param uint32_t          magic
1412  ** @returns xcb_xf86dri_auth_connection_cookie_t
1413  **
1414  *****************************************************************************/
1415 
1416 xcb_xf86dri_auth_connection_cookie_t
1417 xcb_xf86dri_auth_connection (xcb_connection_t *c  /**< */,
1418                              uint32_t          screen  /**< */,
1419                              uint32_t          magic  /**< */);
1420 
1421 /**
1422  * Delivers a request to the X server
1423  * @param c The connection
1424  * @return A cookie
1425  *
1426  * Delivers a request to the X server.
1427  *
1428  * This form can be used only if the request will cause
1429  * a reply to be generated. Any returned error will be
1430  * placed in the event queue.
1431  */
1432 
1433 /*****************************************************************************
1434  **
1435  ** xcb_xf86dri_auth_connection_cookie_t xcb_xf86dri_auth_connection_unchecked
1436  **
1437  ** @param xcb_connection_t *c
1438  ** @param uint32_t          screen
1439  ** @param uint32_t          magic
1440  ** @returns xcb_xf86dri_auth_connection_cookie_t
1441  **
1442  *****************************************************************************/
1443 
1444 xcb_xf86dri_auth_connection_cookie_t
1445 xcb_xf86dri_auth_connection_unchecked (xcb_connection_t *c  /**< */,
1446                                        uint32_t          screen  /**< */,
1447                                        uint32_t          magic  /**< */);
1448 
1449 /**
1450  * Return the reply
1451  * @param c      The connection
1452  * @param cookie The cookie
1453  * @param e      The xcb_generic_error_t supplied
1454  *
1455  * Returns the reply of the request asked by
1456  *
1457  * The parameter @p e supplied to this function must be NULL if
1458  * xcb_xf86dri_auth_connection_unchecked(). is used.
1459  * Otherwise, it stores the error if any.
1460  *
1461  * The returned value must be freed by the caller using free().
1462  */
1463 
1464 /*****************************************************************************
1465  **
1466  ** xcb_xf86dri_auth_connection_reply_t * xcb_xf86dri_auth_connection_reply
1467  **
1468  ** @param xcb_connection_t                      *c
1469  ** @param xcb_xf86dri_auth_connection_cookie_t   cookie
1470  ** @param xcb_generic_error_t                  **e
1471  ** @returns xcb_xf86dri_auth_connection_reply_t *
1472  **
1473  *****************************************************************************/
1474 
1475 xcb_xf86dri_auth_connection_reply_t *
1476 xcb_xf86dri_auth_connection_reply (xcb_connection_t                      *c  /**< */,
1477                                    xcb_xf86dri_auth_connection_cookie_t   cookie  /**< */,
1478                                    xcb_generic_error_t                  **e  /**< */);
1479 
1480 
1481 #ifdef __cplusplus
1482 }
1483 #endif
1484 
1485 #endif
1486 
1487 /**
1488  * @}
1489  */
1490