annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/xcb/dpms.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 dpms.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_DPMS_API XCB DPMS API
jpayne@69 8 * @brief DPMS XCB Protocol Implementation.
jpayne@69 9 * @{
jpayne@69 10 **/
jpayne@69 11
jpayne@69 12 #ifndef __DPMS_H
jpayne@69 13 #define __DPMS_H
jpayne@69 14
jpayne@69 15 #include "xcb.h"
jpayne@69 16 #include "xproto.h"
jpayne@69 17
jpayne@69 18 #ifdef __cplusplus
jpayne@69 19 extern "C" {
jpayne@69 20 #endif
jpayne@69 21
jpayne@69 22 #define XCB_DPMS_MAJOR_VERSION 1
jpayne@69 23 #define XCB_DPMS_MINOR_VERSION 2
jpayne@69 24
jpayne@69 25 extern xcb_extension_t xcb_dpms_id;
jpayne@69 26
jpayne@69 27 /**
jpayne@69 28 * @brief xcb_dpms_get_version_cookie_t
jpayne@69 29 **/
jpayne@69 30 typedef struct xcb_dpms_get_version_cookie_t {
jpayne@69 31 unsigned int sequence;
jpayne@69 32 } xcb_dpms_get_version_cookie_t;
jpayne@69 33
jpayne@69 34 /** Opcode for xcb_dpms_get_version. */
jpayne@69 35 #define XCB_DPMS_GET_VERSION 0
jpayne@69 36
jpayne@69 37 /**
jpayne@69 38 * @brief xcb_dpms_get_version_request_t
jpayne@69 39 **/
jpayne@69 40 typedef struct xcb_dpms_get_version_request_t {
jpayne@69 41 uint8_t major_opcode;
jpayne@69 42 uint8_t minor_opcode;
jpayne@69 43 uint16_t length;
jpayne@69 44 uint16_t client_major_version;
jpayne@69 45 uint16_t client_minor_version;
jpayne@69 46 } xcb_dpms_get_version_request_t;
jpayne@69 47
jpayne@69 48 /**
jpayne@69 49 * @brief xcb_dpms_get_version_reply_t
jpayne@69 50 **/
jpayne@69 51 typedef struct xcb_dpms_get_version_reply_t {
jpayne@69 52 uint8_t response_type;
jpayne@69 53 uint8_t pad0;
jpayne@69 54 uint16_t sequence;
jpayne@69 55 uint32_t length;
jpayne@69 56 uint16_t server_major_version;
jpayne@69 57 uint16_t server_minor_version;
jpayne@69 58 } xcb_dpms_get_version_reply_t;
jpayne@69 59
jpayne@69 60 /**
jpayne@69 61 * @brief xcb_dpms_capable_cookie_t
jpayne@69 62 **/
jpayne@69 63 typedef struct xcb_dpms_capable_cookie_t {
jpayne@69 64 unsigned int sequence;
jpayne@69 65 } xcb_dpms_capable_cookie_t;
jpayne@69 66
jpayne@69 67 /** Opcode for xcb_dpms_capable. */
jpayne@69 68 #define XCB_DPMS_CAPABLE 1
jpayne@69 69
jpayne@69 70 /**
jpayne@69 71 * @brief xcb_dpms_capable_request_t
jpayne@69 72 **/
jpayne@69 73 typedef struct xcb_dpms_capable_request_t {
jpayne@69 74 uint8_t major_opcode;
jpayne@69 75 uint8_t minor_opcode;
jpayne@69 76 uint16_t length;
jpayne@69 77 } xcb_dpms_capable_request_t;
jpayne@69 78
jpayne@69 79 /**
jpayne@69 80 * @brief xcb_dpms_capable_reply_t
jpayne@69 81 **/
jpayne@69 82 typedef struct xcb_dpms_capable_reply_t {
jpayne@69 83 uint8_t response_type;
jpayne@69 84 uint8_t pad0;
jpayne@69 85 uint16_t sequence;
jpayne@69 86 uint32_t length;
jpayne@69 87 uint8_t capable;
jpayne@69 88 uint8_t pad1[23];
jpayne@69 89 } xcb_dpms_capable_reply_t;
jpayne@69 90
jpayne@69 91 /**
jpayne@69 92 * @brief xcb_dpms_get_timeouts_cookie_t
jpayne@69 93 **/
jpayne@69 94 typedef struct xcb_dpms_get_timeouts_cookie_t {
jpayne@69 95 unsigned int sequence;
jpayne@69 96 } xcb_dpms_get_timeouts_cookie_t;
jpayne@69 97
jpayne@69 98 /** Opcode for xcb_dpms_get_timeouts. */
jpayne@69 99 #define XCB_DPMS_GET_TIMEOUTS 2
jpayne@69 100
jpayne@69 101 /**
jpayne@69 102 * @brief xcb_dpms_get_timeouts_request_t
jpayne@69 103 **/
jpayne@69 104 typedef struct xcb_dpms_get_timeouts_request_t {
jpayne@69 105 uint8_t major_opcode;
jpayne@69 106 uint8_t minor_opcode;
jpayne@69 107 uint16_t length;
jpayne@69 108 } xcb_dpms_get_timeouts_request_t;
jpayne@69 109
jpayne@69 110 /**
jpayne@69 111 * @brief xcb_dpms_get_timeouts_reply_t
jpayne@69 112 **/
jpayne@69 113 typedef struct xcb_dpms_get_timeouts_reply_t {
jpayne@69 114 uint8_t response_type;
jpayne@69 115 uint8_t pad0;
jpayne@69 116 uint16_t sequence;
jpayne@69 117 uint32_t length;
jpayne@69 118 uint16_t standby_timeout;
jpayne@69 119 uint16_t suspend_timeout;
jpayne@69 120 uint16_t off_timeout;
jpayne@69 121 uint8_t pad1[18];
jpayne@69 122 } xcb_dpms_get_timeouts_reply_t;
jpayne@69 123
jpayne@69 124 /** Opcode for xcb_dpms_set_timeouts. */
jpayne@69 125 #define XCB_DPMS_SET_TIMEOUTS 3
jpayne@69 126
jpayne@69 127 /**
jpayne@69 128 * @brief xcb_dpms_set_timeouts_request_t
jpayne@69 129 **/
jpayne@69 130 typedef struct xcb_dpms_set_timeouts_request_t {
jpayne@69 131 uint8_t major_opcode;
jpayne@69 132 uint8_t minor_opcode;
jpayne@69 133 uint16_t length;
jpayne@69 134 uint16_t standby_timeout;
jpayne@69 135 uint16_t suspend_timeout;
jpayne@69 136 uint16_t off_timeout;
jpayne@69 137 } xcb_dpms_set_timeouts_request_t;
jpayne@69 138
jpayne@69 139 /** Opcode for xcb_dpms_enable. */
jpayne@69 140 #define XCB_DPMS_ENABLE 4
jpayne@69 141
jpayne@69 142 /**
jpayne@69 143 * @brief xcb_dpms_enable_request_t
jpayne@69 144 **/
jpayne@69 145 typedef struct xcb_dpms_enable_request_t {
jpayne@69 146 uint8_t major_opcode;
jpayne@69 147 uint8_t minor_opcode;
jpayne@69 148 uint16_t length;
jpayne@69 149 } xcb_dpms_enable_request_t;
jpayne@69 150
jpayne@69 151 /** Opcode for xcb_dpms_disable. */
jpayne@69 152 #define XCB_DPMS_DISABLE 5
jpayne@69 153
jpayne@69 154 /**
jpayne@69 155 * @brief xcb_dpms_disable_request_t
jpayne@69 156 **/
jpayne@69 157 typedef struct xcb_dpms_disable_request_t {
jpayne@69 158 uint8_t major_opcode;
jpayne@69 159 uint8_t minor_opcode;
jpayne@69 160 uint16_t length;
jpayne@69 161 } xcb_dpms_disable_request_t;
jpayne@69 162
jpayne@69 163 typedef enum xcb_dpms_dpms_mode_t {
jpayne@69 164 XCB_DPMS_DPMS_MODE_ON = 0,
jpayne@69 165 XCB_DPMS_DPMS_MODE_STANDBY = 1,
jpayne@69 166 XCB_DPMS_DPMS_MODE_SUSPEND = 2,
jpayne@69 167 XCB_DPMS_DPMS_MODE_OFF = 3
jpayne@69 168 } xcb_dpms_dpms_mode_t;
jpayne@69 169
jpayne@69 170 /** Opcode for xcb_dpms_force_level. */
jpayne@69 171 #define XCB_DPMS_FORCE_LEVEL 6
jpayne@69 172
jpayne@69 173 /**
jpayne@69 174 * @brief xcb_dpms_force_level_request_t
jpayne@69 175 **/
jpayne@69 176 typedef struct xcb_dpms_force_level_request_t {
jpayne@69 177 uint8_t major_opcode;
jpayne@69 178 uint8_t minor_opcode;
jpayne@69 179 uint16_t length;
jpayne@69 180 uint16_t power_level;
jpayne@69 181 } xcb_dpms_force_level_request_t;
jpayne@69 182
jpayne@69 183 /**
jpayne@69 184 * @brief xcb_dpms_info_cookie_t
jpayne@69 185 **/
jpayne@69 186 typedef struct xcb_dpms_info_cookie_t {
jpayne@69 187 unsigned int sequence;
jpayne@69 188 } xcb_dpms_info_cookie_t;
jpayne@69 189
jpayne@69 190 /** Opcode for xcb_dpms_info. */
jpayne@69 191 #define XCB_DPMS_INFO 7
jpayne@69 192
jpayne@69 193 /**
jpayne@69 194 * @brief xcb_dpms_info_request_t
jpayne@69 195 **/
jpayne@69 196 typedef struct xcb_dpms_info_request_t {
jpayne@69 197 uint8_t major_opcode;
jpayne@69 198 uint8_t minor_opcode;
jpayne@69 199 uint16_t length;
jpayne@69 200 } xcb_dpms_info_request_t;
jpayne@69 201
jpayne@69 202 /**
jpayne@69 203 * @brief xcb_dpms_info_reply_t
jpayne@69 204 **/
jpayne@69 205 typedef struct xcb_dpms_info_reply_t {
jpayne@69 206 uint8_t response_type;
jpayne@69 207 uint8_t pad0;
jpayne@69 208 uint16_t sequence;
jpayne@69 209 uint32_t length;
jpayne@69 210 uint16_t power_level;
jpayne@69 211 uint8_t state;
jpayne@69 212 uint8_t pad1[21];
jpayne@69 213 } xcb_dpms_info_reply_t;
jpayne@69 214
jpayne@69 215 typedef enum xcb_dpms_event_mask_t {
jpayne@69 216 XCB_DPMS_EVENT_MASK_INFO_NOTIFY = 1
jpayne@69 217 } xcb_dpms_event_mask_t;
jpayne@69 218
jpayne@69 219 /** Opcode for xcb_dpms_select_input. */
jpayne@69 220 #define XCB_DPMS_SELECT_INPUT 8
jpayne@69 221
jpayne@69 222 /**
jpayne@69 223 * @brief xcb_dpms_select_input_request_t
jpayne@69 224 **/
jpayne@69 225 typedef struct xcb_dpms_select_input_request_t {
jpayne@69 226 uint8_t major_opcode;
jpayne@69 227 uint8_t minor_opcode;
jpayne@69 228 uint16_t length;
jpayne@69 229 uint32_t event_mask;
jpayne@69 230 } xcb_dpms_select_input_request_t;
jpayne@69 231
jpayne@69 232 /** Opcode for xcb_dpms_info_notify. */
jpayne@69 233 #define XCB_DPMS_INFO_NOTIFY 0
jpayne@69 234
jpayne@69 235 /**
jpayne@69 236 * @brief xcb_dpms_info_notify_event_t
jpayne@69 237 **/
jpayne@69 238 typedef struct xcb_dpms_info_notify_event_t {
jpayne@69 239 uint8_t response_type;
jpayne@69 240 uint8_t extension;
jpayne@69 241 uint16_t sequence;
jpayne@69 242 uint32_t length;
jpayne@69 243 uint16_t event_type;
jpayne@69 244 uint8_t pad0[2];
jpayne@69 245 xcb_timestamp_t timestamp;
jpayne@69 246 uint16_t power_level;
jpayne@69 247 uint8_t state;
jpayne@69 248 uint8_t pad1[21];
jpayne@69 249 } xcb_dpms_info_notify_event_t;
jpayne@69 250
jpayne@69 251 /**
jpayne@69 252 *
jpayne@69 253 * @param c The connection
jpayne@69 254 * @return A cookie
jpayne@69 255 *
jpayne@69 256 * Delivers a request to the X server.
jpayne@69 257 *
jpayne@69 258 */
jpayne@69 259 xcb_dpms_get_version_cookie_t
jpayne@69 260 xcb_dpms_get_version (xcb_connection_t *c,
jpayne@69 261 uint16_t client_major_version,
jpayne@69 262 uint16_t client_minor_version);
jpayne@69 263
jpayne@69 264 /**
jpayne@69 265 *
jpayne@69 266 * @param c The connection
jpayne@69 267 * @return A cookie
jpayne@69 268 *
jpayne@69 269 * Delivers a request to the X server.
jpayne@69 270 *
jpayne@69 271 * This form can be used only if the request will cause
jpayne@69 272 * a reply to be generated. Any returned error will be
jpayne@69 273 * placed in the event queue.
jpayne@69 274 */
jpayne@69 275 xcb_dpms_get_version_cookie_t
jpayne@69 276 xcb_dpms_get_version_unchecked (xcb_connection_t *c,
jpayne@69 277 uint16_t client_major_version,
jpayne@69 278 uint16_t client_minor_version);
jpayne@69 279
jpayne@69 280 /**
jpayne@69 281 * Return the reply
jpayne@69 282 * @param c The connection
jpayne@69 283 * @param cookie The cookie
jpayne@69 284 * @param e The xcb_generic_error_t supplied
jpayne@69 285 *
jpayne@69 286 * Returns the reply of the request asked by
jpayne@69 287 *
jpayne@69 288 * The parameter @p e supplied to this function must be NULL if
jpayne@69 289 * xcb_dpms_get_version_unchecked(). is used.
jpayne@69 290 * Otherwise, it stores the error if any.
jpayne@69 291 *
jpayne@69 292 * The returned value must be freed by the caller using free().
jpayne@69 293 */
jpayne@69 294 xcb_dpms_get_version_reply_t *
jpayne@69 295 xcb_dpms_get_version_reply (xcb_connection_t *c,
jpayne@69 296 xcb_dpms_get_version_cookie_t cookie /**< */,
jpayne@69 297 xcb_generic_error_t **e);
jpayne@69 298
jpayne@69 299 /**
jpayne@69 300 *
jpayne@69 301 * @param c The connection
jpayne@69 302 * @return A cookie
jpayne@69 303 *
jpayne@69 304 * Delivers a request to the X server.
jpayne@69 305 *
jpayne@69 306 */
jpayne@69 307 xcb_dpms_capable_cookie_t
jpayne@69 308 xcb_dpms_capable (xcb_connection_t *c);
jpayne@69 309
jpayne@69 310 /**
jpayne@69 311 *
jpayne@69 312 * @param c The connection
jpayne@69 313 * @return A cookie
jpayne@69 314 *
jpayne@69 315 * Delivers a request to the X server.
jpayne@69 316 *
jpayne@69 317 * This form can be used only if the request will cause
jpayne@69 318 * a reply to be generated. Any returned error will be
jpayne@69 319 * placed in the event queue.
jpayne@69 320 */
jpayne@69 321 xcb_dpms_capable_cookie_t
jpayne@69 322 xcb_dpms_capable_unchecked (xcb_connection_t *c);
jpayne@69 323
jpayne@69 324 /**
jpayne@69 325 * Return the reply
jpayne@69 326 * @param c The connection
jpayne@69 327 * @param cookie The cookie
jpayne@69 328 * @param e The xcb_generic_error_t supplied
jpayne@69 329 *
jpayne@69 330 * Returns the reply of the request asked by
jpayne@69 331 *
jpayne@69 332 * The parameter @p e supplied to this function must be NULL if
jpayne@69 333 * xcb_dpms_capable_unchecked(). is used.
jpayne@69 334 * Otherwise, it stores the error if any.
jpayne@69 335 *
jpayne@69 336 * The returned value must be freed by the caller using free().
jpayne@69 337 */
jpayne@69 338 xcb_dpms_capable_reply_t *
jpayne@69 339 xcb_dpms_capable_reply (xcb_connection_t *c,
jpayne@69 340 xcb_dpms_capable_cookie_t cookie /**< */,
jpayne@69 341 xcb_generic_error_t **e);
jpayne@69 342
jpayne@69 343 /**
jpayne@69 344 *
jpayne@69 345 * @param c The connection
jpayne@69 346 * @return A cookie
jpayne@69 347 *
jpayne@69 348 * Delivers a request to the X server.
jpayne@69 349 *
jpayne@69 350 */
jpayne@69 351 xcb_dpms_get_timeouts_cookie_t
jpayne@69 352 xcb_dpms_get_timeouts (xcb_connection_t *c);
jpayne@69 353
jpayne@69 354 /**
jpayne@69 355 *
jpayne@69 356 * @param c The connection
jpayne@69 357 * @return A cookie
jpayne@69 358 *
jpayne@69 359 * Delivers a request to the X server.
jpayne@69 360 *
jpayne@69 361 * This form can be used only if the request will cause
jpayne@69 362 * a reply to be generated. Any returned error will be
jpayne@69 363 * placed in the event queue.
jpayne@69 364 */
jpayne@69 365 xcb_dpms_get_timeouts_cookie_t
jpayne@69 366 xcb_dpms_get_timeouts_unchecked (xcb_connection_t *c);
jpayne@69 367
jpayne@69 368 /**
jpayne@69 369 * Return the reply
jpayne@69 370 * @param c The connection
jpayne@69 371 * @param cookie The cookie
jpayne@69 372 * @param e The xcb_generic_error_t supplied
jpayne@69 373 *
jpayne@69 374 * Returns the reply of the request asked by
jpayne@69 375 *
jpayne@69 376 * The parameter @p e supplied to this function must be NULL if
jpayne@69 377 * xcb_dpms_get_timeouts_unchecked(). is used.
jpayne@69 378 * Otherwise, it stores the error if any.
jpayne@69 379 *
jpayne@69 380 * The returned value must be freed by the caller using free().
jpayne@69 381 */
jpayne@69 382 xcb_dpms_get_timeouts_reply_t *
jpayne@69 383 xcb_dpms_get_timeouts_reply (xcb_connection_t *c,
jpayne@69 384 xcb_dpms_get_timeouts_cookie_t cookie /**< */,
jpayne@69 385 xcb_generic_error_t **e);
jpayne@69 386
jpayne@69 387 /**
jpayne@69 388 *
jpayne@69 389 * @param c The connection
jpayne@69 390 * @return A cookie
jpayne@69 391 *
jpayne@69 392 * Delivers a request to the X server.
jpayne@69 393 *
jpayne@69 394 * This form can be used only if the request will not cause
jpayne@69 395 * a reply to be generated. Any returned error will be
jpayne@69 396 * saved for handling by xcb_request_check().
jpayne@69 397 */
jpayne@69 398 xcb_void_cookie_t
jpayne@69 399 xcb_dpms_set_timeouts_checked (xcb_connection_t *c,
jpayne@69 400 uint16_t standby_timeout,
jpayne@69 401 uint16_t suspend_timeout,
jpayne@69 402 uint16_t off_timeout);
jpayne@69 403
jpayne@69 404 /**
jpayne@69 405 *
jpayne@69 406 * @param c The connection
jpayne@69 407 * @return A cookie
jpayne@69 408 *
jpayne@69 409 * Delivers a request to the X server.
jpayne@69 410 *
jpayne@69 411 */
jpayne@69 412 xcb_void_cookie_t
jpayne@69 413 xcb_dpms_set_timeouts (xcb_connection_t *c,
jpayne@69 414 uint16_t standby_timeout,
jpayne@69 415 uint16_t suspend_timeout,
jpayne@69 416 uint16_t off_timeout);
jpayne@69 417
jpayne@69 418 /**
jpayne@69 419 *
jpayne@69 420 * @param c The connection
jpayne@69 421 * @return A cookie
jpayne@69 422 *
jpayne@69 423 * Delivers a request to the X server.
jpayne@69 424 *
jpayne@69 425 * This form can be used only if the request will not cause
jpayne@69 426 * a reply to be generated. Any returned error will be
jpayne@69 427 * saved for handling by xcb_request_check().
jpayne@69 428 */
jpayne@69 429 xcb_void_cookie_t
jpayne@69 430 xcb_dpms_enable_checked (xcb_connection_t *c);
jpayne@69 431
jpayne@69 432 /**
jpayne@69 433 *
jpayne@69 434 * @param c The connection
jpayne@69 435 * @return A cookie
jpayne@69 436 *
jpayne@69 437 * Delivers a request to the X server.
jpayne@69 438 *
jpayne@69 439 */
jpayne@69 440 xcb_void_cookie_t
jpayne@69 441 xcb_dpms_enable (xcb_connection_t *c);
jpayne@69 442
jpayne@69 443 /**
jpayne@69 444 *
jpayne@69 445 * @param c The connection
jpayne@69 446 * @return A cookie
jpayne@69 447 *
jpayne@69 448 * Delivers a request to the X server.
jpayne@69 449 *
jpayne@69 450 * This form can be used only if the request will not cause
jpayne@69 451 * a reply to be generated. Any returned error will be
jpayne@69 452 * saved for handling by xcb_request_check().
jpayne@69 453 */
jpayne@69 454 xcb_void_cookie_t
jpayne@69 455 xcb_dpms_disable_checked (xcb_connection_t *c);
jpayne@69 456
jpayne@69 457 /**
jpayne@69 458 *
jpayne@69 459 * @param c The connection
jpayne@69 460 * @return A cookie
jpayne@69 461 *
jpayne@69 462 * Delivers a request to the X server.
jpayne@69 463 *
jpayne@69 464 */
jpayne@69 465 xcb_void_cookie_t
jpayne@69 466 xcb_dpms_disable (xcb_connection_t *c);
jpayne@69 467
jpayne@69 468 /**
jpayne@69 469 *
jpayne@69 470 * @param c The connection
jpayne@69 471 * @return A cookie
jpayne@69 472 *
jpayne@69 473 * Delivers a request to the X server.
jpayne@69 474 *
jpayne@69 475 * This form can be used only if the request will not cause
jpayne@69 476 * a reply to be generated. Any returned error will be
jpayne@69 477 * saved for handling by xcb_request_check().
jpayne@69 478 */
jpayne@69 479 xcb_void_cookie_t
jpayne@69 480 xcb_dpms_force_level_checked (xcb_connection_t *c,
jpayne@69 481 uint16_t power_level);
jpayne@69 482
jpayne@69 483 /**
jpayne@69 484 *
jpayne@69 485 * @param c The connection
jpayne@69 486 * @return A cookie
jpayne@69 487 *
jpayne@69 488 * Delivers a request to the X server.
jpayne@69 489 *
jpayne@69 490 */
jpayne@69 491 xcb_void_cookie_t
jpayne@69 492 xcb_dpms_force_level (xcb_connection_t *c,
jpayne@69 493 uint16_t power_level);
jpayne@69 494
jpayne@69 495 /**
jpayne@69 496 *
jpayne@69 497 * @param c The connection
jpayne@69 498 * @return A cookie
jpayne@69 499 *
jpayne@69 500 * Delivers a request to the X server.
jpayne@69 501 *
jpayne@69 502 */
jpayne@69 503 xcb_dpms_info_cookie_t
jpayne@69 504 xcb_dpms_info (xcb_connection_t *c);
jpayne@69 505
jpayne@69 506 /**
jpayne@69 507 *
jpayne@69 508 * @param c The connection
jpayne@69 509 * @return A cookie
jpayne@69 510 *
jpayne@69 511 * Delivers a request to the X server.
jpayne@69 512 *
jpayne@69 513 * This form can be used only if the request will cause
jpayne@69 514 * a reply to be generated. Any returned error will be
jpayne@69 515 * placed in the event queue.
jpayne@69 516 */
jpayne@69 517 xcb_dpms_info_cookie_t
jpayne@69 518 xcb_dpms_info_unchecked (xcb_connection_t *c);
jpayne@69 519
jpayne@69 520 /**
jpayne@69 521 * Return the reply
jpayne@69 522 * @param c The connection
jpayne@69 523 * @param cookie The cookie
jpayne@69 524 * @param e The xcb_generic_error_t supplied
jpayne@69 525 *
jpayne@69 526 * Returns the reply of the request asked by
jpayne@69 527 *
jpayne@69 528 * The parameter @p e supplied to this function must be NULL if
jpayne@69 529 * xcb_dpms_info_unchecked(). is used.
jpayne@69 530 * Otherwise, it stores the error if any.
jpayne@69 531 *
jpayne@69 532 * The returned value must be freed by the caller using free().
jpayne@69 533 */
jpayne@69 534 xcb_dpms_info_reply_t *
jpayne@69 535 xcb_dpms_info_reply (xcb_connection_t *c,
jpayne@69 536 xcb_dpms_info_cookie_t cookie /**< */,
jpayne@69 537 xcb_generic_error_t **e);
jpayne@69 538
jpayne@69 539 /**
jpayne@69 540 *
jpayne@69 541 * @param c The connection
jpayne@69 542 * @return A cookie
jpayne@69 543 *
jpayne@69 544 * Delivers a request to the X server.
jpayne@69 545 *
jpayne@69 546 * This form can be used only if the request will not cause
jpayne@69 547 * a reply to be generated. Any returned error will be
jpayne@69 548 * saved for handling by xcb_request_check().
jpayne@69 549 */
jpayne@69 550 xcb_void_cookie_t
jpayne@69 551 xcb_dpms_select_input_checked (xcb_connection_t *c,
jpayne@69 552 uint32_t event_mask);
jpayne@69 553
jpayne@69 554 /**
jpayne@69 555 *
jpayne@69 556 * @param c The connection
jpayne@69 557 * @return A cookie
jpayne@69 558 *
jpayne@69 559 * Delivers a request to the X server.
jpayne@69 560 *
jpayne@69 561 */
jpayne@69 562 xcb_void_cookie_t
jpayne@69 563 xcb_dpms_select_input (xcb_connection_t *c,
jpayne@69 564 uint32_t event_mask);
jpayne@69 565
jpayne@69 566
jpayne@69 567 #ifdef __cplusplus
jpayne@69 568 }
jpayne@69 569 #endif
jpayne@69 570
jpayne@69 571 #endif
jpayne@69 572
jpayne@69 573 /**
jpayne@69 574 * @}
jpayne@69 575 */