annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/xcb/xf86dri.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 /*
jpayne@69 2 * This file generated automatically from xf86dri.xml by c_client.py.
jpayne@69 3 * Edit at your peril.
jpayne@69 4 */
jpayne@69 5
jpayne@69 6 /**
jpayne@69 7 * @defgroup XCB_XF86Dri_API XCB XF86Dri API
jpayne@69 8 * @brief XF86Dri XCB Protocol Implementation.
jpayne@69 9 * @{
jpayne@69 10 **/
jpayne@69 11
jpayne@69 12 #ifndef __XF86DRI_H
jpayne@69 13 #define __XF86DRI_H
jpayne@69 14
jpayne@69 15 #include "xcb.h"
jpayne@69 16
jpayne@69 17 #ifdef __cplusplus
jpayne@69 18 extern "C" {
jpayne@69 19 #endif
jpayne@69 20
jpayne@69 21 #define XCB_XF86DRI_MAJOR_VERSION 4
jpayne@69 22 #define XCB_XF86DRI_MINOR_VERSION 1
jpayne@69 23
jpayne@69 24 extern xcb_extension_t xcb_xf86dri_id;
jpayne@69 25
jpayne@69 26 /**
jpayne@69 27 * @brief xcb_xf86dri_drm_clip_rect_t
jpayne@69 28 **/
jpayne@69 29 typedef struct xcb_xf86dri_drm_clip_rect_t {
jpayne@69 30 int16_t x1;
jpayne@69 31 int16_t y1;
jpayne@69 32 int16_t x2;
jpayne@69 33 int16_t x3;
jpayne@69 34 } xcb_xf86dri_drm_clip_rect_t;
jpayne@69 35
jpayne@69 36 /**
jpayne@69 37 * @brief xcb_xf86dri_drm_clip_rect_iterator_t
jpayne@69 38 **/
jpayne@69 39 typedef struct xcb_xf86dri_drm_clip_rect_iterator_t {
jpayne@69 40 xcb_xf86dri_drm_clip_rect_t *data;
jpayne@69 41 int rem;
jpayne@69 42 int index;
jpayne@69 43 } xcb_xf86dri_drm_clip_rect_iterator_t;
jpayne@69 44
jpayne@69 45 /**
jpayne@69 46 * @brief xcb_xf86dri_query_version_cookie_t
jpayne@69 47 **/
jpayne@69 48 typedef struct xcb_xf86dri_query_version_cookie_t {
jpayne@69 49 unsigned int sequence;
jpayne@69 50 } xcb_xf86dri_query_version_cookie_t;
jpayne@69 51
jpayne@69 52 /** Opcode for xcb_xf86dri_query_version. */
jpayne@69 53 #define XCB_XF86DRI_QUERY_VERSION 0
jpayne@69 54
jpayne@69 55 /**
jpayne@69 56 * @brief xcb_xf86dri_query_version_request_t
jpayne@69 57 **/
jpayne@69 58 typedef struct xcb_xf86dri_query_version_request_t {
jpayne@69 59 uint8_t major_opcode;
jpayne@69 60 uint8_t minor_opcode;
jpayne@69 61 uint16_t length;
jpayne@69 62 } xcb_xf86dri_query_version_request_t;
jpayne@69 63
jpayne@69 64 /**
jpayne@69 65 * @brief xcb_xf86dri_query_version_reply_t
jpayne@69 66 **/
jpayne@69 67 typedef struct xcb_xf86dri_query_version_reply_t {
jpayne@69 68 uint8_t response_type;
jpayne@69 69 uint8_t pad0;
jpayne@69 70 uint16_t sequence;
jpayne@69 71 uint32_t length;
jpayne@69 72 uint16_t dri_major_version;
jpayne@69 73 uint16_t dri_minor_version;
jpayne@69 74 uint32_t dri_minor_patch;
jpayne@69 75 } xcb_xf86dri_query_version_reply_t;
jpayne@69 76
jpayne@69 77 /**
jpayne@69 78 * @brief xcb_xf86dri_query_direct_rendering_capable_cookie_t
jpayne@69 79 **/
jpayne@69 80 typedef struct xcb_xf86dri_query_direct_rendering_capable_cookie_t {
jpayne@69 81 unsigned int sequence;
jpayne@69 82 } xcb_xf86dri_query_direct_rendering_capable_cookie_t;
jpayne@69 83
jpayne@69 84 /** Opcode for xcb_xf86dri_query_direct_rendering_capable. */
jpayne@69 85 #define XCB_XF86DRI_QUERY_DIRECT_RENDERING_CAPABLE 1
jpayne@69 86
jpayne@69 87 /**
jpayne@69 88 * @brief xcb_xf86dri_query_direct_rendering_capable_request_t
jpayne@69 89 **/
jpayne@69 90 typedef struct xcb_xf86dri_query_direct_rendering_capable_request_t {
jpayne@69 91 uint8_t major_opcode;
jpayne@69 92 uint8_t minor_opcode;
jpayne@69 93 uint16_t length;
jpayne@69 94 uint32_t screen;
jpayne@69 95 } xcb_xf86dri_query_direct_rendering_capable_request_t;
jpayne@69 96
jpayne@69 97 /**
jpayne@69 98 * @brief xcb_xf86dri_query_direct_rendering_capable_reply_t
jpayne@69 99 **/
jpayne@69 100 typedef struct xcb_xf86dri_query_direct_rendering_capable_reply_t {
jpayne@69 101 uint8_t response_type;
jpayne@69 102 uint8_t pad0;
jpayne@69 103 uint16_t sequence;
jpayne@69 104 uint32_t length;
jpayne@69 105 uint8_t is_capable;
jpayne@69 106 } xcb_xf86dri_query_direct_rendering_capable_reply_t;
jpayne@69 107
jpayne@69 108 /**
jpayne@69 109 * @brief xcb_xf86dri_open_connection_cookie_t
jpayne@69 110 **/
jpayne@69 111 typedef struct xcb_xf86dri_open_connection_cookie_t {
jpayne@69 112 unsigned int sequence;
jpayne@69 113 } xcb_xf86dri_open_connection_cookie_t;
jpayne@69 114
jpayne@69 115 /** Opcode for xcb_xf86dri_open_connection. */
jpayne@69 116 #define XCB_XF86DRI_OPEN_CONNECTION 2
jpayne@69 117
jpayne@69 118 /**
jpayne@69 119 * @brief xcb_xf86dri_open_connection_request_t
jpayne@69 120 **/
jpayne@69 121 typedef struct xcb_xf86dri_open_connection_request_t {
jpayne@69 122 uint8_t major_opcode;
jpayne@69 123 uint8_t minor_opcode;
jpayne@69 124 uint16_t length;
jpayne@69 125 uint32_t screen;
jpayne@69 126 } xcb_xf86dri_open_connection_request_t;
jpayne@69 127
jpayne@69 128 /**
jpayne@69 129 * @brief xcb_xf86dri_open_connection_reply_t
jpayne@69 130 **/
jpayne@69 131 typedef struct xcb_xf86dri_open_connection_reply_t {
jpayne@69 132 uint8_t response_type;
jpayne@69 133 uint8_t pad0;
jpayne@69 134 uint16_t sequence;
jpayne@69 135 uint32_t length;
jpayne@69 136 uint32_t sarea_handle_low;
jpayne@69 137 uint32_t sarea_handle_high;
jpayne@69 138 uint32_t bus_id_len;
jpayne@69 139 uint8_t pad1[12];
jpayne@69 140 } xcb_xf86dri_open_connection_reply_t;
jpayne@69 141
jpayne@69 142 /** Opcode for xcb_xf86dri_close_connection. */
jpayne@69 143 #define XCB_XF86DRI_CLOSE_CONNECTION 3
jpayne@69 144
jpayne@69 145 /**
jpayne@69 146 * @brief xcb_xf86dri_close_connection_request_t
jpayne@69 147 **/
jpayne@69 148 typedef struct xcb_xf86dri_close_connection_request_t {
jpayne@69 149 uint8_t major_opcode;
jpayne@69 150 uint8_t minor_opcode;
jpayne@69 151 uint16_t length;
jpayne@69 152 uint32_t screen;
jpayne@69 153 } xcb_xf86dri_close_connection_request_t;
jpayne@69 154
jpayne@69 155 /**
jpayne@69 156 * @brief xcb_xf86dri_get_client_driver_name_cookie_t
jpayne@69 157 **/
jpayne@69 158 typedef struct xcb_xf86dri_get_client_driver_name_cookie_t {
jpayne@69 159 unsigned int sequence;
jpayne@69 160 } xcb_xf86dri_get_client_driver_name_cookie_t;
jpayne@69 161
jpayne@69 162 /** Opcode for xcb_xf86dri_get_client_driver_name. */
jpayne@69 163 #define XCB_XF86DRI_GET_CLIENT_DRIVER_NAME 4
jpayne@69 164
jpayne@69 165 /**
jpayne@69 166 * @brief xcb_xf86dri_get_client_driver_name_request_t
jpayne@69 167 **/
jpayne@69 168 typedef struct xcb_xf86dri_get_client_driver_name_request_t {
jpayne@69 169 uint8_t major_opcode;
jpayne@69 170 uint8_t minor_opcode;
jpayne@69 171 uint16_t length;
jpayne@69 172 uint32_t screen;
jpayne@69 173 } xcb_xf86dri_get_client_driver_name_request_t;
jpayne@69 174
jpayne@69 175 /**
jpayne@69 176 * @brief xcb_xf86dri_get_client_driver_name_reply_t
jpayne@69 177 **/
jpayne@69 178 typedef struct xcb_xf86dri_get_client_driver_name_reply_t {
jpayne@69 179 uint8_t response_type;
jpayne@69 180 uint8_t pad0;
jpayne@69 181 uint16_t sequence;
jpayne@69 182 uint32_t length;
jpayne@69 183 uint32_t client_driver_major_version;
jpayne@69 184 uint32_t client_driver_minor_version;
jpayne@69 185 uint32_t client_driver_patch_version;
jpayne@69 186 uint32_t client_driver_name_len;
jpayne@69 187 uint8_t pad1[8];
jpayne@69 188 } xcb_xf86dri_get_client_driver_name_reply_t;
jpayne@69 189
jpayne@69 190 /**
jpayne@69 191 * @brief xcb_xf86dri_create_context_cookie_t
jpayne@69 192 **/
jpayne@69 193 typedef struct xcb_xf86dri_create_context_cookie_t {
jpayne@69 194 unsigned int sequence;
jpayne@69 195 } xcb_xf86dri_create_context_cookie_t;
jpayne@69 196
jpayne@69 197 /** Opcode for xcb_xf86dri_create_context. */
jpayne@69 198 #define XCB_XF86DRI_CREATE_CONTEXT 5
jpayne@69 199
jpayne@69 200 /**
jpayne@69 201 * @brief xcb_xf86dri_create_context_request_t
jpayne@69 202 **/
jpayne@69 203 typedef struct xcb_xf86dri_create_context_request_t {
jpayne@69 204 uint8_t major_opcode;
jpayne@69 205 uint8_t minor_opcode;
jpayne@69 206 uint16_t length;
jpayne@69 207 uint32_t screen;
jpayne@69 208 uint32_t visual;
jpayne@69 209 uint32_t context;
jpayne@69 210 } xcb_xf86dri_create_context_request_t;
jpayne@69 211
jpayne@69 212 /**
jpayne@69 213 * @brief xcb_xf86dri_create_context_reply_t
jpayne@69 214 **/
jpayne@69 215 typedef struct xcb_xf86dri_create_context_reply_t {
jpayne@69 216 uint8_t response_type;
jpayne@69 217 uint8_t pad0;
jpayne@69 218 uint16_t sequence;
jpayne@69 219 uint32_t length;
jpayne@69 220 uint32_t hw_context;
jpayne@69 221 } xcb_xf86dri_create_context_reply_t;
jpayne@69 222
jpayne@69 223 /** Opcode for xcb_xf86dri_destroy_context. */
jpayne@69 224 #define XCB_XF86DRI_DESTROY_CONTEXT 6
jpayne@69 225
jpayne@69 226 /**
jpayne@69 227 * @brief xcb_xf86dri_destroy_context_request_t
jpayne@69 228 **/
jpayne@69 229 typedef struct xcb_xf86dri_destroy_context_request_t {
jpayne@69 230 uint8_t major_opcode;
jpayne@69 231 uint8_t minor_opcode;
jpayne@69 232 uint16_t length;
jpayne@69 233 uint32_t screen;
jpayne@69 234 uint32_t context;
jpayne@69 235 } xcb_xf86dri_destroy_context_request_t;
jpayne@69 236
jpayne@69 237 /**
jpayne@69 238 * @brief xcb_xf86dri_create_drawable_cookie_t
jpayne@69 239 **/
jpayne@69 240 typedef struct xcb_xf86dri_create_drawable_cookie_t {
jpayne@69 241 unsigned int sequence;
jpayne@69 242 } xcb_xf86dri_create_drawable_cookie_t;
jpayne@69 243
jpayne@69 244 /** Opcode for xcb_xf86dri_create_drawable. */
jpayne@69 245 #define XCB_XF86DRI_CREATE_DRAWABLE 7
jpayne@69 246
jpayne@69 247 /**
jpayne@69 248 * @brief xcb_xf86dri_create_drawable_request_t
jpayne@69 249 **/
jpayne@69 250 typedef struct xcb_xf86dri_create_drawable_request_t {
jpayne@69 251 uint8_t major_opcode;
jpayne@69 252 uint8_t minor_opcode;
jpayne@69 253 uint16_t length;
jpayne@69 254 uint32_t screen;
jpayne@69 255 uint32_t drawable;
jpayne@69 256 } xcb_xf86dri_create_drawable_request_t;
jpayne@69 257
jpayne@69 258 /**
jpayne@69 259 * @brief xcb_xf86dri_create_drawable_reply_t
jpayne@69 260 **/
jpayne@69 261 typedef struct xcb_xf86dri_create_drawable_reply_t {
jpayne@69 262 uint8_t response_type;
jpayne@69 263 uint8_t pad0;
jpayne@69 264 uint16_t sequence;
jpayne@69 265 uint32_t length;
jpayne@69 266 uint32_t hw_drawable_handle;
jpayne@69 267 } xcb_xf86dri_create_drawable_reply_t;
jpayne@69 268
jpayne@69 269 /** Opcode for xcb_xf86dri_destroy_drawable. */
jpayne@69 270 #define XCB_XF86DRI_DESTROY_DRAWABLE 8
jpayne@69 271
jpayne@69 272 /**
jpayne@69 273 * @brief xcb_xf86dri_destroy_drawable_request_t
jpayne@69 274 **/
jpayne@69 275 typedef struct xcb_xf86dri_destroy_drawable_request_t {
jpayne@69 276 uint8_t major_opcode;
jpayne@69 277 uint8_t minor_opcode;
jpayne@69 278 uint16_t length;
jpayne@69 279 uint32_t screen;
jpayne@69 280 uint32_t drawable;
jpayne@69 281 } xcb_xf86dri_destroy_drawable_request_t;
jpayne@69 282
jpayne@69 283 /**
jpayne@69 284 * @brief xcb_xf86dri_get_drawable_info_cookie_t
jpayne@69 285 **/
jpayne@69 286 typedef struct xcb_xf86dri_get_drawable_info_cookie_t {
jpayne@69 287 unsigned int sequence;
jpayne@69 288 } xcb_xf86dri_get_drawable_info_cookie_t;
jpayne@69 289
jpayne@69 290 /** Opcode for xcb_xf86dri_get_drawable_info. */
jpayne@69 291 #define XCB_XF86DRI_GET_DRAWABLE_INFO 9
jpayne@69 292
jpayne@69 293 /**
jpayne@69 294 * @brief xcb_xf86dri_get_drawable_info_request_t
jpayne@69 295 **/
jpayne@69 296 typedef struct xcb_xf86dri_get_drawable_info_request_t {
jpayne@69 297 uint8_t major_opcode;
jpayne@69 298 uint8_t minor_opcode;
jpayne@69 299 uint16_t length;
jpayne@69 300 uint32_t screen;
jpayne@69 301 uint32_t drawable;
jpayne@69 302 } xcb_xf86dri_get_drawable_info_request_t;
jpayne@69 303
jpayne@69 304 /**
jpayne@69 305 * @brief xcb_xf86dri_get_drawable_info_reply_t
jpayne@69 306 **/
jpayne@69 307 typedef struct xcb_xf86dri_get_drawable_info_reply_t {
jpayne@69 308 uint8_t response_type;
jpayne@69 309 uint8_t pad0;
jpayne@69 310 uint16_t sequence;
jpayne@69 311 uint32_t length;
jpayne@69 312 uint32_t drawable_table_index;
jpayne@69 313 uint32_t drawable_table_stamp;
jpayne@69 314 int16_t drawable_origin_X;
jpayne@69 315 int16_t drawable_origin_Y;
jpayne@69 316 int16_t drawable_size_W;
jpayne@69 317 int16_t drawable_size_H;
jpayne@69 318 uint32_t num_clip_rects;
jpayne@69 319 int16_t back_x;
jpayne@69 320 int16_t back_y;
jpayne@69 321 uint32_t num_back_clip_rects;
jpayne@69 322 } xcb_xf86dri_get_drawable_info_reply_t;
jpayne@69 323
jpayne@69 324 /**
jpayne@69 325 * @brief xcb_xf86dri_get_device_info_cookie_t
jpayne@69 326 **/
jpayne@69 327 typedef struct xcb_xf86dri_get_device_info_cookie_t {
jpayne@69 328 unsigned int sequence;
jpayne@69 329 } xcb_xf86dri_get_device_info_cookie_t;
jpayne@69 330
jpayne@69 331 /** Opcode for xcb_xf86dri_get_device_info. */
jpayne@69 332 #define XCB_XF86DRI_GET_DEVICE_INFO 10
jpayne@69 333
jpayne@69 334 /**
jpayne@69 335 * @brief xcb_xf86dri_get_device_info_request_t
jpayne@69 336 **/
jpayne@69 337 typedef struct xcb_xf86dri_get_device_info_request_t {
jpayne@69 338 uint8_t major_opcode;
jpayne@69 339 uint8_t minor_opcode;
jpayne@69 340 uint16_t length;
jpayne@69 341 uint32_t screen;
jpayne@69 342 } xcb_xf86dri_get_device_info_request_t;
jpayne@69 343
jpayne@69 344 /**
jpayne@69 345 * @brief xcb_xf86dri_get_device_info_reply_t
jpayne@69 346 **/
jpayne@69 347 typedef struct xcb_xf86dri_get_device_info_reply_t {
jpayne@69 348 uint8_t response_type;
jpayne@69 349 uint8_t pad0;
jpayne@69 350 uint16_t sequence;
jpayne@69 351 uint32_t length;
jpayne@69 352 uint32_t framebuffer_handle_low;
jpayne@69 353 uint32_t framebuffer_handle_high;
jpayne@69 354 uint32_t framebuffer_origin_offset;
jpayne@69 355 uint32_t framebuffer_size;
jpayne@69 356 uint32_t framebuffer_stride;
jpayne@69 357 uint32_t device_private_size;
jpayne@69 358 } xcb_xf86dri_get_device_info_reply_t;
jpayne@69 359
jpayne@69 360 /**
jpayne@69 361 * @brief xcb_xf86dri_auth_connection_cookie_t
jpayne@69 362 **/
jpayne@69 363 typedef struct xcb_xf86dri_auth_connection_cookie_t {
jpayne@69 364 unsigned int sequence;
jpayne@69 365 } xcb_xf86dri_auth_connection_cookie_t;
jpayne@69 366
jpayne@69 367 /** Opcode for xcb_xf86dri_auth_connection. */
jpayne@69 368 #define XCB_XF86DRI_AUTH_CONNECTION 11
jpayne@69 369
jpayne@69 370 /**
jpayne@69 371 * @brief xcb_xf86dri_auth_connection_request_t
jpayne@69 372 **/
jpayne@69 373 typedef struct xcb_xf86dri_auth_connection_request_t {
jpayne@69 374 uint8_t major_opcode;
jpayne@69 375 uint8_t minor_opcode;
jpayne@69 376 uint16_t length;
jpayne@69 377 uint32_t screen;
jpayne@69 378 uint32_t magic;
jpayne@69 379 } xcb_xf86dri_auth_connection_request_t;
jpayne@69 380
jpayne@69 381 /**
jpayne@69 382 * @brief xcb_xf86dri_auth_connection_reply_t
jpayne@69 383 **/
jpayne@69 384 typedef struct xcb_xf86dri_auth_connection_reply_t {
jpayne@69 385 uint8_t response_type;
jpayne@69 386 uint8_t pad0;
jpayne@69 387 uint16_t sequence;
jpayne@69 388 uint32_t length;
jpayne@69 389 uint32_t authenticated;
jpayne@69 390 } xcb_xf86dri_auth_connection_reply_t;
jpayne@69 391
jpayne@69 392 /**
jpayne@69 393 * Get the next element of the iterator
jpayne@69 394 * @param i Pointer to a xcb_xf86dri_drm_clip_rect_iterator_t
jpayne@69 395 *
jpayne@69 396 * Get the next element in the iterator. The member rem is
jpayne@69 397 * decreased by one. The member data points to the next
jpayne@69 398 * element. The member index is increased by sizeof(xcb_xf86dri_drm_clip_rect_t)
jpayne@69 399 */
jpayne@69 400 void
jpayne@69 401 xcb_xf86dri_drm_clip_rect_next (xcb_xf86dri_drm_clip_rect_iterator_t *i);
jpayne@69 402
jpayne@69 403 /**
jpayne@69 404 * Return the iterator pointing to the last element
jpayne@69 405 * @param i An xcb_xf86dri_drm_clip_rect_iterator_t
jpayne@69 406 * @return The iterator pointing to the last element
jpayne@69 407 *
jpayne@69 408 * Set the current element in the iterator to the last element.
jpayne@69 409 * The member rem is set to 0. The member data points to the
jpayne@69 410 * last element.
jpayne@69 411 */
jpayne@69 412 xcb_generic_iterator_t
jpayne@69 413 xcb_xf86dri_drm_clip_rect_end (xcb_xf86dri_drm_clip_rect_iterator_t i);
jpayne@69 414
jpayne@69 415 /**
jpayne@69 416 *
jpayne@69 417 * @param c The connection
jpayne@69 418 * @return A cookie
jpayne@69 419 *
jpayne@69 420 * Delivers a request to the X server.
jpayne@69 421 *
jpayne@69 422 */
jpayne@69 423 xcb_xf86dri_query_version_cookie_t
jpayne@69 424 xcb_xf86dri_query_version (xcb_connection_t *c);
jpayne@69 425
jpayne@69 426 /**
jpayne@69 427 *
jpayne@69 428 * @param c The connection
jpayne@69 429 * @return A cookie
jpayne@69 430 *
jpayne@69 431 * Delivers a request to the X server.
jpayne@69 432 *
jpayne@69 433 * This form can be used only if the request will cause
jpayne@69 434 * a reply to be generated. Any returned error will be
jpayne@69 435 * placed in the event queue.
jpayne@69 436 */
jpayne@69 437 xcb_xf86dri_query_version_cookie_t
jpayne@69 438 xcb_xf86dri_query_version_unchecked (xcb_connection_t *c);
jpayne@69 439
jpayne@69 440 /**
jpayne@69 441 * Return the reply
jpayne@69 442 * @param c The connection
jpayne@69 443 * @param cookie The cookie
jpayne@69 444 * @param e The xcb_generic_error_t supplied
jpayne@69 445 *
jpayne@69 446 * Returns the reply of the request asked by
jpayne@69 447 *
jpayne@69 448 * The parameter @p e supplied to this function must be NULL if
jpayne@69 449 * xcb_xf86dri_query_version_unchecked(). is used.
jpayne@69 450 * Otherwise, it stores the error if any.
jpayne@69 451 *
jpayne@69 452 * The returned value must be freed by the caller using free().
jpayne@69 453 */
jpayne@69 454 xcb_xf86dri_query_version_reply_t *
jpayne@69 455 xcb_xf86dri_query_version_reply (xcb_connection_t *c,
jpayne@69 456 xcb_xf86dri_query_version_cookie_t cookie /**< */,
jpayne@69 457 xcb_generic_error_t **e);
jpayne@69 458
jpayne@69 459 /**
jpayne@69 460 *
jpayne@69 461 * @param c The connection
jpayne@69 462 * @return A cookie
jpayne@69 463 *
jpayne@69 464 * Delivers a request to the X server.
jpayne@69 465 *
jpayne@69 466 */
jpayne@69 467 xcb_xf86dri_query_direct_rendering_capable_cookie_t
jpayne@69 468 xcb_xf86dri_query_direct_rendering_capable (xcb_connection_t *c,
jpayne@69 469 uint32_t screen);
jpayne@69 470
jpayne@69 471 /**
jpayne@69 472 *
jpayne@69 473 * @param c The connection
jpayne@69 474 * @return A cookie
jpayne@69 475 *
jpayne@69 476 * Delivers a request to the X server.
jpayne@69 477 *
jpayne@69 478 * This form can be used only if the request will cause
jpayne@69 479 * a reply to be generated. Any returned error will be
jpayne@69 480 * placed in the event queue.
jpayne@69 481 */
jpayne@69 482 xcb_xf86dri_query_direct_rendering_capable_cookie_t
jpayne@69 483 xcb_xf86dri_query_direct_rendering_capable_unchecked (xcb_connection_t *c,
jpayne@69 484 uint32_t screen);
jpayne@69 485
jpayne@69 486 /**
jpayne@69 487 * Return the reply
jpayne@69 488 * @param c The connection
jpayne@69 489 * @param cookie The cookie
jpayne@69 490 * @param e The xcb_generic_error_t supplied
jpayne@69 491 *
jpayne@69 492 * Returns the reply of the request asked by
jpayne@69 493 *
jpayne@69 494 * The parameter @p e supplied to this function must be NULL if
jpayne@69 495 * xcb_xf86dri_query_direct_rendering_capable_unchecked(). is used.
jpayne@69 496 * Otherwise, it stores the error if any.
jpayne@69 497 *
jpayne@69 498 * The returned value must be freed by the caller using free().
jpayne@69 499 */
jpayne@69 500 xcb_xf86dri_query_direct_rendering_capable_reply_t *
jpayne@69 501 xcb_xf86dri_query_direct_rendering_capable_reply (xcb_connection_t *c,
jpayne@69 502 xcb_xf86dri_query_direct_rendering_capable_cookie_t cookie /**< */,
jpayne@69 503 xcb_generic_error_t **e);
jpayne@69 504
jpayne@69 505 int
jpayne@69 506 xcb_xf86dri_open_connection_sizeof (const void *_buffer);
jpayne@69 507
jpayne@69 508 /**
jpayne@69 509 *
jpayne@69 510 * @param c The connection
jpayne@69 511 * @return A cookie
jpayne@69 512 *
jpayne@69 513 * Delivers a request to the X server.
jpayne@69 514 *
jpayne@69 515 */
jpayne@69 516 xcb_xf86dri_open_connection_cookie_t
jpayne@69 517 xcb_xf86dri_open_connection (xcb_connection_t *c,
jpayne@69 518 uint32_t screen);
jpayne@69 519
jpayne@69 520 /**
jpayne@69 521 *
jpayne@69 522 * @param c The connection
jpayne@69 523 * @return A cookie
jpayne@69 524 *
jpayne@69 525 * Delivers a request to the X server.
jpayne@69 526 *
jpayne@69 527 * This form can be used only if the request will cause
jpayne@69 528 * a reply to be generated. Any returned error will be
jpayne@69 529 * placed in the event queue.
jpayne@69 530 */
jpayne@69 531 xcb_xf86dri_open_connection_cookie_t
jpayne@69 532 xcb_xf86dri_open_connection_unchecked (xcb_connection_t *c,
jpayne@69 533 uint32_t screen);
jpayne@69 534
jpayne@69 535 char *
jpayne@69 536 xcb_xf86dri_open_connection_bus_id (const xcb_xf86dri_open_connection_reply_t *R);
jpayne@69 537
jpayne@69 538 int
jpayne@69 539 xcb_xf86dri_open_connection_bus_id_length (const xcb_xf86dri_open_connection_reply_t *R);
jpayne@69 540
jpayne@69 541 xcb_generic_iterator_t
jpayne@69 542 xcb_xf86dri_open_connection_bus_id_end (const xcb_xf86dri_open_connection_reply_t *R);
jpayne@69 543
jpayne@69 544 /**
jpayne@69 545 * Return the reply
jpayne@69 546 * @param c The connection
jpayne@69 547 * @param cookie The cookie
jpayne@69 548 * @param e The xcb_generic_error_t supplied
jpayne@69 549 *
jpayne@69 550 * Returns the reply of the request asked by
jpayne@69 551 *
jpayne@69 552 * The parameter @p e supplied to this function must be NULL if
jpayne@69 553 * xcb_xf86dri_open_connection_unchecked(). is used.
jpayne@69 554 * Otherwise, it stores the error if any.
jpayne@69 555 *
jpayne@69 556 * The returned value must be freed by the caller using free().
jpayne@69 557 */
jpayne@69 558 xcb_xf86dri_open_connection_reply_t *
jpayne@69 559 xcb_xf86dri_open_connection_reply (xcb_connection_t *c,
jpayne@69 560 xcb_xf86dri_open_connection_cookie_t cookie /**< */,
jpayne@69 561 xcb_generic_error_t **e);
jpayne@69 562
jpayne@69 563 /**
jpayne@69 564 *
jpayne@69 565 * @param c The connection
jpayne@69 566 * @return A cookie
jpayne@69 567 *
jpayne@69 568 * Delivers a request to the X server.
jpayne@69 569 *
jpayne@69 570 * This form can be used only if the request will not cause
jpayne@69 571 * a reply to be generated. Any returned error will be
jpayne@69 572 * saved for handling by xcb_request_check().
jpayne@69 573 */
jpayne@69 574 xcb_void_cookie_t
jpayne@69 575 xcb_xf86dri_close_connection_checked (xcb_connection_t *c,
jpayne@69 576 uint32_t screen);
jpayne@69 577
jpayne@69 578 /**
jpayne@69 579 *
jpayne@69 580 * @param c The connection
jpayne@69 581 * @return A cookie
jpayne@69 582 *
jpayne@69 583 * Delivers a request to the X server.
jpayne@69 584 *
jpayne@69 585 */
jpayne@69 586 xcb_void_cookie_t
jpayne@69 587 xcb_xf86dri_close_connection (xcb_connection_t *c,
jpayne@69 588 uint32_t screen);
jpayne@69 589
jpayne@69 590 int
jpayne@69 591 xcb_xf86dri_get_client_driver_name_sizeof (const void *_buffer);
jpayne@69 592
jpayne@69 593 /**
jpayne@69 594 *
jpayne@69 595 * @param c The connection
jpayne@69 596 * @return A cookie
jpayne@69 597 *
jpayne@69 598 * Delivers a request to the X server.
jpayne@69 599 *
jpayne@69 600 */
jpayne@69 601 xcb_xf86dri_get_client_driver_name_cookie_t
jpayne@69 602 xcb_xf86dri_get_client_driver_name (xcb_connection_t *c,
jpayne@69 603 uint32_t screen);
jpayne@69 604
jpayne@69 605 /**
jpayne@69 606 *
jpayne@69 607 * @param c The connection
jpayne@69 608 * @return A cookie
jpayne@69 609 *
jpayne@69 610 * Delivers a request to the X server.
jpayne@69 611 *
jpayne@69 612 * This form can be used only if the request will cause
jpayne@69 613 * a reply to be generated. Any returned error will be
jpayne@69 614 * placed in the event queue.
jpayne@69 615 */
jpayne@69 616 xcb_xf86dri_get_client_driver_name_cookie_t
jpayne@69 617 xcb_xf86dri_get_client_driver_name_unchecked (xcb_connection_t *c,
jpayne@69 618 uint32_t screen);
jpayne@69 619
jpayne@69 620 char *
jpayne@69 621 xcb_xf86dri_get_client_driver_name_client_driver_name (const xcb_xf86dri_get_client_driver_name_reply_t *R);
jpayne@69 622
jpayne@69 623 int
jpayne@69 624 xcb_xf86dri_get_client_driver_name_client_driver_name_length (const xcb_xf86dri_get_client_driver_name_reply_t *R);
jpayne@69 625
jpayne@69 626 xcb_generic_iterator_t
jpayne@69 627 xcb_xf86dri_get_client_driver_name_client_driver_name_end (const xcb_xf86dri_get_client_driver_name_reply_t *R);
jpayne@69 628
jpayne@69 629 /**
jpayne@69 630 * Return the reply
jpayne@69 631 * @param c The connection
jpayne@69 632 * @param cookie The cookie
jpayne@69 633 * @param e The xcb_generic_error_t supplied
jpayne@69 634 *
jpayne@69 635 * Returns the reply of the request asked by
jpayne@69 636 *
jpayne@69 637 * The parameter @p e supplied to this function must be NULL if
jpayne@69 638 * xcb_xf86dri_get_client_driver_name_unchecked(). is used.
jpayne@69 639 * Otherwise, it stores the error if any.
jpayne@69 640 *
jpayne@69 641 * The returned value must be freed by the caller using free().
jpayne@69 642 */
jpayne@69 643 xcb_xf86dri_get_client_driver_name_reply_t *
jpayne@69 644 xcb_xf86dri_get_client_driver_name_reply (xcb_connection_t *c,
jpayne@69 645 xcb_xf86dri_get_client_driver_name_cookie_t cookie /**< */,
jpayne@69 646 xcb_generic_error_t **e);
jpayne@69 647
jpayne@69 648 /**
jpayne@69 649 *
jpayne@69 650 * @param c The connection
jpayne@69 651 * @return A cookie
jpayne@69 652 *
jpayne@69 653 * Delivers a request to the X server.
jpayne@69 654 *
jpayne@69 655 */
jpayne@69 656 xcb_xf86dri_create_context_cookie_t
jpayne@69 657 xcb_xf86dri_create_context (xcb_connection_t *c,
jpayne@69 658 uint32_t screen,
jpayne@69 659 uint32_t visual,
jpayne@69 660 uint32_t context);
jpayne@69 661
jpayne@69 662 /**
jpayne@69 663 *
jpayne@69 664 * @param c The connection
jpayne@69 665 * @return A cookie
jpayne@69 666 *
jpayne@69 667 * Delivers a request to the X server.
jpayne@69 668 *
jpayne@69 669 * This form can be used only if the request will cause
jpayne@69 670 * a reply to be generated. Any returned error will be
jpayne@69 671 * placed in the event queue.
jpayne@69 672 */
jpayne@69 673 xcb_xf86dri_create_context_cookie_t
jpayne@69 674 xcb_xf86dri_create_context_unchecked (xcb_connection_t *c,
jpayne@69 675 uint32_t screen,
jpayne@69 676 uint32_t visual,
jpayne@69 677 uint32_t context);
jpayne@69 678
jpayne@69 679 /**
jpayne@69 680 * Return the reply
jpayne@69 681 * @param c The connection
jpayne@69 682 * @param cookie The cookie
jpayne@69 683 * @param e The xcb_generic_error_t supplied
jpayne@69 684 *
jpayne@69 685 * Returns the reply of the request asked by
jpayne@69 686 *
jpayne@69 687 * The parameter @p e supplied to this function must be NULL if
jpayne@69 688 * xcb_xf86dri_create_context_unchecked(). is used.
jpayne@69 689 * Otherwise, it stores the error if any.
jpayne@69 690 *
jpayne@69 691 * The returned value must be freed by the caller using free().
jpayne@69 692 */
jpayne@69 693 xcb_xf86dri_create_context_reply_t *
jpayne@69 694 xcb_xf86dri_create_context_reply (xcb_connection_t *c,
jpayne@69 695 xcb_xf86dri_create_context_cookie_t cookie /**< */,
jpayne@69 696 xcb_generic_error_t **e);
jpayne@69 697
jpayne@69 698 /**
jpayne@69 699 *
jpayne@69 700 * @param c The connection
jpayne@69 701 * @return A cookie
jpayne@69 702 *
jpayne@69 703 * Delivers a request to the X server.
jpayne@69 704 *
jpayne@69 705 * This form can be used only if the request will not cause
jpayne@69 706 * a reply to be generated. Any returned error will be
jpayne@69 707 * saved for handling by xcb_request_check().
jpayne@69 708 */
jpayne@69 709 xcb_void_cookie_t
jpayne@69 710 xcb_xf86dri_destroy_context_checked (xcb_connection_t *c,
jpayne@69 711 uint32_t screen,
jpayne@69 712 uint32_t context);
jpayne@69 713
jpayne@69 714 /**
jpayne@69 715 *
jpayne@69 716 * @param c The connection
jpayne@69 717 * @return A cookie
jpayne@69 718 *
jpayne@69 719 * Delivers a request to the X server.
jpayne@69 720 *
jpayne@69 721 */
jpayne@69 722 xcb_void_cookie_t
jpayne@69 723 xcb_xf86dri_destroy_context (xcb_connection_t *c,
jpayne@69 724 uint32_t screen,
jpayne@69 725 uint32_t context);
jpayne@69 726
jpayne@69 727 /**
jpayne@69 728 *
jpayne@69 729 * @param c The connection
jpayne@69 730 * @return A cookie
jpayne@69 731 *
jpayne@69 732 * Delivers a request to the X server.
jpayne@69 733 *
jpayne@69 734 */
jpayne@69 735 xcb_xf86dri_create_drawable_cookie_t
jpayne@69 736 xcb_xf86dri_create_drawable (xcb_connection_t *c,
jpayne@69 737 uint32_t screen,
jpayne@69 738 uint32_t drawable);
jpayne@69 739
jpayne@69 740 /**
jpayne@69 741 *
jpayne@69 742 * @param c The connection
jpayne@69 743 * @return A cookie
jpayne@69 744 *
jpayne@69 745 * Delivers a request to the X server.
jpayne@69 746 *
jpayne@69 747 * This form can be used only if the request will cause
jpayne@69 748 * a reply to be generated. Any returned error will be
jpayne@69 749 * placed in the event queue.
jpayne@69 750 */
jpayne@69 751 xcb_xf86dri_create_drawable_cookie_t
jpayne@69 752 xcb_xf86dri_create_drawable_unchecked (xcb_connection_t *c,
jpayne@69 753 uint32_t screen,
jpayne@69 754 uint32_t drawable);
jpayne@69 755
jpayne@69 756 /**
jpayne@69 757 * Return the reply
jpayne@69 758 * @param c The connection
jpayne@69 759 * @param cookie The cookie
jpayne@69 760 * @param e The xcb_generic_error_t supplied
jpayne@69 761 *
jpayne@69 762 * Returns the reply of the request asked by
jpayne@69 763 *
jpayne@69 764 * The parameter @p e supplied to this function must be NULL if
jpayne@69 765 * xcb_xf86dri_create_drawable_unchecked(). is used.
jpayne@69 766 * Otherwise, it stores the error if any.
jpayne@69 767 *
jpayne@69 768 * The returned value must be freed by the caller using free().
jpayne@69 769 */
jpayne@69 770 xcb_xf86dri_create_drawable_reply_t *
jpayne@69 771 xcb_xf86dri_create_drawable_reply (xcb_connection_t *c,
jpayne@69 772 xcb_xf86dri_create_drawable_cookie_t cookie /**< */,
jpayne@69 773 xcb_generic_error_t **e);
jpayne@69 774
jpayne@69 775 /**
jpayne@69 776 *
jpayne@69 777 * @param c The connection
jpayne@69 778 * @return A cookie
jpayne@69 779 *
jpayne@69 780 * Delivers a request to the X server.
jpayne@69 781 *
jpayne@69 782 * This form can be used only if the request will not cause
jpayne@69 783 * a reply to be generated. Any returned error will be
jpayne@69 784 * saved for handling by xcb_request_check().
jpayne@69 785 */
jpayne@69 786 xcb_void_cookie_t
jpayne@69 787 xcb_xf86dri_destroy_drawable_checked (xcb_connection_t *c,
jpayne@69 788 uint32_t screen,
jpayne@69 789 uint32_t drawable);
jpayne@69 790
jpayne@69 791 /**
jpayne@69 792 *
jpayne@69 793 * @param c The connection
jpayne@69 794 * @return A cookie
jpayne@69 795 *
jpayne@69 796 * Delivers a request to the X server.
jpayne@69 797 *
jpayne@69 798 */
jpayne@69 799 xcb_void_cookie_t
jpayne@69 800 xcb_xf86dri_destroy_drawable (xcb_connection_t *c,
jpayne@69 801 uint32_t screen,
jpayne@69 802 uint32_t drawable);
jpayne@69 803
jpayne@69 804 int
jpayne@69 805 xcb_xf86dri_get_drawable_info_sizeof (const void *_buffer);
jpayne@69 806
jpayne@69 807 /**
jpayne@69 808 *
jpayne@69 809 * @param c The connection
jpayne@69 810 * @return A cookie
jpayne@69 811 *
jpayne@69 812 * Delivers a request to the X server.
jpayne@69 813 *
jpayne@69 814 */
jpayne@69 815 xcb_xf86dri_get_drawable_info_cookie_t
jpayne@69 816 xcb_xf86dri_get_drawable_info (xcb_connection_t *c,
jpayne@69 817 uint32_t screen,
jpayne@69 818 uint32_t drawable);
jpayne@69 819
jpayne@69 820 /**
jpayne@69 821 *
jpayne@69 822 * @param c The connection
jpayne@69 823 * @return A cookie
jpayne@69 824 *
jpayne@69 825 * Delivers a request to the X server.
jpayne@69 826 *
jpayne@69 827 * This form can be used only if the request will cause
jpayne@69 828 * a reply to be generated. Any returned error will be
jpayne@69 829 * placed in the event queue.
jpayne@69 830 */
jpayne@69 831 xcb_xf86dri_get_drawable_info_cookie_t
jpayne@69 832 xcb_xf86dri_get_drawable_info_unchecked (xcb_connection_t *c,
jpayne@69 833 uint32_t screen,
jpayne@69 834 uint32_t drawable);
jpayne@69 835
jpayne@69 836 xcb_xf86dri_drm_clip_rect_t *
jpayne@69 837 xcb_xf86dri_get_drawable_info_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R);
jpayne@69 838
jpayne@69 839 int
jpayne@69 840 xcb_xf86dri_get_drawable_info_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R);
jpayne@69 841
jpayne@69 842 xcb_xf86dri_drm_clip_rect_iterator_t
jpayne@69 843 xcb_xf86dri_get_drawable_info_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R);
jpayne@69 844
jpayne@69 845 xcb_xf86dri_drm_clip_rect_t *
jpayne@69 846 xcb_xf86dri_get_drawable_info_back_clip_rects (const xcb_xf86dri_get_drawable_info_reply_t *R);
jpayne@69 847
jpayne@69 848 int
jpayne@69 849 xcb_xf86dri_get_drawable_info_back_clip_rects_length (const xcb_xf86dri_get_drawable_info_reply_t *R);
jpayne@69 850
jpayne@69 851 xcb_xf86dri_drm_clip_rect_iterator_t
jpayne@69 852 xcb_xf86dri_get_drawable_info_back_clip_rects_iterator (const xcb_xf86dri_get_drawable_info_reply_t *R);
jpayne@69 853
jpayne@69 854 /**
jpayne@69 855 * Return the reply
jpayne@69 856 * @param c The connection
jpayne@69 857 * @param cookie The cookie
jpayne@69 858 * @param e The xcb_generic_error_t supplied
jpayne@69 859 *
jpayne@69 860 * Returns the reply of the request asked by
jpayne@69 861 *
jpayne@69 862 * The parameter @p e supplied to this function must be NULL if
jpayne@69 863 * xcb_xf86dri_get_drawable_info_unchecked(). is used.
jpayne@69 864 * Otherwise, it stores the error if any.
jpayne@69 865 *
jpayne@69 866 * The returned value must be freed by the caller using free().
jpayne@69 867 */
jpayne@69 868 xcb_xf86dri_get_drawable_info_reply_t *
jpayne@69 869 xcb_xf86dri_get_drawable_info_reply (xcb_connection_t *c,
jpayne@69 870 xcb_xf86dri_get_drawable_info_cookie_t cookie /**< */,
jpayne@69 871 xcb_generic_error_t **e);
jpayne@69 872
jpayne@69 873 int
jpayne@69 874 xcb_xf86dri_get_device_info_sizeof (const void *_buffer);
jpayne@69 875
jpayne@69 876 /**
jpayne@69 877 *
jpayne@69 878 * @param c The connection
jpayne@69 879 * @return A cookie
jpayne@69 880 *
jpayne@69 881 * Delivers a request to the X server.
jpayne@69 882 *
jpayne@69 883 */
jpayne@69 884 xcb_xf86dri_get_device_info_cookie_t
jpayne@69 885 xcb_xf86dri_get_device_info (xcb_connection_t *c,
jpayne@69 886 uint32_t screen);
jpayne@69 887
jpayne@69 888 /**
jpayne@69 889 *
jpayne@69 890 * @param c The connection
jpayne@69 891 * @return A cookie
jpayne@69 892 *
jpayne@69 893 * Delivers a request to the X server.
jpayne@69 894 *
jpayne@69 895 * This form can be used only if the request will cause
jpayne@69 896 * a reply to be generated. Any returned error will be
jpayne@69 897 * placed in the event queue.
jpayne@69 898 */
jpayne@69 899 xcb_xf86dri_get_device_info_cookie_t
jpayne@69 900 xcb_xf86dri_get_device_info_unchecked (xcb_connection_t *c,
jpayne@69 901 uint32_t screen);
jpayne@69 902
jpayne@69 903 uint32_t *
jpayne@69 904 xcb_xf86dri_get_device_info_device_private (const xcb_xf86dri_get_device_info_reply_t *R);
jpayne@69 905
jpayne@69 906 int
jpayne@69 907 xcb_xf86dri_get_device_info_device_private_length (const xcb_xf86dri_get_device_info_reply_t *R);
jpayne@69 908
jpayne@69 909 xcb_generic_iterator_t
jpayne@69 910 xcb_xf86dri_get_device_info_device_private_end (const xcb_xf86dri_get_device_info_reply_t *R);
jpayne@69 911
jpayne@69 912 /**
jpayne@69 913 * Return the reply
jpayne@69 914 * @param c The connection
jpayne@69 915 * @param cookie The cookie
jpayne@69 916 * @param e The xcb_generic_error_t supplied
jpayne@69 917 *
jpayne@69 918 * Returns the reply of the request asked by
jpayne@69 919 *
jpayne@69 920 * The parameter @p e supplied to this function must be NULL if
jpayne@69 921 * xcb_xf86dri_get_device_info_unchecked(). is used.
jpayne@69 922 * Otherwise, it stores the error if any.
jpayne@69 923 *
jpayne@69 924 * The returned value must be freed by the caller using free().
jpayne@69 925 */
jpayne@69 926 xcb_xf86dri_get_device_info_reply_t *
jpayne@69 927 xcb_xf86dri_get_device_info_reply (xcb_connection_t *c,
jpayne@69 928 xcb_xf86dri_get_device_info_cookie_t cookie /**< */,
jpayne@69 929 xcb_generic_error_t **e);
jpayne@69 930
jpayne@69 931 /**
jpayne@69 932 *
jpayne@69 933 * @param c The connection
jpayne@69 934 * @return A cookie
jpayne@69 935 *
jpayne@69 936 * Delivers a request to the X server.
jpayne@69 937 *
jpayne@69 938 */
jpayne@69 939 xcb_xf86dri_auth_connection_cookie_t
jpayne@69 940 xcb_xf86dri_auth_connection (xcb_connection_t *c,
jpayne@69 941 uint32_t screen,
jpayne@69 942 uint32_t magic);
jpayne@69 943
jpayne@69 944 /**
jpayne@69 945 *
jpayne@69 946 * @param c The connection
jpayne@69 947 * @return A cookie
jpayne@69 948 *
jpayne@69 949 * Delivers a request to the X server.
jpayne@69 950 *
jpayne@69 951 * This form can be used only if the request will cause
jpayne@69 952 * a reply to be generated. Any returned error will be
jpayne@69 953 * placed in the event queue.
jpayne@69 954 */
jpayne@69 955 xcb_xf86dri_auth_connection_cookie_t
jpayne@69 956 xcb_xf86dri_auth_connection_unchecked (xcb_connection_t *c,
jpayne@69 957 uint32_t screen,
jpayne@69 958 uint32_t magic);
jpayne@69 959
jpayne@69 960 /**
jpayne@69 961 * Return the reply
jpayne@69 962 * @param c The connection
jpayne@69 963 * @param cookie The cookie
jpayne@69 964 * @param e The xcb_generic_error_t supplied
jpayne@69 965 *
jpayne@69 966 * Returns the reply of the request asked by
jpayne@69 967 *
jpayne@69 968 * The parameter @p e supplied to this function must be NULL if
jpayne@69 969 * xcb_xf86dri_auth_connection_unchecked(). is used.
jpayne@69 970 * Otherwise, it stores the error if any.
jpayne@69 971 *
jpayne@69 972 * The returned value must be freed by the caller using free().
jpayne@69 973 */
jpayne@69 974 xcb_xf86dri_auth_connection_reply_t *
jpayne@69 975 xcb_xf86dri_auth_connection_reply (xcb_connection_t *c,
jpayne@69 976 xcb_xf86dri_auth_connection_cookie_t cookie /**< */,
jpayne@69 977 xcb_generic_error_t **e);
jpayne@69 978
jpayne@69 979
jpayne@69 980 #ifdef __cplusplus
jpayne@69 981 }
jpayne@69 982 #endif
jpayne@69 983
jpayne@69 984 #endif
jpayne@69 985
jpayne@69 986 /**
jpayne@69 987 * @}
jpayne@69 988 */