Home | History | Annotate | Download | only in xcb
      1 /*
      2  * This file generated automatically from xproto.xml by c_client.py.
      3  * Edit at your peril.
      4  */
      5 
      6 /**
      7  * @defgroup XCB__API XCB  API
      8  * @brief  XCB Protocol Implementation.
      9  * @{
     10  **/
     11 
     12 #ifndef __XPROTO_H
     13 #define __XPROTO_H
     14 
     15 #include "xcb.h"
     16 
     17 #ifdef __cplusplus
     18 extern "C" {
     19 #endif
     20 
     21 /**
     22  * @brief xcb_char2b_t
     23  **/
     24 typedef struct xcb_char2b_t {
     25     uint8_t byte1; /**<  */
     26     uint8_t byte2; /**<  */
     27 } xcb_char2b_t;
     28 
     29 /**
     30  * @brief xcb_char2b_iterator_t
     31  **/
     32 typedef struct xcb_char2b_iterator_t {
     33     xcb_char2b_t *data; /**<  */
     34     int           rem; /**<  */
     35     int           index; /**<  */
     36 } xcb_char2b_iterator_t;
     37 
     38 typedef uint32_t xcb_window_t;
     39 
     40 /**
     41  * @brief xcb_window_iterator_t
     42  **/
     43 typedef struct xcb_window_iterator_t {
     44     xcb_window_t *data; /**<  */
     45     int           rem; /**<  */
     46     int           index; /**<  */
     47 } xcb_window_iterator_t;
     48 
     49 typedef uint32_t xcb_pixmap_t;
     50 
     51 /**
     52  * @brief xcb_pixmap_iterator_t
     53  **/
     54 typedef struct xcb_pixmap_iterator_t {
     55     xcb_pixmap_t *data; /**<  */
     56     int           rem; /**<  */
     57     int           index; /**<  */
     58 } xcb_pixmap_iterator_t;
     59 
     60 typedef uint32_t xcb_cursor_t;
     61 
     62 /**
     63  * @brief xcb_cursor_iterator_t
     64  **/
     65 typedef struct xcb_cursor_iterator_t {
     66     xcb_cursor_t *data; /**<  */
     67     int           rem; /**<  */
     68     int           index; /**<  */
     69 } xcb_cursor_iterator_t;
     70 
     71 typedef uint32_t xcb_font_t;
     72 
     73 /**
     74  * @brief xcb_font_iterator_t
     75  **/
     76 typedef struct xcb_font_iterator_t {
     77     xcb_font_t *data; /**<  */
     78     int         rem; /**<  */
     79     int         index; /**<  */
     80 } xcb_font_iterator_t;
     81 
     82 typedef uint32_t xcb_gcontext_t;
     83 
     84 /**
     85  * @brief xcb_gcontext_iterator_t
     86  **/
     87 typedef struct xcb_gcontext_iterator_t {
     88     xcb_gcontext_t *data; /**<  */
     89     int             rem; /**<  */
     90     int             index; /**<  */
     91 } xcb_gcontext_iterator_t;
     92 
     93 typedef uint32_t xcb_colormap_t;
     94 
     95 /**
     96  * @brief xcb_colormap_iterator_t
     97  **/
     98 typedef struct xcb_colormap_iterator_t {
     99     xcb_colormap_t *data; /**<  */
    100     int             rem; /**<  */
    101     int             index; /**<  */
    102 } xcb_colormap_iterator_t;
    103 
    104 typedef uint32_t xcb_atom_t;
    105 
    106 /**
    107  * @brief xcb_atom_iterator_t
    108  **/
    109 typedef struct xcb_atom_iterator_t {
    110     xcb_atom_t *data; /**<  */
    111     int         rem; /**<  */
    112     int         index; /**<  */
    113 } xcb_atom_iterator_t;
    114 
    115 typedef uint32_t xcb_drawable_t;
    116 
    117 /**
    118  * @brief xcb_drawable_iterator_t
    119  **/
    120 typedef struct xcb_drawable_iterator_t {
    121     xcb_drawable_t *data; /**<  */
    122     int             rem; /**<  */
    123     int             index; /**<  */
    124 } xcb_drawable_iterator_t;
    125 
    126 typedef uint32_t xcb_fontable_t;
    127 
    128 /**
    129  * @brief xcb_fontable_iterator_t
    130  **/
    131 typedef struct xcb_fontable_iterator_t {
    132     xcb_fontable_t *data; /**<  */
    133     int             rem; /**<  */
    134     int             index; /**<  */
    135 } xcb_fontable_iterator_t;
    136 
    137 typedef uint32_t xcb_visualid_t;
    138 
    139 /**
    140  * @brief xcb_visualid_iterator_t
    141  **/
    142 typedef struct xcb_visualid_iterator_t {
    143     xcb_visualid_t *data; /**<  */
    144     int             rem; /**<  */
    145     int             index; /**<  */
    146 } xcb_visualid_iterator_t;
    147 
    148 typedef uint32_t xcb_timestamp_t;
    149 
    150 /**
    151  * @brief xcb_timestamp_iterator_t
    152  **/
    153 typedef struct xcb_timestamp_iterator_t {
    154     xcb_timestamp_t *data; /**<  */
    155     int              rem; /**<  */
    156     int              index; /**<  */
    157 } xcb_timestamp_iterator_t;
    158 
    159 typedef uint32_t xcb_keysym_t;
    160 
    161 /**
    162  * @brief xcb_keysym_iterator_t
    163  **/
    164 typedef struct xcb_keysym_iterator_t {
    165     xcb_keysym_t *data; /**<  */
    166     int           rem; /**<  */
    167     int           index; /**<  */
    168 } xcb_keysym_iterator_t;
    169 
    170 typedef uint8_t xcb_keycode_t;
    171 
    172 /**
    173  * @brief xcb_keycode_iterator_t
    174  **/
    175 typedef struct xcb_keycode_iterator_t {
    176     xcb_keycode_t *data; /**<  */
    177     int            rem; /**<  */
    178     int            index; /**<  */
    179 } xcb_keycode_iterator_t;
    180 
    181 typedef uint8_t xcb_button_t;
    182 
    183 /**
    184  * @brief xcb_button_iterator_t
    185  **/
    186 typedef struct xcb_button_iterator_t {
    187     xcb_button_t *data; /**<  */
    188     int           rem; /**<  */
    189     int           index; /**<  */
    190 } xcb_button_iterator_t;
    191 
    192 /**
    193  * @brief xcb_point_t
    194  **/
    195 typedef struct xcb_point_t {
    196     int16_t x; /**<  */
    197     int16_t y; /**<  */
    198 } xcb_point_t;
    199 
    200 /**
    201  * @brief xcb_point_iterator_t
    202  **/
    203 typedef struct xcb_point_iterator_t {
    204     xcb_point_t *data; /**<  */
    205     int          rem; /**<  */
    206     int          index; /**<  */
    207 } xcb_point_iterator_t;
    208 
    209 /**
    210  * @brief xcb_rectangle_t
    211  **/
    212 typedef struct xcb_rectangle_t {
    213     int16_t  x; /**<  */
    214     int16_t  y; /**<  */
    215     uint16_t width; /**<  */
    216     uint16_t height; /**<  */
    217 } xcb_rectangle_t;
    218 
    219 /**
    220  * @brief xcb_rectangle_iterator_t
    221  **/
    222 typedef struct xcb_rectangle_iterator_t {
    223     xcb_rectangle_t *data; /**<  */
    224     int              rem; /**<  */
    225     int              index; /**<  */
    226 } xcb_rectangle_iterator_t;
    227 
    228 /**
    229  * @brief xcb_arc_t
    230  **/
    231 typedef struct xcb_arc_t {
    232     int16_t  x; /**<  */
    233     int16_t  y; /**<  */
    234     uint16_t width; /**<  */
    235     uint16_t height; /**<  */
    236     int16_t  angle1; /**<  */
    237     int16_t  angle2; /**<  */
    238 } xcb_arc_t;
    239 
    240 /**
    241  * @brief xcb_arc_iterator_t
    242  **/
    243 typedef struct xcb_arc_iterator_t {
    244     xcb_arc_t *data; /**<  */
    245     int        rem; /**<  */
    246     int        index; /**<  */
    247 } xcb_arc_iterator_t;
    248 
    249 /**
    250  * @brief xcb_format_t
    251  **/
    252 typedef struct xcb_format_t {
    253     uint8_t depth; /**<  */
    254     uint8_t bits_per_pixel; /**<  */
    255     uint8_t scanline_pad; /**<  */
    256     uint8_t pad0[5]; /**<  */
    257 } xcb_format_t;
    258 
    259 /**
    260  * @brief xcb_format_iterator_t
    261  **/
    262 typedef struct xcb_format_iterator_t {
    263     xcb_format_t *data; /**<  */
    264     int           rem; /**<  */
    265     int           index; /**<  */
    266 } xcb_format_iterator_t;
    267 
    268 typedef enum xcb_visual_class_t {
    269     XCB_VISUAL_CLASS_STATIC_GRAY = 0,
    270     XCB_VISUAL_CLASS_GRAY_SCALE = 1,
    271     XCB_VISUAL_CLASS_STATIC_COLOR = 2,
    272     XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
    273     XCB_VISUAL_CLASS_TRUE_COLOR = 4,
    274     XCB_VISUAL_CLASS_DIRECT_COLOR = 5
    275 } xcb_visual_class_t;
    276 
    277 /**
    278  * @brief xcb_visualtype_t
    279  **/
    280 typedef struct xcb_visualtype_t {
    281     xcb_visualid_t visual_id; /**<  */
    282     uint8_t        _class; /**<  */
    283     uint8_t        bits_per_rgb_value; /**<  */
    284     uint16_t       colormap_entries; /**<  */
    285     uint32_t       red_mask; /**<  */
    286     uint32_t       green_mask; /**<  */
    287     uint32_t       blue_mask; /**<  */
    288     uint8_t        pad0[4]; /**<  */
    289 } xcb_visualtype_t;
    290 
    291 /**
    292  * @brief xcb_visualtype_iterator_t
    293  **/
    294 typedef struct xcb_visualtype_iterator_t {
    295     xcb_visualtype_t *data; /**<  */
    296     int               rem; /**<  */
    297     int               index; /**<  */
    298 } xcb_visualtype_iterator_t;
    299 
    300 /**
    301  * @brief xcb_depth_t
    302  **/
    303 typedef struct xcb_depth_t {
    304     uint8_t  depth; /**<  */
    305     uint8_t  pad0; /**<  */
    306     uint16_t visuals_len; /**<  */
    307     uint8_t  pad1[4]; /**<  */
    308 } xcb_depth_t;
    309 
    310 /**
    311  * @brief xcb_depth_iterator_t
    312  **/
    313 typedef struct xcb_depth_iterator_t {
    314     xcb_depth_t *data; /**<  */
    315     int          rem; /**<  */
    316     int          index; /**<  */
    317 } xcb_depth_iterator_t;
    318 
    319 typedef enum xcb_event_mask_t {
    320     XCB_EVENT_MASK_NO_EVENT = 0,
    321     XCB_EVENT_MASK_KEY_PRESS = 1,
    322     XCB_EVENT_MASK_KEY_RELEASE = 2,
    323     XCB_EVENT_MASK_BUTTON_PRESS = 4,
    324     XCB_EVENT_MASK_BUTTON_RELEASE = 8,
    325     XCB_EVENT_MASK_ENTER_WINDOW = 16,
    326     XCB_EVENT_MASK_LEAVE_WINDOW = 32,
    327     XCB_EVENT_MASK_POINTER_MOTION = 64,
    328     XCB_EVENT_MASK_POINTER_MOTION_HINT = 128,
    329     XCB_EVENT_MASK_BUTTON_1_MOTION = 256,
    330     XCB_EVENT_MASK_BUTTON_2_MOTION = 512,
    331     XCB_EVENT_MASK_BUTTON_3_MOTION = 1024,
    332     XCB_EVENT_MASK_BUTTON_4_MOTION = 2048,
    333     XCB_EVENT_MASK_BUTTON_5_MOTION = 4096,
    334     XCB_EVENT_MASK_BUTTON_MOTION = 8192,
    335     XCB_EVENT_MASK_KEYMAP_STATE = 16384,
    336     XCB_EVENT_MASK_EXPOSURE = 32768,
    337     XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536,
    338     XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072,
    339     XCB_EVENT_MASK_RESIZE_REDIRECT = 262144,
    340     XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288,
    341     XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576,
    342     XCB_EVENT_MASK_FOCUS_CHANGE = 2097152,
    343     XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304,
    344     XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608,
    345     XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216
    346 } xcb_event_mask_t;
    347 
    348 typedef enum xcb_backing_store_t {
    349     XCB_BACKING_STORE_NOT_USEFUL = 0,
    350     XCB_BACKING_STORE_WHEN_MAPPED = 1,
    351     XCB_BACKING_STORE_ALWAYS = 2
    352 } xcb_backing_store_t;
    353 
    354 /**
    355  * @brief xcb_screen_t
    356  **/
    357 typedef struct xcb_screen_t {
    358     xcb_window_t   root; /**<  */
    359     xcb_colormap_t default_colormap; /**<  */
    360     uint32_t       white_pixel; /**<  */
    361     uint32_t       black_pixel; /**<  */
    362     uint32_t       current_input_masks; /**<  */
    363     uint16_t       width_in_pixels; /**<  */
    364     uint16_t       height_in_pixels; /**<  */
    365     uint16_t       width_in_millimeters; /**<  */
    366     uint16_t       height_in_millimeters; /**<  */
    367     uint16_t       min_installed_maps; /**<  */
    368     uint16_t       max_installed_maps; /**<  */
    369     xcb_visualid_t root_visual; /**<  */
    370     uint8_t        backing_stores; /**<  */
    371     uint8_t        save_unders; /**<  */
    372     uint8_t        root_depth; /**<  */
    373     uint8_t        allowed_depths_len; /**<  */
    374 } xcb_screen_t;
    375 
    376 /**
    377  * @brief xcb_screen_iterator_t
    378  **/
    379 typedef struct xcb_screen_iterator_t {
    380     xcb_screen_t *data; /**<  */
    381     int           rem; /**<  */
    382     int           index; /**<  */
    383 } xcb_screen_iterator_t;
    384 
    385 /**
    386  * @brief xcb_setup_request_t
    387  **/
    388 typedef struct xcb_setup_request_t {
    389     uint8_t  byte_order; /**<  */
    390     uint8_t  pad0; /**<  */
    391     uint16_t protocol_major_version; /**<  */
    392     uint16_t protocol_minor_version; /**<  */
    393     uint16_t authorization_protocol_name_len; /**<  */
    394     uint16_t authorization_protocol_data_len; /**<  */
    395     uint8_t  pad1[2]; /**<  */
    396 } xcb_setup_request_t;
    397 
    398 /**
    399  * @brief xcb_setup_request_iterator_t
    400  **/
    401 typedef struct xcb_setup_request_iterator_t {
    402     xcb_setup_request_t *data; /**<  */
    403     int                  rem; /**<  */
    404     int                  index; /**<  */
    405 } xcb_setup_request_iterator_t;
    406 
    407 /**
    408  * @brief xcb_setup_failed_t
    409  **/
    410 typedef struct xcb_setup_failed_t {
    411     uint8_t  status; /**<  */
    412     uint8_t  reason_len; /**<  */
    413     uint16_t protocol_major_version; /**<  */
    414     uint16_t protocol_minor_version; /**<  */
    415     uint16_t length; /**<  */
    416 } xcb_setup_failed_t;
    417 
    418 /**
    419  * @brief xcb_setup_failed_iterator_t
    420  **/
    421 typedef struct xcb_setup_failed_iterator_t {
    422     xcb_setup_failed_t *data; /**<  */
    423     int                 rem; /**<  */
    424     int                 index; /**<  */
    425 } xcb_setup_failed_iterator_t;
    426 
    427 /**
    428  * @brief xcb_setup_authenticate_t
    429  **/
    430 typedef struct xcb_setup_authenticate_t {
    431     uint8_t  status; /**<  */
    432     uint8_t  pad0[5]; /**<  */
    433     uint16_t length; /**<  */
    434 } xcb_setup_authenticate_t;
    435 
    436 /**
    437  * @brief xcb_setup_authenticate_iterator_t
    438  **/
    439 typedef struct xcb_setup_authenticate_iterator_t {
    440     xcb_setup_authenticate_t *data; /**<  */
    441     int                       rem; /**<  */
    442     int                       index; /**<  */
    443 } xcb_setup_authenticate_iterator_t;
    444 
    445 typedef enum xcb_image_order_t {
    446     XCB_IMAGE_ORDER_LSB_FIRST = 0,
    447     XCB_IMAGE_ORDER_MSB_FIRST = 1
    448 } xcb_image_order_t;
    449 
    450 /**
    451  * @brief xcb_setup_t
    452  **/
    453 typedef struct xcb_setup_t {
    454     uint8_t       status; /**<  */
    455     uint8_t       pad0; /**<  */
    456     uint16_t      protocol_major_version; /**<  */
    457     uint16_t      protocol_minor_version; /**<  */
    458     uint16_t      length; /**<  */
    459     uint32_t      release_number; /**<  */
    460     uint32_t      resource_id_base; /**<  */
    461     uint32_t      resource_id_mask; /**<  */
    462     uint32_t      motion_buffer_size; /**<  */
    463     uint16_t      vendor_len; /**<  */
    464     uint16_t      maximum_request_length; /**<  */
    465     uint8_t       roots_len; /**<  */
    466     uint8_t       pixmap_formats_len; /**<  */
    467     uint8_t       image_byte_order; /**<  */
    468     uint8_t       bitmap_format_bit_order; /**<  */
    469     uint8_t       bitmap_format_scanline_unit; /**<  */
    470     uint8_t       bitmap_format_scanline_pad; /**<  */
    471     xcb_keycode_t min_keycode; /**<  */
    472     xcb_keycode_t max_keycode; /**<  */
    473     uint8_t       pad1[4]; /**<  */
    474 } xcb_setup_t;
    475 
    476 /**
    477  * @brief xcb_setup_iterator_t
    478  **/
    479 typedef struct xcb_setup_iterator_t {
    480     xcb_setup_t *data; /**<  */
    481     int          rem; /**<  */
    482     int          index; /**<  */
    483 } xcb_setup_iterator_t;
    484 
    485 typedef enum xcb_mod_mask_t {
    486     XCB_MOD_MASK_SHIFT = 1,
    487     XCB_MOD_MASK_LOCK = 2,
    488     XCB_MOD_MASK_CONTROL = 4,
    489     XCB_MOD_MASK_1 = 8,
    490     XCB_MOD_MASK_2 = 16,
    491     XCB_MOD_MASK_3 = 32,
    492     XCB_MOD_MASK_4 = 64,
    493     XCB_MOD_MASK_5 = 128,
    494     XCB_MOD_MASK_ANY = 32768
    495 } xcb_mod_mask_t;
    496 
    497 typedef enum xcb_key_but_mask_t {
    498     XCB_KEY_BUT_MASK_SHIFT = 1,
    499     XCB_KEY_BUT_MASK_LOCK = 2,
    500     XCB_KEY_BUT_MASK_CONTROL = 4,
    501     XCB_KEY_BUT_MASK_MOD_1 = 8,
    502     XCB_KEY_BUT_MASK_MOD_2 = 16,
    503     XCB_KEY_BUT_MASK_MOD_3 = 32,
    504     XCB_KEY_BUT_MASK_MOD_4 = 64,
    505     XCB_KEY_BUT_MASK_MOD_5 = 128,
    506     XCB_KEY_BUT_MASK_BUTTON_1 = 256,
    507     XCB_KEY_BUT_MASK_BUTTON_2 = 512,
    508     XCB_KEY_BUT_MASK_BUTTON_3 = 1024,
    509     XCB_KEY_BUT_MASK_BUTTON_4 = 2048,
    510     XCB_KEY_BUT_MASK_BUTTON_5 = 4096
    511 } xcb_key_but_mask_t;
    512 
    513 typedef enum xcb_window_enum_t {
    514     XCB_WINDOW_NONE = 0
    515 } xcb_window_enum_t;
    516 
    517 /** Opcode for xcb_key_press. */
    518 #define XCB_KEY_PRESS 2
    519 
    520 /**
    521  * @brief xcb_key_press_event_t
    522  **/
    523 typedef struct xcb_key_press_event_t {
    524     uint8_t         response_type; /**<  */
    525     xcb_keycode_t   detail; /**<  */
    526     uint16_t        sequence; /**<  */
    527     xcb_timestamp_t time; /**<  */
    528     xcb_window_t    root; /**<  */
    529     xcb_window_t    event; /**<  */
    530     xcb_window_t    child; /**<  */
    531     int16_t         root_x; /**<  */
    532     int16_t         root_y; /**<  */
    533     int16_t         event_x; /**<  */
    534     int16_t         event_y; /**<  */
    535     uint16_t        state; /**<  */
    536     uint8_t         same_screen; /**<  */
    537     uint8_t         pad0; /**<  */
    538 } xcb_key_press_event_t;
    539 
    540 /** Opcode for xcb_key_release. */
    541 #define XCB_KEY_RELEASE 3
    542 
    543 typedef xcb_key_press_event_t xcb_key_release_event_t;
    544 
    545 typedef enum xcb_button_mask_t {
    546     XCB_BUTTON_MASK_1 = 256,
    547     XCB_BUTTON_MASK_2 = 512,
    548     XCB_BUTTON_MASK_3 = 1024,
    549     XCB_BUTTON_MASK_4 = 2048,
    550     XCB_BUTTON_MASK_5 = 4096,
    551     XCB_BUTTON_MASK_ANY = 32768
    552 } xcb_button_mask_t;
    553 
    554 /** Opcode for xcb_button_press. */
    555 #define XCB_BUTTON_PRESS 4
    556 
    557 /**
    558  * @brief xcb_button_press_event_t
    559  **/
    560 typedef struct xcb_button_press_event_t {
    561     uint8_t         response_type; /**<  */
    562     xcb_button_t    detail; /**<  */
    563     uint16_t        sequence; /**<  */
    564     xcb_timestamp_t time; /**<  */
    565     xcb_window_t    root; /**<  */
    566     xcb_window_t    event; /**<  */
    567     xcb_window_t    child; /**<  */
    568     int16_t         root_x; /**<  */
    569     int16_t         root_y; /**<  */
    570     int16_t         event_x; /**<  */
    571     int16_t         event_y; /**<  */
    572     uint16_t        state; /**<  */
    573     uint8_t         same_screen; /**<  */
    574     uint8_t         pad0; /**<  */
    575 } xcb_button_press_event_t;
    576 
    577 /** Opcode for xcb_button_release. */
    578 #define XCB_BUTTON_RELEASE 5
    579 
    580 typedef xcb_button_press_event_t xcb_button_release_event_t;
    581 
    582 typedef enum xcb_motion_t {
    583     XCB_MOTION_NORMAL = 0,
    584     XCB_MOTION_HINT = 1
    585 } xcb_motion_t;
    586 
    587 /** Opcode for xcb_motion_notify. */
    588 #define XCB_MOTION_NOTIFY 6
    589 
    590 /**
    591  * @brief xcb_motion_notify_event_t
    592  **/
    593 typedef struct xcb_motion_notify_event_t {
    594     uint8_t         response_type; /**<  */
    595     uint8_t         detail; /**<  */
    596     uint16_t        sequence; /**<  */
    597     xcb_timestamp_t time; /**<  */
    598     xcb_window_t    root; /**<  */
    599     xcb_window_t    event; /**<  */
    600     xcb_window_t    child; /**<  */
    601     int16_t         root_x; /**<  */
    602     int16_t         root_y; /**<  */
    603     int16_t         event_x; /**<  */
    604     int16_t         event_y; /**<  */
    605     uint16_t        state; /**<  */
    606     uint8_t         same_screen; /**<  */
    607     uint8_t         pad0; /**<  */
    608 } xcb_motion_notify_event_t;
    609 
    610 typedef enum xcb_notify_detail_t {
    611     XCB_NOTIFY_DETAIL_ANCESTOR = 0,
    612     XCB_NOTIFY_DETAIL_VIRTUAL = 1,
    613     XCB_NOTIFY_DETAIL_INFERIOR = 2,
    614     XCB_NOTIFY_DETAIL_NONLINEAR = 3,
    615     XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
    616     XCB_NOTIFY_DETAIL_POINTER = 5,
    617     XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
    618     XCB_NOTIFY_DETAIL_NONE = 7
    619 } xcb_notify_detail_t;
    620 
    621 typedef enum xcb_notify_mode_t {
    622     XCB_NOTIFY_MODE_NORMAL = 0,
    623     XCB_NOTIFY_MODE_GRAB = 1,
    624     XCB_NOTIFY_MODE_UNGRAB = 2,
    625     XCB_NOTIFY_MODE_WHILE_GRABBED = 3
    626 } xcb_notify_mode_t;
    627 
    628 /** Opcode for xcb_enter_notify. */
    629 #define XCB_ENTER_NOTIFY 7
    630 
    631 /**
    632  * @brief xcb_enter_notify_event_t
    633  **/
    634 typedef struct xcb_enter_notify_event_t {
    635     uint8_t         response_type; /**<  */
    636     uint8_t         detail; /**<  */
    637     uint16_t        sequence; /**<  */
    638     xcb_timestamp_t time; /**<  */
    639     xcb_window_t    root; /**<  */
    640     xcb_window_t    event; /**<  */
    641     xcb_window_t    child; /**<  */
    642     int16_t         root_x; /**<  */
    643     int16_t         root_y; /**<  */
    644     int16_t         event_x; /**<  */
    645     int16_t         event_y; /**<  */
    646     uint16_t        state; /**<  */
    647     uint8_t         mode; /**<  */
    648     uint8_t         same_screen_focus; /**<  */
    649 } xcb_enter_notify_event_t;
    650 
    651 /** Opcode for xcb_leave_notify. */
    652 #define XCB_LEAVE_NOTIFY 8
    653 
    654 typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
    655 
    656 /** Opcode for xcb_focus_in. */
    657 #define XCB_FOCUS_IN 9
    658 
    659 /**
    660  * @brief xcb_focus_in_event_t
    661  **/
    662 typedef struct xcb_focus_in_event_t {
    663     uint8_t      response_type; /**<  */
    664     uint8_t      detail; /**<  */
    665     uint16_t     sequence; /**<  */
    666     xcb_window_t event; /**<  */
    667     uint8_t      mode; /**<  */
    668     uint8_t      pad0[3]; /**<  */
    669 } xcb_focus_in_event_t;
    670 
    671 /** Opcode for xcb_focus_out. */
    672 #define XCB_FOCUS_OUT 10
    673 
    674 typedef xcb_focus_in_event_t xcb_focus_out_event_t;
    675 
    676 /** Opcode for xcb_keymap_notify. */
    677 #define XCB_KEYMAP_NOTIFY 11
    678 
    679 /**
    680  * @brief xcb_keymap_notify_event_t
    681  **/
    682 typedef struct xcb_keymap_notify_event_t {
    683     uint8_t response_type; /**<  */
    684     uint8_t keys[31]; /**<  */
    685 } xcb_keymap_notify_event_t;
    686 
    687 /** Opcode for xcb_expose. */
    688 #define XCB_EXPOSE 12
    689 
    690 /**
    691  * @brief xcb_expose_event_t
    692  **/
    693 typedef struct xcb_expose_event_t {
    694     uint8_t      response_type; /**<  */
    695     uint8_t      pad0; /**<  */
    696     uint16_t     sequence; /**<  */
    697     xcb_window_t window; /**<  */
    698     uint16_t     x; /**<  */
    699     uint16_t     y; /**<  */
    700     uint16_t     width; /**<  */
    701     uint16_t     height; /**<  */
    702     uint16_t     count; /**<  */
    703     uint8_t      pad1[2]; /**<  */
    704 } xcb_expose_event_t;
    705 
    706 /** Opcode for xcb_graphics_exposure. */
    707 #define XCB_GRAPHICS_EXPOSURE 13
    708 
    709 /**
    710  * @brief xcb_graphics_exposure_event_t
    711  **/
    712 typedef struct xcb_graphics_exposure_event_t {
    713     uint8_t        response_type; /**<  */
    714     uint8_t        pad0; /**<  */
    715     uint16_t       sequence; /**<  */
    716     xcb_drawable_t drawable; /**<  */
    717     uint16_t       x; /**<  */
    718     uint16_t       y; /**<  */
    719     uint16_t       width; /**<  */
    720     uint16_t       height; /**<  */
    721     uint16_t       minor_opcode; /**<  */
    722     uint16_t       count; /**<  */
    723     uint8_t        major_opcode; /**<  */
    724     uint8_t        pad1[3]; /**<  */
    725 } xcb_graphics_exposure_event_t;
    726 
    727 /** Opcode for xcb_no_exposure. */
    728 #define XCB_NO_EXPOSURE 14
    729 
    730 /**
    731  * @brief xcb_no_exposure_event_t
    732  **/
    733 typedef struct xcb_no_exposure_event_t {
    734     uint8_t        response_type; /**<  */
    735     uint8_t        pad0; /**<  */
    736     uint16_t       sequence; /**<  */
    737     xcb_drawable_t drawable; /**<  */
    738     uint16_t       minor_opcode; /**<  */
    739     uint8_t        major_opcode; /**<  */
    740     uint8_t        pad1; /**<  */
    741 } xcb_no_exposure_event_t;
    742 
    743 typedef enum xcb_visibility_t {
    744     XCB_VISIBILITY_UNOBSCURED = 0,
    745     XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
    746     XCB_VISIBILITY_FULLY_OBSCURED = 2
    747 } xcb_visibility_t;
    748 
    749 /** Opcode for xcb_visibility_notify. */
    750 #define XCB_VISIBILITY_NOTIFY 15
    751 
    752 /**
    753  * @brief xcb_visibility_notify_event_t
    754  **/
    755 typedef struct xcb_visibility_notify_event_t {
    756     uint8_t      response_type; /**<  */
    757     uint8_t      pad0; /**<  */
    758     uint16_t     sequence; /**<  */
    759     xcb_window_t window; /**<  */
    760     uint8_t      state; /**<  */
    761     uint8_t      pad1[3]; /**<  */
    762 } xcb_visibility_notify_event_t;
    763 
    764 /** Opcode for xcb_create_notify. */
    765 #define XCB_CREATE_NOTIFY 16
    766 
    767 /**
    768  * @brief xcb_create_notify_event_t
    769  **/
    770 typedef struct xcb_create_notify_event_t {
    771     uint8_t      response_type; /**<  */
    772     uint8_t      pad0; /**<  */
    773     uint16_t     sequence; /**<  */
    774     xcb_window_t parent; /**<  */
    775     xcb_window_t window; /**<  */
    776     int16_t      x; /**<  */
    777     int16_t      y; /**<  */
    778     uint16_t     width; /**<  */
    779     uint16_t     height; /**<  */
    780     uint16_t     border_width; /**<  */
    781     uint8_t      override_redirect; /**<  */
    782     uint8_t      pad1; /**<  */
    783 } xcb_create_notify_event_t;
    784 
    785 /** Opcode for xcb_destroy_notify. */
    786 #define XCB_DESTROY_NOTIFY 17
    787 
    788 /**
    789  * @brief xcb_destroy_notify_event_t
    790  **/
    791 typedef struct xcb_destroy_notify_event_t {
    792     uint8_t      response_type; /**<  */
    793     uint8_t      pad0; /**<  */
    794     uint16_t     sequence; /**<  */
    795     xcb_window_t event; /**<  */
    796     xcb_window_t window; /**<  */
    797 } xcb_destroy_notify_event_t;
    798 
    799 /** Opcode for xcb_unmap_notify. */
    800 #define XCB_UNMAP_NOTIFY 18
    801 
    802 /**
    803  * @brief xcb_unmap_notify_event_t
    804  **/
    805 typedef struct xcb_unmap_notify_event_t {
    806     uint8_t      response_type; /**<  */
    807     uint8_t      pad0; /**<  */
    808     uint16_t     sequence; /**<  */
    809     xcb_window_t event; /**<  */
    810     xcb_window_t window; /**<  */
    811     uint8_t      from_configure; /**<  */
    812     uint8_t      pad1[3]; /**<  */
    813 } xcb_unmap_notify_event_t;
    814 
    815 /** Opcode for xcb_map_notify. */
    816 #define XCB_MAP_NOTIFY 19
    817 
    818 /**
    819  * @brief xcb_map_notify_event_t
    820  **/
    821 typedef struct xcb_map_notify_event_t {
    822     uint8_t      response_type; /**<  */
    823     uint8_t      pad0; /**<  */
    824     uint16_t     sequence; /**<  */
    825     xcb_window_t event; /**<  */
    826     xcb_window_t window; /**<  */
    827     uint8_t      override_redirect; /**<  */
    828     uint8_t      pad1[3]; /**<  */
    829 } xcb_map_notify_event_t;
    830 
    831 /** Opcode for xcb_map_request. */
    832 #define XCB_MAP_REQUEST 20
    833 
    834 /**
    835  * @brief xcb_map_request_event_t
    836  **/
    837 typedef struct xcb_map_request_event_t {
    838     uint8_t      response_type; /**<  */
    839     uint8_t      pad0; /**<  */
    840     uint16_t     sequence; /**<  */
    841     xcb_window_t parent; /**<  */
    842     xcb_window_t window; /**<  */
    843 } xcb_map_request_event_t;
    844 
    845 /** Opcode for xcb_reparent_notify. */
    846 #define XCB_REPARENT_NOTIFY 21
    847 
    848 /**
    849  * @brief xcb_reparent_notify_event_t
    850  **/
    851 typedef struct xcb_reparent_notify_event_t {
    852     uint8_t      response_type; /**<  */
    853     uint8_t      pad0; /**<  */
    854     uint16_t     sequence; /**<  */
    855     xcb_window_t event; /**<  */
    856     xcb_window_t window; /**<  */
    857     xcb_window_t parent; /**<  */
    858     int16_t      x; /**<  */
    859     int16_t      y; /**<  */
    860     uint8_t      override_redirect; /**<  */
    861     uint8_t      pad1[3]; /**<  */
    862 } xcb_reparent_notify_event_t;
    863 
    864 /** Opcode for xcb_configure_notify. */
    865 #define XCB_CONFIGURE_NOTIFY 22
    866 
    867 /**
    868  * @brief xcb_configure_notify_event_t
    869  **/
    870 typedef struct xcb_configure_notify_event_t {
    871     uint8_t      response_type; /**<  */
    872     uint8_t      pad0; /**<  */
    873     uint16_t     sequence; /**<  */
    874     xcb_window_t event; /**<  */
    875     xcb_window_t window; /**<  */
    876     xcb_window_t above_sibling; /**<  */
    877     int16_t      x; /**<  */
    878     int16_t      y; /**<  */
    879     uint16_t     width; /**<  */
    880     uint16_t     height; /**<  */
    881     uint16_t     border_width; /**<  */
    882     uint8_t      override_redirect; /**<  */
    883     uint8_t      pad1; /**<  */
    884 } xcb_configure_notify_event_t;
    885 
    886 /** Opcode for xcb_configure_request. */
    887 #define XCB_CONFIGURE_REQUEST 23
    888 
    889 /**
    890  * @brief xcb_configure_request_event_t
    891  **/
    892 typedef struct xcb_configure_request_event_t {
    893     uint8_t      response_type; /**<  */
    894     uint8_t      stack_mode; /**<  */
    895     uint16_t     sequence; /**<  */
    896     xcb_window_t parent; /**<  */
    897     xcb_window_t window; /**<  */
    898     xcb_window_t sibling; /**<  */
    899     int16_t      x; /**<  */
    900     int16_t      y; /**<  */
    901     uint16_t     width; /**<  */
    902     uint16_t     height; /**<  */
    903     uint16_t     border_width; /**<  */
    904     uint16_t     value_mask; /**<  */
    905 } xcb_configure_request_event_t;
    906 
    907 /** Opcode for xcb_gravity_notify. */
    908 #define XCB_GRAVITY_NOTIFY 24
    909 
    910 /**
    911  * @brief xcb_gravity_notify_event_t
    912  **/
    913 typedef struct xcb_gravity_notify_event_t {
    914     uint8_t      response_type; /**<  */
    915     uint8_t      pad0; /**<  */
    916     uint16_t     sequence; /**<  */
    917     xcb_window_t event; /**<  */
    918     xcb_window_t window; /**<  */
    919     int16_t      x; /**<  */
    920     int16_t      y; /**<  */
    921 } xcb_gravity_notify_event_t;
    922 
    923 /** Opcode for xcb_resize_request. */
    924 #define XCB_RESIZE_REQUEST 25
    925 
    926 /**
    927  * @brief xcb_resize_request_event_t
    928  **/
    929 typedef struct xcb_resize_request_event_t {
    930     uint8_t      response_type; /**<  */
    931     uint8_t      pad0; /**<  */
    932     uint16_t     sequence; /**<  */
    933     xcb_window_t window; /**<  */
    934     uint16_t     width; /**<  */
    935     uint16_t     height; /**<  */
    936 } xcb_resize_request_event_t;
    937 
    938 typedef enum xcb_place_t {
    939     XCB_PLACE_ON_TOP = 0,
    940     XCB_PLACE_ON_BOTTOM = 1
    941 } xcb_place_t;
    942 
    943 /** Opcode for xcb_circulate_notify. */
    944 #define XCB_CIRCULATE_NOTIFY 26
    945 
    946 /**
    947  * @brief xcb_circulate_notify_event_t
    948  **/
    949 typedef struct xcb_circulate_notify_event_t {
    950     uint8_t      response_type; /**<  */
    951     uint8_t      pad0; /**<  */
    952     uint16_t     sequence; /**<  */
    953     xcb_window_t event; /**<  */
    954     xcb_window_t window; /**<  */
    955     uint8_t      pad1[4]; /**<  */
    956     uint8_t      place; /**<  */
    957     uint8_t      pad2[3]; /**<  */
    958 } xcb_circulate_notify_event_t;
    959 
    960 /** Opcode for xcb_circulate_request. */
    961 #define XCB_CIRCULATE_REQUEST 27
    962 
    963 typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
    964 
    965 typedef enum xcb_property_t {
    966     XCB_PROPERTY_NEW_VALUE = 0,
    967     XCB_PROPERTY_DELETE = 1
    968 } xcb_property_t;
    969 
    970 /** Opcode for xcb_property_notify. */
    971 #define XCB_PROPERTY_NOTIFY 28
    972 
    973 /**
    974  * @brief xcb_property_notify_event_t
    975  **/
    976 typedef struct xcb_property_notify_event_t {
    977     uint8_t         response_type; /**<  */
    978     uint8_t         pad0; /**<  */
    979     uint16_t        sequence; /**<  */
    980     xcb_window_t    window; /**<  */
    981     xcb_atom_t      atom; /**<  */
    982     xcb_timestamp_t time; /**<  */
    983     uint8_t         state; /**<  */
    984     uint8_t         pad1[3]; /**<  */
    985 } xcb_property_notify_event_t;
    986 
    987 /** Opcode for xcb_selection_clear. */
    988 #define XCB_SELECTION_CLEAR 29
    989 
    990 /**
    991  * @brief xcb_selection_clear_event_t
    992  **/
    993 typedef struct xcb_selection_clear_event_t {
    994     uint8_t         response_type; /**<  */
    995     uint8_t         pad0; /**<  */
    996     uint16_t        sequence; /**<  */
    997     xcb_timestamp_t time; /**<  */
    998     xcb_window_t    owner; /**<  */
    999     xcb_atom_t      selection; /**<  */
   1000 } xcb_selection_clear_event_t;
   1001 
   1002 typedef enum xcb_time_t {
   1003     XCB_TIME_CURRENT_TIME = 0
   1004 } xcb_time_t;
   1005 
   1006 typedef enum xcb_atom_enum_t {
   1007     XCB_ATOM_NONE = 0,
   1008     XCB_ATOM_ANY = 0,
   1009     XCB_ATOM_PRIMARY,
   1010     XCB_ATOM_SECONDARY,
   1011     XCB_ATOM_ARC,
   1012     XCB_ATOM_ATOM,
   1013     XCB_ATOM_BITMAP,
   1014     XCB_ATOM_CARDINAL,
   1015     XCB_ATOM_COLORMAP,
   1016     XCB_ATOM_CURSOR,
   1017     XCB_ATOM_CUT_BUFFER0,
   1018     XCB_ATOM_CUT_BUFFER1,
   1019     XCB_ATOM_CUT_BUFFER2,
   1020     XCB_ATOM_CUT_BUFFER3,
   1021     XCB_ATOM_CUT_BUFFER4,
   1022     XCB_ATOM_CUT_BUFFER5,
   1023     XCB_ATOM_CUT_BUFFER6,
   1024     XCB_ATOM_CUT_BUFFER7,
   1025     XCB_ATOM_DRAWABLE,
   1026     XCB_ATOM_FONT,
   1027     XCB_ATOM_INTEGER,
   1028     XCB_ATOM_PIXMAP,
   1029     XCB_ATOM_POINT,
   1030     XCB_ATOM_RECTANGLE,
   1031     XCB_ATOM_RESOURCE_MANAGER,
   1032     XCB_ATOM_RGB_COLOR_MAP,
   1033     XCB_ATOM_RGB_BEST_MAP,
   1034     XCB_ATOM_RGB_BLUE_MAP,
   1035     XCB_ATOM_RGB_DEFAULT_MAP,
   1036     XCB_ATOM_RGB_GRAY_MAP,
   1037     XCB_ATOM_RGB_GREEN_MAP,
   1038     XCB_ATOM_RGB_RED_MAP,
   1039     XCB_ATOM_STRING,
   1040     XCB_ATOM_VISUALID,
   1041     XCB_ATOM_WINDOW,
   1042     XCB_ATOM_WM_COMMAND,
   1043     XCB_ATOM_WM_HINTS,
   1044     XCB_ATOM_WM_CLIENT_MACHINE,
   1045     XCB_ATOM_WM_ICON_NAME,
   1046     XCB_ATOM_WM_ICON_SIZE,
   1047     XCB_ATOM_WM_NAME,
   1048     XCB_ATOM_WM_NORMAL_HINTS,
   1049     XCB_ATOM_WM_SIZE_HINTS,
   1050     XCB_ATOM_WM_ZOOM_HINTS,
   1051     XCB_ATOM_MIN_SPACE,
   1052     XCB_ATOM_NORM_SPACE,
   1053     XCB_ATOM_MAX_SPACE,
   1054     XCB_ATOM_END_SPACE,
   1055     XCB_ATOM_SUPERSCRIPT_X,
   1056     XCB_ATOM_SUPERSCRIPT_Y,
   1057     XCB_ATOM_SUBSCRIPT_X,
   1058     XCB_ATOM_SUBSCRIPT_Y,
   1059     XCB_ATOM_UNDERLINE_POSITION,
   1060     XCB_ATOM_UNDERLINE_THICKNESS,
   1061     XCB_ATOM_STRIKEOUT_ASCENT,
   1062     XCB_ATOM_STRIKEOUT_DESCENT,
   1063     XCB_ATOM_ITALIC_ANGLE,
   1064     XCB_ATOM_X_HEIGHT,
   1065     XCB_ATOM_QUAD_WIDTH,
   1066     XCB_ATOM_WEIGHT,
   1067     XCB_ATOM_POINT_SIZE,
   1068     XCB_ATOM_RESOLUTION,
   1069     XCB_ATOM_COPYRIGHT,
   1070     XCB_ATOM_NOTICE,
   1071     XCB_ATOM_FONT_NAME,
   1072     XCB_ATOM_FAMILY_NAME,
   1073     XCB_ATOM_FULL_NAME,
   1074     XCB_ATOM_CAP_HEIGHT,
   1075     XCB_ATOM_WM_CLASS,
   1076     XCB_ATOM_WM_TRANSIENT_FOR
   1077 } xcb_atom_enum_t;
   1078 
   1079 /** Opcode for xcb_selection_request. */
   1080 #define XCB_SELECTION_REQUEST 30
   1081 
   1082 /**
   1083  * @brief xcb_selection_request_event_t
   1084  **/
   1085 typedef struct xcb_selection_request_event_t {
   1086     uint8_t         response_type; /**<  */
   1087     uint8_t         pad0; /**<  */
   1088     uint16_t        sequence; /**<  */
   1089     xcb_timestamp_t time; /**<  */
   1090     xcb_window_t    owner; /**<  */
   1091     xcb_window_t    requestor; /**<  */
   1092     xcb_atom_t      selection; /**<  */
   1093     xcb_atom_t      target; /**<  */
   1094     xcb_atom_t      property; /**<  */
   1095 } xcb_selection_request_event_t;
   1096 
   1097 /** Opcode for xcb_selection_notify. */
   1098 #define XCB_SELECTION_NOTIFY 31
   1099 
   1100 /**
   1101  * @brief xcb_selection_notify_event_t
   1102  **/
   1103 typedef struct xcb_selection_notify_event_t {
   1104     uint8_t         response_type; /**<  */
   1105     uint8_t         pad0; /**<  */
   1106     uint16_t        sequence; /**<  */
   1107     xcb_timestamp_t time; /**<  */
   1108     xcb_window_t    requestor; /**<  */
   1109     xcb_atom_t      selection; /**<  */
   1110     xcb_atom_t      target; /**<  */
   1111     xcb_atom_t      property; /**<  */
   1112 } xcb_selection_notify_event_t;
   1113 
   1114 typedef enum xcb_colormap_state_t {
   1115     XCB_COLORMAP_STATE_UNINSTALLED = 0,
   1116     XCB_COLORMAP_STATE_INSTALLED = 1
   1117 } xcb_colormap_state_t;
   1118 
   1119 typedef enum xcb_colormap_enum_t {
   1120     XCB_COLORMAP_NONE = 0
   1121 } xcb_colormap_enum_t;
   1122 
   1123 /** Opcode for xcb_colormap_notify. */
   1124 #define XCB_COLORMAP_NOTIFY 32
   1125 
   1126 /**
   1127  * @brief xcb_colormap_notify_event_t
   1128  **/
   1129 typedef struct xcb_colormap_notify_event_t {
   1130     uint8_t        response_type; /**<  */
   1131     uint8_t        pad0; /**<  */
   1132     uint16_t       sequence; /**<  */
   1133     xcb_window_t   window; /**<  */
   1134     xcb_colormap_t colormap; /**<  */
   1135     uint8_t        _new; /**<  */
   1136     uint8_t        state; /**<  */
   1137     uint8_t        pad1[2]; /**<  */
   1138 } xcb_colormap_notify_event_t;
   1139 
   1140 /**
   1141  * @brief xcb_client_message_data_t
   1142  **/
   1143 typedef union xcb_client_message_data_t {
   1144     uint8_t  data8[20]; /**<  */
   1145     uint16_t data16[10]; /**<  */
   1146     uint32_t data32[5]; /**<  */
   1147 } xcb_client_message_data_t;
   1148 
   1149 /**
   1150  * @brief xcb_client_message_data_iterator_t
   1151  **/
   1152 typedef struct xcb_client_message_data_iterator_t {
   1153     xcb_client_message_data_t *data; /**<  */
   1154     int                        rem; /**<  */
   1155     int                        index; /**<  */
   1156 } xcb_client_message_data_iterator_t;
   1157 
   1158 /** Opcode for xcb_client_message. */
   1159 #define XCB_CLIENT_MESSAGE 33
   1160 
   1161 /**
   1162  * @brief xcb_client_message_event_t
   1163  **/
   1164 typedef struct xcb_client_message_event_t {
   1165     uint8_t                   response_type; /**<  */
   1166     uint8_t                   format; /**<  */
   1167     uint16_t                  sequence; /**<  */
   1168     xcb_window_t              window; /**<  */
   1169     xcb_atom_t                type; /**<  */
   1170     xcb_client_message_data_t data; /**<  */
   1171 } xcb_client_message_event_t;
   1172 
   1173 typedef enum xcb_mapping_t {
   1174     XCB_MAPPING_MODIFIER = 0,
   1175     XCB_MAPPING_KEYBOARD = 1,
   1176     XCB_MAPPING_POINTER = 2
   1177 } xcb_mapping_t;
   1178 
   1179 /** Opcode for xcb_mapping_notify. */
   1180 #define XCB_MAPPING_NOTIFY 34
   1181 
   1182 /**
   1183  * @brief xcb_mapping_notify_event_t
   1184  **/
   1185 typedef struct xcb_mapping_notify_event_t {
   1186     uint8_t       response_type; /**<  */
   1187     uint8_t       pad0; /**<  */
   1188     uint16_t      sequence; /**<  */
   1189     uint8_t       request; /**<  */
   1190     xcb_keycode_t first_keycode; /**<  */
   1191     uint8_t       count; /**<  */
   1192     uint8_t       pad1; /**<  */
   1193 } xcb_mapping_notify_event_t;
   1194 
   1195 /** Opcode for xcb_request. */
   1196 #define XCB_REQUEST 1
   1197 
   1198 /**
   1199  * @brief xcb_request_error_t
   1200  **/
   1201 typedef struct xcb_request_error_t {
   1202     uint8_t  response_type; /**<  */
   1203     uint8_t  error_code; /**<  */
   1204     uint16_t sequence; /**<  */
   1205     uint32_t bad_value; /**<  */
   1206     uint16_t minor_opcode; /**<  */
   1207     uint8_t  major_opcode; /**<  */
   1208     uint8_t  pad0; /**<  */
   1209 } xcb_request_error_t;
   1210 
   1211 /** Opcode for xcb_value. */
   1212 #define XCB_VALUE 2
   1213 
   1214 /**
   1215  * @brief xcb_value_error_t
   1216  **/
   1217 typedef struct xcb_value_error_t {
   1218     uint8_t  response_type; /**<  */
   1219     uint8_t  error_code; /**<  */
   1220     uint16_t sequence; /**<  */
   1221     uint32_t bad_value; /**<  */
   1222     uint16_t minor_opcode; /**<  */
   1223     uint8_t  major_opcode; /**<  */
   1224     uint8_t  pad0; /**<  */
   1225 } xcb_value_error_t;
   1226 
   1227 /** Opcode for xcb_window. */
   1228 #define XCB_WINDOW 3
   1229 
   1230 typedef xcb_value_error_t xcb_window_error_t;
   1231 
   1232 /** Opcode for xcb_pixmap. */
   1233 #define XCB_PIXMAP 4
   1234 
   1235 typedef xcb_value_error_t xcb_pixmap_error_t;
   1236 
   1237 /** Opcode for xcb_atom. */
   1238 #define XCB_ATOM 5
   1239 
   1240 typedef xcb_value_error_t xcb_atom_error_t;
   1241 
   1242 /** Opcode for xcb_cursor. */
   1243 #define XCB_CURSOR 6
   1244 
   1245 typedef xcb_value_error_t xcb_cursor_error_t;
   1246 
   1247 /** Opcode for xcb_font. */
   1248 #define XCB_FONT 7
   1249 
   1250 typedef xcb_value_error_t xcb_font_error_t;
   1251 
   1252 /** Opcode for xcb_match. */
   1253 #define XCB_MATCH 8
   1254 
   1255 typedef xcb_request_error_t xcb_match_error_t;
   1256 
   1257 /** Opcode for xcb_drawable. */
   1258 #define XCB_DRAWABLE 9
   1259 
   1260 typedef xcb_value_error_t xcb_drawable_error_t;
   1261 
   1262 /** Opcode for xcb_access. */
   1263 #define XCB_ACCESS 10
   1264 
   1265 typedef xcb_request_error_t xcb_access_error_t;
   1266 
   1267 /** Opcode for xcb_alloc. */
   1268 #define XCB_ALLOC 11
   1269 
   1270 typedef xcb_request_error_t xcb_alloc_error_t;
   1271 
   1272 /** Opcode for xcb_colormap. */
   1273 #define XCB_COLORMAP 12
   1274 
   1275 typedef xcb_value_error_t xcb_colormap_error_t;
   1276 
   1277 /** Opcode for xcb_g_context. */
   1278 #define XCB_G_CONTEXT 13
   1279 
   1280 typedef xcb_value_error_t xcb_g_context_error_t;
   1281 
   1282 /** Opcode for xcb_id_choice. */
   1283 #define XCB_ID_CHOICE 14
   1284 
   1285 typedef xcb_value_error_t xcb_id_choice_error_t;
   1286 
   1287 /** Opcode for xcb_name. */
   1288 #define XCB_NAME 15
   1289 
   1290 typedef xcb_request_error_t xcb_name_error_t;
   1291 
   1292 /** Opcode for xcb_length. */
   1293 #define XCB_LENGTH 16
   1294 
   1295 typedef xcb_request_error_t xcb_length_error_t;
   1296 
   1297 /** Opcode for xcb_implementation. */
   1298 #define XCB_IMPLEMENTATION 17
   1299 
   1300 typedef xcb_request_error_t xcb_implementation_error_t;
   1301 
   1302 typedef enum xcb_window_class_t {
   1303     XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
   1304     XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
   1305     XCB_WINDOW_CLASS_INPUT_ONLY = 2
   1306 } xcb_window_class_t;
   1307 
   1308 typedef enum xcb_cw_t {
   1309     XCB_CW_BACK_PIXMAP = 1,
   1310     XCB_CW_BACK_PIXEL = 2,
   1311     XCB_CW_BORDER_PIXMAP = 4,
   1312     XCB_CW_BORDER_PIXEL = 8,
   1313     XCB_CW_BIT_GRAVITY = 16,
   1314     XCB_CW_WIN_GRAVITY = 32,
   1315     XCB_CW_BACKING_STORE = 64,
   1316     XCB_CW_BACKING_PLANES = 128,
   1317     XCB_CW_BACKING_PIXEL = 256,
   1318     XCB_CW_OVERRIDE_REDIRECT = 512,
   1319     XCB_CW_SAVE_UNDER = 1024,
   1320     XCB_CW_EVENT_MASK = 2048,
   1321     XCB_CW_DONT_PROPAGATE = 4096,
   1322     XCB_CW_COLORMAP = 8192,
   1323     XCB_CW_CURSOR = 16384
   1324 } xcb_cw_t;
   1325 
   1326 typedef enum xcb_back_pixmap_t {
   1327     XCB_BACK_PIXMAP_NONE = 0,
   1328     XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
   1329 } xcb_back_pixmap_t;
   1330 
   1331 typedef enum xcb_gravity_t {
   1332     XCB_GRAVITY_BIT_FORGET = 0,
   1333     XCB_GRAVITY_WIN_UNMAP = 0,
   1334     XCB_GRAVITY_NORTH_WEST = 1,
   1335     XCB_GRAVITY_NORTH = 2,
   1336     XCB_GRAVITY_NORTH_EAST = 3,
   1337     XCB_GRAVITY_WEST = 4,
   1338     XCB_GRAVITY_CENTER = 5,
   1339     XCB_GRAVITY_EAST = 6,
   1340     XCB_GRAVITY_SOUTH_WEST = 7,
   1341     XCB_GRAVITY_SOUTH = 8,
   1342     XCB_GRAVITY_SOUTH_EAST = 9,
   1343     XCB_GRAVITY_STATIC = 10
   1344 } xcb_gravity_t;
   1345 
   1346 /** Opcode for xcb_create_window. */
   1347 #define XCB_CREATE_WINDOW 1
   1348 
   1349 /**
   1350  * @brief xcb_create_window_request_t
   1351  **/
   1352 typedef struct xcb_create_window_request_t {
   1353     uint8_t        major_opcode; /**<  */
   1354     uint8_t        depth; /**<  */
   1355     uint16_t       length; /**<  */
   1356     xcb_window_t   wid; /**<  */
   1357     xcb_window_t   parent; /**<  */
   1358     int16_t        x; /**<  */
   1359     int16_t        y; /**<  */
   1360     uint16_t       width; /**<  */
   1361     uint16_t       height; /**<  */
   1362     uint16_t       border_width; /**<  */
   1363     uint16_t       _class; /**<  */
   1364     xcb_visualid_t visual; /**<  */
   1365     uint32_t       value_mask; /**<  */
   1366 } xcb_create_window_request_t;
   1367 
   1368 /** Opcode for xcb_change_window_attributes. */
   1369 #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
   1370 
   1371 /**
   1372  * @brief xcb_change_window_attributes_request_t
   1373  **/
   1374 typedef struct xcb_change_window_attributes_request_t {
   1375     uint8_t      major_opcode; /**<  */
   1376     uint8_t      pad0; /**<  */
   1377     uint16_t     length; /**<  */
   1378     xcb_window_t window; /**<  */
   1379     uint32_t     value_mask; /**<  */
   1380 } xcb_change_window_attributes_request_t;
   1381 
   1382 typedef enum xcb_map_state_t {
   1383     XCB_MAP_STATE_UNMAPPED = 0,
   1384     XCB_MAP_STATE_UNVIEWABLE = 1,
   1385     XCB_MAP_STATE_VIEWABLE = 2
   1386 } xcb_map_state_t;
   1387 
   1388 /**
   1389  * @brief xcb_get_window_attributes_cookie_t
   1390  **/
   1391 typedef struct xcb_get_window_attributes_cookie_t {
   1392     unsigned int sequence; /**<  */
   1393 } xcb_get_window_attributes_cookie_t;
   1394 
   1395 /** Opcode for xcb_get_window_attributes. */
   1396 #define XCB_GET_WINDOW_ATTRIBUTES 3
   1397 
   1398 /**
   1399  * @brief xcb_get_window_attributes_request_t
   1400  **/
   1401 typedef struct xcb_get_window_attributes_request_t {
   1402     uint8_t      major_opcode; /**<  */
   1403     uint8_t      pad0; /**<  */
   1404     uint16_t     length; /**<  */
   1405     xcb_window_t window; /**<  */
   1406 } xcb_get_window_attributes_request_t;
   1407 
   1408 /**
   1409  * @brief xcb_get_window_attributes_reply_t
   1410  **/
   1411 typedef struct xcb_get_window_attributes_reply_t {
   1412     uint8_t        response_type; /**<  */
   1413     uint8_t        backing_store; /**<  */
   1414     uint16_t       sequence; /**<  */
   1415     uint32_t       length; /**<  */
   1416     xcb_visualid_t visual; /**<  */
   1417     uint16_t       _class; /**<  */
   1418     uint8_t        bit_gravity; /**<  */
   1419     uint8_t        win_gravity; /**<  */
   1420     uint32_t       backing_planes; /**<  */
   1421     uint32_t       backing_pixel; /**<  */
   1422     uint8_t        save_under; /**<  */
   1423     uint8_t        map_is_installed; /**<  */
   1424     uint8_t        map_state; /**<  */
   1425     uint8_t        override_redirect; /**<  */
   1426     xcb_colormap_t colormap; /**<  */
   1427     uint32_t       all_event_masks; /**<  */
   1428     uint32_t       your_event_mask; /**<  */
   1429     uint16_t       do_not_propagate_mask; /**<  */
   1430     uint8_t        pad0[2]; /**<  */
   1431 } xcb_get_window_attributes_reply_t;
   1432 
   1433 /** Opcode for xcb_destroy_window. */
   1434 #define XCB_DESTROY_WINDOW 4
   1435 
   1436 /**
   1437  * @brief xcb_destroy_window_request_t
   1438  **/
   1439 typedef struct xcb_destroy_window_request_t {
   1440     uint8_t      major_opcode; /**<  */
   1441     uint8_t      pad0; /**<  */
   1442     uint16_t     length; /**<  */
   1443     xcb_window_t window; /**<  */
   1444 } xcb_destroy_window_request_t;
   1445 
   1446 /** Opcode for xcb_destroy_subwindows. */
   1447 #define XCB_DESTROY_SUBWINDOWS 5
   1448 
   1449 /**
   1450  * @brief xcb_destroy_subwindows_request_t
   1451  **/
   1452 typedef struct xcb_destroy_subwindows_request_t {
   1453     uint8_t      major_opcode; /**<  */
   1454     uint8_t      pad0; /**<  */
   1455     uint16_t     length; /**<  */
   1456     xcb_window_t window; /**<  */
   1457 } xcb_destroy_subwindows_request_t;
   1458 
   1459 typedef enum xcb_set_mode_t {
   1460     XCB_SET_MODE_INSERT = 0,
   1461     XCB_SET_MODE_DELETE = 1
   1462 } xcb_set_mode_t;
   1463 
   1464 /** Opcode for xcb_change_save_set. */
   1465 #define XCB_CHANGE_SAVE_SET 6
   1466 
   1467 /**
   1468  * @brief xcb_change_save_set_request_t
   1469  **/
   1470 typedef struct xcb_change_save_set_request_t {
   1471     uint8_t      major_opcode; /**<  */
   1472     uint8_t      mode; /**<  */
   1473     uint16_t     length; /**<  */
   1474     xcb_window_t window; /**<  */
   1475 } xcb_change_save_set_request_t;
   1476 
   1477 /** Opcode for xcb_reparent_window. */
   1478 #define XCB_REPARENT_WINDOW 7
   1479 
   1480 /**
   1481  * @brief xcb_reparent_window_request_t
   1482  **/
   1483 typedef struct xcb_reparent_window_request_t {
   1484     uint8_t      major_opcode; /**<  */
   1485     uint8_t      pad0; /**<  */
   1486     uint16_t     length; /**<  */
   1487     xcb_window_t window; /**<  */
   1488     xcb_window_t parent; /**<  */
   1489     int16_t      x; /**<  */
   1490     int16_t      y; /**<  */
   1491 } xcb_reparent_window_request_t;
   1492 
   1493 /** Opcode for xcb_map_window. */
   1494 #define XCB_MAP_WINDOW 8
   1495 
   1496 /**
   1497  * @brief xcb_map_window_request_t
   1498  **/
   1499 typedef struct xcb_map_window_request_t {
   1500     uint8_t      major_opcode; /**<  */
   1501     uint8_t      pad0; /**<  */
   1502     uint16_t     length; /**<  */
   1503     xcb_window_t window; /**<  */
   1504 } xcb_map_window_request_t;
   1505 
   1506 /** Opcode for xcb_map_subwindows. */
   1507 #define XCB_MAP_SUBWINDOWS 9
   1508 
   1509 /**
   1510  * @brief xcb_map_subwindows_request_t
   1511  **/
   1512 typedef struct xcb_map_subwindows_request_t {
   1513     uint8_t      major_opcode; /**<  */
   1514     uint8_t      pad0; /**<  */
   1515     uint16_t     length; /**<  */
   1516     xcb_window_t window; /**<  */
   1517 } xcb_map_subwindows_request_t;
   1518 
   1519 /** Opcode for xcb_unmap_window. */
   1520 #define XCB_UNMAP_WINDOW 10
   1521 
   1522 /**
   1523  * @brief xcb_unmap_window_request_t
   1524  **/
   1525 typedef struct xcb_unmap_window_request_t {
   1526     uint8_t      major_opcode; /**<  */
   1527     uint8_t      pad0; /**<  */
   1528     uint16_t     length; /**<  */
   1529     xcb_window_t window; /**<  */
   1530 } xcb_unmap_window_request_t;
   1531 
   1532 /** Opcode for xcb_unmap_subwindows. */
   1533 #define XCB_UNMAP_SUBWINDOWS 11
   1534 
   1535 /**
   1536  * @brief xcb_unmap_subwindows_request_t
   1537  **/
   1538 typedef struct xcb_unmap_subwindows_request_t {
   1539     uint8_t      major_opcode; /**<  */
   1540     uint8_t      pad0; /**<  */
   1541     uint16_t     length; /**<  */
   1542     xcb_window_t window; /**<  */
   1543 } xcb_unmap_subwindows_request_t;
   1544 
   1545 typedef enum xcb_config_window_t {
   1546     XCB_CONFIG_WINDOW_X = 1,
   1547     XCB_CONFIG_WINDOW_Y = 2,
   1548     XCB_CONFIG_WINDOW_WIDTH = 4,
   1549     XCB_CONFIG_WINDOW_HEIGHT = 8,
   1550     XCB_CONFIG_WINDOW_BORDER_WIDTH = 16,
   1551     XCB_CONFIG_WINDOW_SIBLING = 32,
   1552     XCB_CONFIG_WINDOW_STACK_MODE = 64
   1553 } xcb_config_window_t;
   1554 
   1555 typedef enum xcb_stack_mode_t {
   1556     XCB_STACK_MODE_ABOVE = 0,
   1557     XCB_STACK_MODE_BELOW = 1,
   1558     XCB_STACK_MODE_TOP_IF = 2,
   1559     XCB_STACK_MODE_BOTTOM_IF = 3,
   1560     XCB_STACK_MODE_OPPOSITE = 4
   1561 } xcb_stack_mode_t;
   1562 
   1563 /** Opcode for xcb_configure_window. */
   1564 #define XCB_CONFIGURE_WINDOW 12
   1565 
   1566 /**
   1567  * @brief xcb_configure_window_request_t
   1568  **/
   1569 typedef struct xcb_configure_window_request_t {
   1570     uint8_t      major_opcode; /**<  */
   1571     uint8_t      pad0; /**<  */
   1572     uint16_t     length; /**<  */
   1573     xcb_window_t window; /**<  */
   1574     uint16_t     value_mask; /**<  */
   1575     uint8_t      pad1[2]; /**<  */
   1576 } xcb_configure_window_request_t;
   1577 
   1578 typedef enum xcb_circulate_t {
   1579     XCB_CIRCULATE_RAISE_LOWEST = 0,
   1580     XCB_CIRCULATE_LOWER_HIGHEST = 1
   1581 } xcb_circulate_t;
   1582 
   1583 /** Opcode for xcb_circulate_window. */
   1584 #define XCB_CIRCULATE_WINDOW 13
   1585 
   1586 /**
   1587  * @brief xcb_circulate_window_request_t
   1588  **/
   1589 typedef struct xcb_circulate_window_request_t {
   1590     uint8_t      major_opcode; /**<  */
   1591     uint8_t      direction; /**<  */
   1592     uint16_t     length; /**<  */
   1593     xcb_window_t window; /**<  */
   1594 } xcb_circulate_window_request_t;
   1595 
   1596 /**
   1597  * @brief xcb_get_geometry_cookie_t
   1598  **/
   1599 typedef struct xcb_get_geometry_cookie_t {
   1600     unsigned int sequence; /**<  */
   1601 } xcb_get_geometry_cookie_t;
   1602 
   1603 /** Opcode for xcb_get_geometry. */
   1604 #define XCB_GET_GEOMETRY 14
   1605 
   1606 /**
   1607  * @brief xcb_get_geometry_request_t
   1608  **/
   1609 typedef struct xcb_get_geometry_request_t {
   1610     uint8_t        major_opcode; /**<  */
   1611     uint8_t        pad0; /**<  */
   1612     uint16_t       length; /**<  */
   1613     xcb_drawable_t drawable; /**<  */
   1614 } xcb_get_geometry_request_t;
   1615 
   1616 /**
   1617  * @brief xcb_get_geometry_reply_t
   1618  **/
   1619 typedef struct xcb_get_geometry_reply_t {
   1620     uint8_t      response_type; /**<  */
   1621     uint8_t      depth; /**<  */
   1622     uint16_t     sequence; /**<  */
   1623     uint32_t     length; /**<  */
   1624     xcb_window_t root; /**<  */
   1625     int16_t      x; /**<  */
   1626     int16_t      y; /**<  */
   1627     uint16_t     width; /**<  */
   1628     uint16_t     height; /**<  */
   1629     uint16_t     border_width; /**<  */
   1630     uint8_t      pad0[2]; /**<  */
   1631 } xcb_get_geometry_reply_t;
   1632 
   1633 /**
   1634  * @brief xcb_query_tree_cookie_t
   1635  **/
   1636 typedef struct xcb_query_tree_cookie_t {
   1637     unsigned int sequence; /**<  */
   1638 } xcb_query_tree_cookie_t;
   1639 
   1640 /** Opcode for xcb_query_tree. */
   1641 #define XCB_QUERY_TREE 15
   1642 
   1643 /**
   1644  * @brief xcb_query_tree_request_t
   1645  **/
   1646 typedef struct xcb_query_tree_request_t {
   1647     uint8_t      major_opcode; /**<  */
   1648     uint8_t      pad0; /**<  */
   1649     uint16_t     length; /**<  */
   1650     xcb_window_t window; /**<  */
   1651 } xcb_query_tree_request_t;
   1652 
   1653 /**
   1654  * @brief xcb_query_tree_reply_t
   1655  **/
   1656 typedef struct xcb_query_tree_reply_t {
   1657     uint8_t      response_type; /**<  */
   1658     uint8_t      pad0; /**<  */
   1659     uint16_t     sequence; /**<  */
   1660     uint32_t     length; /**<  */
   1661     xcb_window_t root; /**<  */
   1662     xcb_window_t parent; /**<  */
   1663     uint16_t     children_len; /**<  */
   1664     uint8_t      pad1[14]; /**<  */
   1665 } xcb_query_tree_reply_t;
   1666 
   1667 /**
   1668  * @brief xcb_intern_atom_cookie_t
   1669  **/
   1670 typedef struct xcb_intern_atom_cookie_t {
   1671     unsigned int sequence; /**<  */
   1672 } xcb_intern_atom_cookie_t;
   1673 
   1674 /** Opcode for xcb_intern_atom. */
   1675 #define XCB_INTERN_ATOM 16
   1676 
   1677 /**
   1678  * @brief xcb_intern_atom_request_t
   1679  **/
   1680 typedef struct xcb_intern_atom_request_t {
   1681     uint8_t  major_opcode; /**<  */
   1682     uint8_t  only_if_exists; /**<  */
   1683     uint16_t length; /**<  */
   1684     uint16_t name_len; /**<  */
   1685     uint8_t  pad0[2]; /**<  */
   1686 } xcb_intern_atom_request_t;
   1687 
   1688 /**
   1689  * @brief xcb_intern_atom_reply_t
   1690  **/
   1691 typedef struct xcb_intern_atom_reply_t {
   1692     uint8_t    response_type; /**<  */
   1693     uint8_t    pad0; /**<  */
   1694     uint16_t   sequence; /**<  */
   1695     uint32_t   length; /**<  */
   1696     xcb_atom_t atom; /**<  */
   1697 } xcb_intern_atom_reply_t;
   1698 
   1699 /**
   1700  * @brief xcb_get_atom_name_cookie_t
   1701  **/
   1702 typedef struct xcb_get_atom_name_cookie_t {
   1703     unsigned int sequence; /**<  */
   1704 } xcb_get_atom_name_cookie_t;
   1705 
   1706 /** Opcode for xcb_get_atom_name. */
   1707 #define XCB_GET_ATOM_NAME 17
   1708 
   1709 /**
   1710  * @brief xcb_get_atom_name_request_t
   1711  **/
   1712 typedef struct xcb_get_atom_name_request_t {
   1713     uint8_t    major_opcode; /**<  */
   1714     uint8_t    pad0; /**<  */
   1715     uint16_t   length; /**<  */
   1716     xcb_atom_t atom; /**<  */
   1717 } xcb_get_atom_name_request_t;
   1718 
   1719 /**
   1720  * @brief xcb_get_atom_name_reply_t
   1721  **/
   1722 typedef struct xcb_get_atom_name_reply_t {
   1723     uint8_t  response_type; /**<  */
   1724     uint8_t  pad0; /**<  */
   1725     uint16_t sequence; /**<  */
   1726     uint32_t length; /**<  */
   1727     uint16_t name_len; /**<  */
   1728     uint8_t  pad1[22]; /**<  */
   1729 } xcb_get_atom_name_reply_t;
   1730 
   1731 typedef enum xcb_prop_mode_t {
   1732     XCB_PROP_MODE_REPLACE = 0,
   1733     XCB_PROP_MODE_PREPEND = 1,
   1734     XCB_PROP_MODE_APPEND = 2
   1735 } xcb_prop_mode_t;
   1736 
   1737 /** Opcode for xcb_change_property. */
   1738 #define XCB_CHANGE_PROPERTY 18
   1739 
   1740 /**
   1741  * @brief xcb_change_property_request_t
   1742  **/
   1743 typedef struct xcb_change_property_request_t {
   1744     uint8_t      major_opcode; /**<  */
   1745     uint8_t      mode; /**<  */
   1746     uint16_t     length; /**<  */
   1747     xcb_window_t window; /**<  */
   1748     xcb_atom_t   property; /**<  */
   1749     xcb_atom_t   type; /**<  */
   1750     uint8_t      format; /**<  */
   1751     uint8_t      pad0[3]; /**<  */
   1752     uint32_t     data_len; /**<  */
   1753 } xcb_change_property_request_t;
   1754 
   1755 /** Opcode for xcb_delete_property. */
   1756 #define XCB_DELETE_PROPERTY 19
   1757 
   1758 /**
   1759  * @brief xcb_delete_property_request_t
   1760  **/
   1761 typedef struct xcb_delete_property_request_t {
   1762     uint8_t      major_opcode; /**<  */
   1763     uint8_t      pad0; /**<  */
   1764     uint16_t     length; /**<  */
   1765     xcb_window_t window; /**<  */
   1766     xcb_atom_t   property; /**<  */
   1767 } xcb_delete_property_request_t;
   1768 
   1769 typedef enum xcb_get_property_type_t {
   1770     XCB_GET_PROPERTY_TYPE_ANY = 0
   1771 } xcb_get_property_type_t;
   1772 
   1773 /**
   1774  * @brief xcb_get_property_cookie_t
   1775  **/
   1776 typedef struct xcb_get_property_cookie_t {
   1777     unsigned int sequence; /**<  */
   1778 } xcb_get_property_cookie_t;
   1779 
   1780 /** Opcode for xcb_get_property. */
   1781 #define XCB_GET_PROPERTY 20
   1782 
   1783 /**
   1784  * @brief xcb_get_property_request_t
   1785  **/
   1786 typedef struct xcb_get_property_request_t {
   1787     uint8_t      major_opcode; /**<  */
   1788     uint8_t      _delete; /**<  */
   1789     uint16_t     length; /**<  */
   1790     xcb_window_t window; /**<  */
   1791     xcb_atom_t   property; /**<  */
   1792     xcb_atom_t   type; /**<  */
   1793     uint32_t     long_offset; /**<  */
   1794     uint32_t     long_length; /**<  */
   1795 } xcb_get_property_request_t;
   1796 
   1797 /**
   1798  * @brief xcb_get_property_reply_t
   1799  **/
   1800 typedef struct xcb_get_property_reply_t {
   1801     uint8_t    response_type; /**<  */
   1802     uint8_t    format; /**<  */
   1803     uint16_t   sequence; /**<  */
   1804     uint32_t   length; /**<  */
   1805     xcb_atom_t type; /**<  */
   1806     uint32_t   bytes_after; /**<  */
   1807     uint32_t   value_len; /**<  */
   1808     uint8_t    pad0[12]; /**<  */
   1809 } xcb_get_property_reply_t;
   1810 
   1811 /**
   1812  * @brief xcb_list_properties_cookie_t
   1813  **/
   1814 typedef struct xcb_list_properties_cookie_t {
   1815     unsigned int sequence; /**<  */
   1816 } xcb_list_properties_cookie_t;
   1817 
   1818 /** Opcode for xcb_list_properties. */
   1819 #define XCB_LIST_PROPERTIES 21
   1820 
   1821 /**
   1822  * @brief xcb_list_properties_request_t
   1823  **/
   1824 typedef struct xcb_list_properties_request_t {
   1825     uint8_t      major_opcode; /**<  */
   1826     uint8_t      pad0; /**<  */
   1827     uint16_t     length; /**<  */
   1828     xcb_window_t window; /**<  */
   1829 } xcb_list_properties_request_t;
   1830 
   1831 /**
   1832  * @brief xcb_list_properties_reply_t
   1833  **/
   1834 typedef struct xcb_list_properties_reply_t {
   1835     uint8_t  response_type; /**<  */
   1836     uint8_t  pad0; /**<  */
   1837     uint16_t sequence; /**<  */
   1838     uint32_t length; /**<  */
   1839     uint16_t atoms_len; /**<  */
   1840     uint8_t  pad1[22]; /**<  */
   1841 } xcb_list_properties_reply_t;
   1842 
   1843 /** Opcode for xcb_set_selection_owner. */
   1844 #define XCB_SET_SELECTION_OWNER 22
   1845 
   1846 /**
   1847  * @brief xcb_set_selection_owner_request_t
   1848  **/
   1849 typedef struct xcb_set_selection_owner_request_t {
   1850     uint8_t         major_opcode; /**<  */
   1851     uint8_t         pad0; /**<  */
   1852     uint16_t        length; /**<  */
   1853     xcb_window_t    owner; /**<  */
   1854     xcb_atom_t      selection; /**<  */
   1855     xcb_timestamp_t time; /**<  */
   1856 } xcb_set_selection_owner_request_t;
   1857 
   1858 /**
   1859  * @brief xcb_get_selection_owner_cookie_t
   1860  **/
   1861 typedef struct xcb_get_selection_owner_cookie_t {
   1862     unsigned int sequence; /**<  */
   1863 } xcb_get_selection_owner_cookie_t;
   1864 
   1865 /** Opcode for xcb_get_selection_owner. */
   1866 #define XCB_GET_SELECTION_OWNER 23
   1867 
   1868 /**
   1869  * @brief xcb_get_selection_owner_request_t
   1870  **/
   1871 typedef struct xcb_get_selection_owner_request_t {
   1872     uint8_t    major_opcode; /**<  */
   1873     uint8_t    pad0; /**<  */
   1874     uint16_t   length; /**<  */
   1875     xcb_atom_t selection; /**<  */
   1876 } xcb_get_selection_owner_request_t;
   1877 
   1878 /**
   1879  * @brief xcb_get_selection_owner_reply_t
   1880  **/
   1881 typedef struct xcb_get_selection_owner_reply_t {
   1882     uint8_t      response_type; /**<  */
   1883     uint8_t      pad0; /**<  */
   1884     uint16_t     sequence; /**<  */
   1885     uint32_t     length; /**<  */
   1886     xcb_window_t owner; /**<  */
   1887 } xcb_get_selection_owner_reply_t;
   1888 
   1889 /** Opcode for xcb_convert_selection. */
   1890 #define XCB_CONVERT_SELECTION 24
   1891 
   1892 /**
   1893  * @brief xcb_convert_selection_request_t
   1894  **/
   1895 typedef struct xcb_convert_selection_request_t {
   1896     uint8_t         major_opcode; /**<  */
   1897     uint8_t         pad0; /**<  */
   1898     uint16_t        length; /**<  */
   1899     xcb_window_t    requestor; /**<  */
   1900     xcb_atom_t      selection; /**<  */
   1901     xcb_atom_t      target; /**<  */
   1902     xcb_atom_t      property; /**<  */
   1903     xcb_timestamp_t time; /**<  */
   1904 } xcb_convert_selection_request_t;
   1905 
   1906 typedef enum xcb_send_event_dest_t {
   1907     XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
   1908     XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
   1909 } xcb_send_event_dest_t;
   1910 
   1911 /** Opcode for xcb_send_event. */
   1912 #define XCB_SEND_EVENT 25
   1913 
   1914 /**
   1915  * @brief xcb_send_event_request_t
   1916  **/
   1917 typedef struct xcb_send_event_request_t {
   1918     uint8_t      major_opcode; /**<  */
   1919     uint8_t      propagate; /**<  */
   1920     uint16_t     length; /**<  */
   1921     xcb_window_t destination; /**<  */
   1922     uint32_t     event_mask; /**<  */
   1923     char         event[32]; /**<  */
   1924 } xcb_send_event_request_t;
   1925 
   1926 typedef enum xcb_grab_mode_t {
   1927     XCB_GRAB_MODE_SYNC = 0,
   1928     XCB_GRAB_MODE_ASYNC = 1
   1929 } xcb_grab_mode_t;
   1930 
   1931 typedef enum xcb_grab_status_t {
   1932     XCB_GRAB_STATUS_SUCCESS = 0,
   1933     XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
   1934     XCB_GRAB_STATUS_INVALID_TIME = 2,
   1935     XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
   1936     XCB_GRAB_STATUS_FROZEN = 4
   1937 } xcb_grab_status_t;
   1938 
   1939 typedef enum xcb_cursor_enum_t {
   1940     XCB_CURSOR_NONE = 0
   1941 } xcb_cursor_enum_t;
   1942 
   1943 /**
   1944  * @brief xcb_grab_pointer_cookie_t
   1945  **/
   1946 typedef struct xcb_grab_pointer_cookie_t {
   1947     unsigned int sequence; /**<  */
   1948 } xcb_grab_pointer_cookie_t;
   1949 
   1950 /** Opcode for xcb_grab_pointer. */
   1951 #define XCB_GRAB_POINTER 26
   1952 
   1953 /**
   1954  * @brief xcb_grab_pointer_request_t
   1955  **/
   1956 typedef struct xcb_grab_pointer_request_t {
   1957     uint8_t         major_opcode; /**<  */
   1958     uint8_t         owner_events; /**<  */
   1959     uint16_t        length; /**<  */
   1960     xcb_window_t    grab_window; /**<  */
   1961     uint16_t        event_mask; /**<  */
   1962     uint8_t         pointer_mode; /**<  */
   1963     uint8_t         keyboard_mode; /**<  */
   1964     xcb_window_t    confine_to; /**<  */
   1965     xcb_cursor_t    cursor; /**<  */
   1966     xcb_timestamp_t time; /**<  */
   1967 } xcb_grab_pointer_request_t;
   1968 
   1969 /**
   1970  * @brief xcb_grab_pointer_reply_t
   1971  **/
   1972 typedef struct xcb_grab_pointer_reply_t {
   1973     uint8_t  response_type; /**<  */
   1974     uint8_t  status; /**<  */
   1975     uint16_t sequence; /**<  */
   1976     uint32_t length; /**<  */
   1977 } xcb_grab_pointer_reply_t;
   1978 
   1979 /** Opcode for xcb_ungrab_pointer. */
   1980 #define XCB_UNGRAB_POINTER 27
   1981 
   1982 /**
   1983  * @brief xcb_ungrab_pointer_request_t
   1984  **/
   1985 typedef struct xcb_ungrab_pointer_request_t {
   1986     uint8_t         major_opcode; /**<  */
   1987     uint8_t         pad0; /**<  */
   1988     uint16_t        length; /**<  */
   1989     xcb_timestamp_t time; /**<  */
   1990 } xcb_ungrab_pointer_request_t;
   1991 
   1992 typedef enum xcb_button_index_t {
   1993     XCB_BUTTON_INDEX_ANY = 0,
   1994     XCB_BUTTON_INDEX_1 = 1,
   1995     XCB_BUTTON_INDEX_2 = 2,
   1996     XCB_BUTTON_INDEX_3 = 3,
   1997     XCB_BUTTON_INDEX_4 = 4,
   1998     XCB_BUTTON_INDEX_5 = 5
   1999 } xcb_button_index_t;
   2000 
   2001 /** Opcode for xcb_grab_button. */
   2002 #define XCB_GRAB_BUTTON 28
   2003 
   2004 /**
   2005  * @brief xcb_grab_button_request_t
   2006  **/
   2007 typedef struct xcb_grab_button_request_t {
   2008     uint8_t      major_opcode; /**<  */
   2009     uint8_t      owner_events; /**<  */
   2010     uint16_t     length; /**<  */
   2011     xcb_window_t grab_window; /**<  */
   2012     uint16_t     event_mask; /**<  */
   2013     uint8_t      pointer_mode; /**<  */
   2014     uint8_t      keyboard_mode; /**<  */
   2015     xcb_window_t confine_to; /**<  */
   2016     xcb_cursor_t cursor; /**<  */
   2017     uint8_t      button; /**<  */
   2018     uint8_t      pad0; /**<  */
   2019     uint16_t     modifiers; /**<  */
   2020 } xcb_grab_button_request_t;
   2021 
   2022 /** Opcode for xcb_ungrab_button. */
   2023 #define XCB_UNGRAB_BUTTON 29
   2024 
   2025 /**
   2026  * @brief xcb_ungrab_button_request_t
   2027  **/
   2028 typedef struct xcb_ungrab_button_request_t {
   2029     uint8_t      major_opcode; /**<  */
   2030     uint8_t      button; /**<  */
   2031     uint16_t     length; /**<  */
   2032     xcb_window_t grab_window; /**<  */
   2033     uint16_t     modifiers; /**<  */
   2034     uint8_t      pad0[2]; /**<  */
   2035 } xcb_ungrab_button_request_t;
   2036 
   2037 /** Opcode for xcb_change_active_pointer_grab. */
   2038 #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
   2039 
   2040 /**
   2041  * @brief xcb_change_active_pointer_grab_request_t
   2042  **/
   2043 typedef struct xcb_change_active_pointer_grab_request_t {
   2044     uint8_t         major_opcode; /**<  */
   2045     uint8_t         pad0; /**<  */
   2046     uint16_t        length; /**<  */
   2047     xcb_cursor_t    cursor; /**<  */
   2048     xcb_timestamp_t time; /**<  */
   2049     uint16_t        event_mask; /**<  */
   2050     uint8_t         pad1[2]; /**<  */
   2051 } xcb_change_active_pointer_grab_request_t;
   2052 
   2053 /**
   2054  * @brief xcb_grab_keyboard_cookie_t
   2055  **/
   2056 typedef struct xcb_grab_keyboard_cookie_t {
   2057     unsigned int sequence; /**<  */
   2058 } xcb_grab_keyboard_cookie_t;
   2059 
   2060 /** Opcode for xcb_grab_keyboard. */
   2061 #define XCB_GRAB_KEYBOARD 31
   2062 
   2063 /**
   2064  * @brief xcb_grab_keyboard_request_t
   2065  **/
   2066 typedef struct xcb_grab_keyboard_request_t {
   2067     uint8_t         major_opcode; /**<  */
   2068     uint8_t         owner_events; /**<  */
   2069     uint16_t        length; /**<  */
   2070     xcb_window_t    grab_window; /**<  */
   2071     xcb_timestamp_t time; /**<  */
   2072     uint8_t         pointer_mode; /**<  */
   2073     uint8_t         keyboard_mode; /**<  */
   2074     uint8_t         pad0[2]; /**<  */
   2075 } xcb_grab_keyboard_request_t;
   2076 
   2077 /**
   2078  * @brief xcb_grab_keyboard_reply_t
   2079  **/
   2080 typedef struct xcb_grab_keyboard_reply_t {
   2081     uint8_t  response_type; /**<  */
   2082     uint8_t  status; /**<  */
   2083     uint16_t sequence; /**<  */
   2084     uint32_t length; /**<  */
   2085 } xcb_grab_keyboard_reply_t;
   2086 
   2087 /** Opcode for xcb_ungrab_keyboard. */
   2088 #define XCB_UNGRAB_KEYBOARD 32
   2089 
   2090 /**
   2091  * @brief xcb_ungrab_keyboard_request_t
   2092  **/
   2093 typedef struct xcb_ungrab_keyboard_request_t {
   2094     uint8_t         major_opcode; /**<  */
   2095     uint8_t         pad0; /**<  */
   2096     uint16_t        length; /**<  */
   2097     xcb_timestamp_t time; /**<  */
   2098 } xcb_ungrab_keyboard_request_t;
   2099 
   2100 typedef enum xcb_grab_t {
   2101     XCB_GRAB_ANY = 0
   2102 } xcb_grab_t;
   2103 
   2104 /** Opcode for xcb_grab_key. */
   2105 #define XCB_GRAB_KEY 33
   2106 
   2107 /**
   2108  * @brief xcb_grab_key_request_t
   2109  **/
   2110 typedef struct xcb_grab_key_request_t {
   2111     uint8_t       major_opcode; /**<  */
   2112     uint8_t       owner_events; /**<  */
   2113     uint16_t      length; /**<  */
   2114     xcb_window_t  grab_window; /**<  */
   2115     uint16_t      modifiers; /**<  */
   2116     xcb_keycode_t key; /**<  */
   2117     uint8_t       pointer_mode; /**<  */
   2118     uint8_t       keyboard_mode; /**<  */
   2119     uint8_t       pad0[3]; /**<  */
   2120 } xcb_grab_key_request_t;
   2121 
   2122 /** Opcode for xcb_ungrab_key. */
   2123 #define XCB_UNGRAB_KEY 34
   2124 
   2125 /**
   2126  * @brief xcb_ungrab_key_request_t
   2127  **/
   2128 typedef struct xcb_ungrab_key_request_t {
   2129     uint8_t       major_opcode; /**<  */
   2130     xcb_keycode_t key; /**<  */
   2131     uint16_t      length; /**<  */
   2132     xcb_window_t  grab_window; /**<  */
   2133     uint16_t      modifiers; /**<  */
   2134     uint8_t       pad0[2]; /**<  */
   2135 } xcb_ungrab_key_request_t;
   2136 
   2137 typedef enum xcb_allow_t {
   2138     XCB_ALLOW_ASYNC_POINTER = 0,
   2139     XCB_ALLOW_SYNC_POINTER = 1,
   2140     XCB_ALLOW_REPLAY_POINTER = 2,
   2141     XCB_ALLOW_ASYNC_KEYBOARD = 3,
   2142     XCB_ALLOW_SYNC_KEYBOARD = 4,
   2143     XCB_ALLOW_REPLAY_KEYBOARD = 5,
   2144     XCB_ALLOW_ASYNC_BOTH = 6,
   2145     XCB_ALLOW_SYNC_BOTH = 7
   2146 } xcb_allow_t;
   2147 
   2148 /** Opcode for xcb_allow_events. */
   2149 #define XCB_ALLOW_EVENTS 35
   2150 
   2151 /**
   2152  * @brief xcb_allow_events_request_t
   2153  **/
   2154 typedef struct xcb_allow_events_request_t {
   2155     uint8_t         major_opcode; /**<  */
   2156     uint8_t         mode; /**<  */
   2157     uint16_t        length; /**<  */
   2158     xcb_timestamp_t time; /**<  */
   2159 } xcb_allow_events_request_t;
   2160 
   2161 /** Opcode for xcb_grab_server. */
   2162 #define XCB_GRAB_SERVER 36
   2163 
   2164 /**
   2165  * @brief xcb_grab_server_request_t
   2166  **/
   2167 typedef struct xcb_grab_server_request_t {
   2168     uint8_t  major_opcode; /**<  */
   2169     uint8_t  pad0; /**<  */
   2170     uint16_t length; /**<  */
   2171 } xcb_grab_server_request_t;
   2172 
   2173 /** Opcode for xcb_ungrab_server. */
   2174 #define XCB_UNGRAB_SERVER 37
   2175 
   2176 /**
   2177  * @brief xcb_ungrab_server_request_t
   2178  **/
   2179 typedef struct xcb_ungrab_server_request_t {
   2180     uint8_t  major_opcode; /**<  */
   2181     uint8_t  pad0; /**<  */
   2182     uint16_t length; /**<  */
   2183 } xcb_ungrab_server_request_t;
   2184 
   2185 /**
   2186  * @brief xcb_query_pointer_cookie_t
   2187  **/
   2188 typedef struct xcb_query_pointer_cookie_t {
   2189     unsigned int sequence; /**<  */
   2190 } xcb_query_pointer_cookie_t;
   2191 
   2192 /** Opcode for xcb_query_pointer. */
   2193 #define XCB_QUERY_POINTER 38
   2194 
   2195 /**
   2196  * @brief xcb_query_pointer_request_t
   2197  **/
   2198 typedef struct xcb_query_pointer_request_t {
   2199     uint8_t      major_opcode; /**<  */
   2200     uint8_t      pad0; /**<  */
   2201     uint16_t     length; /**<  */
   2202     xcb_window_t window; /**<  */
   2203 } xcb_query_pointer_request_t;
   2204 
   2205 /**
   2206  * @brief xcb_query_pointer_reply_t
   2207  **/
   2208 typedef struct xcb_query_pointer_reply_t {
   2209     uint8_t      response_type; /**<  */
   2210     uint8_t      same_screen; /**<  */
   2211     uint16_t     sequence; /**<  */
   2212     uint32_t     length; /**<  */
   2213     xcb_window_t root; /**<  */
   2214     xcb_window_t child; /**<  */
   2215     int16_t      root_x; /**<  */
   2216     int16_t      root_y; /**<  */
   2217     int16_t      win_x; /**<  */
   2218     int16_t      win_y; /**<  */
   2219     uint16_t     mask; /**<  */
   2220     uint8_t      pad0[2]; /**<  */
   2221 } xcb_query_pointer_reply_t;
   2222 
   2223 /**
   2224  * @brief xcb_timecoord_t
   2225  **/
   2226 typedef struct xcb_timecoord_t {
   2227     xcb_timestamp_t time; /**<  */
   2228     int16_t         x; /**<  */
   2229     int16_t         y; /**<  */
   2230 } xcb_timecoord_t;
   2231 
   2232 /**
   2233  * @brief xcb_timecoord_iterator_t
   2234  **/
   2235 typedef struct xcb_timecoord_iterator_t {
   2236     xcb_timecoord_t *data; /**<  */
   2237     int              rem; /**<  */
   2238     int              index; /**<  */
   2239 } xcb_timecoord_iterator_t;
   2240 
   2241 /**
   2242  * @brief xcb_get_motion_events_cookie_t
   2243  **/
   2244 typedef struct xcb_get_motion_events_cookie_t {
   2245     unsigned int sequence; /**<  */
   2246 } xcb_get_motion_events_cookie_t;
   2247 
   2248 /** Opcode for xcb_get_motion_events. */
   2249 #define XCB_GET_MOTION_EVENTS 39
   2250 
   2251 /**
   2252  * @brief xcb_get_motion_events_request_t
   2253  **/
   2254 typedef struct xcb_get_motion_events_request_t {
   2255     uint8_t         major_opcode; /**<  */
   2256     uint8_t         pad0; /**<  */
   2257     uint16_t        length; /**<  */
   2258     xcb_window_t    window; /**<  */
   2259     xcb_timestamp_t start; /**<  */
   2260     xcb_timestamp_t stop; /**<  */
   2261 } xcb_get_motion_events_request_t;
   2262 
   2263 /**
   2264  * @brief xcb_get_motion_events_reply_t
   2265  **/
   2266 typedef struct xcb_get_motion_events_reply_t {
   2267     uint8_t  response_type; /**<  */
   2268     uint8_t  pad0; /**<  */
   2269     uint16_t sequence; /**<  */
   2270     uint32_t length; /**<  */
   2271     uint32_t events_len; /**<  */
   2272     uint8_t  pad1[20]; /**<  */
   2273 } xcb_get_motion_events_reply_t;
   2274 
   2275 /**
   2276  * @brief xcb_translate_coordinates_cookie_t
   2277  **/
   2278 typedef struct xcb_translate_coordinates_cookie_t {
   2279     unsigned int sequence; /**<  */
   2280 } xcb_translate_coordinates_cookie_t;
   2281 
   2282 /** Opcode for xcb_translate_coordinates. */
   2283 #define XCB_TRANSLATE_COORDINATES 40
   2284 
   2285 /**
   2286  * @brief xcb_translate_coordinates_request_t
   2287  **/
   2288 typedef struct xcb_translate_coordinates_request_t {
   2289     uint8_t      major_opcode; /**<  */
   2290     uint8_t      pad0; /**<  */
   2291     uint16_t     length; /**<  */
   2292     xcb_window_t src_window; /**<  */
   2293     xcb_window_t dst_window; /**<  */
   2294     int16_t      src_x; /**<  */
   2295     int16_t      src_y; /**<  */
   2296 } xcb_translate_coordinates_request_t;
   2297 
   2298 /**
   2299  * @brief xcb_translate_coordinates_reply_t
   2300  **/
   2301 typedef struct xcb_translate_coordinates_reply_t {
   2302     uint8_t      response_type; /**<  */
   2303     uint8_t      same_screen; /**<  */
   2304     uint16_t     sequence; /**<  */
   2305     uint32_t     length; /**<  */
   2306     xcb_window_t child; /**<  */
   2307     uint16_t     dst_x; /**<  */
   2308     uint16_t     dst_y; /**<  */
   2309 } xcb_translate_coordinates_reply_t;
   2310 
   2311 /** Opcode for xcb_warp_pointer. */
   2312 #define XCB_WARP_POINTER 41
   2313 
   2314 /**
   2315  * @brief xcb_warp_pointer_request_t
   2316  **/
   2317 typedef struct xcb_warp_pointer_request_t {
   2318     uint8_t      major_opcode; /**<  */
   2319     uint8_t      pad0; /**<  */
   2320     uint16_t     length; /**<  */
   2321     xcb_window_t src_window; /**<  */
   2322     xcb_window_t dst_window; /**<  */
   2323     int16_t      src_x; /**<  */
   2324     int16_t      src_y; /**<  */
   2325     uint16_t     src_width; /**<  */
   2326     uint16_t     src_height; /**<  */
   2327     int16_t      dst_x; /**<  */
   2328     int16_t      dst_y; /**<  */
   2329 } xcb_warp_pointer_request_t;
   2330 
   2331 typedef enum xcb_input_focus_t {
   2332     XCB_INPUT_FOCUS_NONE = 0,
   2333     XCB_INPUT_FOCUS_POINTER_ROOT = 1,
   2334     XCB_INPUT_FOCUS_PARENT = 2,
   2335     XCB_INPUT_FOCUS_FOLLOW_KEYBOARD = 3
   2336 } xcb_input_focus_t;
   2337 
   2338 /** Opcode for xcb_set_input_focus. */
   2339 #define XCB_SET_INPUT_FOCUS 42
   2340 
   2341 /**
   2342  * @brief xcb_set_input_focus_request_t
   2343  **/
   2344 typedef struct xcb_set_input_focus_request_t {
   2345     uint8_t         major_opcode; /**<  */
   2346     uint8_t         revert_to; /**<  */
   2347     uint16_t        length; /**<  */
   2348     xcb_window_t    focus; /**<  */
   2349     xcb_timestamp_t time; /**<  */
   2350 } xcb_set_input_focus_request_t;
   2351 
   2352 /**
   2353  * @brief xcb_get_input_focus_cookie_t
   2354  **/
   2355 typedef struct xcb_get_input_focus_cookie_t {
   2356     unsigned int sequence; /**<  */
   2357 } xcb_get_input_focus_cookie_t;
   2358 
   2359 /** Opcode for xcb_get_input_focus. */
   2360 #define XCB_GET_INPUT_FOCUS 43
   2361 
   2362 /**
   2363  * @brief xcb_get_input_focus_request_t
   2364  **/
   2365 typedef struct xcb_get_input_focus_request_t {
   2366     uint8_t  major_opcode; /**<  */
   2367     uint8_t  pad0; /**<  */
   2368     uint16_t length; /**<  */
   2369 } xcb_get_input_focus_request_t;
   2370 
   2371 /**
   2372  * @brief xcb_get_input_focus_reply_t
   2373  **/
   2374 typedef struct xcb_get_input_focus_reply_t {
   2375     uint8_t      response_type; /**<  */
   2376     uint8_t      revert_to; /**<  */
   2377     uint16_t     sequence; /**<  */
   2378     uint32_t     length; /**<  */
   2379     xcb_window_t focus; /**<  */
   2380 } xcb_get_input_focus_reply_t;
   2381 
   2382 /**
   2383  * @brief xcb_query_keymap_cookie_t
   2384  **/
   2385 typedef struct xcb_query_keymap_cookie_t {
   2386     unsigned int sequence; /**<  */
   2387 } xcb_query_keymap_cookie_t;
   2388 
   2389 /** Opcode for xcb_query_keymap. */
   2390 #define XCB_QUERY_KEYMAP 44
   2391 
   2392 /**
   2393  * @brief xcb_query_keymap_request_t
   2394  **/
   2395 typedef struct xcb_query_keymap_request_t {
   2396     uint8_t  major_opcode; /**<  */
   2397     uint8_t  pad0; /**<  */
   2398     uint16_t length; /**<  */
   2399 } xcb_query_keymap_request_t;
   2400 
   2401 /**
   2402  * @brief xcb_query_keymap_reply_t
   2403  **/
   2404 typedef struct xcb_query_keymap_reply_t {
   2405     uint8_t  response_type; /**<  */
   2406     uint8_t  pad0; /**<  */
   2407     uint16_t sequence; /**<  */
   2408     uint32_t length; /**<  */
   2409     uint8_t  keys[32]; /**<  */
   2410 } xcb_query_keymap_reply_t;
   2411 
   2412 /** Opcode for xcb_open_font. */
   2413 #define XCB_OPEN_FONT 45
   2414 
   2415 /**
   2416  * @brief xcb_open_font_request_t
   2417  **/
   2418 typedef struct xcb_open_font_request_t {
   2419     uint8_t    major_opcode; /**<  */
   2420     uint8_t    pad0; /**<  */
   2421     uint16_t   length; /**<  */
   2422     xcb_font_t fid; /**<  */
   2423     uint16_t   name_len; /**<  */
   2424     uint8_t    pad1[2]; /**<  */
   2425 } xcb_open_font_request_t;
   2426 
   2427 /** Opcode for xcb_close_font. */
   2428 #define XCB_CLOSE_FONT 46
   2429 
   2430 /**
   2431  * @brief xcb_close_font_request_t
   2432  **/
   2433 typedef struct xcb_close_font_request_t {
   2434     uint8_t    major_opcode; /**<  */
   2435     uint8_t    pad0; /**<  */
   2436     uint16_t   length; /**<  */
   2437     xcb_font_t font; /**<  */
   2438 } xcb_close_font_request_t;
   2439 
   2440 typedef enum xcb_font_draw_t {
   2441     XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
   2442     XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
   2443 } xcb_font_draw_t;
   2444 
   2445 /**
   2446  * @brief xcb_fontprop_t
   2447  **/
   2448 typedef struct xcb_fontprop_t {
   2449     xcb_atom_t name; /**<  */
   2450     uint32_t   value; /**<  */
   2451 } xcb_fontprop_t;
   2452 
   2453 /**
   2454  * @brief xcb_fontprop_iterator_t
   2455  **/
   2456 typedef struct xcb_fontprop_iterator_t {
   2457     xcb_fontprop_t *data; /**<  */
   2458     int             rem; /**<  */
   2459     int             index; /**<  */
   2460 } xcb_fontprop_iterator_t;
   2461 
   2462 /**
   2463  * @brief xcb_charinfo_t
   2464  **/
   2465 typedef struct xcb_charinfo_t {
   2466     int16_t  left_side_bearing; /**<  */
   2467     int16_t  right_side_bearing; /**<  */
   2468     int16_t  character_width; /**<  */
   2469     int16_t  ascent; /**<  */
   2470     int16_t  descent; /**<  */
   2471     uint16_t attributes; /**<  */
   2472 } xcb_charinfo_t;
   2473 
   2474 /**
   2475  * @brief xcb_charinfo_iterator_t
   2476  **/
   2477 typedef struct xcb_charinfo_iterator_t {
   2478     xcb_charinfo_t *data; /**<  */
   2479     int             rem; /**<  */
   2480     int             index; /**<  */
   2481 } xcb_charinfo_iterator_t;
   2482 
   2483 /**
   2484  * @brief xcb_query_font_cookie_t
   2485  **/
   2486 typedef struct xcb_query_font_cookie_t {
   2487     unsigned int sequence; /**<  */
   2488 } xcb_query_font_cookie_t;
   2489 
   2490 /** Opcode for xcb_query_font. */
   2491 #define XCB_QUERY_FONT 47
   2492 
   2493 /**
   2494  * @brief xcb_query_font_request_t
   2495  **/
   2496 typedef struct xcb_query_font_request_t {
   2497     uint8_t        major_opcode; /**<  */
   2498     uint8_t        pad0; /**<  */
   2499     uint16_t       length; /**<  */
   2500     xcb_fontable_t font; /**<  */
   2501 } xcb_query_font_request_t;
   2502 
   2503 /**
   2504  * @brief xcb_query_font_reply_t
   2505  **/
   2506 typedef struct xcb_query_font_reply_t {
   2507     uint8_t        response_type; /**<  */
   2508     uint8_t        pad0; /**<  */
   2509     uint16_t       sequence; /**<  */
   2510     uint32_t       length; /**<  */
   2511     xcb_charinfo_t min_bounds; /**<  */
   2512     uint8_t        pad1[4]; /**<  */
   2513     xcb_charinfo_t max_bounds; /**<  */
   2514     uint8_t        pad2[4]; /**<  */
   2515     uint16_t       min_char_or_byte2; /**<  */
   2516     uint16_t       max_char_or_byte2; /**<  */
   2517     uint16_t       default_char; /**<  */
   2518     uint16_t       properties_len; /**<  */
   2519     uint8_t        draw_direction; /**<  */
   2520     uint8_t        min_byte1; /**<  */
   2521     uint8_t        max_byte1; /**<  */
   2522     uint8_t        all_chars_exist; /**<  */
   2523     int16_t        font_ascent; /**<  */
   2524     int16_t        font_descent; /**<  */
   2525     uint32_t       char_infos_len; /**<  */
   2526 } xcb_query_font_reply_t;
   2527 
   2528 /**
   2529  * @brief xcb_query_text_extents_cookie_t
   2530  **/
   2531 typedef struct xcb_query_text_extents_cookie_t {
   2532     unsigned int sequence; /**<  */
   2533 } xcb_query_text_extents_cookie_t;
   2534 
   2535 /** Opcode for xcb_query_text_extents. */
   2536 #define XCB_QUERY_TEXT_EXTENTS 48
   2537 
   2538 /**
   2539  * @brief xcb_query_text_extents_request_t
   2540  **/
   2541 typedef struct xcb_query_text_extents_request_t {
   2542     uint8_t        major_opcode; /**<  */
   2543     uint8_t        odd_length; /**<  */
   2544     uint16_t       length; /**<  */
   2545     xcb_fontable_t font; /**<  */
   2546 } xcb_query_text_extents_request_t;
   2547 
   2548 /**
   2549  * @brief xcb_query_text_extents_reply_t
   2550  **/
   2551 typedef struct xcb_query_text_extents_reply_t {
   2552     uint8_t  response_type; /**<  */
   2553     uint8_t  draw_direction; /**<  */
   2554     uint16_t sequence; /**<  */
   2555     uint32_t length; /**<  */
   2556     int16_t  font_ascent; /**<  */
   2557     int16_t  font_descent; /**<  */
   2558     int16_t  overall_ascent; /**<  */
   2559     int16_t  overall_descent; /**<  */
   2560     int32_t  overall_width; /**<  */
   2561     int32_t  overall_left; /**<  */
   2562     int32_t  overall_right; /**<  */
   2563 } xcb_query_text_extents_reply_t;
   2564 
   2565 /**
   2566  * @brief xcb_str_t
   2567  **/
   2568 typedef struct xcb_str_t {
   2569     uint8_t name_len; /**<  */
   2570 } xcb_str_t;
   2571 
   2572 /**
   2573  * @brief xcb_str_iterator_t
   2574  **/
   2575 typedef struct xcb_str_iterator_t {
   2576     xcb_str_t *data; /**<  */
   2577     int        rem; /**<  */
   2578     int        index; /**<  */
   2579 } xcb_str_iterator_t;
   2580 
   2581 /**
   2582  * @brief xcb_list_fonts_cookie_t
   2583  **/
   2584 typedef struct xcb_list_fonts_cookie_t {
   2585     unsigned int sequence; /**<  */
   2586 } xcb_list_fonts_cookie_t;
   2587 
   2588 /** Opcode for xcb_list_fonts. */
   2589 #define XCB_LIST_FONTS 49
   2590 
   2591 /**
   2592  * @brief xcb_list_fonts_request_t
   2593  **/
   2594 typedef struct xcb_list_fonts_request_t {
   2595     uint8_t  major_opcode; /**<  */
   2596     uint8_t  pad0; /**<  */
   2597     uint16_t length; /**<  */
   2598     uint16_t max_names; /**<  */
   2599     uint16_t pattern_len; /**<  */
   2600 } xcb_list_fonts_request_t;
   2601 
   2602 /**
   2603  * @brief xcb_list_fonts_reply_t
   2604  **/
   2605 typedef struct xcb_list_fonts_reply_t {
   2606     uint8_t  response_type; /**<  */
   2607     uint8_t  pad0; /**<  */
   2608     uint16_t sequence; /**<  */
   2609     uint32_t length; /**<  */
   2610     uint16_t names_len; /**<  */
   2611     uint8_t  pad1[22]; /**<  */
   2612 } xcb_list_fonts_reply_t;
   2613 
   2614 /**
   2615  * @brief xcb_list_fonts_with_info_cookie_t
   2616  **/
   2617 typedef struct xcb_list_fonts_with_info_cookie_t {
   2618     unsigned int sequence; /**<  */
   2619 } xcb_list_fonts_with_info_cookie_t;
   2620 
   2621 /** Opcode for xcb_list_fonts_with_info. */
   2622 #define XCB_LIST_FONTS_WITH_INFO 50
   2623 
   2624 /**
   2625  * @brief xcb_list_fonts_with_info_request_t
   2626  **/
   2627 typedef struct xcb_list_fonts_with_info_request_t {
   2628     uint8_t  major_opcode; /**<  */
   2629     uint8_t  pad0; /**<  */
   2630     uint16_t length; /**<  */
   2631     uint16_t max_names; /**<  */
   2632     uint16_t pattern_len; /**<  */
   2633 } xcb_list_fonts_with_info_request_t;
   2634 
   2635 /**
   2636  * @brief xcb_list_fonts_with_info_reply_t
   2637  **/
   2638 typedef struct xcb_list_fonts_with_info_reply_t {
   2639     uint8_t        response_type; /**<  */
   2640     uint8_t        name_len; /**<  */
   2641     uint16_t       sequence; /**<  */
   2642     uint32_t       length; /**<  */
   2643     xcb_charinfo_t min_bounds; /**<  */
   2644     uint8_t        pad0[4]; /**<  */
   2645     xcb_charinfo_t max_bounds; /**<  */
   2646     uint8_t        pad1[4]; /**<  */
   2647     uint16_t       min_char_or_byte2; /**<  */
   2648     uint16_t       max_char_or_byte2; /**<  */
   2649     uint16_t       default_char; /**<  */
   2650     uint16_t       properties_len; /**<  */
   2651     uint8_t        draw_direction; /**<  */
   2652     uint8_t        min_byte1; /**<  */
   2653     uint8_t        max_byte1; /**<  */
   2654     uint8_t        all_chars_exist; /**<  */
   2655     int16_t        font_ascent; /**<  */
   2656     int16_t        font_descent; /**<  */
   2657     uint32_t       replies_hint; /**<  */
   2658 } xcb_list_fonts_with_info_reply_t;
   2659 
   2660 /** Opcode for xcb_set_font_path. */
   2661 #define XCB_SET_FONT_PATH 51
   2662 
   2663 /**
   2664  * @brief xcb_set_font_path_request_t
   2665  **/
   2666 typedef struct xcb_set_font_path_request_t {
   2667     uint8_t  major_opcode; /**<  */
   2668     uint8_t  pad0; /**<  */
   2669     uint16_t length; /**<  */
   2670     uint16_t font_qty; /**<  */
   2671 } xcb_set_font_path_request_t;
   2672 
   2673 /**
   2674  * @brief xcb_get_font_path_cookie_t
   2675  **/
   2676 typedef struct xcb_get_font_path_cookie_t {
   2677     unsigned int sequence; /**<  */
   2678 } xcb_get_font_path_cookie_t;
   2679 
   2680 /** Opcode for xcb_get_font_path. */
   2681 #define XCB_GET_FONT_PATH 52
   2682 
   2683 /**
   2684  * @brief xcb_get_font_path_request_t
   2685  **/
   2686 typedef struct xcb_get_font_path_request_t {
   2687     uint8_t  major_opcode; /**<  */
   2688     uint8_t  pad0; /**<  */
   2689     uint16_t length; /**<  */
   2690 } xcb_get_font_path_request_t;
   2691 
   2692 /**
   2693  * @brief xcb_get_font_path_reply_t
   2694  **/
   2695 typedef struct xcb_get_font_path_reply_t {
   2696     uint8_t  response_type; /**<  */
   2697     uint8_t  pad0; /**<  */
   2698     uint16_t sequence; /**<  */
   2699     uint32_t length; /**<  */
   2700     uint16_t path_len; /**<  */
   2701     uint8_t  pad1[22]; /**<  */
   2702 } xcb_get_font_path_reply_t;
   2703 
   2704 /** Opcode for xcb_create_pixmap. */
   2705 #define XCB_CREATE_PIXMAP 53
   2706 
   2707 /**
   2708  * @brief xcb_create_pixmap_request_t
   2709  **/
   2710 typedef struct xcb_create_pixmap_request_t {
   2711     uint8_t        major_opcode; /**<  */
   2712     uint8_t        depth; /**<  */
   2713     uint16_t       length; /**<  */
   2714     xcb_pixmap_t   pid; /**<  */
   2715     xcb_drawable_t drawable; /**<  */
   2716     uint16_t       width; /**<  */
   2717     uint16_t       height; /**<  */
   2718 } xcb_create_pixmap_request_t;
   2719 
   2720 /** Opcode for xcb_free_pixmap. */
   2721 #define XCB_FREE_PIXMAP 54
   2722 
   2723 /**
   2724  * @brief xcb_free_pixmap_request_t
   2725  **/
   2726 typedef struct xcb_free_pixmap_request_t {
   2727     uint8_t      major_opcode; /**<  */
   2728     uint8_t      pad0; /**<  */
   2729     uint16_t     length; /**<  */
   2730     xcb_pixmap_t pixmap; /**<  */
   2731 } xcb_free_pixmap_request_t;
   2732 
   2733 typedef enum xcb_gc_t {
   2734     XCB_GC_FUNCTION = 1,
   2735     XCB_GC_PLANE_MASK = 2,
   2736     XCB_GC_FOREGROUND = 4,
   2737     XCB_GC_BACKGROUND = 8,
   2738     XCB_GC_LINE_WIDTH = 16,
   2739     XCB_GC_LINE_STYLE = 32,
   2740     XCB_GC_CAP_STYLE = 64,
   2741     XCB_GC_JOIN_STYLE = 128,
   2742     XCB_GC_FILL_STYLE = 256,
   2743     XCB_GC_FILL_RULE = 512,
   2744     XCB_GC_TILE = 1024,
   2745     XCB_GC_STIPPLE = 2048,
   2746     XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096,
   2747     XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192,
   2748     XCB_GC_FONT = 16384,
   2749     XCB_GC_SUBWINDOW_MODE = 32768,
   2750     XCB_GC_GRAPHICS_EXPOSURES = 65536,
   2751     XCB_GC_CLIP_ORIGIN_X = 131072,
   2752     XCB_GC_CLIP_ORIGIN_Y = 262144,
   2753     XCB_GC_CLIP_MASK = 524288,
   2754     XCB_GC_DASH_OFFSET = 1048576,
   2755     XCB_GC_DASH_LIST = 2097152,
   2756     XCB_GC_ARC_MODE = 4194304
   2757 } xcb_gc_t;
   2758 
   2759 typedef enum xcb_gx_t {
   2760     XCB_GX_CLEAR = 0,
   2761     XCB_GX_AND = 1,
   2762     XCB_GX_AND_REVERSE = 2,
   2763     XCB_GX_COPY = 3,
   2764     XCB_GX_AND_INVERTED = 4,
   2765     XCB_GX_NOOP = 5,
   2766     XCB_GX_XOR = 6,
   2767     XCB_GX_OR = 7,
   2768     XCB_GX_NOR = 8,
   2769     XCB_GX_EQUIV = 9,
   2770     XCB_GX_INVERT = 10,
   2771     XCB_GX_OR_REVERSE = 11,
   2772     XCB_GX_COPY_INVERTED = 12,
   2773     XCB_GX_OR_INVERTED = 13,
   2774     XCB_GX_NAND = 14,
   2775     XCB_GX_SET = 15
   2776 } xcb_gx_t;
   2777 
   2778 typedef enum xcb_line_style_t {
   2779     XCB_LINE_STYLE_SOLID = 0,
   2780     XCB_LINE_STYLE_ON_OFF_DASH = 1,
   2781     XCB_LINE_STYLE_DOUBLE_DASH = 2
   2782 } xcb_line_style_t;
   2783 
   2784 typedef enum xcb_cap_style_t {
   2785     XCB_CAP_STYLE_NOT_LAST = 0,
   2786     XCB_CAP_STYLE_BUTT = 1,
   2787     XCB_CAP_STYLE_ROUND = 2,
   2788     XCB_CAP_STYLE_PROJECTING = 3
   2789 } xcb_cap_style_t;
   2790 
   2791 typedef enum xcb_join_style_t {
   2792     XCB_JOIN_STYLE_MITER = 0,
   2793     XCB_JOIN_STYLE_ROUND = 1,
   2794     XCB_JOIN_STYLE_BEVEL = 2
   2795 } xcb_join_style_t;
   2796 
   2797 typedef enum xcb_fill_style_t {
   2798     XCB_FILL_STYLE_SOLID = 0,
   2799     XCB_FILL_STYLE_TILED = 1,
   2800     XCB_FILL_STYLE_STIPPLED = 2,
   2801     XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
   2802 } xcb_fill_style_t;
   2803 
   2804 typedef enum xcb_fill_rule_t {
   2805     XCB_FILL_RULE_EVEN_ODD = 0,
   2806     XCB_FILL_RULE_WINDING = 1
   2807 } xcb_fill_rule_t;
   2808 
   2809 typedef enum xcb_subwindow_mode_t {
   2810     XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
   2811     XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
   2812 } xcb_subwindow_mode_t;
   2813 
   2814 typedef enum xcb_arc_mode_t {
   2815     XCB_ARC_MODE_CHORD = 0,
   2816     XCB_ARC_MODE_PIE_SLICE = 1
   2817 } xcb_arc_mode_t;
   2818 
   2819 /** Opcode for xcb_create_gc. */
   2820 #define XCB_CREATE_GC 55
   2821 
   2822 /**
   2823  * @brief xcb_create_gc_request_t
   2824  **/
   2825 typedef struct xcb_create_gc_request_t {
   2826     uint8_t        major_opcode; /**<  */
   2827     uint8_t        pad0; /**<  */
   2828     uint16_t       length; /**<  */
   2829     xcb_gcontext_t cid; /**<  */
   2830     xcb_drawable_t drawable; /**<  */
   2831     uint32_t       value_mask; /**<  */
   2832 } xcb_create_gc_request_t;
   2833 
   2834 /** Opcode for xcb_change_gc. */
   2835 #define XCB_CHANGE_GC 56
   2836 
   2837 /**
   2838  * @brief xcb_change_gc_request_t
   2839  **/
   2840 typedef struct xcb_change_gc_request_t {
   2841     uint8_t        major_opcode; /**<  */
   2842     uint8_t        pad0; /**<  */
   2843     uint16_t       length; /**<  */
   2844     xcb_gcontext_t gc; /**<  */
   2845     uint32_t       value_mask; /**<  */
   2846 } xcb_change_gc_request_t;
   2847 
   2848 /** Opcode for xcb_copy_gc. */
   2849 #define XCB_COPY_GC 57
   2850 
   2851 /**
   2852  * @brief xcb_copy_gc_request_t
   2853  **/
   2854 typedef struct xcb_copy_gc_request_t {
   2855     uint8_t        major_opcode; /**<  */
   2856     uint8_t        pad0; /**<  */
   2857     uint16_t       length; /**<  */
   2858     xcb_gcontext_t src_gc; /**<  */
   2859     xcb_gcontext_t dst_gc; /**<  */
   2860     uint32_t       value_mask; /**<  */
   2861 } xcb_copy_gc_request_t;
   2862 
   2863 /** Opcode for xcb_set_dashes. */
   2864 #define XCB_SET_DASHES 58
   2865 
   2866 /**
   2867  * @brief xcb_set_dashes_request_t
   2868  **/
   2869 typedef struct xcb_set_dashes_request_t {
   2870     uint8_t        major_opcode; /**<  */
   2871     uint8_t        pad0; /**<  */
   2872     uint16_t       length; /**<  */
   2873     xcb_gcontext_t gc; /**<  */
   2874     uint16_t       dash_offset; /**<  */
   2875     uint16_t       dashes_len; /**<  */
   2876 } xcb_set_dashes_request_t;
   2877 
   2878 typedef enum xcb_clip_ordering_t {
   2879     XCB_CLIP_ORDERING_UNSORTED = 0,
   2880     XCB_CLIP_ORDERING_Y_SORTED = 1,
   2881     XCB_CLIP_ORDERING_YX_SORTED = 2,
   2882     XCB_CLIP_ORDERING_YX_BANDED = 3
   2883 } xcb_clip_ordering_t;
   2884 
   2885 /** Opcode for xcb_set_clip_rectangles. */
   2886 #define XCB_SET_CLIP_RECTANGLES 59
   2887 
   2888 /**
   2889  * @brief xcb_set_clip_rectangles_request_t
   2890  **/
   2891 typedef struct xcb_set_clip_rectangles_request_t {
   2892     uint8_t        major_opcode; /**<  */
   2893     uint8_t        ordering; /**<  */
   2894     uint16_t       length; /**<  */
   2895     xcb_gcontext_t gc; /**<  */
   2896     int16_t        clip_x_origin; /**<  */
   2897     int16_t        clip_y_origin; /**<  */
   2898 } xcb_set_clip_rectangles_request_t;
   2899 
   2900 /** Opcode for xcb_free_gc. */
   2901 #define XCB_FREE_GC 60
   2902 
   2903 /**
   2904  * @brief xcb_free_gc_request_t
   2905  **/
   2906 typedef struct xcb_free_gc_request_t {
   2907     uint8_t        major_opcode; /**<  */
   2908     uint8_t        pad0; /**<  */
   2909     uint16_t       length; /**<  */
   2910     xcb_gcontext_t gc; /**<  */
   2911 } xcb_free_gc_request_t;
   2912 
   2913 /** Opcode for xcb_clear_area. */
   2914 #define XCB_CLEAR_AREA 61
   2915 
   2916 /**
   2917  * @brief xcb_clear_area_request_t
   2918  **/
   2919 typedef struct xcb_clear_area_request_t {
   2920     uint8_t      major_opcode; /**<  */
   2921     uint8_t      exposures; /**<  */
   2922     uint16_t     length; /**<  */
   2923     xcb_window_t window; /**<  */
   2924     int16_t      x; /**<  */
   2925     int16_t      y; /**<  */
   2926     uint16_t     width; /**<  */
   2927     uint16_t     height; /**<  */
   2928 } xcb_clear_area_request_t;
   2929 
   2930 /** Opcode for xcb_copy_area. */
   2931 #define XCB_COPY_AREA 62
   2932 
   2933 /**
   2934  * @brief xcb_copy_area_request_t
   2935  **/
   2936 typedef struct xcb_copy_area_request_t {
   2937     uint8_t        major_opcode; /**<  */
   2938     uint8_t        pad0; /**<  */
   2939     uint16_t       length; /**<  */
   2940     xcb_drawable_t src_drawable; /**<  */
   2941     xcb_drawable_t dst_drawable; /**<  */
   2942     xcb_gcontext_t gc; /**<  */
   2943     int16_t        src_x; /**<  */
   2944     int16_t        src_y; /**<  */
   2945     int16_t        dst_x; /**<  */
   2946     int16_t        dst_y; /**<  */
   2947     uint16_t       width; /**<  */
   2948     uint16_t       height; /**<  */
   2949 } xcb_copy_area_request_t;
   2950 
   2951 /** Opcode for xcb_copy_plane. */
   2952 #define XCB_COPY_PLANE 63
   2953 
   2954 /**
   2955  * @brief xcb_copy_plane_request_t
   2956  **/
   2957 typedef struct xcb_copy_plane_request_t {
   2958     uint8_t        major_opcode; /**<  */
   2959     uint8_t        pad0; /**<  */
   2960     uint16_t       length; /**<  */
   2961     xcb_drawable_t src_drawable; /**<  */
   2962     xcb_drawable_t dst_drawable; /**<  */
   2963     xcb_gcontext_t gc; /**<  */
   2964     int16_t        src_x; /**<  */
   2965     int16_t        src_y; /**<  */
   2966     int16_t        dst_x; /**<  */
   2967     int16_t        dst_y; /**<  */
   2968     uint16_t       width; /**<  */
   2969     uint16_t       height; /**<  */
   2970     uint32_t       bit_plane; /**<  */
   2971 } xcb_copy_plane_request_t;
   2972 
   2973 typedef enum xcb_coord_mode_t {
   2974     XCB_COORD_MODE_ORIGIN = 0,
   2975     XCB_COORD_MODE_PREVIOUS = 1
   2976 } xcb_coord_mode_t;
   2977 
   2978 /** Opcode for xcb_poly_point. */
   2979 #define XCB_POLY_POINT 64
   2980 
   2981 /**
   2982  * @brief xcb_poly_point_request_t
   2983  **/
   2984 typedef struct xcb_poly_point_request_t {
   2985     uint8_t        major_opcode; /**<  */
   2986     uint8_t        coordinate_mode; /**<  */
   2987     uint16_t       length; /**<  */
   2988     xcb_drawable_t drawable; /**<  */
   2989     xcb_gcontext_t gc; /**<  */
   2990 } xcb_poly_point_request_t;
   2991 
   2992 /** Opcode for xcb_poly_line. */
   2993 #define XCB_POLY_LINE 65
   2994 
   2995 /**
   2996  * @brief xcb_poly_line_request_t
   2997  **/
   2998 typedef struct xcb_poly_line_request_t {
   2999     uint8_t        major_opcode; /**<  */
   3000     uint8_t        coordinate_mode; /**<  */
   3001     uint16_t       length; /**<  */
   3002     xcb_drawable_t drawable; /**<  */
   3003     xcb_gcontext_t gc; /**<  */
   3004 } xcb_poly_line_request_t;
   3005 
   3006 /**
   3007  * @brief xcb_segment_t
   3008  **/
   3009 typedef struct xcb_segment_t {
   3010     int16_t x1; /**<  */
   3011     int16_t y1; /**<  */
   3012     int16_t x2; /**<  */
   3013     int16_t y2; /**<  */
   3014 } xcb_segment_t;
   3015 
   3016 /**
   3017  * @brief xcb_segment_iterator_t
   3018  **/
   3019 typedef struct xcb_segment_iterator_t {
   3020     xcb_segment_t *data; /**<  */
   3021     int            rem; /**<  */
   3022     int            index; /**<  */
   3023 } xcb_segment_iterator_t;
   3024 
   3025 /** Opcode for xcb_poly_segment. */
   3026 #define XCB_POLY_SEGMENT 66
   3027 
   3028 /**
   3029  * @brief xcb_poly_segment_request_t
   3030  **/
   3031 typedef struct xcb_poly_segment_request_t {
   3032     uint8_t        major_opcode; /**<  */
   3033     uint8_t        pad0; /**<  */
   3034     uint16_t       length; /**<  */
   3035     xcb_drawable_t drawable; /**<  */
   3036     xcb_gcontext_t gc; /**<  */
   3037 } xcb_poly_segment_request_t;
   3038 
   3039 /** Opcode for xcb_poly_rectangle. */
   3040 #define XCB_POLY_RECTANGLE 67
   3041 
   3042 /**
   3043  * @brief xcb_poly_rectangle_request_t
   3044  **/
   3045 typedef struct xcb_poly_rectangle_request_t {
   3046     uint8_t        major_opcode; /**<  */
   3047     uint8_t        pad0; /**<  */
   3048     uint16_t       length; /**<  */
   3049     xcb_drawable_t drawable; /**<  */
   3050     xcb_gcontext_t gc; /**<  */
   3051 } xcb_poly_rectangle_request_t;
   3052 
   3053 /** Opcode for xcb_poly_arc. */
   3054 #define XCB_POLY_ARC 68
   3055 
   3056 /**
   3057  * @brief xcb_poly_arc_request_t
   3058  **/
   3059 typedef struct xcb_poly_arc_request_t {
   3060     uint8_t        major_opcode; /**<  */
   3061     uint8_t        pad0; /**<  */
   3062     uint16_t       length; /**<  */
   3063     xcb_drawable_t drawable; /**<  */
   3064     xcb_gcontext_t gc; /**<  */
   3065 } xcb_poly_arc_request_t;
   3066 
   3067 typedef enum xcb_poly_shape_t {
   3068     XCB_POLY_SHAPE_COMPLEX = 0,
   3069     XCB_POLY_SHAPE_NONCONVEX = 1,
   3070     XCB_POLY_SHAPE_CONVEX = 2
   3071 } xcb_poly_shape_t;
   3072 
   3073 /** Opcode for xcb_fill_poly. */
   3074 #define XCB_FILL_POLY 69
   3075 
   3076 /**
   3077  * @brief xcb_fill_poly_request_t
   3078  **/
   3079 typedef struct xcb_fill_poly_request_t {
   3080     uint8_t        major_opcode; /**<  */
   3081     uint8_t        pad0; /**<  */
   3082     uint16_t       length; /**<  */
   3083     xcb_drawable_t drawable; /**<  */
   3084     xcb_gcontext_t gc; /**<  */
   3085     uint8_t        shape; /**<  */
   3086     uint8_t        coordinate_mode; /**<  */
   3087     uint8_t        pad1[2]; /**<  */
   3088 } xcb_fill_poly_request_t;
   3089 
   3090 /** Opcode for xcb_poly_fill_rectangle. */
   3091 #define XCB_POLY_FILL_RECTANGLE 70
   3092 
   3093 /**
   3094  * @brief xcb_poly_fill_rectangle_request_t
   3095  **/
   3096 typedef struct xcb_poly_fill_rectangle_request_t {
   3097     uint8_t        major_opcode; /**<  */
   3098     uint8_t        pad0; /**<  */
   3099     uint16_t       length; /**<  */
   3100     xcb_drawable_t drawable; /**<  */
   3101     xcb_gcontext_t gc; /**<  */
   3102 } xcb_poly_fill_rectangle_request_t;
   3103 
   3104 /** Opcode for xcb_poly_fill_arc. */
   3105 #define XCB_POLY_FILL_ARC 71
   3106 
   3107 /**
   3108  * @brief xcb_poly_fill_arc_request_t
   3109  **/
   3110 typedef struct xcb_poly_fill_arc_request_t {
   3111     uint8_t        major_opcode; /**<  */
   3112     uint8_t        pad0; /**<  */
   3113     uint16_t       length; /**<  */
   3114     xcb_drawable_t drawable; /**<  */
   3115     xcb_gcontext_t gc; /**<  */
   3116 } xcb_poly_fill_arc_request_t;
   3117 
   3118 typedef enum xcb_image_format_t {
   3119     XCB_IMAGE_FORMAT_XY_BITMAP = 0,
   3120     XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
   3121     XCB_IMAGE_FORMAT_Z_PIXMAP = 2
   3122 } xcb_image_format_t;
   3123 
   3124 /** Opcode for xcb_put_image. */
   3125 #define XCB_PUT_IMAGE 72
   3126 
   3127 /**
   3128  * @brief xcb_put_image_request_t
   3129  **/
   3130 typedef struct xcb_put_image_request_t {
   3131     uint8_t        major_opcode; /**<  */
   3132     uint8_t        format; /**<  */
   3133     uint16_t       length; /**<  */
   3134     xcb_drawable_t drawable; /**<  */
   3135     xcb_gcontext_t gc; /**<  */
   3136     uint16_t       width; /**<  */
   3137     uint16_t       height; /**<  */
   3138     int16_t        dst_x; /**<  */
   3139     int16_t        dst_y; /**<  */
   3140     uint8_t        left_pad; /**<  */
   3141     uint8_t        depth; /**<  */
   3142     uint8_t        pad0[2]; /**<  */
   3143 } xcb_put_image_request_t;
   3144 
   3145 /**
   3146  * @brief xcb_get_image_cookie_t
   3147  **/
   3148 typedef struct xcb_get_image_cookie_t {
   3149     unsigned int sequence; /**<  */
   3150 } xcb_get_image_cookie_t;
   3151 
   3152 /** Opcode for xcb_get_image. */
   3153 #define XCB_GET_IMAGE 73
   3154 
   3155 /**
   3156  * @brief xcb_get_image_request_t
   3157  **/
   3158 typedef struct xcb_get_image_request_t {
   3159     uint8_t        major_opcode; /**<  */
   3160     uint8_t        format; /**<  */
   3161     uint16_t       length; /**<  */
   3162     xcb_drawable_t drawable; /**<  */
   3163     int16_t        x; /**<  */
   3164     int16_t        y; /**<  */
   3165     uint16_t       width; /**<  */
   3166     uint16_t       height; /**<  */
   3167     uint32_t       plane_mask; /**<  */
   3168 } xcb_get_image_request_t;
   3169 
   3170 /**
   3171  * @brief xcb_get_image_reply_t
   3172  **/
   3173 typedef struct xcb_get_image_reply_t {
   3174     uint8_t        response_type; /**<  */
   3175     uint8_t        depth; /**<  */
   3176     uint16_t       sequence; /**<  */
   3177     uint32_t       length; /**<  */
   3178     xcb_visualid_t visual; /**<  */
   3179     uint8_t        pad0[20]; /**<  */
   3180 } xcb_get_image_reply_t;
   3181 
   3182 /** Opcode for xcb_poly_text_8. */
   3183 #define XCB_POLY_TEXT_8 74
   3184 
   3185 /**
   3186  * @brief xcb_poly_text_8_request_t
   3187  **/
   3188 typedef struct xcb_poly_text_8_request_t {
   3189     uint8_t        major_opcode; /**<  */
   3190     uint8_t        pad0; /**<  */
   3191     uint16_t       length; /**<  */
   3192     xcb_drawable_t drawable; /**<  */
   3193     xcb_gcontext_t gc; /**<  */
   3194     int16_t        x; /**<  */
   3195     int16_t        y; /**<  */
   3196 } xcb_poly_text_8_request_t;
   3197 
   3198 /** Opcode for xcb_poly_text_16. */
   3199 #define XCB_POLY_TEXT_16 75
   3200 
   3201 /**
   3202  * @brief xcb_poly_text_16_request_t
   3203  **/
   3204 typedef struct xcb_poly_text_16_request_t {
   3205     uint8_t        major_opcode; /**<  */
   3206     uint8_t        pad0; /**<  */
   3207     uint16_t       length; /**<  */
   3208     xcb_drawable_t drawable; /**<  */
   3209     xcb_gcontext_t gc; /**<  */
   3210     int16_t        x; /**<  */
   3211     int16_t        y; /**<  */
   3212 } xcb_poly_text_16_request_t;
   3213 
   3214 /** Opcode for xcb_image_text_8. */
   3215 #define XCB_IMAGE_TEXT_8 76
   3216 
   3217 /**
   3218  * @brief xcb_image_text_8_request_t
   3219  **/
   3220 typedef struct xcb_image_text_8_request_t {
   3221     uint8_t        major_opcode; /**<  */
   3222     uint8_t        string_len; /**<  */
   3223     uint16_t       length; /**<  */
   3224     xcb_drawable_t drawable; /**<  */
   3225     xcb_gcontext_t gc; /**<  */
   3226     int16_t        x; /**<  */
   3227     int16_t        y; /**<  */
   3228 } xcb_image_text_8_request_t;
   3229 
   3230 /** Opcode for xcb_image_text_16. */
   3231 #define XCB_IMAGE_TEXT_16 77
   3232 
   3233 /**
   3234  * @brief xcb_image_text_16_request_t
   3235  **/
   3236 typedef struct xcb_image_text_16_request_t {
   3237     uint8_t        major_opcode; /**<  */
   3238     uint8_t        string_len; /**<  */
   3239     uint16_t       length; /**<  */
   3240     xcb_drawable_t drawable; /**<  */
   3241     xcb_gcontext_t gc; /**<  */
   3242     int16_t        x; /**<  */
   3243     int16_t        y; /**<  */
   3244 } xcb_image_text_16_request_t;
   3245 
   3246 typedef enum xcb_colormap_alloc_t {
   3247     XCB_COLORMAP_ALLOC_NONE = 0,
   3248     XCB_COLORMAP_ALLOC_ALL = 1
   3249 } xcb_colormap_alloc_t;
   3250 
   3251 /** Opcode for xcb_create_colormap. */
   3252 #define XCB_CREATE_COLORMAP 78
   3253 
   3254 /**
   3255  * @brief xcb_create_colormap_request_t
   3256  **/
   3257 typedef struct xcb_create_colormap_request_t {
   3258     uint8_t        major_opcode; /**<  */
   3259     uint8_t        alloc; /**<  */
   3260     uint16_t       length; /**<  */
   3261     xcb_colormap_t mid; /**<  */
   3262     xcb_window_t   window; /**<  */
   3263     xcb_visualid_t visual; /**<  */
   3264 } xcb_create_colormap_request_t;
   3265 
   3266 /** Opcode for xcb_free_colormap. */
   3267 #define XCB_FREE_COLORMAP 79
   3268 
   3269 /**
   3270  * @brief xcb_free_colormap_request_t
   3271  **/
   3272 typedef struct xcb_free_colormap_request_t {
   3273     uint8_t        major_opcode; /**<  */
   3274     uint8_t        pad0; /**<  */
   3275     uint16_t       length; /**<  */
   3276     xcb_colormap_t cmap; /**<  */
   3277 } xcb_free_colormap_request_t;
   3278 
   3279 /** Opcode for xcb_copy_colormap_and_free. */
   3280 #define XCB_COPY_COLORMAP_AND_FREE 80
   3281 
   3282 /**
   3283  * @brief xcb_copy_colormap_and_free_request_t
   3284  **/
   3285 typedef struct xcb_copy_colormap_and_free_request_t {
   3286     uint8_t        major_opcode; /**<  */
   3287     uint8_t        pad0; /**<  */
   3288     uint16_t       length; /**<  */
   3289     xcb_colormap_t mid; /**<  */
   3290     xcb_colormap_t src_cmap; /**<  */
   3291 } xcb_copy_colormap_and_free_request_t;
   3292 
   3293 /** Opcode for xcb_install_colormap. */
   3294 #define XCB_INSTALL_COLORMAP 81
   3295 
   3296 /**
   3297  * @brief xcb_install_colormap_request_t
   3298  **/
   3299 typedef struct xcb_install_colormap_request_t {
   3300     uint8_t        major_opcode; /**<  */
   3301     uint8_t        pad0; /**<  */
   3302     uint16_t       length; /**<  */
   3303     xcb_colormap_t cmap; /**<  */
   3304 } xcb_install_colormap_request_t;
   3305 
   3306 /** Opcode for xcb_uninstall_colormap. */
   3307 #define XCB_UNINSTALL_COLORMAP 82
   3308 
   3309 /**
   3310  * @brief xcb_uninstall_colormap_request_t
   3311  **/
   3312 typedef struct xcb_uninstall_colormap_request_t {
   3313     uint8_t        major_opcode; /**<  */
   3314     uint8_t        pad0; /**<  */
   3315     uint16_t       length; /**<  */
   3316     xcb_colormap_t cmap; /**<  */
   3317 } xcb_uninstall_colormap_request_t;
   3318 
   3319 /**
   3320  * @brief xcb_list_installed_colormaps_cookie_t
   3321  **/
   3322 typedef struct xcb_list_installed_colormaps_cookie_t {
   3323     unsigned int sequence; /**<  */
   3324 } xcb_list_installed_colormaps_cookie_t;
   3325 
   3326 /** Opcode for xcb_list_installed_colormaps. */
   3327 #define XCB_LIST_INSTALLED_COLORMAPS 83
   3328 
   3329 /**
   3330  * @brief xcb_list_installed_colormaps_request_t
   3331  **/
   3332 typedef struct xcb_list_installed_colormaps_request_t {
   3333     uint8_t      major_opcode; /**<  */
   3334     uint8_t      pad0; /**<  */
   3335     uint16_t     length; /**<  */
   3336     xcb_window_t window; /**<  */
   3337 } xcb_list_installed_colormaps_request_t;
   3338 
   3339 /**
   3340  * @brief xcb_list_installed_colormaps_reply_t
   3341  **/
   3342 typedef struct xcb_list_installed_colormaps_reply_t {
   3343     uint8_t  response_type; /**<  */
   3344     uint8_t  pad0; /**<  */
   3345     uint16_t sequence; /**<  */
   3346     uint32_t length; /**<  */
   3347     uint16_t cmaps_len; /**<  */
   3348     uint8_t  pad1[22]; /**<  */
   3349 } xcb_list_installed_colormaps_reply_t;
   3350 
   3351 /**
   3352  * @brief xcb_alloc_color_cookie_t
   3353  **/
   3354 typedef struct xcb_alloc_color_cookie_t {
   3355     unsigned int sequence; /**<  */
   3356 } xcb_alloc_color_cookie_t;
   3357 
   3358 /** Opcode for xcb_alloc_color. */
   3359 #define XCB_ALLOC_COLOR 84
   3360 
   3361 /**
   3362  * @brief xcb_alloc_color_request_t
   3363  **/
   3364 typedef struct xcb_alloc_color_request_t {
   3365     uint8_t        major_opcode; /**<  */
   3366     uint8_t        pad0; /**<  */
   3367     uint16_t       length; /**<  */
   3368     xcb_colormap_t cmap; /**<  */
   3369     uint16_t       red; /**<  */
   3370     uint16_t       green; /**<  */
   3371     uint16_t       blue; /**<  */
   3372     uint8_t        pad1[2]; /**<  */
   3373 } xcb_alloc_color_request_t;
   3374 
   3375 /**
   3376  * @brief xcb_alloc_color_reply_t
   3377  **/
   3378 typedef struct xcb_alloc_color_reply_t {
   3379     uint8_t  response_type; /**<  */
   3380     uint8_t  pad0; /**<  */
   3381     uint16_t sequence; /**<  */
   3382     uint32_t length; /**<  */
   3383     uint16_t red; /**<  */
   3384     uint16_t green; /**<  */
   3385     uint16_t blue; /**<  */
   3386     uint8_t  pad1[2]; /**<  */
   3387     uint32_t pixel; /**<  */
   3388 } xcb_alloc_color_reply_t;
   3389 
   3390 /**
   3391  * @brief xcb_alloc_named_color_cookie_t
   3392  **/
   3393 typedef struct xcb_alloc_named_color_cookie_t {
   3394     unsigned int sequence; /**<  */
   3395 } xcb_alloc_named_color_cookie_t;
   3396 
   3397 /** Opcode for xcb_alloc_named_color. */
   3398 #define XCB_ALLOC_NAMED_COLOR 85
   3399 
   3400 /**
   3401  * @brief xcb_alloc_named_color_request_t
   3402  **/
   3403 typedef struct xcb_alloc_named_color_request_t {
   3404     uint8_t        major_opcode; /**<  */
   3405     uint8_t        pad0; /**<  */
   3406     uint16_t       length; /**<  */
   3407     xcb_colormap_t cmap; /**<  */
   3408     uint16_t       name_len; /**<  */
   3409     uint8_t        pad1[2]; /**<  */
   3410 } xcb_alloc_named_color_request_t;
   3411 
   3412 /**
   3413  * @brief xcb_alloc_named_color_reply_t
   3414  **/
   3415 typedef struct xcb_alloc_named_color_reply_t {
   3416     uint8_t  response_type; /**<  */
   3417     uint8_t  pad0; /**<  */
   3418     uint16_t sequence; /**<  */
   3419     uint32_t length; /**<  */
   3420     uint32_t pixel; /**<  */
   3421     uint16_t exact_red; /**<  */
   3422     uint16_t exact_green; /**<  */
   3423     uint16_t exact_blue; /**<  */
   3424     uint16_t visual_red; /**<  */
   3425     uint16_t visual_green; /**<  */
   3426     uint16_t visual_blue; /**<  */
   3427 } xcb_alloc_named_color_reply_t;
   3428 
   3429 /**
   3430  * @brief xcb_alloc_color_cells_cookie_t
   3431  **/
   3432 typedef struct xcb_alloc_color_cells_cookie_t {
   3433     unsigned int sequence; /**<  */
   3434 } xcb_alloc_color_cells_cookie_t;
   3435 
   3436 /** Opcode for xcb_alloc_color_cells. */
   3437 #define XCB_ALLOC_COLOR_CELLS 86
   3438 
   3439 /**
   3440  * @brief xcb_alloc_color_cells_request_t
   3441  **/
   3442 typedef struct xcb_alloc_color_cells_request_t {
   3443     uint8_t        major_opcode; /**<  */
   3444     uint8_t        contiguous; /**<  */
   3445     uint16_t       length; /**<  */
   3446     xcb_colormap_t cmap; /**<  */
   3447     uint16_t       colors; /**<  */
   3448     uint16_t       planes; /**<  */
   3449 } xcb_alloc_color_cells_request_t;
   3450 
   3451 /**
   3452  * @brief xcb_alloc_color_cells_reply_t
   3453  **/
   3454 typedef struct xcb_alloc_color_cells_reply_t {
   3455     uint8_t  response_type; /**<  */
   3456     uint8_t  pad0; /**<  */
   3457     uint16_t sequence; /**<  */
   3458     uint32_t length; /**<  */
   3459     uint16_t pixels_len; /**<  */
   3460     uint16_t masks_len; /**<  */
   3461     uint8_t  pad1[20]; /**<  */
   3462 } xcb_alloc_color_cells_reply_t;
   3463 
   3464 /**
   3465  * @brief xcb_alloc_color_planes_cookie_t
   3466  **/
   3467 typedef struct xcb_alloc_color_planes_cookie_t {
   3468     unsigned int sequence; /**<  */
   3469 } xcb_alloc_color_planes_cookie_t;
   3470 
   3471 /** Opcode for xcb_alloc_color_planes. */
   3472 #define XCB_ALLOC_COLOR_PLANES 87
   3473 
   3474 /**
   3475  * @brief xcb_alloc_color_planes_request_t
   3476  **/
   3477 typedef struct xcb_alloc_color_planes_request_t {
   3478     uint8_t        major_opcode; /**<  */
   3479     uint8_t        contiguous; /**<  */
   3480     uint16_t       length; /**<  */
   3481     xcb_colormap_t cmap; /**<  */
   3482     uint16_t       colors; /**<  */
   3483     uint16_t       reds; /**<  */
   3484     uint16_t       greens; /**<  */
   3485     uint16_t       blues; /**<  */
   3486 } xcb_alloc_color_planes_request_t;
   3487 
   3488 /**
   3489  * @brief xcb_alloc_color_planes_reply_t
   3490  **/
   3491 typedef struct xcb_alloc_color_planes_reply_t {
   3492     uint8_t  response_type; /**<  */
   3493     uint8_t  pad0; /**<  */
   3494     uint16_t sequence; /**<  */
   3495     uint32_t length; /**<  */
   3496     uint16_t pixels_len; /**<  */
   3497     uint8_t  pad1[2]; /**<  */
   3498     uint32_t red_mask; /**<  */
   3499     uint32_t green_mask; /**<  */
   3500     uint32_t blue_mask; /**<  */
   3501     uint8_t  pad2[8]; /**<  */
   3502 } xcb_alloc_color_planes_reply_t;
   3503 
   3504 /** Opcode for xcb_free_colors. */
   3505 #define XCB_FREE_COLORS 88
   3506 
   3507 /**
   3508  * @brief xcb_free_colors_request_t
   3509  **/
   3510 typedef struct xcb_free_colors_request_t {
   3511     uint8_t        major_opcode; /**<  */
   3512     uint8_t        pad0; /**<  */
   3513     uint16_t       length; /**<  */
   3514     xcb_colormap_t cmap; /**<  */
   3515     uint32_t       plane_mask; /**<  */
   3516 } xcb_free_colors_request_t;
   3517 
   3518 typedef enum xcb_color_flag_t {
   3519     XCB_COLOR_FLAG_RED = 1,
   3520     XCB_COLOR_FLAG_GREEN = 2,
   3521     XCB_COLOR_FLAG_BLUE = 4
   3522 } xcb_color_flag_t;
   3523 
   3524 /**
   3525  * @brief xcb_coloritem_t
   3526  **/
   3527 typedef struct xcb_coloritem_t {
   3528     uint32_t pixel; /**<  */
   3529     uint16_t red; /**<  */
   3530     uint16_t green; /**<  */
   3531     uint16_t blue; /**<  */
   3532     uint8_t  flags; /**<  */
   3533     uint8_t  pad0; /**<  */
   3534 } xcb_coloritem_t;
   3535 
   3536 /**
   3537  * @brief xcb_coloritem_iterator_t
   3538  **/
   3539 typedef struct xcb_coloritem_iterator_t {
   3540     xcb_coloritem_t *data; /**<  */
   3541     int              rem; /**<  */
   3542     int              index; /**<  */
   3543 } xcb_coloritem_iterator_t;
   3544 
   3545 /** Opcode for xcb_store_colors. */
   3546 #define XCB_STORE_COLORS 89
   3547 
   3548 /**
   3549  * @brief xcb_store_colors_request_t
   3550  **/
   3551 typedef struct xcb_store_colors_request_t {
   3552     uint8_t        major_opcode; /**<  */
   3553     uint8_t        pad0; /**<  */
   3554     uint16_t       length; /**<  */
   3555     xcb_colormap_t cmap; /**<  */
   3556 } xcb_store_colors_request_t;
   3557 
   3558 /** Opcode for xcb_store_named_color. */
   3559 #define XCB_STORE_NAMED_COLOR 90
   3560 
   3561 /**
   3562  * @brief xcb_store_named_color_request_t
   3563  **/
   3564 typedef struct xcb_store_named_color_request_t {
   3565     uint8_t        major_opcode; /**<  */
   3566     uint8_t        flags; /**<  */
   3567     uint16_t       length; /**<  */
   3568     xcb_colormap_t cmap; /**<  */
   3569     uint32_t       pixel; /**<  */
   3570     uint16_t       name_len; /**<  */
   3571     uint8_t        pad0[2]; /**<  */
   3572 } xcb_store_named_color_request_t;
   3573 
   3574 /**
   3575  * @brief xcb_rgb_t
   3576  **/
   3577 typedef struct xcb_rgb_t {
   3578     uint16_t red; /**<  */
   3579     uint16_t green; /**<  */
   3580     uint16_t blue; /**<  */
   3581     uint8_t  pad0[2]; /**<  */
   3582 } xcb_rgb_t;
   3583 
   3584 /**
   3585  * @brief xcb_rgb_iterator_t
   3586  **/
   3587 typedef struct xcb_rgb_iterator_t {
   3588     xcb_rgb_t *data; /**<  */
   3589     int        rem; /**<  */
   3590     int        index; /**<  */
   3591 } xcb_rgb_iterator_t;
   3592 
   3593 /**
   3594  * @brief xcb_query_colors_cookie_t
   3595  **/
   3596 typedef struct xcb_query_colors_cookie_t {
   3597     unsigned int sequence; /**<  */
   3598 } xcb_query_colors_cookie_t;
   3599 
   3600 /** Opcode for xcb_query_colors. */
   3601 #define XCB_QUERY_COLORS 91
   3602 
   3603 /**
   3604  * @brief xcb_query_colors_request_t
   3605  **/
   3606 typedef struct xcb_query_colors_request_t {
   3607     uint8_t        major_opcode; /**<  */
   3608     uint8_t        pad0; /**<  */
   3609     uint16_t       length; /**<  */
   3610     xcb_colormap_t cmap; /**<  */
   3611 } xcb_query_colors_request_t;
   3612 
   3613 /**
   3614  * @brief xcb_query_colors_reply_t
   3615  **/
   3616 typedef struct xcb_query_colors_reply_t {
   3617     uint8_t  response_type; /**<  */
   3618     uint8_t  pad0; /**<  */
   3619     uint16_t sequence; /**<  */
   3620     uint32_t length; /**<  */
   3621     uint16_t colors_len; /**<  */
   3622     uint8_t  pad1[22]; /**<  */
   3623 } xcb_query_colors_reply_t;
   3624 
   3625 /**
   3626  * @brief xcb_lookup_color_cookie_t
   3627  **/
   3628 typedef struct xcb_lookup_color_cookie_t {
   3629     unsigned int sequence; /**<  */
   3630 } xcb_lookup_color_cookie_t;
   3631 
   3632 /** Opcode for xcb_lookup_color. */
   3633 #define XCB_LOOKUP_COLOR 92
   3634 
   3635 /**
   3636  * @brief xcb_lookup_color_request_t
   3637  **/
   3638 typedef struct xcb_lookup_color_request_t {
   3639     uint8_t        major_opcode; /**<  */
   3640     uint8_t        pad0; /**<  */
   3641     uint16_t       length; /**<  */
   3642     xcb_colormap_t cmap; /**<  */
   3643     uint16_t       name_len; /**<  */
   3644     uint8_t        pad1[2]; /**<  */
   3645 } xcb_lookup_color_request_t;
   3646 
   3647 /**
   3648  * @brief xcb_lookup_color_reply_t
   3649  **/
   3650 typedef struct xcb_lookup_color_reply_t {
   3651     uint8_t  response_type; /**<  */
   3652     uint8_t  pad0; /**<  */
   3653     uint16_t sequence; /**<  */
   3654     uint32_t length; /**<  */
   3655     uint16_t exact_red; /**<  */
   3656     uint16_t exact_green; /**<  */
   3657     uint16_t exact_blue; /**<  */
   3658     uint16_t visual_red; /**<  */
   3659     uint16_t visual_green; /**<  */
   3660     uint16_t visual_blue; /**<  */
   3661 } xcb_lookup_color_reply_t;
   3662 
   3663 typedef enum xcb_pixmap_enum_t {
   3664     XCB_PIXMAP_NONE = 0
   3665 } xcb_pixmap_enum_t;
   3666 
   3667 /** Opcode for xcb_create_cursor. */
   3668 #define XCB_CREATE_CURSOR 93
   3669 
   3670 /**
   3671  * @brief xcb_create_cursor_request_t
   3672  **/
   3673 typedef struct xcb_create_cursor_request_t {
   3674     uint8_t      major_opcode; /**<  */
   3675     uint8_t      pad0; /**<  */
   3676     uint16_t     length; /**<  */
   3677     xcb_cursor_t cid; /**<  */
   3678     xcb_pixmap_t source; /**<  */
   3679     xcb_pixmap_t mask; /**<  */
   3680     uint16_t     fore_red; /**<  */
   3681     uint16_t     fore_green; /**<  */
   3682     uint16_t     fore_blue; /**<  */
   3683     uint16_t     back_red; /**<  */
   3684     uint16_t     back_green; /**<  */
   3685     uint16_t     back_blue; /**<  */
   3686     uint16_t     x; /**<  */
   3687     uint16_t     y; /**<  */
   3688 } xcb_create_cursor_request_t;
   3689 
   3690 typedef enum xcb_font_enum_t {
   3691     XCB_FONT_NONE = 0
   3692 } xcb_font_enum_t;
   3693 
   3694 /** Opcode for xcb_create_glyph_cursor. */
   3695 #define XCB_CREATE_GLYPH_CURSOR 94
   3696 
   3697 /**
   3698  * @brief xcb_create_glyph_cursor_request_t
   3699  **/
   3700 typedef struct xcb_create_glyph_cursor_request_t {
   3701     uint8_t      major_opcode; /**<  */
   3702     uint8_t      pad0; /**<  */
   3703     uint16_t     length; /**<  */
   3704     xcb_cursor_t cid; /**<  */
   3705     xcb_font_t   source_font; /**<  */
   3706     xcb_font_t   mask_font; /**<  */
   3707     uint16_t     source_char; /**<  */
   3708     uint16_t     mask_char; /**<  */
   3709     uint16_t     fore_red; /**<  */
   3710     uint16_t     fore_green; /**<  */
   3711     uint16_t     fore_blue; /**<  */
   3712     uint16_t     back_red; /**<  */
   3713     uint16_t     back_green; /**<  */
   3714     uint16_t     back_blue; /**<  */
   3715 } xcb_create_glyph_cursor_request_t;
   3716 
   3717 /** Opcode for xcb_free_cursor. */
   3718 #define XCB_FREE_CURSOR 95
   3719 
   3720 /**
   3721  * @brief xcb_free_cursor_request_t
   3722  **/
   3723 typedef struct xcb_free_cursor_request_t {
   3724     uint8_t      major_opcode; /**<  */
   3725     uint8_t      pad0; /**<  */
   3726     uint16_t     length; /**<  */
   3727     xcb_cursor_t cursor; /**<  */
   3728 } xcb_free_cursor_request_t;
   3729 
   3730 /** Opcode for xcb_recolor_cursor. */
   3731 #define XCB_RECOLOR_CURSOR 96
   3732 
   3733 /**
   3734  * @brief xcb_recolor_cursor_request_t
   3735  **/
   3736 typedef struct xcb_recolor_cursor_request_t {
   3737     uint8_t      major_opcode; /**<  */
   3738     uint8_t      pad0; /**<  */
   3739     uint16_t     length; /**<  */
   3740     xcb_cursor_t cursor; /**<  */
   3741     uint16_t     fore_red; /**<  */
   3742     uint16_t     fore_green; /**<  */
   3743     uint16_t     fore_blue; /**<  */
   3744     uint16_t     back_red; /**<  */
   3745     uint16_t     back_green; /**<  */
   3746     uint16_t     back_blue; /**<  */
   3747 } xcb_recolor_cursor_request_t;
   3748 
   3749 typedef enum xcb_query_shape_of_t {
   3750     XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
   3751     XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
   3752     XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
   3753 } xcb_query_shape_of_t;
   3754 
   3755 /**
   3756  * @brief xcb_query_best_size_cookie_t
   3757  **/
   3758 typedef struct xcb_query_best_size_cookie_t {
   3759     unsigned int sequence; /**<  */
   3760 } xcb_query_best_size_cookie_t;
   3761 
   3762 /** Opcode for xcb_query_best_size. */
   3763 #define XCB_QUERY_BEST_SIZE 97
   3764 
   3765 /**
   3766  * @brief xcb_query_best_size_request_t
   3767  **/
   3768 typedef struct xcb_query_best_size_request_t {
   3769     uint8_t        major_opcode; /**<  */
   3770     uint8_t        _class; /**<  */
   3771     uint16_t       length; /**<  */
   3772     xcb_drawable_t drawable; /**<  */
   3773     uint16_t       width; /**<  */
   3774     uint16_t       height; /**<  */
   3775 } xcb_query_best_size_request_t;
   3776 
   3777 /**
   3778  * @brief xcb_query_best_size_reply_t
   3779  **/
   3780 typedef struct xcb_query_best_size_reply_t {
   3781     uint8_t  response_type; /**<  */
   3782     uint8_t  pad0; /**<  */
   3783     uint16_t sequence; /**<  */
   3784     uint32_t length; /**<  */
   3785     uint16_t width; /**<  */
   3786     uint16_t height; /**<  */
   3787 } xcb_query_best_size_reply_t;
   3788 
   3789 /**
   3790  * @brief xcb_query_extension_cookie_t
   3791  **/
   3792 typedef struct xcb_query_extension_cookie_t {
   3793     unsigned int sequence; /**<  */
   3794 } xcb_query_extension_cookie_t;
   3795 
   3796 /** Opcode for xcb_query_extension. */
   3797 #define XCB_QUERY_EXTENSION 98
   3798 
   3799 /**
   3800  * @brief xcb_query_extension_request_t
   3801  **/
   3802 typedef struct xcb_query_extension_request_t {
   3803     uint8_t  major_opcode; /**<  */
   3804     uint8_t  pad0; /**<  */
   3805     uint16_t length; /**<  */
   3806     uint16_t name_len; /**<  */
   3807     uint8_t  pad1[2]; /**<  */
   3808 } xcb_query_extension_request_t;
   3809 
   3810 /**
   3811  * @brief xcb_query_extension_reply_t
   3812  **/
   3813 typedef struct xcb_query_extension_reply_t {
   3814     uint8_t  response_type; /**<  */
   3815     uint8_t  pad0; /**<  */
   3816     uint16_t sequence; /**<  */
   3817     uint32_t length; /**<  */
   3818     uint8_t  present; /**<  */
   3819     uint8_t  major_opcode; /**<  */
   3820     uint8_t  first_event; /**<  */
   3821     uint8_t  first_error; /**<  */
   3822 } xcb_query_extension_reply_t;
   3823 
   3824 /**
   3825  * @brief xcb_list_extensions_cookie_t
   3826  **/
   3827 typedef struct xcb_list_extensions_cookie_t {
   3828     unsigned int sequence; /**<  */
   3829 } xcb_list_extensions_cookie_t;
   3830 
   3831 /** Opcode for xcb_list_extensions. */
   3832 #define XCB_LIST_EXTENSIONS 99
   3833 
   3834 /**
   3835  * @brief xcb_list_extensions_request_t
   3836  **/
   3837 typedef struct xcb_list_extensions_request_t {
   3838     uint8_t  major_opcode; /**<  */
   3839     uint8_t  pad0; /**<  */
   3840     uint16_t length; /**<  */
   3841 } xcb_list_extensions_request_t;
   3842 
   3843 /**
   3844  * @brief xcb_list_extensions_reply_t
   3845  **/
   3846 typedef struct xcb_list_extensions_reply_t {
   3847     uint8_t  response_type; /**<  */
   3848     uint8_t  names_len; /**<  */
   3849     uint16_t sequence; /**<  */
   3850     uint32_t length; /**<  */
   3851     uint8_t  pad0[24]; /**<  */
   3852 } xcb_list_extensions_reply_t;
   3853 
   3854 /** Opcode for xcb_change_keyboard_mapping. */
   3855 #define XCB_CHANGE_KEYBOARD_MAPPING 100
   3856 
   3857 /**
   3858  * @brief xcb_change_keyboard_mapping_request_t
   3859  **/
   3860 typedef struct xcb_change_keyboard_mapping_request_t {
   3861     uint8_t       major_opcode; /**<  */
   3862     uint8_t       keycode_count; /**<  */
   3863     uint16_t      length; /**<  */
   3864     xcb_keycode_t first_keycode; /**<  */
   3865     uint8_t       keysyms_per_keycode; /**<  */
   3866 } xcb_change_keyboard_mapping_request_t;
   3867 
   3868 /**
   3869  * @brief xcb_get_keyboard_mapping_cookie_t
   3870  **/
   3871 typedef struct xcb_get_keyboard_mapping_cookie_t {
   3872     unsigned int sequence; /**<  */
   3873 } xcb_get_keyboard_mapping_cookie_t;
   3874 
   3875 /** Opcode for xcb_get_keyboard_mapping. */
   3876 #define XCB_GET_KEYBOARD_MAPPING 101
   3877 
   3878 /**
   3879  * @brief xcb_get_keyboard_mapping_request_t
   3880  **/
   3881 typedef struct xcb_get_keyboard_mapping_request_t {
   3882     uint8_t       major_opcode; /**<  */
   3883     uint8_t       pad0; /**<  */
   3884     uint16_t      length; /**<  */
   3885     xcb_keycode_t first_keycode; /**<  */
   3886     uint8_t       count; /**<  */
   3887 } xcb_get_keyboard_mapping_request_t;
   3888 
   3889 /**
   3890  * @brief xcb_get_keyboard_mapping_reply_t
   3891  **/
   3892 typedef struct xcb_get_keyboard_mapping_reply_t {
   3893     uint8_t  response_type; /**<  */
   3894     uint8_t  keysyms_per_keycode; /**<  */
   3895     uint16_t sequence; /**<  */
   3896     uint32_t length; /**<  */
   3897     uint8_t  pad0[24]; /**<  */
   3898 } xcb_get_keyboard_mapping_reply_t;
   3899 
   3900 typedef enum xcb_kb_t {
   3901     XCB_KB_KEY_CLICK_PERCENT = 1,
   3902     XCB_KB_BELL_PERCENT = 2,
   3903     XCB_KB_BELL_PITCH = 4,
   3904     XCB_KB_BELL_DURATION = 8,
   3905     XCB_KB_LED = 16,
   3906     XCB_KB_LED_MODE = 32,
   3907     XCB_KB_KEY = 64,
   3908     XCB_KB_AUTO_REPEAT_MODE = 128
   3909 } xcb_kb_t;
   3910 
   3911 typedef enum xcb_led_mode_t {
   3912     XCB_LED_MODE_OFF = 0,
   3913     XCB_LED_MODE_ON = 1
   3914 } xcb_led_mode_t;
   3915 
   3916 typedef enum xcb_auto_repeat_mode_t {
   3917     XCB_AUTO_REPEAT_MODE_OFF = 0,
   3918     XCB_AUTO_REPEAT_MODE_ON = 1,
   3919     XCB_AUTO_REPEAT_MODE_DEFAULT = 2
   3920 } xcb_auto_repeat_mode_t;
   3921 
   3922 /** Opcode for xcb_change_keyboard_control. */
   3923 #define XCB_CHANGE_KEYBOARD_CONTROL 102
   3924 
   3925 /**
   3926  * @brief xcb_change_keyboard_control_request_t
   3927  **/
   3928 typedef struct xcb_change_keyboard_control_request_t {
   3929     uint8_t  major_opcode; /**<  */
   3930     uint8_t  pad0; /**<  */
   3931     uint16_t length; /**<  */
   3932     uint32_t value_mask; /**<  */
   3933 } xcb_change_keyboard_control_request_t;
   3934 
   3935 /**
   3936  * @brief xcb_get_keyboard_control_cookie_t
   3937  **/
   3938 typedef struct xcb_get_keyboard_control_cookie_t {
   3939     unsigned int sequence; /**<  */
   3940 } xcb_get_keyboard_control_cookie_t;
   3941 
   3942 /** Opcode for xcb_get_keyboard_control. */
   3943 #define XCB_GET_KEYBOARD_CONTROL 103
   3944 
   3945 /**
   3946  * @brief xcb_get_keyboard_control_request_t
   3947  **/
   3948 typedef struct xcb_get_keyboard_control_request_t {
   3949     uint8_t  major_opcode; /**<  */
   3950     uint8_t  pad0; /**<  */
   3951     uint16_t length; /**<  */
   3952 } xcb_get_keyboard_control_request_t;
   3953 
   3954 /**
   3955  * @brief xcb_get_keyboard_control_reply_t
   3956  **/
   3957 typedef struct xcb_get_keyboard_control_reply_t {
   3958     uint8_t  response_type; /**<  */
   3959     uint8_t  global_auto_repeat; /**<  */
   3960     uint16_t sequence; /**<  */
   3961     uint32_t length; /**<  */
   3962     uint32_t led_mask; /**<  */
   3963     uint8_t  key_click_percent; /**<  */
   3964     uint8_t  bell_percent; /**<  */
   3965     uint16_t bell_pitch; /**<  */
   3966     uint16_t bell_duration; /**<  */
   3967     uint8_t  pad0[2]; /**<  */
   3968     uint8_t  auto_repeats[32]; /**<  */
   3969 } xcb_get_keyboard_control_reply_t;
   3970 
   3971 /** Opcode for xcb_bell. */
   3972 #define XCB_BELL 104
   3973 
   3974 /**
   3975  * @brief xcb_bell_request_t
   3976  **/
   3977 typedef struct xcb_bell_request_t {
   3978     uint8_t  major_opcode; /**<  */
   3979     int8_t   percent; /**<  */
   3980     uint16_t length; /**<  */
   3981 } xcb_bell_request_t;
   3982 
   3983 /** Opcode for xcb_change_pointer_control. */
   3984 #define XCB_CHANGE_POINTER_CONTROL 105
   3985 
   3986 /**
   3987  * @brief xcb_change_pointer_control_request_t
   3988  **/
   3989 typedef struct xcb_change_pointer_control_request_t {
   3990     uint8_t  major_opcode; /**<  */
   3991     uint8_t  pad0; /**<  */
   3992     uint16_t length; /**<  */
   3993     int16_t  acceleration_numerator; /**<  */
   3994     int16_t  acceleration_denominator; /**<  */
   3995     int16_t  threshold; /**<  */
   3996     uint8_t  do_acceleration; /**<  */
   3997     uint8_t  do_threshold; /**<  */
   3998 } xcb_change_pointer_control_request_t;
   3999 
   4000 /**
   4001  * @brief xcb_get_pointer_control_cookie_t
   4002  **/
   4003 typedef struct xcb_get_pointer_control_cookie_t {
   4004     unsigned int sequence; /**<  */
   4005 } xcb_get_pointer_control_cookie_t;
   4006 
   4007 /** Opcode for xcb_get_pointer_control. */
   4008 #define XCB_GET_POINTER_CONTROL 106
   4009 
   4010 /**
   4011  * @brief xcb_get_pointer_control_request_t
   4012  **/
   4013 typedef struct xcb_get_pointer_control_request_t {
   4014     uint8_t  major_opcode; /**<  */
   4015     uint8_t  pad0; /**<  */
   4016     uint16_t length; /**<  */
   4017 } xcb_get_pointer_control_request_t;
   4018 
   4019 /**
   4020  * @brief xcb_get_pointer_control_reply_t
   4021  **/
   4022 typedef struct xcb_get_pointer_control_reply_t {
   4023     uint8_t  response_type; /**<  */
   4024     uint8_t  pad0; /**<  */
   4025     uint16_t sequence; /**<  */
   4026     uint32_t length; /**<  */
   4027     uint16_t acceleration_numerator; /**<  */
   4028     uint16_t acceleration_denominator; /**<  */
   4029     uint16_t threshold; /**<  */
   4030     uint8_t  pad1[18]; /**<  */
   4031 } xcb_get_pointer_control_reply_t;
   4032 
   4033 typedef enum xcb_blanking_t {
   4034     XCB_BLANKING_NOT_PREFERRED = 0,
   4035     XCB_BLANKING_PREFERRED = 1,
   4036     XCB_BLANKING_DEFAULT = 2
   4037 } xcb_blanking_t;
   4038 
   4039 typedef enum xcb_exposures_t {
   4040     XCB_EXPOSURES_NOT_ALLOWED = 0,
   4041     XCB_EXPOSURES_ALLOWED = 1,
   4042     XCB_EXPOSURES_DEFAULT = 2
   4043 } xcb_exposures_t;
   4044 
   4045 /** Opcode for xcb_set_screen_saver. */
   4046 #define XCB_SET_SCREEN_SAVER 107
   4047 
   4048 /**
   4049  * @brief xcb_set_screen_saver_request_t
   4050  **/
   4051 typedef struct xcb_set_screen_saver_request_t {
   4052     uint8_t  major_opcode; /**<  */
   4053     uint8_t  pad0; /**<  */
   4054     uint16_t length; /**<  */
   4055     int16_t  timeout; /**<  */
   4056     int16_t  interval; /**<  */
   4057     uint8_t  prefer_blanking; /**<  */
   4058     uint8_t  allow_exposures; /**<  */
   4059 } xcb_set_screen_saver_request_t;
   4060 
   4061 /**
   4062  * @brief xcb_get_screen_saver_cookie_t
   4063  **/
   4064 typedef struct xcb_get_screen_saver_cookie_t {
   4065     unsigned int sequence; /**<  */
   4066 } xcb_get_screen_saver_cookie_t;
   4067 
   4068 /** Opcode for xcb_get_screen_saver. */
   4069 #define XCB_GET_SCREEN_SAVER 108
   4070 
   4071 /**
   4072  * @brief xcb_get_screen_saver_request_t
   4073  **/
   4074 typedef struct xcb_get_screen_saver_request_t {
   4075     uint8_t  major_opcode; /**<  */
   4076     uint8_t  pad0; /**<  */
   4077     uint16_t length; /**<  */
   4078 } xcb_get_screen_saver_request_t;
   4079 
   4080 /**
   4081  * @brief xcb_get_screen_saver_reply_t
   4082  **/
   4083 typedef struct xcb_get_screen_saver_reply_t {
   4084     uint8_t  response_type; /**<  */
   4085     uint8_t  pad0; /**<  */
   4086     uint16_t sequence; /**<  */
   4087     uint32_t length; /**<  */
   4088     uint16_t timeout; /**<  */
   4089     uint16_t interval; /**<  */
   4090     uint8_t  prefer_blanking; /**<  */
   4091     uint8_t  allow_exposures; /**<  */
   4092     uint8_t  pad1[18]; /**<  */
   4093 } xcb_get_screen_saver_reply_t;
   4094 
   4095 typedef enum xcb_host_mode_t {
   4096     XCB_HOST_MODE_INSERT = 0,
   4097     XCB_HOST_MODE_DELETE = 1
   4098 } xcb_host_mode_t;
   4099 
   4100 typedef enum xcb_family_t {
   4101     XCB_FAMILY_INTERNET = 0,
   4102     XCB_FAMILY_DECNET = 1,
   4103     XCB_FAMILY_CHAOS = 2,
   4104     XCB_FAMILY_SERVER_INTERPRETED = 5,
   4105     XCB_FAMILY_INTERNET_6 = 6
   4106 } xcb_family_t;
   4107 
   4108 /** Opcode for xcb_change_hosts. */
   4109 #define XCB_CHANGE_HOSTS 109
   4110 
   4111 /**
   4112  * @brief xcb_change_hosts_request_t
   4113  **/
   4114 typedef struct xcb_change_hosts_request_t {
   4115     uint8_t  major_opcode; /**<  */
   4116     uint8_t  mode; /**<  */
   4117     uint16_t length; /**<  */
   4118     uint8_t  family; /**<  */
   4119     uint8_t  pad0; /**<  */
   4120     uint16_t address_len; /**<  */
   4121 } xcb_change_hosts_request_t;
   4122 
   4123 /**
   4124  * @brief xcb_host_t
   4125  **/
   4126 typedef struct xcb_host_t {
   4127     uint8_t  family; /**<  */
   4128     uint8_t  pad0; /**<  */
   4129     uint16_t address_len; /**<  */
   4130 } xcb_host_t;
   4131 
   4132 /**
   4133  * @brief xcb_host_iterator_t
   4134  **/
   4135 typedef struct xcb_host_iterator_t {
   4136     xcb_host_t *data; /**<  */
   4137     int         rem; /**<  */
   4138     int         index; /**<  */
   4139 } xcb_host_iterator_t;
   4140 
   4141 /**
   4142  * @brief xcb_list_hosts_cookie_t
   4143  **/
   4144 typedef struct xcb_list_hosts_cookie_t {
   4145     unsigned int sequence; /**<  */
   4146 } xcb_list_hosts_cookie_t;
   4147 
   4148 /** Opcode for xcb_list_hosts. */
   4149 #define XCB_LIST_HOSTS 110
   4150 
   4151 /**
   4152  * @brief xcb_list_hosts_request_t
   4153  **/
   4154 typedef struct xcb_list_hosts_request_t {
   4155     uint8_t  major_opcode; /**<  */
   4156     uint8_t  pad0; /**<  */
   4157     uint16_t length; /**<  */
   4158 } xcb_list_hosts_request_t;
   4159 
   4160 /**
   4161  * @brief xcb_list_hosts_reply_t
   4162  **/
   4163 typedef struct xcb_list_hosts_reply_t {
   4164     uint8_t  response_type; /**<  */
   4165     uint8_t  mode; /**<  */
   4166     uint16_t sequence; /**<  */
   4167     uint32_t length; /**<  */
   4168     uint16_t hosts_len; /**<  */
   4169     uint8_t  pad0[22]; /**<  */
   4170 } xcb_list_hosts_reply_t;
   4171 
   4172 typedef enum xcb_access_control_t {
   4173     XCB_ACCESS_CONTROL_DISABLE = 0,
   4174     XCB_ACCESS_CONTROL_ENABLE = 1
   4175 } xcb_access_control_t;
   4176 
   4177 /** Opcode for xcb_set_access_control. */
   4178 #define XCB_SET_ACCESS_CONTROL 111
   4179 
   4180 /**
   4181  * @brief xcb_set_access_control_request_t
   4182  **/
   4183 typedef struct xcb_set_access_control_request_t {
   4184     uint8_t  major_opcode; /**<  */
   4185     uint8_t  mode; /**<  */
   4186     uint16_t length; /**<  */
   4187 } xcb_set_access_control_request_t;
   4188 
   4189 typedef enum xcb_close_down_t {
   4190     XCB_CLOSE_DOWN_DESTROY_ALL = 0,
   4191     XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
   4192     XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
   4193 } xcb_close_down_t;
   4194 
   4195 /** Opcode for xcb_set_close_down_mode. */
   4196 #define XCB_SET_CLOSE_DOWN_MODE 112
   4197 
   4198 /**
   4199  * @brief xcb_set_close_down_mode_request_t
   4200  **/
   4201 typedef struct xcb_set_close_down_mode_request_t {
   4202     uint8_t  major_opcode; /**<  */
   4203     uint8_t  mode; /**<  */
   4204     uint16_t length; /**<  */
   4205 } xcb_set_close_down_mode_request_t;
   4206 
   4207 typedef enum xcb_kill_t {
   4208     XCB_KILL_ALL_TEMPORARY = 0
   4209 } xcb_kill_t;
   4210 
   4211 /** Opcode for xcb_kill_client. */
   4212 #define XCB_KILL_CLIENT 113
   4213 
   4214 /**
   4215  * @brief xcb_kill_client_request_t
   4216  **/
   4217 typedef struct xcb_kill_client_request_t {
   4218     uint8_t  major_opcode; /**<  */
   4219     uint8_t  pad0; /**<  */
   4220     uint16_t length; /**<  */
   4221     uint32_t resource; /**<  */
   4222 } xcb_kill_client_request_t;
   4223 
   4224 /** Opcode for xcb_rotate_properties. */
   4225 #define XCB_ROTATE_PROPERTIES 114
   4226 
   4227 /**
   4228  * @brief xcb_rotate_properties_request_t
   4229  **/
   4230 typedef struct xcb_rotate_properties_request_t {
   4231     uint8_t      major_opcode; /**<  */
   4232     uint8_t      pad0; /**<  */
   4233     uint16_t     length; /**<  */
   4234     xcb_window_t window; /**<  */
   4235     uint16_t     atoms_len; /**<  */
   4236     int16_t      delta; /**<  */
   4237 } xcb_rotate_properties_request_t;
   4238 
   4239 typedef enum xcb_screen_saver_t {
   4240     XCB_SCREEN_SAVER_RESET = 0,
   4241     XCB_SCREEN_SAVER_ACTIVE = 1
   4242 } xcb_screen_saver_t;
   4243 
   4244 /** Opcode for xcb_force_screen_saver. */
   4245 #define XCB_FORCE_SCREEN_SAVER 115
   4246 
   4247 /**
   4248  * @brief xcb_force_screen_saver_request_t
   4249  **/
   4250 typedef struct xcb_force_screen_saver_request_t {
   4251     uint8_t  major_opcode; /**<  */
   4252     uint8_t  mode; /**<  */
   4253     uint16_t length; /**<  */
   4254 } xcb_force_screen_saver_request_t;
   4255 
   4256 typedef enum xcb_mapping_status_t {
   4257     XCB_MAPPING_STATUS_SUCCESS = 0,
   4258     XCB_MAPPING_STATUS_BUSY = 1,
   4259     XCB_MAPPING_STATUS_FAILURE = 2
   4260 } xcb_mapping_status_t;
   4261 
   4262 /**
   4263  * @brief xcb_set_pointer_mapping_cookie_t
   4264  **/
   4265 typedef struct xcb_set_pointer_mapping_cookie_t {
   4266     unsigned int sequence; /**<  */
   4267 } xcb_set_pointer_mapping_cookie_t;
   4268 
   4269 /** Opcode for xcb_set_pointer_mapping. */
   4270 #define XCB_SET_POINTER_MAPPING 116
   4271 
   4272 /**
   4273  * @brief xcb_set_pointer_mapping_request_t
   4274  **/
   4275 typedef struct xcb_set_pointer_mapping_request_t {
   4276     uint8_t  major_opcode; /**<  */
   4277     uint8_t  map_len; /**<  */
   4278     uint16_t length; /**<  */
   4279 } xcb_set_pointer_mapping_request_t;
   4280 
   4281 /**
   4282  * @brief xcb_set_pointer_mapping_reply_t
   4283  **/
   4284 typedef struct xcb_set_pointer_mapping_reply_t {
   4285     uint8_t  response_type; /**<  */
   4286     uint8_t  status; /**<  */
   4287     uint16_t sequence; /**<  */
   4288     uint32_t length; /**<  */
   4289 } xcb_set_pointer_mapping_reply_t;
   4290 
   4291 /**
   4292  * @brief xcb_get_pointer_mapping_cookie_t
   4293  **/
   4294 typedef struct xcb_get_pointer_mapping_cookie_t {
   4295     unsigned int sequence; /**<  */
   4296 } xcb_get_pointer_mapping_cookie_t;
   4297 
   4298 /** Opcode for xcb_get_pointer_mapping. */
   4299 #define XCB_GET_POINTER_MAPPING 117
   4300 
   4301 /**
   4302  * @brief xcb_get_pointer_mapping_request_t
   4303  **/
   4304 typedef struct xcb_get_pointer_mapping_request_t {
   4305     uint8_t  major_opcode; /**<  */
   4306     uint8_t  pad0; /**<  */
   4307     uint16_t length; /**<  */
   4308 } xcb_get_pointer_mapping_request_t;
   4309 
   4310 /**
   4311  * @brief xcb_get_pointer_mapping_reply_t
   4312  **/
   4313 typedef struct xcb_get_pointer_mapping_reply_t {
   4314     uint8_t  response_type; /**<  */
   4315     uint8_t  map_len; /**<  */
   4316     uint16_t sequence; /**<  */
   4317     uint32_t length; /**<  */
   4318     uint8_t  pad0[24]; /**<  */
   4319 } xcb_get_pointer_mapping_reply_t;
   4320 
   4321 typedef enum xcb_map_index_t {
   4322     XCB_MAP_INDEX_SHIFT = 0,
   4323     XCB_MAP_INDEX_LOCK = 1,
   4324     XCB_MAP_INDEX_CONTROL = 2,
   4325     XCB_MAP_INDEX_1 = 3,
   4326     XCB_MAP_INDEX_2 = 4,
   4327     XCB_MAP_INDEX_3 = 5,
   4328     XCB_MAP_INDEX_4 = 6,
   4329     XCB_MAP_INDEX_5 = 7
   4330 } xcb_map_index_t;
   4331 
   4332 /**
   4333  * @brief xcb_set_modifier_mapping_cookie_t
   4334  **/
   4335 typedef struct xcb_set_modifier_mapping_cookie_t {
   4336     unsigned int sequence; /**<  */
   4337 } xcb_set_modifier_mapping_cookie_t;
   4338 
   4339 /** Opcode for xcb_set_modifier_mapping. */
   4340 #define XCB_SET_MODIFIER_MAPPING 118
   4341 
   4342 /**
   4343  * @brief xcb_set_modifier_mapping_request_t
   4344  **/
   4345 typedef struct xcb_set_modifier_mapping_request_t {
   4346     uint8_t  major_opcode; /**<  */
   4347     uint8_t  keycodes_per_modifier; /**<  */
   4348     uint16_t length; /**<  */
   4349 } xcb_set_modifier_mapping_request_t;
   4350 
   4351 /**
   4352  * @brief xcb_set_modifier_mapping_reply_t
   4353  **/
   4354 typedef struct xcb_set_modifier_mapping_reply_t {
   4355     uint8_t  response_type; /**<  */
   4356     uint8_t  status; /**<  */
   4357     uint16_t sequence; /**<  */
   4358     uint32_t length; /**<  */
   4359 } xcb_set_modifier_mapping_reply_t;
   4360 
   4361 /**
   4362  * @brief xcb_get_modifier_mapping_cookie_t
   4363  **/
   4364 typedef struct xcb_get_modifier_mapping_cookie_t {
   4365     unsigned int sequence; /**<  */
   4366 } xcb_get_modifier_mapping_cookie_t;
   4367 
   4368 /** Opcode for xcb_get_modifier_mapping. */
   4369 #define XCB_GET_MODIFIER_MAPPING 119
   4370 
   4371 /**
   4372  * @brief xcb_get_modifier_mapping_request_t
   4373  **/
   4374 typedef struct xcb_get_modifier_mapping_request_t {
   4375     uint8_t  major_opcode; /**<  */
   4376     uint8_t  pad0; /**<  */
   4377     uint16_t length; /**<  */
   4378 } xcb_get_modifier_mapping_request_t;
   4379 
   4380 /**
   4381  * @brief xcb_get_modifier_mapping_reply_t
   4382  **/
   4383 typedef struct xcb_get_modifier_mapping_reply_t {
   4384     uint8_t  response_type; /**<  */
   4385     uint8_t  keycodes_per_modifier; /**<  */
   4386     uint16_t sequence; /**<  */
   4387     uint32_t length; /**<  */
   4388     uint8_t  pad0[24]; /**<  */
   4389 } xcb_get_modifier_mapping_reply_t;
   4390 
   4391 /** Opcode for xcb_no_operation. */
   4392 #define XCB_NO_OPERATION 127
   4393 
   4394 /**
   4395  * @brief xcb_no_operation_request_t
   4396  **/
   4397 typedef struct xcb_no_operation_request_t {
   4398     uint8_t  major_opcode; /**<  */
   4399     uint8_t  pad0; /**<  */
   4400     uint16_t length; /**<  */
   4401 } xcb_no_operation_request_t;
   4402 
   4403 /**
   4404  * Get the next element of the iterator
   4405  * @param i Pointer to a xcb_char2b_iterator_t
   4406  *
   4407  * Get the next element in the iterator. The member rem is
   4408  * decreased by one. The member data points to the next
   4409  * element. The member index is increased by sizeof(xcb_char2b_t)
   4410  */
   4411 
   4412 /*****************************************************************************
   4413  **
   4414  ** void xcb_char2b_next
   4415  **
   4416  ** @param xcb_char2b_iterator_t *i
   4417  ** @returns void
   4418  **
   4419  *****************************************************************************/
   4420 
   4421 void
   4422 xcb_char2b_next (xcb_char2b_iterator_t *i  /**< */);
   4423 
   4424 /**
   4425  * Return the iterator pointing to the last element
   4426  * @param i An xcb_char2b_iterator_t
   4427  * @return  The iterator pointing to the last element
   4428  *
   4429  * Set the current element in the iterator to the last element.
   4430  * The member rem is set to 0. The member data points to the
   4431  * last element.
   4432  */
   4433 
   4434 /*****************************************************************************
   4435  **
   4436  ** xcb_generic_iterator_t xcb_char2b_end
   4437  **
   4438  ** @param xcb_char2b_iterator_t i
   4439  ** @returns xcb_generic_iterator_t
   4440  **
   4441  *****************************************************************************/
   4442 
   4443 xcb_generic_iterator_t
   4444 xcb_char2b_end (xcb_char2b_iterator_t i  /**< */);
   4445 
   4446 /**
   4447  * Get the next element of the iterator
   4448  * @param i Pointer to a xcb_window_iterator_t
   4449  *
   4450  * Get the next element in the iterator. The member rem is
   4451  * decreased by one. The member data points to the next
   4452  * element. The member index is increased by sizeof(xcb_window_t)
   4453  */
   4454 
   4455 /*****************************************************************************
   4456  **
   4457  ** void xcb_window_next
   4458  **
   4459  ** @param xcb_window_iterator_t *i
   4460  ** @returns void
   4461  **
   4462  *****************************************************************************/
   4463 
   4464 void
   4465 xcb_window_next (xcb_window_iterator_t *i  /**< */);
   4466 
   4467 /**
   4468  * Return the iterator pointing to the last element
   4469  * @param i An xcb_window_iterator_t
   4470  * @return  The iterator pointing to the last element
   4471  *
   4472  * Set the current element in the iterator to the last element.
   4473  * The member rem is set to 0. The member data points to the
   4474  * last element.
   4475  */
   4476 
   4477 /*****************************************************************************
   4478  **
   4479  ** xcb_generic_iterator_t xcb_window_end
   4480  **
   4481  ** @param xcb_window_iterator_t i
   4482  ** @returns xcb_generic_iterator_t
   4483  **
   4484  *****************************************************************************/
   4485 
   4486 xcb_generic_iterator_t
   4487 xcb_window_end (xcb_window_iterator_t i  /**< */);
   4488 
   4489 /**
   4490  * Get the next element of the iterator
   4491  * @param i Pointer to a xcb_pixmap_iterator_t
   4492  *
   4493  * Get the next element in the iterator. The member rem is
   4494  * decreased by one. The member data points to the next
   4495  * element. The member index is increased by sizeof(xcb_pixmap_t)
   4496  */
   4497 
   4498 /*****************************************************************************
   4499  **
   4500  ** void xcb_pixmap_next
   4501  **
   4502  ** @param xcb_pixmap_iterator_t *i
   4503  ** @returns void
   4504  **
   4505  *****************************************************************************/
   4506 
   4507 void
   4508 xcb_pixmap_next (xcb_pixmap_iterator_t *i  /**< */);
   4509 
   4510 /**
   4511  * Return the iterator pointing to the last element
   4512  * @param i An xcb_pixmap_iterator_t
   4513  * @return  The iterator pointing to the last element
   4514  *
   4515  * Set the current element in the iterator to the last element.
   4516  * The member rem is set to 0. The member data points to the
   4517  * last element.
   4518  */
   4519 
   4520 /*****************************************************************************
   4521  **
   4522  ** xcb_generic_iterator_t xcb_pixmap_end
   4523  **
   4524  ** @param xcb_pixmap_iterator_t i
   4525  ** @returns xcb_generic_iterator_t
   4526  **
   4527  *****************************************************************************/
   4528 
   4529 xcb_generic_iterator_t
   4530 xcb_pixmap_end (xcb_pixmap_iterator_t i  /**< */);
   4531 
   4532 /**
   4533  * Get the next element of the iterator
   4534  * @param i Pointer to a xcb_cursor_iterator_t
   4535  *
   4536  * Get the next element in the iterator. The member rem is
   4537  * decreased by one. The member data points to the next
   4538  * element. The member index is increased by sizeof(xcb_cursor_t)
   4539  */
   4540 
   4541 /*****************************************************************************
   4542  **
   4543  ** void xcb_cursor_next
   4544  **
   4545  ** @param xcb_cursor_iterator_t *i
   4546  ** @returns void
   4547  **
   4548  *****************************************************************************/
   4549 
   4550 void
   4551 xcb_cursor_next (xcb_cursor_iterator_t *i  /**< */);
   4552 
   4553 /**
   4554  * Return the iterator pointing to the last element
   4555  * @param i An xcb_cursor_iterator_t
   4556  * @return  The iterator pointing to the last element
   4557  *
   4558  * Set the current element in the iterator to the last element.
   4559  * The member rem is set to 0. The member data points to the
   4560  * last element.
   4561  */
   4562 
   4563 /*****************************************************************************
   4564  **
   4565  ** xcb_generic_iterator_t xcb_cursor_end
   4566  **
   4567  ** @param xcb_cursor_iterator_t i
   4568  ** @returns xcb_generic_iterator_t
   4569  **
   4570  *****************************************************************************/
   4571 
   4572 xcb_generic_iterator_t
   4573 xcb_cursor_end (xcb_cursor_iterator_t i  /**< */);
   4574 
   4575 /**
   4576  * Get the next element of the iterator
   4577  * @param i Pointer to a xcb_font_iterator_t
   4578  *
   4579  * Get the next element in the iterator. The member rem is
   4580  * decreased by one. The member data points to the next
   4581  * element. The member index is increased by sizeof(xcb_font_t)
   4582  */
   4583 
   4584 /*****************************************************************************
   4585  **
   4586  ** void xcb_font_next
   4587  **
   4588  ** @param xcb_font_iterator_t *i
   4589  ** @returns void
   4590  **
   4591  *****************************************************************************/
   4592 
   4593 void
   4594 xcb_font_next (xcb_font_iterator_t *i  /**< */);
   4595 
   4596 /**
   4597  * Return the iterator pointing to the last element
   4598  * @param i An xcb_font_iterator_t
   4599  * @return  The iterator pointing to the last element
   4600  *
   4601  * Set the current element in the iterator to the last element.
   4602  * The member rem is set to 0. The member data points to the
   4603  * last element.
   4604  */
   4605 
   4606 /*****************************************************************************
   4607  **
   4608  ** xcb_generic_iterator_t xcb_font_end
   4609  **
   4610  ** @param xcb_font_iterator_t i
   4611  ** @returns xcb_generic_iterator_t
   4612  **
   4613  *****************************************************************************/
   4614 
   4615 xcb_generic_iterator_t
   4616 xcb_font_end (xcb_font_iterator_t i  /**< */);
   4617 
   4618 /**
   4619  * Get the next element of the iterator
   4620  * @param i Pointer to a xcb_gcontext_iterator_t
   4621  *
   4622  * Get the next element in the iterator. The member rem is
   4623  * decreased by one. The member data points to the next
   4624  * element. The member index is increased by sizeof(xcb_gcontext_t)
   4625  */
   4626 
   4627 /*****************************************************************************
   4628  **
   4629  ** void xcb_gcontext_next
   4630  **
   4631  ** @param xcb_gcontext_iterator_t *i
   4632  ** @returns void
   4633  **
   4634  *****************************************************************************/
   4635 
   4636 void
   4637 xcb_gcontext_next (xcb_gcontext_iterator_t *i  /**< */);
   4638 
   4639 /**
   4640  * Return the iterator pointing to the last element
   4641  * @param i An xcb_gcontext_iterator_t
   4642  * @return  The iterator pointing to the last element
   4643  *
   4644  * Set the current element in the iterator to the last element.
   4645  * The member rem is set to 0. The member data points to the
   4646  * last element.
   4647  */
   4648 
   4649 /*****************************************************************************
   4650  **
   4651  ** xcb_generic_iterator_t xcb_gcontext_end
   4652  **
   4653  ** @param xcb_gcontext_iterator_t i
   4654  ** @returns xcb_generic_iterator_t
   4655  **
   4656  *****************************************************************************/
   4657 
   4658 xcb_generic_iterator_t
   4659 xcb_gcontext_end (xcb_gcontext_iterator_t i  /**< */);
   4660 
   4661 /**
   4662  * Get the next element of the iterator
   4663  * @param i Pointer to a xcb_colormap_iterator_t
   4664  *
   4665  * Get the next element in the iterator. The member rem is
   4666  * decreased by one. The member data points to the next
   4667  * element. The member index is increased by sizeof(xcb_colormap_t)
   4668  */
   4669 
   4670 /*****************************************************************************
   4671  **
   4672  ** void xcb_colormap_next
   4673  **
   4674  ** @param xcb_colormap_iterator_t *i
   4675  ** @returns void
   4676  **
   4677  *****************************************************************************/
   4678 
   4679 void
   4680 xcb_colormap_next (xcb_colormap_iterator_t *i  /**< */);
   4681 
   4682 /**
   4683  * Return the iterator pointing to the last element
   4684  * @param i An xcb_colormap_iterator_t
   4685  * @return  The iterator pointing to the last element
   4686  *
   4687  * Set the current element in the iterator to the last element.
   4688  * The member rem is set to 0. The member data points to the
   4689  * last element.
   4690  */
   4691 
   4692 /*****************************************************************************
   4693  **
   4694  ** xcb_generic_iterator_t xcb_colormap_end
   4695  **
   4696  ** @param xcb_colormap_iterator_t i
   4697  ** @returns xcb_generic_iterator_t
   4698  **
   4699  *****************************************************************************/
   4700 
   4701 xcb_generic_iterator_t
   4702 xcb_colormap_end (xcb_colormap_iterator_t i  /**< */);
   4703 
   4704 /**
   4705  * Get the next element of the iterator
   4706  * @param i Pointer to a xcb_atom_iterator_t
   4707  *
   4708  * Get the next element in the iterator. The member rem is
   4709  * decreased by one. The member data points to the next
   4710  * element. The member index is increased by sizeof(xcb_atom_t)
   4711  */
   4712 
   4713 /*****************************************************************************
   4714  **
   4715  ** void xcb_atom_next
   4716  **
   4717  ** @param xcb_atom_iterator_t *i
   4718  ** @returns void
   4719  **
   4720  *****************************************************************************/
   4721 
   4722 void
   4723 xcb_atom_next (xcb_atom_iterator_t *i  /**< */);
   4724 
   4725 /**
   4726  * Return the iterator pointing to the last element
   4727  * @param i An xcb_atom_iterator_t
   4728  * @return  The iterator pointing to the last element
   4729  *
   4730  * Set the current element in the iterator to the last element.
   4731  * The member rem is set to 0. The member data points to the
   4732  * last element.
   4733  */
   4734 
   4735 /*****************************************************************************
   4736  **
   4737  ** xcb_generic_iterator_t xcb_atom_end
   4738  **
   4739  ** @param xcb_atom_iterator_t i
   4740  ** @returns xcb_generic_iterator_t
   4741  **
   4742  *****************************************************************************/
   4743 
   4744 xcb_generic_iterator_t
   4745 xcb_atom_end (xcb_atom_iterator_t i  /**< */);
   4746 
   4747 /**
   4748  * Get the next element of the iterator
   4749  * @param i Pointer to a xcb_drawable_iterator_t
   4750  *
   4751  * Get the next element in the iterator. The member rem is
   4752  * decreased by one. The member data points to the next
   4753  * element. The member index is increased by sizeof(xcb_drawable_t)
   4754  */
   4755 
   4756 /*****************************************************************************
   4757  **
   4758  ** void xcb_drawable_next
   4759  **
   4760  ** @param xcb_drawable_iterator_t *i
   4761  ** @returns void
   4762  **
   4763  *****************************************************************************/
   4764 
   4765 void
   4766 xcb_drawable_next (xcb_drawable_iterator_t *i  /**< */);
   4767 
   4768 /**
   4769  * Return the iterator pointing to the last element
   4770  * @param i An xcb_drawable_iterator_t
   4771  * @return  The iterator pointing to the last element
   4772  *
   4773  * Set the current element in the iterator to the last element.
   4774  * The member rem is set to 0. The member data points to the
   4775  * last element.
   4776  */
   4777 
   4778 /*****************************************************************************
   4779  **
   4780  ** xcb_generic_iterator_t xcb_drawable_end
   4781  **
   4782  ** @param xcb_drawable_iterator_t i
   4783  ** @returns xcb_generic_iterator_t
   4784  **
   4785  *****************************************************************************/
   4786 
   4787 xcb_generic_iterator_t
   4788 xcb_drawable_end (xcb_drawable_iterator_t i  /**< */);
   4789 
   4790 /**
   4791  * Get the next element of the iterator
   4792  * @param i Pointer to a xcb_fontable_iterator_t
   4793  *
   4794  * Get the next element in the iterator. The member rem is
   4795  * decreased by one. The member data points to the next
   4796  * element. The member index is increased by sizeof(xcb_fontable_t)
   4797  */
   4798 
   4799 /*****************************************************************************
   4800  **
   4801  ** void xcb_fontable_next
   4802  **
   4803  ** @param xcb_fontable_iterator_t *i
   4804  ** @returns void
   4805  **
   4806  *****************************************************************************/
   4807 
   4808 void
   4809 xcb_fontable_next (xcb_fontable_iterator_t *i  /**< */);
   4810 
   4811 /**
   4812  * Return the iterator pointing to the last element
   4813  * @param i An xcb_fontable_iterator_t
   4814  * @return  The iterator pointing to the last element
   4815  *
   4816  * Set the current element in the iterator to the last element.
   4817  * The member rem is set to 0. The member data points to the
   4818  * last element.
   4819  */
   4820 
   4821 /*****************************************************************************
   4822  **
   4823  ** xcb_generic_iterator_t xcb_fontable_end
   4824  **
   4825  ** @param xcb_fontable_iterator_t i
   4826  ** @returns xcb_generic_iterator_t
   4827  **
   4828  *****************************************************************************/
   4829 
   4830 xcb_generic_iterator_t
   4831 xcb_fontable_end (xcb_fontable_iterator_t i  /**< */);
   4832 
   4833 /**
   4834  * Get the next element of the iterator
   4835  * @param i Pointer to a xcb_visualid_iterator_t
   4836  *
   4837  * Get the next element in the iterator. The member rem is
   4838  * decreased by one. The member data points to the next
   4839  * element. The member index is increased by sizeof(xcb_visualid_t)
   4840  */
   4841 
   4842 /*****************************************************************************
   4843  **
   4844  ** void xcb_visualid_next
   4845  **
   4846  ** @param xcb_visualid_iterator_t *i
   4847  ** @returns void
   4848  **
   4849  *****************************************************************************/
   4850 
   4851 void
   4852 xcb_visualid_next (xcb_visualid_iterator_t *i  /**< */);
   4853 
   4854 /**
   4855  * Return the iterator pointing to the last element
   4856  * @param i An xcb_visualid_iterator_t
   4857  * @return  The iterator pointing to the last element
   4858  *
   4859  * Set the current element in the iterator to the last element.
   4860  * The member rem is set to 0. The member data points to the
   4861  * last element.
   4862  */
   4863 
   4864 /*****************************************************************************
   4865  **
   4866  ** xcb_generic_iterator_t xcb_visualid_end
   4867  **
   4868  ** @param xcb_visualid_iterator_t i
   4869  ** @returns xcb_generic_iterator_t
   4870  **
   4871  *****************************************************************************/
   4872 
   4873 xcb_generic_iterator_t
   4874 xcb_visualid_end (xcb_visualid_iterator_t i  /**< */);
   4875 
   4876 /**
   4877  * Get the next element of the iterator
   4878  * @param i Pointer to a xcb_timestamp_iterator_t
   4879  *
   4880  * Get the next element in the iterator. The member rem is
   4881  * decreased by one. The member data points to the next
   4882  * element. The member index is increased by sizeof(xcb_timestamp_t)
   4883  */
   4884 
   4885 /*****************************************************************************
   4886  **
   4887  ** void xcb_timestamp_next
   4888  **
   4889  ** @param xcb_timestamp_iterator_t *i
   4890  ** @returns void
   4891  **
   4892  *****************************************************************************/
   4893 
   4894 void
   4895 xcb_timestamp_next (xcb_timestamp_iterator_t *i  /**< */);
   4896 
   4897 /**
   4898  * Return the iterator pointing to the last element
   4899  * @param i An xcb_timestamp_iterator_t
   4900  * @return  The iterator pointing to the last element
   4901  *
   4902  * Set the current element in the iterator to the last element.
   4903  * The member rem is set to 0. The member data points to the
   4904  * last element.
   4905  */
   4906 
   4907 /*****************************************************************************
   4908  **
   4909  ** xcb_generic_iterator_t xcb_timestamp_end
   4910  **
   4911  ** @param xcb_timestamp_iterator_t i
   4912  ** @returns xcb_generic_iterator_t
   4913  **
   4914  *****************************************************************************/
   4915 
   4916 xcb_generic_iterator_t
   4917 xcb_timestamp_end (xcb_timestamp_iterator_t i  /**< */);
   4918 
   4919 /**
   4920  * Get the next element of the iterator
   4921  * @param i Pointer to a xcb_keysym_iterator_t
   4922  *
   4923  * Get the next element in the iterator. The member rem is
   4924  * decreased by one. The member data points to the next
   4925  * element. The member index is increased by sizeof(xcb_keysym_t)
   4926  */
   4927 
   4928 /*****************************************************************************
   4929  **
   4930  ** void xcb_keysym_next
   4931  **
   4932  ** @param xcb_keysym_iterator_t *i
   4933  ** @returns void
   4934  **
   4935  *****************************************************************************/
   4936 
   4937 void
   4938 xcb_keysym_next (xcb_keysym_iterator_t *i  /**< */);
   4939 
   4940 /**
   4941  * Return the iterator pointing to the last element
   4942  * @param i An xcb_keysym_iterator_t
   4943  * @return  The iterator pointing to the last element
   4944  *
   4945  * Set the current element in the iterator to the last element.
   4946  * The member rem is set to 0. The member data points to the
   4947  * last element.
   4948  */
   4949 
   4950 /*****************************************************************************
   4951  **
   4952  ** xcb_generic_iterator_t xcb_keysym_end
   4953  **
   4954  ** @param xcb_keysym_iterator_t i
   4955  ** @returns xcb_generic_iterator_t
   4956  **
   4957  *****************************************************************************/
   4958 
   4959 xcb_generic_iterator_t
   4960 xcb_keysym_end (xcb_keysym_iterator_t i  /**< */);
   4961 
   4962 /**
   4963  * Get the next element of the iterator
   4964  * @param i Pointer to a xcb_keycode_iterator_t
   4965  *
   4966  * Get the next element in the iterator. The member rem is
   4967  * decreased by one. The member data points to the next
   4968  * element. The member index is increased by sizeof(xcb_keycode_t)
   4969  */
   4970 
   4971 /*****************************************************************************
   4972  **
   4973  ** void xcb_keycode_next
   4974  **
   4975  ** @param xcb_keycode_iterator_t *i
   4976  ** @returns void
   4977  **
   4978  *****************************************************************************/
   4979 
   4980 void
   4981 xcb_keycode_next (xcb_keycode_iterator_t *i  /**< */);
   4982 
   4983 /**
   4984  * Return the iterator pointing to the last element
   4985  * @param i An xcb_keycode_iterator_t
   4986  * @return  The iterator pointing to the last element
   4987  *
   4988  * Set the current element in the iterator to the last element.
   4989  * The member rem is set to 0. The member data points to the
   4990  * last element.
   4991  */
   4992 
   4993 /*****************************************************************************
   4994  **
   4995  ** xcb_generic_iterator_t xcb_keycode_end
   4996  **
   4997  ** @param xcb_keycode_iterator_t i
   4998  ** @returns xcb_generic_iterator_t
   4999  **
   5000  *****************************************************************************/
   5001 
   5002 xcb_generic_iterator_t
   5003 xcb_keycode_end (xcb_keycode_iterator_t i  /**< */);
   5004 
   5005 /**
   5006  * Get the next element of the iterator
   5007  * @param i Pointer to a xcb_button_iterator_t
   5008  *
   5009  * Get the next element in the iterator. The member rem is
   5010  * decreased by one. The member data points to the next
   5011  * element. The member index is increased by sizeof(xcb_button_t)
   5012  */
   5013 
   5014 /*****************************************************************************
   5015  **
   5016  ** void xcb_button_next
   5017  **
   5018  ** @param xcb_button_iterator_t *i
   5019  ** @returns void
   5020  **
   5021  *****************************************************************************/
   5022 
   5023 void
   5024 xcb_button_next (xcb_button_iterator_t *i  /**< */);
   5025 
   5026 /**
   5027  * Return the iterator pointing to the last element
   5028  * @param i An xcb_button_iterator_t
   5029  * @return  The iterator pointing to the last element
   5030  *
   5031  * Set the current element in the iterator to the last element.
   5032  * The member rem is set to 0. The member data points to the
   5033  * last element.
   5034  */
   5035 
   5036 /*****************************************************************************
   5037  **
   5038  ** xcb_generic_iterator_t xcb_button_end
   5039  **
   5040  ** @param xcb_button_iterator_t i
   5041  ** @returns xcb_generic_iterator_t
   5042  **
   5043  *****************************************************************************/
   5044 
   5045 xcb_generic_iterator_t
   5046 xcb_button_end (xcb_button_iterator_t i  /**< */);
   5047 
   5048 /**
   5049  * Get the next element of the iterator
   5050  * @param i Pointer to a xcb_point_iterator_t
   5051  *
   5052  * Get the next element in the iterator. The member rem is
   5053  * decreased by one. The member data points to the next
   5054  * element. The member index is increased by sizeof(xcb_point_t)
   5055  */
   5056 
   5057 /*****************************************************************************
   5058  **
   5059  ** void xcb_point_next
   5060  **
   5061  ** @param xcb_point_iterator_t *i
   5062  ** @returns void
   5063  **
   5064  *****************************************************************************/
   5065 
   5066 void
   5067 xcb_point_next (xcb_point_iterator_t *i  /**< */);
   5068 
   5069 /**
   5070  * Return the iterator pointing to the last element
   5071  * @param i An xcb_point_iterator_t
   5072  * @return  The iterator pointing to the last element
   5073  *
   5074  * Set the current element in the iterator to the last element.
   5075  * The member rem is set to 0. The member data points to the
   5076  * last element.
   5077  */
   5078 
   5079 /*****************************************************************************
   5080  **
   5081  ** xcb_generic_iterator_t xcb_point_end
   5082  **
   5083  ** @param xcb_point_iterator_t i
   5084  ** @returns xcb_generic_iterator_t
   5085  **
   5086  *****************************************************************************/
   5087 
   5088 xcb_generic_iterator_t
   5089 xcb_point_end (xcb_point_iterator_t i  /**< */);
   5090 
   5091 /**
   5092  * Get the next element of the iterator
   5093  * @param i Pointer to a xcb_rectangle_iterator_t
   5094  *
   5095  * Get the next element in the iterator. The member rem is
   5096  * decreased by one. The member data points to the next
   5097  * element. The member index is increased by sizeof(xcb_rectangle_t)
   5098  */
   5099 
   5100 /*****************************************************************************
   5101  **
   5102  ** void xcb_rectangle_next
   5103  **
   5104  ** @param xcb_rectangle_iterator_t *i
   5105  ** @returns void
   5106  **
   5107  *****************************************************************************/
   5108 
   5109 void
   5110 xcb_rectangle_next (xcb_rectangle_iterator_t *i  /**< */);
   5111 
   5112 /**
   5113  * Return the iterator pointing to the last element
   5114  * @param i An xcb_rectangle_iterator_t
   5115  * @return  The iterator pointing to the last element
   5116  *
   5117  * Set the current element in the iterator to the last element.
   5118  * The member rem is set to 0. The member data points to the
   5119  * last element.
   5120  */
   5121 
   5122 /*****************************************************************************
   5123  **
   5124  ** xcb_generic_iterator_t xcb_rectangle_end
   5125  **
   5126  ** @param xcb_rectangle_iterator_t i
   5127  ** @returns xcb_generic_iterator_t
   5128  **
   5129  *****************************************************************************/
   5130 
   5131 xcb_generic_iterator_t
   5132 xcb_rectangle_end (xcb_rectangle_iterator_t i  /**< */);
   5133 
   5134 /**
   5135  * Get the next element of the iterator
   5136  * @param i Pointer to a xcb_arc_iterator_t
   5137  *
   5138  * Get the next element in the iterator. The member rem is
   5139  * decreased by one. The member data points to the next
   5140  * element. The member index is increased by sizeof(xcb_arc_t)
   5141  */
   5142 
   5143 /*****************************************************************************
   5144  **
   5145  ** void xcb_arc_next
   5146  **
   5147  ** @param xcb_arc_iterator_t *i
   5148  ** @returns void
   5149  **
   5150  *****************************************************************************/
   5151 
   5152 void
   5153 xcb_arc_next (xcb_arc_iterator_t *i  /**< */);
   5154 
   5155 /**
   5156  * Return the iterator pointing to the last element
   5157  * @param i An xcb_arc_iterator_t
   5158  * @return  The iterator pointing to the last element
   5159  *
   5160  * Set the current element in the iterator to the last element.
   5161  * The member rem is set to 0. The member data points to the
   5162  * last element.
   5163  */
   5164 
   5165 /*****************************************************************************
   5166  **
   5167  ** xcb_generic_iterator_t xcb_arc_end
   5168  **
   5169  ** @param xcb_arc_iterator_t i
   5170  ** @returns xcb_generic_iterator_t
   5171  **
   5172  *****************************************************************************/
   5173 
   5174 xcb_generic_iterator_t
   5175 xcb_arc_end (xcb_arc_iterator_t i  /**< */);
   5176 
   5177 /**
   5178  * Get the next element of the iterator
   5179  * @param i Pointer to a xcb_format_iterator_t
   5180  *
   5181  * Get the next element in the iterator. The member rem is
   5182  * decreased by one. The member data points to the next
   5183  * element. The member index is increased by sizeof(xcb_format_t)
   5184  */
   5185 
   5186 /*****************************************************************************
   5187  **
   5188  ** void xcb_format_next
   5189  **
   5190  ** @param xcb_format_iterator_t *i
   5191  ** @returns void
   5192  **
   5193  *****************************************************************************/
   5194 
   5195 void
   5196 xcb_format_next (xcb_format_iterator_t *i  /**< */);
   5197 
   5198 /**
   5199  * Return the iterator pointing to the last element
   5200  * @param i An xcb_format_iterator_t
   5201  * @return  The iterator pointing to the last element
   5202  *
   5203  * Set the current element in the iterator to the last element.
   5204  * The member rem is set to 0. The member data points to the
   5205  * last element.
   5206  */
   5207 
   5208 /*****************************************************************************
   5209  **
   5210  ** xcb_generic_iterator_t xcb_format_end
   5211  **
   5212  ** @param xcb_format_iterator_t i
   5213  ** @returns xcb_generic_iterator_t
   5214  **
   5215  *****************************************************************************/
   5216 
   5217 xcb_generic_iterator_t
   5218 xcb_format_end (xcb_format_iterator_t i  /**< */);
   5219 
   5220 /**
   5221  * Get the next element of the iterator
   5222  * @param i Pointer to a xcb_visualtype_iterator_t
   5223  *
   5224  * Get the next element in the iterator. The member rem is
   5225  * decreased by one. The member data points to the next
   5226  * element. The member index is increased by sizeof(xcb_visualtype_t)
   5227  */
   5228 
   5229 /*****************************************************************************
   5230  **
   5231  ** void xcb_visualtype_next
   5232  **
   5233  ** @param xcb_visualtype_iterator_t *i
   5234  ** @returns void
   5235  **
   5236  *****************************************************************************/
   5237 
   5238 void
   5239 xcb_visualtype_next (xcb_visualtype_iterator_t *i  /**< */);
   5240 
   5241 /**
   5242  * Return the iterator pointing to the last element
   5243  * @param i An xcb_visualtype_iterator_t
   5244  * @return  The iterator pointing to the last element
   5245  *
   5246  * Set the current element in the iterator to the last element.
   5247  * The member rem is set to 0. The member data points to the
   5248  * last element.
   5249  */
   5250 
   5251 /*****************************************************************************
   5252  **
   5253  ** xcb_generic_iterator_t xcb_visualtype_end
   5254  **
   5255  ** @param xcb_visualtype_iterator_t i
   5256  ** @returns xcb_generic_iterator_t
   5257  **
   5258  *****************************************************************************/
   5259 
   5260 xcb_generic_iterator_t
   5261 xcb_visualtype_end (xcb_visualtype_iterator_t i  /**< */);
   5262 
   5263 
   5264 /*****************************************************************************
   5265  **
   5266  ** xcb_visualtype_t * xcb_depth_visuals
   5267  **
   5268  ** @param const xcb_depth_t *R
   5269  ** @returns xcb_visualtype_t *
   5270  **
   5271  *****************************************************************************/
   5272 
   5273 xcb_visualtype_t *
   5274 xcb_depth_visuals (const xcb_depth_t *R  /**< */);
   5275 
   5276 
   5277 /*****************************************************************************
   5278  **
   5279  ** int xcb_depth_visuals_length
   5280  **
   5281  ** @param const xcb_depth_t *R
   5282  ** @returns int
   5283  **
   5284  *****************************************************************************/
   5285 
   5286 int
   5287 xcb_depth_visuals_length (const xcb_depth_t *R  /**< */);
   5288 
   5289 
   5290 /*****************************************************************************
   5291  **
   5292  ** xcb_visualtype_iterator_t xcb_depth_visuals_iterator
   5293  **
   5294  ** @param const xcb_depth_t *R
   5295  ** @returns xcb_visualtype_iterator_t
   5296  **
   5297  *****************************************************************************/
   5298 
   5299 xcb_visualtype_iterator_t
   5300 xcb_depth_visuals_iterator (const xcb_depth_t *R  /**< */);
   5301 
   5302 /**
   5303  * Get the next element of the iterator
   5304  * @param i Pointer to a xcb_depth_iterator_t
   5305  *
   5306  * Get the next element in the iterator. The member rem is
   5307  * decreased by one. The member data points to the next
   5308  * element. The member index is increased by sizeof(xcb_depth_t)
   5309  */
   5310 
   5311 /*****************************************************************************
   5312  **
   5313  ** void xcb_depth_next
   5314  **
   5315  ** @param xcb_depth_iterator_t *i
   5316  ** @returns void
   5317  **
   5318  *****************************************************************************/
   5319 
   5320 void
   5321 xcb_depth_next (xcb_depth_iterator_t *i  /**< */);
   5322 
   5323 /**
   5324  * Return the iterator pointing to the last element
   5325  * @param i An xcb_depth_iterator_t
   5326  * @return  The iterator pointing to the last element
   5327  *
   5328  * Set the current element in the iterator to the last element.
   5329  * The member rem is set to 0. The member data points to the
   5330  * last element.
   5331  */
   5332 
   5333 /*****************************************************************************
   5334  **
   5335  ** xcb_generic_iterator_t xcb_depth_end
   5336  **
   5337  ** @param xcb_depth_iterator_t i
   5338  ** @returns xcb_generic_iterator_t
   5339  **
   5340  *****************************************************************************/
   5341 
   5342 xcb_generic_iterator_t
   5343 xcb_depth_end (xcb_depth_iterator_t i  /**< */);
   5344 
   5345 
   5346 /*****************************************************************************
   5347  **
   5348  ** int xcb_screen_allowed_depths_length
   5349  **
   5350  ** @param const xcb_screen_t *R
   5351  ** @returns int
   5352  **
   5353  *****************************************************************************/
   5354 
   5355 int
   5356 xcb_screen_allowed_depths_length (const xcb_screen_t *R  /**< */);
   5357 
   5358 
   5359 /*****************************************************************************
   5360  **
   5361  ** xcb_depth_iterator_t xcb_screen_allowed_depths_iterator
   5362  **
   5363  ** @param const xcb_screen_t *R
   5364  ** @returns xcb_depth_iterator_t
   5365  **
   5366  *****************************************************************************/
   5367 
   5368 xcb_depth_iterator_t
   5369 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R  /**< */);
   5370 
   5371 /**
   5372  * Get the next element of the iterator
   5373  * @param i Pointer to a xcb_screen_iterator_t
   5374  *
   5375  * Get the next element in the iterator. The member rem is
   5376  * decreased by one. The member data points to the next
   5377  * element. The member index is increased by sizeof(xcb_screen_t)
   5378  */
   5379 
   5380 /*****************************************************************************
   5381  **
   5382  ** void xcb_screen_next
   5383  **
   5384  ** @param xcb_screen_iterator_t *i
   5385  ** @returns void
   5386  **
   5387  *****************************************************************************/
   5388 
   5389 void
   5390 xcb_screen_next (xcb_screen_iterator_t *i  /**< */);
   5391 
   5392 /**
   5393  * Return the iterator pointing to the last element
   5394  * @param i An xcb_screen_iterator_t
   5395  * @return  The iterator pointing to the last element
   5396  *
   5397  * Set the current element in the iterator to the last element.
   5398  * The member rem is set to 0. The member data points to the
   5399  * last element.
   5400  */
   5401 
   5402 /*****************************************************************************
   5403  **
   5404  ** xcb_generic_iterator_t xcb_screen_end
   5405  **
   5406  ** @param xcb_screen_iterator_t i
   5407  ** @returns xcb_generic_iterator_t
   5408  **
   5409  *****************************************************************************/
   5410 
   5411 xcb_generic_iterator_t
   5412 xcb_screen_end (xcb_screen_iterator_t i  /**< */);
   5413 
   5414 
   5415 /*****************************************************************************
   5416  **
   5417  ** char * xcb_setup_request_authorization_protocol_name
   5418  **
   5419  ** @param const xcb_setup_request_t *R
   5420  ** @returns char *
   5421  **
   5422  *****************************************************************************/
   5423 
   5424 char *
   5425 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R  /**< */);
   5426 
   5427 
   5428 /*****************************************************************************
   5429  **
   5430  ** int xcb_setup_request_authorization_protocol_name_length
   5431  **
   5432  ** @param const xcb_setup_request_t *R
   5433  ** @returns int
   5434  **
   5435  *****************************************************************************/
   5436 
   5437 int
   5438 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R  /**< */);
   5439 
   5440 
   5441 /*****************************************************************************
   5442  **
   5443  ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_name_end
   5444  **
   5445  ** @param const xcb_setup_request_t *R
   5446  ** @returns xcb_generic_iterator_t
   5447  **
   5448  *****************************************************************************/
   5449 
   5450 xcb_generic_iterator_t
   5451 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R  /**< */);
   5452 
   5453 
   5454 /*****************************************************************************
   5455  **
   5456  ** char * xcb_setup_request_authorization_protocol_data
   5457  **
   5458  ** @param const xcb_setup_request_t *R
   5459  ** @returns char *
   5460  **
   5461  *****************************************************************************/
   5462 
   5463 char *
   5464 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R  /**< */);
   5465 
   5466 
   5467 /*****************************************************************************
   5468  **
   5469  ** int xcb_setup_request_authorization_protocol_data_length
   5470  **
   5471  ** @param const xcb_setup_request_t *R
   5472  ** @returns int
   5473  **
   5474  *****************************************************************************/
   5475 
   5476 int
   5477 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R  /**< */);
   5478 
   5479 
   5480 /*****************************************************************************
   5481  **
   5482  ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_data_end
   5483  **
   5484  ** @param const xcb_setup_request_t *R
   5485  ** @returns xcb_generic_iterator_t
   5486  **
   5487  *****************************************************************************/
   5488 
   5489 xcb_generic_iterator_t
   5490 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R  /**< */);
   5491 
   5492 /**
   5493  * Get the next element of the iterator
   5494  * @param i Pointer to a xcb_setup_request_iterator_t
   5495  *
   5496  * Get the next element in the iterator. The member rem is
   5497  * decreased by one. The member data points to the next
   5498  * element. The member index is increased by sizeof(xcb_setup_request_t)
   5499  */
   5500 
   5501 /*****************************************************************************
   5502  **
   5503  ** void xcb_setup_request_next
   5504  **
   5505  ** @param xcb_setup_request_iterator_t *i
   5506  ** @returns void
   5507  **
   5508  *****************************************************************************/
   5509 
   5510 void
   5511 xcb_setup_request_next (xcb_setup_request_iterator_t *i  /**< */);
   5512 
   5513 /**
   5514  * Return the iterator pointing to the last element
   5515  * @param i An xcb_setup_request_iterator_t
   5516  * @return  The iterator pointing to the last element
   5517  *
   5518  * Set the current element in the iterator to the last element.
   5519  * The member rem is set to 0. The member data points to the
   5520  * last element.
   5521  */
   5522 
   5523 /*****************************************************************************
   5524  **
   5525  ** xcb_generic_iterator_t xcb_setup_request_end
   5526  **
   5527  ** @param xcb_setup_request_iterator_t i
   5528  ** @returns xcb_generic_iterator_t
   5529  **
   5530  *****************************************************************************/
   5531 
   5532 xcb_generic_iterator_t
   5533 xcb_setup_request_end (xcb_setup_request_iterator_t i  /**< */);
   5534 
   5535 
   5536 /*****************************************************************************
   5537  **
   5538  ** char * xcb_setup_failed_reason
   5539  **
   5540  ** @param const xcb_setup_failed_t *R
   5541  ** @returns char *
   5542  **
   5543  *****************************************************************************/
   5544 
   5545 char *
   5546 xcb_setup_failed_reason (const xcb_setup_failed_t *R  /**< */);
   5547 
   5548 
   5549 /*****************************************************************************
   5550  **
   5551  ** int xcb_setup_failed_reason_length
   5552  **
   5553  ** @param const xcb_setup_failed_t *R
   5554  ** @returns int
   5555  **
   5556  *****************************************************************************/
   5557 
   5558 int
   5559 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R  /**< */);
   5560 
   5561 
   5562 /*****************************************************************************
   5563  **
   5564  ** xcb_generic_iterator_t xcb_setup_failed_reason_end
   5565  **
   5566  ** @param const xcb_setup_failed_t *R
   5567  ** @returns xcb_generic_iterator_t
   5568  **
   5569  *****************************************************************************/
   5570 
   5571 xcb_generic_iterator_t
   5572 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R  /**< */);
   5573 
   5574 /**
   5575  * Get the next element of the iterator
   5576  * @param i Pointer to a xcb_setup_failed_iterator_t
   5577  *
   5578  * Get the next element in the iterator. The member rem is
   5579  * decreased by one. The member data points to the next
   5580  * element. The member index is increased by sizeof(xcb_setup_failed_t)
   5581  */
   5582 
   5583 /*****************************************************************************
   5584  **
   5585  ** void xcb_setup_failed_next
   5586  **
   5587  ** @param xcb_setup_failed_iterator_t *i
   5588  ** @returns void
   5589  **
   5590  *****************************************************************************/
   5591 
   5592 void
   5593 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i  /**< */);
   5594 
   5595 /**
   5596  * Return the iterator pointing to the last element
   5597  * @param i An xcb_setup_failed_iterator_t
   5598  * @return  The iterator pointing to the last element
   5599  *
   5600  * Set the current element in the iterator to the last element.
   5601  * The member rem is set to 0. The member data points to the
   5602  * last element.
   5603  */
   5604 
   5605 /*****************************************************************************
   5606  **
   5607  ** xcb_generic_iterator_t xcb_setup_failed_end
   5608  **
   5609  ** @param xcb_setup_failed_iterator_t i
   5610  ** @returns xcb_generic_iterator_t
   5611  **
   5612  *****************************************************************************/
   5613 
   5614 xcb_generic_iterator_t
   5615 xcb_setup_failed_end (xcb_setup_failed_iterator_t i  /**< */);
   5616 
   5617 
   5618 /*****************************************************************************
   5619  **
   5620  ** char * xcb_setup_authenticate_reason
   5621  **
   5622  ** @param const xcb_setup_authenticate_t *R
   5623  ** @returns char *
   5624  **
   5625  *****************************************************************************/
   5626 
   5627 char *
   5628 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R  /**< */);
   5629 
   5630 
   5631 /*****************************************************************************
   5632  **
   5633  ** int xcb_setup_authenticate_reason_length
   5634  **
   5635  ** @param const xcb_setup_authenticate_t *R
   5636  ** @returns int
   5637  **
   5638  *****************************************************************************/
   5639 
   5640 int
   5641 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R  /**< */);
   5642 
   5643 
   5644 /*****************************************************************************
   5645  **
   5646  ** xcb_generic_iterator_t xcb_setup_authenticate_reason_end
   5647  **
   5648  ** @param const xcb_setup_authenticate_t *R
   5649  ** @returns xcb_generic_iterator_t
   5650  **
   5651  *****************************************************************************/
   5652 
   5653 xcb_generic_iterator_t
   5654 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R  /**< */);
   5655 
   5656 /**
   5657  * Get the next element of the iterator
   5658  * @param i Pointer to a xcb_setup_authenticate_iterator_t
   5659  *
   5660  * Get the next element in the iterator. The member rem is
   5661  * decreased by one. The member data points to the next
   5662  * element. The member index is increased by sizeof(xcb_setup_authenticate_t)
   5663  */
   5664 
   5665 /*****************************************************************************
   5666  **
   5667  ** void xcb_setup_authenticate_next
   5668  **
   5669  ** @param xcb_setup_authenticate_iterator_t *i
   5670  ** @returns void
   5671  **
   5672  *****************************************************************************/
   5673 
   5674 void
   5675 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i  /**< */);
   5676 
   5677 /**
   5678  * Return the iterator pointing to the last element
   5679  * @param i An xcb_setup_authenticate_iterator_t
   5680  * @return  The iterator pointing to the last element
   5681  *
   5682  * Set the current element in the iterator to the last element.
   5683  * The member rem is set to 0. The member data points to the
   5684  * last element.
   5685  */
   5686 
   5687 /*****************************************************************************
   5688  **
   5689  ** xcb_generic_iterator_t xcb_setup_authenticate_end
   5690  **
   5691  ** @param xcb_setup_authenticate_iterator_t i
   5692  ** @returns xcb_generic_iterator_t
   5693  **
   5694  *****************************************************************************/
   5695 
   5696 xcb_generic_iterator_t
   5697 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i  /**< */);
   5698 
   5699 
   5700 /*****************************************************************************
   5701  **
   5702  ** char * xcb_setup_vendor
   5703  **
   5704  ** @param const xcb_setup_t *R
   5705  ** @returns char *
   5706  **
   5707  *****************************************************************************/
   5708 
   5709 char *
   5710 xcb_setup_vendor (const xcb_setup_t *R  /**< */);
   5711 
   5712 
   5713 /*****************************************************************************
   5714  **
   5715  ** int xcb_setup_vendor_length
   5716  **
   5717  ** @param const xcb_setup_t *R
   5718  ** @returns int
   5719  **
   5720  *****************************************************************************/
   5721 
   5722 int
   5723 xcb_setup_vendor_length (const xcb_setup_t *R  /**< */);
   5724 
   5725 
   5726 /*****************************************************************************
   5727  **
   5728  ** xcb_generic_iterator_t xcb_setup_vendor_end
   5729  **
   5730  ** @param const xcb_setup_t *R
   5731  ** @returns xcb_generic_iterator_t
   5732  **
   5733  *****************************************************************************/
   5734 
   5735 xcb_generic_iterator_t
   5736 xcb_setup_vendor_end (const xcb_setup_t *R  /**< */);
   5737 
   5738 
   5739 /*****************************************************************************
   5740  **
   5741  ** xcb_format_t * xcb_setup_pixmap_formats
   5742  **
   5743  ** @param const xcb_setup_t *R
   5744  ** @returns xcb_format_t *
   5745  **
   5746  *****************************************************************************/
   5747 
   5748 xcb_format_t *
   5749 xcb_setup_pixmap_formats (const xcb_setup_t *R  /**< */);
   5750 
   5751 
   5752 /*****************************************************************************
   5753  **
   5754  ** int xcb_setup_pixmap_formats_length
   5755  **
   5756  ** @param const xcb_setup_t *R
   5757  ** @returns int
   5758  **
   5759  *****************************************************************************/
   5760 
   5761 int
   5762 xcb_setup_pixmap_formats_length (const xcb_setup_t *R  /**< */);
   5763 
   5764 
   5765 /*****************************************************************************
   5766  **
   5767  ** xcb_format_iterator_t xcb_setup_pixmap_formats_iterator
   5768  **
   5769  ** @param const xcb_setup_t *R
   5770  ** @returns xcb_format_iterator_t
   5771  **
   5772  *****************************************************************************/
   5773 
   5774 xcb_format_iterator_t
   5775 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R  /**< */);
   5776 
   5777 
   5778 /*****************************************************************************
   5779  **
   5780  ** int xcb_setup_roots_length
   5781  **
   5782  ** @param const xcb_setup_t *R
   5783  ** @returns int
   5784  **
   5785  *****************************************************************************/
   5786 
   5787 int
   5788 xcb_setup_roots_length (const xcb_setup_t *R  /**< */);
   5789 
   5790 
   5791 /*****************************************************************************
   5792  **
   5793  ** xcb_screen_iterator_t xcb_setup_roots_iterator
   5794  **
   5795  ** @param const xcb_setup_t *R
   5796  ** @returns xcb_screen_iterator_t
   5797  **
   5798  *****************************************************************************/
   5799 
   5800 xcb_screen_iterator_t
   5801 xcb_setup_roots_iterator (const xcb_setup_t *R  /**< */);
   5802 
   5803 /**
   5804  * Get the next element of the iterator
   5805  * @param i Pointer to a xcb_setup_iterator_t
   5806  *
   5807  * Get the next element in the iterator. The member rem is
   5808  * decreased by one. The member data points to the next
   5809  * element. The member index is increased by sizeof(xcb_setup_t)
   5810  */
   5811 
   5812 /*****************************************************************************
   5813  **
   5814  ** void xcb_setup_next
   5815  **
   5816  ** @param xcb_setup_iterator_t *i
   5817  ** @returns void
   5818  **
   5819  *****************************************************************************/
   5820 
   5821 void
   5822 xcb_setup_next (xcb_setup_iterator_t *i  /**< */);
   5823 
   5824 /**
   5825  * Return the iterator pointing to the last element
   5826  * @param i An xcb_setup_iterator_t
   5827  * @return  The iterator pointing to the last element
   5828  *
   5829  * Set the current element in the iterator to the last element.
   5830  * The member rem is set to 0. The member data points to the
   5831  * last element.
   5832  */
   5833 
   5834 /*****************************************************************************
   5835  **
   5836  ** xcb_generic_iterator_t xcb_setup_end
   5837  **
   5838  ** @param xcb_setup_iterator_t i
   5839  ** @returns xcb_generic_iterator_t
   5840  **
   5841  *****************************************************************************/
   5842 
   5843 xcb_generic_iterator_t
   5844 xcb_setup_end (xcb_setup_iterator_t i  /**< */);
   5845 
   5846 /**
   5847  * Get the next element of the iterator
   5848  * @param i Pointer to a xcb_client_message_data_iterator_t
   5849  *
   5850  * Get the next element in the iterator. The member rem is
   5851  * decreased by one. The member data points to the next
   5852  * element. The member index is increased by sizeof(xcb_client_message_data_t)
   5853  */
   5854 
   5855 /*****************************************************************************
   5856  **
   5857  ** void xcb_client_message_data_next
   5858  **
   5859  ** @param xcb_client_message_data_iterator_t *i
   5860  ** @returns void
   5861  **
   5862  *****************************************************************************/
   5863 
   5864 void
   5865 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i  /**< */);
   5866 
   5867 /**
   5868  * Return the iterator pointing to the last element
   5869  * @param i An xcb_client_message_data_iterator_t
   5870  * @return  The iterator pointing to the last element
   5871  *
   5872  * Set the current element in the iterator to the last element.
   5873  * The member rem is set to 0. The member data points to the
   5874  * last element.
   5875  */
   5876 
   5877 /*****************************************************************************
   5878  **
   5879  ** xcb_generic_iterator_t xcb_client_message_data_end
   5880  **
   5881  ** @param xcb_client_message_data_iterator_t i
   5882  ** @returns xcb_generic_iterator_t
   5883  **
   5884  *****************************************************************************/
   5885 
   5886 xcb_generic_iterator_t
   5887 xcb_client_message_data_end (xcb_client_message_data_iterator_t i  /**< */);
   5888 
   5889 /**
   5890  * Delivers a request to the X server
   5891  * @param c The connection
   5892  * @return A cookie
   5893  *
   5894  * Delivers a request to the X server.
   5895  *
   5896  * This form can be used only if the request will not cause
   5897  * a reply to be generated. Any returned error will be
   5898  * saved for handling by xcb_request_check().
   5899  */
   5900 
   5901 /*****************************************************************************
   5902  **
   5903  ** xcb_void_cookie_t xcb_create_window_checked
   5904  **
   5905  ** @param xcb_connection_t *c
   5906  ** @param uint8_t           depth
   5907  ** @param xcb_window_t      wid
   5908  ** @param xcb_window_t      parent
   5909  ** @param int16_t           x
   5910  ** @param int16_t           y
   5911  ** @param uint16_t          width
   5912  ** @param uint16_t          height
   5913  ** @param uint16_t          border_width
   5914  ** @param uint16_t          _class
   5915  ** @param xcb_visualid_t    visual
   5916  ** @param uint32_t          value_mask
   5917  ** @param const uint32_t   *value_list
   5918  ** @returns xcb_void_cookie_t
   5919  **
   5920  *****************************************************************************/
   5921 
   5922 xcb_void_cookie_t
   5923 xcb_create_window_checked (xcb_connection_t *c  /**< */,
   5924                            uint8_t           depth  /**< */,
   5925                            xcb_window_t      wid  /**< */,
   5926                            xcb_window_t      parent  /**< */,
   5927                            int16_t           x  /**< */,
   5928                            int16_t           y  /**< */,
   5929                            uint16_t          width  /**< */,
   5930                            uint16_t          height  /**< */,
   5931                            uint16_t          border_width  /**< */,
   5932                            uint16_t          _class  /**< */,
   5933                            xcb_visualid_t    visual  /**< */,
   5934                            uint32_t          value_mask  /**< */,
   5935                            const uint32_t   *value_list  /**< */);
   5936 
   5937 /**
   5938  * Delivers a request to the X server
   5939  * @param c The connection
   5940  * @return A cookie
   5941  *
   5942  * Delivers a request to the X server.
   5943  *
   5944  */
   5945 
   5946 /*****************************************************************************
   5947  **
   5948  ** xcb_void_cookie_t xcb_create_window
   5949  **
   5950  ** @param xcb_connection_t *c
   5951  ** @param uint8_t           depth
   5952  ** @param xcb_window_t      wid
   5953  ** @param xcb_window_t      parent
   5954  ** @param int16_t           x
   5955  ** @param int16_t           y
   5956  ** @param uint16_t          width
   5957  ** @param uint16_t          height
   5958  ** @param uint16_t          border_width
   5959  ** @param uint16_t          _class
   5960  ** @param xcb_visualid_t    visual
   5961  ** @param uint32_t          value_mask
   5962  ** @param const uint32_t   *value_list
   5963  ** @returns xcb_void_cookie_t
   5964  **
   5965  *****************************************************************************/
   5966 
   5967 xcb_void_cookie_t
   5968 xcb_create_window (xcb_connection_t *c  /**< */,
   5969                    uint8_t           depth  /**< */,
   5970                    xcb_window_t      wid  /**< */,
   5971                    xcb_window_t      parent  /**< */,
   5972                    int16_t           x  /**< */,
   5973                    int16_t           y  /**< */,
   5974                    uint16_t          width  /**< */,
   5975                    uint16_t          height  /**< */,
   5976                    uint16_t          border_width  /**< */,
   5977                    uint16_t          _class  /**< */,
   5978                    xcb_visualid_t    visual  /**< */,
   5979                    uint32_t          value_mask  /**< */,
   5980                    const uint32_t   *value_list  /**< */);
   5981 
   5982 /**
   5983  * Delivers a request to the X server
   5984  * @param c The connection
   5985  * @return A cookie
   5986  *
   5987  * Delivers a request to the X server.
   5988  *
   5989  * This form can be used only if the request will not cause
   5990  * a reply to be generated. Any returned error will be
   5991  * saved for handling by xcb_request_check().
   5992  */
   5993 
   5994 /*****************************************************************************
   5995  **
   5996  ** xcb_void_cookie_t xcb_change_window_attributes_checked
   5997  **
   5998  ** @param xcb_connection_t *c
   5999  ** @param xcb_window_t      window
   6000  ** @param uint32_t          value_mask
   6001  ** @param const uint32_t   *value_list
   6002  ** @returns xcb_void_cookie_t
   6003  **
   6004  *****************************************************************************/
   6005 
   6006 xcb_void_cookie_t
   6007 xcb_change_window_attributes_checked (xcb_connection_t *c  /**< */,
   6008                                       xcb_window_t      window  /**< */,
   6009                                       uint32_t          value_mask  /**< */,
   6010                                       const uint32_t   *value_list  /**< */);
   6011 
   6012 /**
   6013  * Delivers a request to the X server
   6014  * @param c The connection
   6015  * @return A cookie
   6016  *
   6017  * Delivers a request to the X server.
   6018  *
   6019  */
   6020 
   6021 /*****************************************************************************
   6022  **
   6023  ** xcb_void_cookie_t xcb_change_window_attributes
   6024  **
   6025  ** @param xcb_connection_t *c
   6026  ** @param xcb_window_t      window
   6027  ** @param uint32_t          value_mask
   6028  ** @param const uint32_t   *value_list
   6029  ** @returns xcb_void_cookie_t
   6030  **
   6031  *****************************************************************************/
   6032 
   6033 xcb_void_cookie_t
   6034 xcb_change_window_attributes (xcb_connection_t *c  /**< */,
   6035                               xcb_window_t      window  /**< */,
   6036                               uint32_t          value_mask  /**< */,
   6037                               const uint32_t   *value_list  /**< */);
   6038 
   6039 /**
   6040  * Delivers a request to the X server
   6041  * @param c The connection
   6042  * @return A cookie
   6043  *
   6044  * Delivers a request to the X server.
   6045  *
   6046  */
   6047 
   6048 /*****************************************************************************
   6049  **
   6050  ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes
   6051  **
   6052  ** @param xcb_connection_t *c
   6053  ** @param xcb_window_t      window
   6054  ** @returns xcb_get_window_attributes_cookie_t
   6055  **
   6056  *****************************************************************************/
   6057 
   6058 xcb_get_window_attributes_cookie_t
   6059 xcb_get_window_attributes (xcb_connection_t *c  /**< */,
   6060                            xcb_window_t      window  /**< */);
   6061 
   6062 /**
   6063  * Delivers a request to the X server
   6064  * @param c The connection
   6065  * @return A cookie
   6066  *
   6067  * Delivers a request to the X server.
   6068  *
   6069  * This form can be used only if the request will cause
   6070  * a reply to be generated. Any returned error will be
   6071  * placed in the event queue.
   6072  */
   6073 
   6074 /*****************************************************************************
   6075  **
   6076  ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked
   6077  **
   6078  ** @param xcb_connection_t *c
   6079  ** @param xcb_window_t      window
   6080  ** @returns xcb_get_window_attributes_cookie_t
   6081  **
   6082  *****************************************************************************/
   6083 
   6084 xcb_get_window_attributes_cookie_t
   6085 xcb_get_window_attributes_unchecked (xcb_connection_t *c  /**< */,
   6086                                      xcb_window_t      window  /**< */);
   6087 
   6088 /**
   6089  * Return the reply
   6090  * @param c      The connection
   6091  * @param cookie The cookie
   6092  * @param e      The xcb_generic_error_t supplied
   6093  *
   6094  * Returns the reply of the request asked by
   6095  *
   6096  * The parameter @p e supplied to this function must be NULL if
   6097  * xcb_get_window_attributes_unchecked(). is used.
   6098  * Otherwise, it stores the error if any.
   6099  *
   6100  * The returned value must be freed by the caller using free().
   6101  */
   6102 
   6103 /*****************************************************************************
   6104  **
   6105  ** xcb_get_window_attributes_reply_t * xcb_get_window_attributes_reply
   6106  **
   6107  ** @param xcb_connection_t                    *c
   6108  ** @param xcb_get_window_attributes_cookie_t   cookie
   6109  ** @param xcb_generic_error_t                **e
   6110  ** @returns xcb_get_window_attributes_reply_t *
   6111  **
   6112  *****************************************************************************/
   6113 
   6114 xcb_get_window_attributes_reply_t *
   6115 xcb_get_window_attributes_reply (xcb_connection_t                    *c  /**< */,
   6116                                  xcb_get_window_attributes_cookie_t   cookie  /**< */,
   6117                                  xcb_generic_error_t                **e  /**< */);
   6118 
   6119 /**
   6120  * Delivers a request to the X server
   6121  * @param c The connection
   6122  * @return A cookie
   6123  *
   6124  * Delivers a request to the X server.
   6125  *
   6126  * This form can be used only if the request will not cause
   6127  * a reply to be generated. Any returned error will be
   6128  * saved for handling by xcb_request_check().
   6129  */
   6130 
   6131 /*****************************************************************************
   6132  **
   6133  ** xcb_void_cookie_t xcb_destroy_window_checked
   6134  **
   6135  ** @param xcb_connection_t *c
   6136  ** @param xcb_window_t      window
   6137  ** @returns xcb_void_cookie_t
   6138  **
   6139  *****************************************************************************/
   6140 
   6141 xcb_void_cookie_t
   6142 xcb_destroy_window_checked (xcb_connection_t *c  /**< */,
   6143                             xcb_window_t      window  /**< */);
   6144 
   6145 /**
   6146  * Delivers a request to the X server
   6147  * @param c The connection
   6148  * @return A cookie
   6149  *
   6150  * Delivers a request to the X server.
   6151  *
   6152  */
   6153 
   6154 /*****************************************************************************
   6155  **
   6156  ** xcb_void_cookie_t xcb_destroy_window
   6157  **
   6158  ** @param xcb_connection_t *c
   6159  ** @param xcb_window_t      window
   6160  ** @returns xcb_void_cookie_t
   6161  **
   6162  *****************************************************************************/
   6163 
   6164 xcb_void_cookie_t
   6165 xcb_destroy_window (xcb_connection_t *c  /**< */,
   6166                     xcb_window_t      window  /**< */);
   6167 
   6168 /**
   6169  * Delivers a request to the X server
   6170  * @param c The connection
   6171  * @return A cookie
   6172  *
   6173  * Delivers a request to the X server.
   6174  *
   6175  * This form can be used only if the request will not cause
   6176  * a reply to be generated. Any returned error will be
   6177  * saved for handling by xcb_request_check().
   6178  */
   6179 
   6180 /*****************************************************************************
   6181  **
   6182  ** xcb_void_cookie_t xcb_destroy_subwindows_checked
   6183  **
   6184  ** @param xcb_connection_t *c
   6185  ** @param xcb_window_t      window
   6186  ** @returns xcb_void_cookie_t
   6187  **
   6188  *****************************************************************************/
   6189 
   6190 xcb_void_cookie_t
   6191 xcb_destroy_subwindows_checked (xcb_connection_t *c  /**< */,
   6192                                 xcb_window_t      window  /**< */);
   6193 
   6194 /**
   6195  * Delivers a request to the X server
   6196  * @param c The connection
   6197  * @return A cookie
   6198  *
   6199  * Delivers a request to the X server.
   6200  *
   6201  */
   6202 
   6203 /*****************************************************************************
   6204  **
   6205  ** xcb_void_cookie_t xcb_destroy_subwindows
   6206  **
   6207  ** @param xcb_connection_t *c
   6208  ** @param xcb_window_t      window
   6209  ** @returns xcb_void_cookie_t
   6210  **
   6211  *****************************************************************************/
   6212 
   6213 xcb_void_cookie_t
   6214 xcb_destroy_subwindows (xcb_connection_t *c  /**< */,
   6215                         xcb_window_t      window  /**< */);
   6216 
   6217 /**
   6218  * Delivers a request to the X server
   6219  * @param c The connection
   6220  * @return A cookie
   6221  *
   6222  * Delivers a request to the X server.
   6223  *
   6224  * This form can be used only if the request will not cause
   6225  * a reply to be generated. Any returned error will be
   6226  * saved for handling by xcb_request_check().
   6227  */
   6228 
   6229 /*****************************************************************************
   6230  **
   6231  ** xcb_void_cookie_t xcb_change_save_set_checked
   6232  **
   6233  ** @param xcb_connection_t *c
   6234  ** @param uint8_t           mode
   6235  ** @param xcb_window_t      window
   6236  ** @returns xcb_void_cookie_t
   6237  **
   6238  *****************************************************************************/
   6239 
   6240 xcb_void_cookie_t
   6241 xcb_change_save_set_checked (xcb_connection_t *c  /**< */,
   6242                              uint8_t           mode  /**< */,
   6243                              xcb_window_t      window  /**< */);
   6244 
   6245 /**
   6246  * Delivers a request to the X server
   6247  * @param c The connection
   6248  * @return A cookie
   6249  *
   6250  * Delivers a request to the X server.
   6251  *
   6252  */
   6253 
   6254 /*****************************************************************************
   6255  **
   6256  ** xcb_void_cookie_t xcb_change_save_set
   6257  **
   6258  ** @param xcb_connection_t *c
   6259  ** @param uint8_t           mode
   6260  ** @param xcb_window_t      window
   6261  ** @returns xcb_void_cookie_t
   6262  **
   6263  *****************************************************************************/
   6264 
   6265 xcb_void_cookie_t
   6266 xcb_change_save_set (xcb_connection_t *c  /**< */,
   6267                      uint8_t           mode  /**< */,
   6268                      xcb_window_t      window  /**< */);
   6269 
   6270 /**
   6271  * Delivers a request to the X server
   6272  * @param c The connection
   6273  * @return A cookie
   6274  *
   6275  * Delivers a request to the X server.
   6276  *
   6277  * This form can be used only if the request will not cause
   6278  * a reply to be generated. Any returned error will be
   6279  * saved for handling by xcb_request_check().
   6280  */
   6281 
   6282 /*****************************************************************************
   6283  **
   6284  ** xcb_void_cookie_t xcb_reparent_window_checked
   6285  **
   6286  ** @param xcb_connection_t *c
   6287  ** @param xcb_window_t      window
   6288  ** @param xcb_window_t      parent
   6289  ** @param int16_t           x
   6290  ** @param int16_t           y
   6291  ** @returns xcb_void_cookie_t
   6292  **
   6293  *****************************************************************************/
   6294 
   6295 xcb_void_cookie_t
   6296 xcb_reparent_window_checked (xcb_connection_t *c  /**< */,
   6297                              xcb_window_t      window  /**< */,
   6298                              xcb_window_t      parent  /**< */,
   6299                              int16_t           x  /**< */,
   6300                              int16_t           y  /**< */);
   6301 
   6302 /**
   6303  * Delivers a request to the X server
   6304  * @param c The connection
   6305  * @return A cookie
   6306  *
   6307  * Delivers a request to the X server.
   6308  *
   6309  */
   6310 
   6311 /*****************************************************************************
   6312  **
   6313  ** xcb_void_cookie_t xcb_reparent_window
   6314  **
   6315  ** @param xcb_connection_t *c
   6316  ** @param xcb_window_t      window
   6317  ** @param xcb_window_t      parent
   6318  ** @param int16_t           x
   6319  ** @param int16_t           y
   6320  ** @returns xcb_void_cookie_t
   6321  **
   6322  *****************************************************************************/
   6323 
   6324 xcb_void_cookie_t
   6325 xcb_reparent_window (xcb_connection_t *c  /**< */,
   6326                      xcb_window_t      window  /**< */,
   6327                      xcb_window_t      parent  /**< */,
   6328                      int16_t           x  /**< */,
   6329                      int16_t           y  /**< */);
   6330 
   6331 /**
   6332  * Delivers a request to the X server
   6333  * @param c The connection
   6334  * @return A cookie
   6335  *
   6336  * Delivers a request to the X server.
   6337  *
   6338  * This form can be used only if the request will not cause
   6339  * a reply to be generated. Any returned error will be
   6340  * saved for handling by xcb_request_check().
   6341  */
   6342 
   6343 /*****************************************************************************
   6344  **
   6345  ** xcb_void_cookie_t xcb_map_window_checked
   6346  **
   6347  ** @param xcb_connection_t *c
   6348  ** @param xcb_window_t      window
   6349  ** @returns xcb_void_cookie_t
   6350  **
   6351  *****************************************************************************/
   6352 
   6353 xcb_void_cookie_t
   6354 xcb_map_window_checked (xcb_connection_t *c  /**< */,
   6355                         xcb_window_t      window  /**< */);
   6356 
   6357 /**
   6358  * Delivers a request to the X server
   6359  * @param c The connection
   6360  * @return A cookie
   6361  *
   6362  * Delivers a request to the X server.
   6363  *
   6364  */
   6365 
   6366 /*****************************************************************************
   6367  **
   6368  ** xcb_void_cookie_t xcb_map_window
   6369  **
   6370  ** @param xcb_connection_t *c
   6371  ** @param xcb_window_t      window
   6372  ** @returns xcb_void_cookie_t
   6373  **
   6374  *****************************************************************************/
   6375 
   6376 xcb_void_cookie_t
   6377 xcb_map_window (xcb_connection_t *c  /**< */,
   6378                 xcb_window_t      window  /**< */);
   6379 
   6380 /**
   6381  * Delivers a request to the X server
   6382  * @param c The connection
   6383  * @return A cookie
   6384  *
   6385  * Delivers a request to the X server.
   6386  *
   6387  * This form can be used only if the request will not cause
   6388  * a reply to be generated. Any returned error will be
   6389  * saved for handling by xcb_request_check().
   6390  */
   6391 
   6392 /*****************************************************************************
   6393  **
   6394  ** xcb_void_cookie_t xcb_map_subwindows_checked
   6395  **
   6396  ** @param xcb_connection_t *c
   6397  ** @param xcb_window_t      window
   6398  ** @returns xcb_void_cookie_t
   6399  **
   6400  *****************************************************************************/
   6401 
   6402 xcb_void_cookie_t
   6403 xcb_map_subwindows_checked (xcb_connection_t *c  /**< */,
   6404                             xcb_window_t      window  /**< */);
   6405 
   6406 /**
   6407  * Delivers a request to the X server
   6408  * @param c The connection
   6409  * @return A cookie
   6410  *
   6411  * Delivers a request to the X server.
   6412  *
   6413  */
   6414 
   6415 /*****************************************************************************
   6416  **
   6417  ** xcb_void_cookie_t xcb_map_subwindows
   6418  **
   6419  ** @param xcb_connection_t *c
   6420  ** @param xcb_window_t      window
   6421  ** @returns xcb_void_cookie_t
   6422  **
   6423  *****************************************************************************/
   6424 
   6425 xcb_void_cookie_t
   6426 xcb_map_subwindows (xcb_connection_t *c  /**< */,
   6427                     xcb_window_t      window  /**< */);
   6428 
   6429 /**
   6430  * Delivers a request to the X server
   6431  * @param c The connection
   6432  * @return A cookie
   6433  *
   6434  * Delivers a request to the X server.
   6435  *
   6436  * This form can be used only if the request will not cause
   6437  * a reply to be generated. Any returned error will be
   6438  * saved for handling by xcb_request_check().
   6439  */
   6440 
   6441 /*****************************************************************************
   6442  **
   6443  ** xcb_void_cookie_t xcb_unmap_window_checked
   6444  **
   6445  ** @param xcb_connection_t *c
   6446  ** @param xcb_window_t      window
   6447  ** @returns xcb_void_cookie_t
   6448  **
   6449  *****************************************************************************/
   6450 
   6451 xcb_void_cookie_t
   6452 xcb_unmap_window_checked (xcb_connection_t *c  /**< */,
   6453                           xcb_window_t      window  /**< */);
   6454 
   6455 /**
   6456  * Delivers a request to the X server
   6457  * @param c The connection
   6458  * @return A cookie
   6459  *
   6460  * Delivers a request to the X server.
   6461  *
   6462  */
   6463 
   6464 /*****************************************************************************
   6465  **
   6466  ** xcb_void_cookie_t xcb_unmap_window
   6467  **
   6468  ** @param xcb_connection_t *c
   6469  ** @param xcb_window_t      window
   6470  ** @returns xcb_void_cookie_t
   6471  **
   6472  *****************************************************************************/
   6473 
   6474 xcb_void_cookie_t
   6475 xcb_unmap_window (xcb_connection_t *c  /**< */,
   6476                   xcb_window_t      window  /**< */);
   6477 
   6478 /**
   6479  * Delivers a request to the X server
   6480  * @param c The connection
   6481  * @return A cookie
   6482  *
   6483  * Delivers a request to the X server.
   6484  *
   6485  * This form can be used only if the request will not cause
   6486  * a reply to be generated. Any returned error will be
   6487  * saved for handling by xcb_request_check().
   6488  */
   6489 
   6490 /*****************************************************************************
   6491  **
   6492  ** xcb_void_cookie_t xcb_unmap_subwindows_checked
   6493  **
   6494  ** @param xcb_connection_t *c
   6495  ** @param xcb_window_t      window
   6496  ** @returns xcb_void_cookie_t
   6497  **
   6498  *****************************************************************************/
   6499 
   6500 xcb_void_cookie_t
   6501 xcb_unmap_subwindows_checked (xcb_connection_t *c  /**< */,
   6502                               xcb_window_t      window  /**< */);
   6503 
   6504 /**
   6505  * Delivers a request to the X server
   6506  * @param c The connection
   6507  * @return A cookie
   6508  *
   6509  * Delivers a request to the X server.
   6510  *
   6511  */
   6512 
   6513 /*****************************************************************************
   6514  **
   6515  ** xcb_void_cookie_t xcb_unmap_subwindows
   6516  **
   6517  ** @param xcb_connection_t *c
   6518  ** @param xcb_window_t      window
   6519  ** @returns xcb_void_cookie_t
   6520  **
   6521  *****************************************************************************/
   6522 
   6523 xcb_void_cookie_t
   6524 xcb_unmap_subwindows (xcb_connection_t *c  /**< */,
   6525                       xcb_window_t      window  /**< */);
   6526 
   6527 /**
   6528  * Delivers a request to the X server
   6529  * @param c The connection
   6530  * @return A cookie
   6531  *
   6532  * Delivers a request to the X server.
   6533  *
   6534  * This form can be used only if the request will not cause
   6535  * a reply to be generated. Any returned error will be
   6536  * saved for handling by xcb_request_check().
   6537  */
   6538 
   6539 /*****************************************************************************
   6540  **
   6541  ** xcb_void_cookie_t xcb_configure_window_checked
   6542  **
   6543  ** @param xcb_connection_t *c
   6544  ** @param xcb_window_t      window
   6545  ** @param uint16_t          value_mask
   6546  ** @param const uint32_t   *value_list
   6547  ** @returns xcb_void_cookie_t
   6548  **
   6549  *****************************************************************************/
   6550 
   6551 xcb_void_cookie_t
   6552 xcb_configure_window_checked (xcb_connection_t *c  /**< */,
   6553                               xcb_window_t      window  /**< */,
   6554                               uint16_t          value_mask  /**< */,
   6555                               const uint32_t   *value_list  /**< */);
   6556 
   6557 /**
   6558  * Delivers a request to the X server
   6559  * @param c The connection
   6560  * @return A cookie
   6561  *
   6562  * Delivers a request to the X server.
   6563  *
   6564  */
   6565 
   6566 /*****************************************************************************
   6567  **
   6568  ** xcb_void_cookie_t xcb_configure_window
   6569  **
   6570  ** @param xcb_connection_t *c
   6571  ** @param xcb_window_t      window
   6572  ** @param uint16_t          value_mask
   6573  ** @param const uint32_t   *value_list
   6574  ** @returns xcb_void_cookie_t
   6575  **
   6576  *****************************************************************************/
   6577 
   6578 xcb_void_cookie_t
   6579 xcb_configure_window (xcb_connection_t *c  /**< */,
   6580                       xcb_window_t      window  /**< */,
   6581                       uint16_t          value_mask  /**< */,
   6582                       const uint32_t   *value_list  /**< */);
   6583 
   6584 /**
   6585  * Delivers a request to the X server
   6586  * @param c The connection
   6587  * @return A cookie
   6588  *
   6589  * Delivers a request to the X server.
   6590  *
   6591  * This form can be used only if the request will not cause
   6592  * a reply to be generated. Any returned error will be
   6593  * saved for handling by xcb_request_check().
   6594  */
   6595 
   6596 /*****************************************************************************
   6597  **
   6598  ** xcb_void_cookie_t xcb_circulate_window_checked
   6599  **
   6600  ** @param xcb_connection_t *c
   6601  ** @param uint8_t           direction
   6602  ** @param xcb_window_t      window
   6603  ** @returns xcb_void_cookie_t
   6604  **
   6605  *****************************************************************************/
   6606 
   6607 xcb_void_cookie_t
   6608 xcb_circulate_window_checked (xcb_connection_t *c  /**< */,
   6609                               uint8_t           direction  /**< */,
   6610                               xcb_window_t      window  /**< */);
   6611 
   6612 /**
   6613  * Delivers a request to the X server
   6614  * @param c The connection
   6615  * @return A cookie
   6616  *
   6617  * Delivers a request to the X server.
   6618  *
   6619  */
   6620 
   6621 /*****************************************************************************
   6622  **
   6623  ** xcb_void_cookie_t xcb_circulate_window
   6624  **
   6625  ** @param xcb_connection_t *c
   6626  ** @param uint8_t           direction
   6627  ** @param xcb_window_t      window
   6628  ** @returns xcb_void_cookie_t
   6629  **
   6630  *****************************************************************************/
   6631 
   6632 xcb_void_cookie_t
   6633 xcb_circulate_window (xcb_connection_t *c  /**< */,
   6634                       uint8_t           direction  /**< */,
   6635                       xcb_window_t      window  /**< */);
   6636 
   6637 /**
   6638  * Delivers a request to the X server
   6639  * @param c The connection
   6640  * @return A cookie
   6641  *
   6642  * Delivers a request to the X server.
   6643  *
   6644  */
   6645 
   6646 /*****************************************************************************
   6647  **
   6648  ** xcb_get_geometry_cookie_t xcb_get_geometry
   6649  **
   6650  ** @param xcb_connection_t *c
   6651  ** @param xcb_drawable_t    drawable
   6652  ** @returns xcb_get_geometry_cookie_t
   6653  **
   6654  *****************************************************************************/
   6655 
   6656 xcb_get_geometry_cookie_t
   6657 xcb_get_geometry (xcb_connection_t *c  /**< */,
   6658                   xcb_drawable_t    drawable  /**< */);
   6659 
   6660 /**
   6661  * Delivers a request to the X server
   6662  * @param c The connection
   6663  * @return A cookie
   6664  *
   6665  * Delivers a request to the X server.
   6666  *
   6667  * This form can be used only if the request will cause
   6668  * a reply to be generated. Any returned error will be
   6669  * placed in the event queue.
   6670  */
   6671 
   6672 /*****************************************************************************
   6673  **
   6674  ** xcb_get_geometry_cookie_t xcb_get_geometry_unchecked
   6675  **
   6676  ** @param xcb_connection_t *c
   6677  ** @param xcb_drawable_t    drawable
   6678  ** @returns xcb_get_geometry_cookie_t
   6679  **
   6680  *****************************************************************************/
   6681 
   6682 xcb_get_geometry_cookie_t
   6683 xcb_get_geometry_unchecked (xcb_connection_t *c  /**< */,
   6684                             xcb_drawable_t    drawable  /**< */);
   6685 
   6686 /**
   6687  * Return the reply
   6688  * @param c      The connection
   6689  * @param cookie The cookie
   6690  * @param e      The xcb_generic_error_t supplied
   6691  *
   6692  * Returns the reply of the request asked by
   6693  *
   6694  * The parameter @p e supplied to this function must be NULL if
   6695  * xcb_get_geometry_unchecked(). is used.
   6696  * Otherwise, it stores the error if any.
   6697  *
   6698  * The returned value must be freed by the caller using free().
   6699  */
   6700 
   6701 /*****************************************************************************
   6702  **
   6703  ** xcb_get_geometry_reply_t * xcb_get_geometry_reply
   6704  **
   6705  ** @param xcb_connection_t           *c
   6706  ** @param xcb_get_geometry_cookie_t   cookie
   6707  ** @param xcb_generic_error_t       **e
   6708  ** @returns xcb_get_geometry_reply_t *
   6709  **
   6710  *****************************************************************************/
   6711 
   6712 xcb_get_geometry_reply_t *
   6713 xcb_get_geometry_reply (xcb_connection_t           *c  /**< */,
   6714                         xcb_get_geometry_cookie_t   cookie  /**< */,
   6715                         xcb_generic_error_t       **e  /**< */);
   6716 
   6717 /**
   6718  * Delivers a request to the X server
   6719  * @param c The connection
   6720  * @return A cookie
   6721  *
   6722  * Delivers a request to the X server.
   6723  *
   6724  */
   6725 
   6726 /*****************************************************************************
   6727  **
   6728  ** xcb_query_tree_cookie_t xcb_query_tree
   6729  **
   6730  ** @param xcb_connection_t *c
   6731  ** @param xcb_window_t      window
   6732  ** @returns xcb_query_tree_cookie_t
   6733  **
   6734  *****************************************************************************/
   6735 
   6736 xcb_query_tree_cookie_t
   6737 xcb_query_tree (xcb_connection_t *c  /**< */,
   6738                 xcb_window_t      window  /**< */);
   6739 
   6740 /**
   6741  * Delivers a request to the X server
   6742  * @param c The connection
   6743  * @return A cookie
   6744  *
   6745  * Delivers a request to the X server.
   6746  *
   6747  * This form can be used only if the request will cause
   6748  * a reply to be generated. Any returned error will be
   6749  * placed in the event queue.
   6750  */
   6751 
   6752 /*****************************************************************************
   6753  **
   6754  ** xcb_query_tree_cookie_t xcb_query_tree_unchecked
   6755  **
   6756  ** @param xcb_connection_t *c
   6757  ** @param xcb_window_t      window
   6758  ** @returns xcb_query_tree_cookie_t
   6759  **
   6760  *****************************************************************************/
   6761 
   6762 xcb_query_tree_cookie_t
   6763 xcb_query_tree_unchecked (xcb_connection_t *c  /**< */,
   6764                           xcb_window_t      window  /**< */);
   6765 
   6766 
   6767 /*****************************************************************************
   6768  **
   6769  ** xcb_window_t * xcb_query_tree_children
   6770  **
   6771  ** @param const xcb_query_tree_reply_t *R
   6772  ** @returns xcb_window_t *
   6773  **
   6774  *****************************************************************************/
   6775 
   6776 xcb_window_t *
   6777 xcb_query_tree_children (const xcb_query_tree_reply_t *R  /**< */);
   6778 
   6779 
   6780 /*****************************************************************************
   6781  **
   6782  ** int xcb_query_tree_children_length
   6783  **
   6784  ** @param const xcb_query_tree_reply_t *R
   6785  ** @returns int
   6786  **
   6787  *****************************************************************************/
   6788 
   6789 int
   6790 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R  /**< */);
   6791 
   6792 
   6793 /*****************************************************************************
   6794  **
   6795  ** xcb_generic_iterator_t xcb_query_tree_children_end
   6796  **
   6797  ** @param const xcb_query_tree_reply_t *R
   6798  ** @returns xcb_generic_iterator_t
   6799  **
   6800  *****************************************************************************/
   6801 
   6802 xcb_generic_iterator_t
   6803 xcb_query_tree_children_end (const xcb_query_tree_reply_t *R  /**< */);
   6804 
   6805 /**
   6806  * Return the reply
   6807  * @param c      The connection
   6808  * @param cookie The cookie
   6809  * @param e      The xcb_generic_error_t supplied
   6810  *
   6811  * Returns the reply of the request asked by
   6812  *
   6813  * The parameter @p e supplied to this function must be NULL if
   6814  * xcb_query_tree_unchecked(). is used.
   6815  * Otherwise, it stores the error if any.
   6816  *
   6817  * The returned value must be freed by the caller using free().
   6818  */
   6819 
   6820 /*****************************************************************************
   6821  **
   6822  ** xcb_query_tree_reply_t * xcb_query_tree_reply
   6823  **
   6824  ** @param xcb_connection_t         *c
   6825  ** @param xcb_query_tree_cookie_t   cookie
   6826  ** @param xcb_generic_error_t     **e
   6827  ** @returns xcb_query_tree_reply_t *
   6828  **
   6829  *****************************************************************************/
   6830 
   6831 xcb_query_tree_reply_t *
   6832 xcb_query_tree_reply (xcb_connection_t         *c  /**< */,
   6833                       xcb_query_tree_cookie_t   cookie  /**< */,
   6834                       xcb_generic_error_t     **e  /**< */);
   6835 
   6836 /**
   6837  * Delivers a request to the X server
   6838  * @param c The connection
   6839  * @return A cookie
   6840  *
   6841  * Delivers a request to the X server.
   6842  *
   6843  */
   6844 
   6845 /*****************************************************************************
   6846  **
   6847  ** xcb_intern_atom_cookie_t xcb_intern_atom
   6848  **
   6849  ** @param xcb_connection_t *c
   6850  ** @param uint8_t           only_if_exists
   6851  ** @param uint16_t          name_len
   6852  ** @param const char       *name
   6853  ** @returns xcb_intern_atom_cookie_t
   6854  **
   6855  *****************************************************************************/
   6856 
   6857 xcb_intern_atom_cookie_t
   6858 xcb_intern_atom (xcb_connection_t *c  /**< */,
   6859                  uint8_t           only_if_exists  /**< */,
   6860                  uint16_t          name_len  /**< */,
   6861                  const char       *name  /**< */);
   6862 
   6863 /**
   6864  * Delivers a request to the X server
   6865  * @param c The connection
   6866  * @return A cookie
   6867  *
   6868  * Delivers a request to the X server.
   6869  *
   6870  * This form can be used only if the request will cause
   6871  * a reply to be generated. Any returned error will be
   6872  * placed in the event queue.
   6873  */
   6874 
   6875 /*****************************************************************************
   6876  **
   6877  ** xcb_intern_atom_cookie_t xcb_intern_atom_unchecked
   6878  **
   6879  ** @param xcb_connection_t *c
   6880  ** @param uint8_t           only_if_exists
   6881  ** @param uint16_t          name_len
   6882  ** @param const char       *name
   6883  ** @returns xcb_intern_atom_cookie_t
   6884  **
   6885  *****************************************************************************/
   6886 
   6887 xcb_intern_atom_cookie_t
   6888 xcb_intern_atom_unchecked (xcb_connection_t *c  /**< */,
   6889                            uint8_t           only_if_exists  /**< */,
   6890                            uint16_t          name_len  /**< */,
   6891                            const char       *name  /**< */);
   6892 
   6893 /**
   6894  * Return the reply
   6895  * @param c      The connection
   6896  * @param cookie The cookie
   6897  * @param e      The xcb_generic_error_t supplied
   6898  *
   6899  * Returns the reply of the request asked by
   6900  *
   6901  * The parameter @p e supplied to this function must be NULL if
   6902  * xcb_intern_atom_unchecked(). is used.
   6903  * Otherwise, it stores the error if any.
   6904  *
   6905  * The returned value must be freed by the caller using free().
   6906  */
   6907 
   6908 /*****************************************************************************
   6909  **
   6910  ** xcb_intern_atom_reply_t * xcb_intern_atom_reply
   6911  **
   6912  ** @param xcb_connection_t          *c
   6913  ** @param xcb_intern_atom_cookie_t   cookie
   6914  ** @param xcb_generic_error_t      **e
   6915  ** @returns xcb_intern_atom_reply_t *
   6916  **
   6917  *****************************************************************************/
   6918 
   6919 xcb_intern_atom_reply_t *
   6920 xcb_intern_atom_reply (xcb_connection_t          *c  /**< */,
   6921                        xcb_intern_atom_cookie_t   cookie  /**< */,
   6922                        xcb_generic_error_t      **e  /**< */);
   6923 
   6924 /**
   6925  * Delivers a request to the X server
   6926  * @param c The connection
   6927  * @return A cookie
   6928  *
   6929  * Delivers a request to the X server.
   6930  *
   6931  */
   6932 
   6933 /*****************************************************************************
   6934  **
   6935  ** xcb_get_atom_name_cookie_t xcb_get_atom_name
   6936  **
   6937  ** @param xcb_connection_t *c
   6938  ** @param xcb_atom_t        atom
   6939  ** @returns xcb_get_atom_name_cookie_t
   6940  **
   6941  *****************************************************************************/
   6942 
   6943 xcb_get_atom_name_cookie_t
   6944 xcb_get_atom_name (xcb_connection_t *c  /**< */,
   6945                    xcb_atom_t        atom  /**< */);
   6946 
   6947 /**
   6948  * Delivers a request to the X server
   6949  * @param c The connection
   6950  * @return A cookie
   6951  *
   6952  * Delivers a request to the X server.
   6953  *
   6954  * This form can be used only if the request will cause
   6955  * a reply to be generated. Any returned error will be
   6956  * placed in the event queue.
   6957  */
   6958 
   6959 /*****************************************************************************
   6960  **
   6961  ** xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked
   6962  **
   6963  ** @param xcb_connection_t *c
   6964  ** @param xcb_atom_t        atom
   6965  ** @returns xcb_get_atom_name_cookie_t
   6966  **
   6967  *****************************************************************************/
   6968 
   6969 xcb_get_atom_name_cookie_t
   6970 xcb_get_atom_name_unchecked (xcb_connection_t *c  /**< */,
   6971                              xcb_atom_t        atom  /**< */);
   6972 
   6973 
   6974 /*****************************************************************************
   6975  **
   6976  ** char * xcb_get_atom_name_name
   6977  **
   6978  ** @param const xcb_get_atom_name_reply_t *R
   6979  ** @returns char *
   6980  **
   6981  *****************************************************************************/
   6982 
   6983 char *
   6984 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R  /**< */);
   6985 
   6986 
   6987 /*****************************************************************************
   6988  **
   6989  ** int xcb_get_atom_name_name_length
   6990  **
   6991  ** @param const xcb_get_atom_name_reply_t *R
   6992  ** @returns int
   6993  **
   6994  *****************************************************************************/
   6995 
   6996 int
   6997 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R  /**< */);
   6998 
   6999 
   7000 /*****************************************************************************
   7001  **
   7002  ** xcb_generic_iterator_t xcb_get_atom_name_name_end
   7003  **
   7004  ** @param const xcb_get_atom_name_reply_t *R
   7005  ** @returns xcb_generic_iterator_t
   7006  **
   7007  *****************************************************************************/
   7008 
   7009 xcb_generic_iterator_t
   7010 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R  /**< */);
   7011 
   7012 /**
   7013  * Return the reply
   7014  * @param c      The connection
   7015  * @param cookie The cookie
   7016  * @param e      The xcb_generic_error_t supplied
   7017  *
   7018  * Returns the reply of the request asked by
   7019  *
   7020  * The parameter @p e supplied to this function must be NULL if
   7021  * xcb_get_atom_name_unchecked(). is used.
   7022  * Otherwise, it stores the error if any.
   7023  *
   7024  * The returned value must be freed by the caller using free().
   7025  */
   7026 
   7027 /*****************************************************************************
   7028  **
   7029  ** xcb_get_atom_name_reply_t * xcb_get_atom_name_reply
   7030  **
   7031  ** @param xcb_connection_t            *c
   7032  ** @param xcb_get_atom_name_cookie_t   cookie
   7033  ** @param xcb_generic_error_t        **e
   7034  ** @returns xcb_get_atom_name_reply_t *
   7035  **
   7036  *****************************************************************************/
   7037 
   7038 xcb_get_atom_name_reply_t *
   7039 xcb_get_atom_name_reply (xcb_connection_t            *c  /**< */,
   7040                          xcb_get_atom_name_cookie_t   cookie  /**< */,
   7041                          xcb_generic_error_t        **e  /**< */);
   7042 
   7043 /**
   7044  * Delivers a request to the X server
   7045  * @param c The connection
   7046  * @return A cookie
   7047  *
   7048  * Delivers a request to the X server.
   7049  *
   7050  * This form can be used only if the request will not cause
   7051  * a reply to be generated. Any returned error will be
   7052  * saved for handling by xcb_request_check().
   7053  */
   7054 
   7055 /*****************************************************************************
   7056  **
   7057  ** xcb_void_cookie_t xcb_change_property_checked
   7058  **
   7059  ** @param xcb_connection_t *c
   7060  ** @param uint8_t           mode
   7061  ** @param xcb_window_t      window
   7062  ** @param xcb_atom_t        property
   7063  ** @param xcb_atom_t        type
   7064  ** @param uint8_t           format
   7065  ** @param uint32_t          data_len
   7066  ** @param const void       *data
   7067  ** @returns xcb_void_cookie_t
   7068  **
   7069  *****************************************************************************/
   7070 
   7071 xcb_void_cookie_t
   7072 xcb_change_property_checked (xcb_connection_t *c  /**< */,
   7073                              uint8_t           mode  /**< */,
   7074                              xcb_window_t      window  /**< */,
   7075                              xcb_atom_t        property  /**< */,
   7076                              xcb_atom_t        type  /**< */,
   7077                              uint8_t           format  /**< */,
   7078                              uint32_t          data_len  /**< */,
   7079                              const void       *data  /**< */);
   7080 
   7081 /**
   7082  * Delivers a request to the X server
   7083  * @param c The connection
   7084  * @return A cookie
   7085  *
   7086  * Delivers a request to the X server.
   7087  *
   7088  */
   7089 
   7090 /*****************************************************************************
   7091  **
   7092  ** xcb_void_cookie_t xcb_change_property
   7093  **
   7094  ** @param xcb_connection_t *c
   7095  ** @param uint8_t           mode
   7096  ** @param xcb_window_t      window
   7097  ** @param xcb_atom_t        property
   7098  ** @param xcb_atom_t        type
   7099  ** @param uint8_t           format
   7100  ** @param uint32_t          data_len
   7101  ** @param const void       *data
   7102  ** @returns xcb_void_cookie_t
   7103  **
   7104  *****************************************************************************/
   7105 
   7106 xcb_void_cookie_t
   7107 xcb_change_property (xcb_connection_t *c  /**< */,
   7108                      uint8_t           mode  /**< */,
   7109                      xcb_window_t      window  /**< */,
   7110                      xcb_atom_t        property  /**< */,
   7111                      xcb_atom_t        type  /**< */,
   7112                      uint8_t           format  /**< */,
   7113                      uint32_t          data_len  /**< */,
   7114                      const void       *data  /**< */);
   7115 
   7116 /**
   7117  * Delivers a request to the X server
   7118  * @param c The connection
   7119  * @return A cookie
   7120  *
   7121  * Delivers a request to the X server.
   7122  *
   7123  * This form can be used only if the request will not cause
   7124  * a reply to be generated. Any returned error will be
   7125  * saved for handling by xcb_request_check().
   7126  */
   7127 
   7128 /*****************************************************************************
   7129  **
   7130  ** xcb_void_cookie_t xcb_delete_property_checked
   7131  **
   7132  ** @param xcb_connection_t *c
   7133  ** @param xcb_window_t      window
   7134  ** @param xcb_atom_t        property
   7135  ** @returns xcb_void_cookie_t
   7136  **
   7137  *****************************************************************************/
   7138 
   7139 xcb_void_cookie_t
   7140 xcb_delete_property_checked (xcb_connection_t *c  /**< */,
   7141                              xcb_window_t      window  /**< */,
   7142                              xcb_atom_t        property  /**< */);
   7143 
   7144 /**
   7145  * Delivers a request to the X server
   7146  * @param c The connection
   7147  * @return A cookie
   7148  *
   7149  * Delivers a request to the X server.
   7150  *
   7151  */
   7152 
   7153 /*****************************************************************************
   7154  **
   7155  ** xcb_void_cookie_t xcb_delete_property
   7156  **
   7157  ** @param xcb_connection_t *c
   7158  ** @param xcb_window_t      window
   7159  ** @param xcb_atom_t        property
   7160  ** @returns xcb_void_cookie_t
   7161  **
   7162  *****************************************************************************/
   7163 
   7164 xcb_void_cookie_t
   7165 xcb_delete_property (xcb_connection_t *c  /**< */,
   7166                      xcb_window_t      window  /**< */,
   7167                      xcb_atom_t        property  /**< */);
   7168 
   7169 /**
   7170  * Delivers a request to the X server
   7171  * @param c The connection
   7172  * @return A cookie
   7173  *
   7174  * Delivers a request to the X server.
   7175  *
   7176  */
   7177 
   7178 /*****************************************************************************
   7179  **
   7180  ** xcb_get_property_cookie_t xcb_get_property
   7181  **
   7182  ** @param xcb_connection_t *c
   7183  ** @param uint8_t           _delete
   7184  ** @param xcb_window_t      window
   7185  ** @param xcb_atom_t        property
   7186  ** @param xcb_atom_t        type
   7187  ** @param uint32_t          long_offset
   7188  ** @param uint32_t          long_length
   7189  ** @returns xcb_get_property_cookie_t
   7190  **
   7191  *****************************************************************************/
   7192 
   7193 xcb_get_property_cookie_t
   7194 xcb_get_property (xcb_connection_t *c  /**< */,
   7195                   uint8_t           _delete  /**< */,
   7196                   xcb_window_t      window  /**< */,
   7197                   xcb_atom_t        property  /**< */,
   7198                   xcb_atom_t        type  /**< */,
   7199                   uint32_t          long_offset  /**< */,
   7200                   uint32_t          long_length  /**< */);
   7201 
   7202 /**
   7203  * Delivers a request to the X server
   7204  * @param c The connection
   7205  * @return A cookie
   7206  *
   7207  * Delivers a request to the X server.
   7208  *
   7209  * This form can be used only if the request will cause
   7210  * a reply to be generated. Any returned error will be
   7211  * placed in the event queue.
   7212  */
   7213 
   7214 /*****************************************************************************
   7215  **
   7216  ** xcb_get_property_cookie_t xcb_get_property_unchecked
   7217  **
   7218  ** @param xcb_connection_t *c
   7219  ** @param uint8_t           _delete
   7220  ** @param xcb_window_t      window
   7221  ** @param xcb_atom_t        property
   7222  ** @param xcb_atom_t        type
   7223  ** @param uint32_t          long_offset
   7224  ** @param uint32_t          long_length
   7225  ** @returns xcb_get_property_cookie_t
   7226  **
   7227  *****************************************************************************/
   7228 
   7229 xcb_get_property_cookie_t
   7230 xcb_get_property_unchecked (xcb_connection_t *c  /**< */,
   7231                             uint8_t           _delete  /**< */,
   7232                             xcb_window_t      window  /**< */,
   7233                             xcb_atom_t        property  /**< */,
   7234                             xcb_atom_t        type  /**< */,
   7235                             uint32_t          long_offset  /**< */,
   7236                             uint32_t          long_length  /**< */);
   7237 
   7238 
   7239 /*****************************************************************************
   7240  **
   7241  ** void * xcb_get_property_value
   7242  **
   7243  ** @param const xcb_get_property_reply_t *R
   7244  ** @returns void *
   7245  **
   7246  *****************************************************************************/
   7247 
   7248 void *
   7249 xcb_get_property_value (const xcb_get_property_reply_t *R  /**< */);
   7250 
   7251 
   7252 /*****************************************************************************
   7253  **
   7254  ** int xcb_get_property_value_length
   7255  **
   7256  ** @param const xcb_get_property_reply_t *R
   7257  ** @returns int
   7258  **
   7259  *****************************************************************************/
   7260 
   7261 int
   7262 xcb_get_property_value_length (const xcb_get_property_reply_t *R  /**< */);
   7263 
   7264 
   7265 /*****************************************************************************
   7266  **
   7267  ** xcb_generic_iterator_t xcb_get_property_value_end
   7268  **
   7269  ** @param const xcb_get_property_reply_t *R
   7270  ** @returns xcb_generic_iterator_t
   7271  **
   7272  *****************************************************************************/
   7273 
   7274 xcb_generic_iterator_t
   7275 xcb_get_property_value_end (const xcb_get_property_reply_t *R  /**< */);
   7276 
   7277 /**
   7278  * Return the reply
   7279  * @param c      The connection
   7280  * @param cookie The cookie
   7281  * @param e      The xcb_generic_error_t supplied
   7282  *
   7283  * Returns the reply of the request asked by
   7284  *
   7285  * The parameter @p e supplied to this function must be NULL if
   7286  * xcb_get_property_unchecked(). is used.
   7287  * Otherwise, it stores the error if any.
   7288  *
   7289  * The returned value must be freed by the caller using free().
   7290  */
   7291 
   7292 /*****************************************************************************
   7293  **
   7294  ** xcb_get_property_reply_t * xcb_get_property_reply
   7295  **
   7296  ** @param xcb_connection_t           *c
   7297  ** @param xcb_get_property_cookie_t   cookie
   7298  ** @param xcb_generic_error_t       **e
   7299  ** @returns xcb_get_property_reply_t *
   7300  **
   7301  *****************************************************************************/
   7302 
   7303 xcb_get_property_reply_t *
   7304 xcb_get_property_reply (xcb_connection_t           *c  /**< */,
   7305                         xcb_get_property_cookie_t   cookie  /**< */,
   7306                         xcb_generic_error_t       **e  /**< */);
   7307 
   7308 /**
   7309  * Delivers a request to the X server
   7310  * @param c The connection
   7311  * @return A cookie
   7312  *
   7313  * Delivers a request to the X server.
   7314  *
   7315  */
   7316 
   7317 /*****************************************************************************
   7318  **
   7319  ** xcb_list_properties_cookie_t xcb_list_properties
   7320  **
   7321  ** @param xcb_connection_t *c
   7322  ** @param xcb_window_t      window
   7323  ** @returns xcb_list_properties_cookie_t
   7324  **
   7325  *****************************************************************************/
   7326 
   7327 xcb_list_properties_cookie_t
   7328 xcb_list_properties (xcb_connection_t *c  /**< */,
   7329                      xcb_window_t      window  /**< */);
   7330 
   7331 /**
   7332  * Delivers a request to the X server
   7333  * @param c The connection
   7334  * @return A cookie
   7335  *
   7336  * Delivers a request to the X server.
   7337  *
   7338  * This form can be used only if the request will cause
   7339  * a reply to be generated. Any returned error will be
   7340  * placed in the event queue.
   7341  */
   7342 
   7343 /*****************************************************************************
   7344  **
   7345  ** xcb_list_properties_cookie_t xcb_list_properties_unchecked
   7346  **
   7347  ** @param xcb_connection_t *c
   7348  ** @param xcb_window_t      window
   7349  ** @returns xcb_list_properties_cookie_t
   7350  **
   7351  *****************************************************************************/
   7352 
   7353 xcb_list_properties_cookie_t
   7354 xcb_list_properties_unchecked (xcb_connection_t *c  /**< */,
   7355                                xcb_window_t      window  /**< */);
   7356 
   7357 
   7358 /*****************************************************************************
   7359  **
   7360  ** xcb_atom_t * xcb_list_properties_atoms
   7361  **
   7362  ** @param const xcb_list_properties_reply_t *R
   7363  ** @returns xcb_atom_t *
   7364  **
   7365  *****************************************************************************/
   7366 
   7367 xcb_atom_t *
   7368 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R  /**< */);
   7369 
   7370 
   7371 /*****************************************************************************
   7372  **
   7373  ** int xcb_list_properties_atoms_length
   7374  **
   7375  ** @param const xcb_list_properties_reply_t *R
   7376  ** @returns int
   7377  **
   7378  *****************************************************************************/
   7379 
   7380 int
   7381 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R  /**< */);
   7382 
   7383 
   7384 /*****************************************************************************
   7385  **
   7386  ** xcb_generic_iterator_t xcb_list_properties_atoms_end
   7387  **
   7388  ** @param const xcb_list_properties_reply_t *R
   7389  ** @returns xcb_generic_iterator_t
   7390  **
   7391  *****************************************************************************/
   7392 
   7393 xcb_generic_iterator_t
   7394 xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R  /**< */);
   7395 
   7396 /**
   7397  * Return the reply
   7398  * @param c      The connection
   7399  * @param cookie The cookie
   7400  * @param e      The xcb_generic_error_t supplied
   7401  *
   7402  * Returns the reply of the request asked by
   7403  *
   7404  * The parameter @p e supplied to this function must be NULL if
   7405  * xcb_list_properties_unchecked(). is used.
   7406  * Otherwise, it stores the error if any.
   7407  *
   7408  * The returned value must be freed by the caller using free().
   7409  */
   7410 
   7411 /*****************************************************************************
   7412  **
   7413  ** xcb_list_properties_reply_t * xcb_list_properties_reply
   7414  **
   7415  ** @param xcb_connection_t              *c
   7416  ** @param xcb_list_properties_cookie_t   cookie
   7417  ** @param xcb_generic_error_t          **e
   7418  ** @returns xcb_list_properties_reply_t *
   7419  **
   7420  *****************************************************************************/
   7421 
   7422 xcb_list_properties_reply_t *
   7423 xcb_list_properties_reply (xcb_connection_t              *c  /**< */,
   7424                            xcb_list_properties_cookie_t   cookie  /**< */,
   7425                            xcb_generic_error_t          **e  /**< */);
   7426 
   7427 /**
   7428  * Delivers a request to the X server
   7429  * @param c The connection
   7430  * @return A cookie
   7431  *
   7432  * Delivers a request to the X server.
   7433  *
   7434  * This form can be used only if the request will not cause
   7435  * a reply to be generated. Any returned error will be
   7436  * saved for handling by xcb_request_check().
   7437  */
   7438 
   7439 /*****************************************************************************
   7440  **
   7441  ** xcb_void_cookie_t xcb_set_selection_owner_checked
   7442  **
   7443  ** @param xcb_connection_t *c
   7444  ** @param xcb_window_t      owner
   7445  ** @param xcb_atom_t        selection
   7446  ** @param xcb_timestamp_t   time
   7447  ** @returns xcb_void_cookie_t
   7448  **
   7449  *****************************************************************************/
   7450 
   7451 xcb_void_cookie_t
   7452 xcb_set_selection_owner_checked (xcb_connection_t *c  /**< */,
   7453                                  xcb_window_t      owner  /**< */,
   7454                                  xcb_atom_t        selection  /**< */,
   7455                                  xcb_timestamp_t   time  /**< */);
   7456 
   7457 /**
   7458  * Delivers a request to the X server
   7459  * @param c The connection
   7460  * @return A cookie
   7461  *
   7462  * Delivers a request to the X server.
   7463  *
   7464  */
   7465 
   7466 /*****************************************************************************
   7467  **
   7468  ** xcb_void_cookie_t xcb_set_selection_owner
   7469  **
   7470  ** @param xcb_connection_t *c
   7471  ** @param xcb_window_t      owner
   7472  ** @param xcb_atom_t        selection
   7473  ** @param xcb_timestamp_t   time
   7474  ** @returns xcb_void_cookie_t
   7475  **
   7476  *****************************************************************************/
   7477 
   7478 xcb_void_cookie_t
   7479 xcb_set_selection_owner (xcb_connection_t *c  /**< */,
   7480                          xcb_window_t      owner  /**< */,
   7481                          xcb_atom_t        selection  /**< */,
   7482                          xcb_timestamp_t   time  /**< */);
   7483 
   7484 /**
   7485  * Delivers a request to the X server
   7486  * @param c The connection
   7487  * @return A cookie
   7488  *
   7489  * Delivers a request to the X server.
   7490  *
   7491  */
   7492 
   7493 /*****************************************************************************
   7494  **
   7495  ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner
   7496  **
   7497  ** @param xcb_connection_t *c
   7498  ** @param xcb_atom_t        selection
   7499  ** @returns xcb_get_selection_owner_cookie_t
   7500  **
   7501  *****************************************************************************/
   7502 
   7503 xcb_get_selection_owner_cookie_t
   7504 xcb_get_selection_owner (xcb_connection_t *c  /**< */,
   7505                          xcb_atom_t        selection  /**< */);
   7506 
   7507 /**
   7508  * Delivers a request to the X server
   7509  * @param c The connection
   7510  * @return A cookie
   7511  *
   7512  * Delivers a request to the X server.
   7513  *
   7514  * This form can be used only if the request will cause
   7515  * a reply to be generated. Any returned error will be
   7516  * placed in the event queue.
   7517  */
   7518 
   7519 /*****************************************************************************
   7520  **
   7521  ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked
   7522  **
   7523  ** @param xcb_connection_t *c
   7524  ** @param xcb_atom_t        selection
   7525  ** @returns xcb_get_selection_owner_cookie_t
   7526  **
   7527  *****************************************************************************/
   7528 
   7529 xcb_get_selection_owner_cookie_t
   7530 xcb_get_selection_owner_unchecked (xcb_connection_t *c  /**< */,
   7531                                    xcb_atom_t        selection  /**< */);
   7532 
   7533 /**
   7534  * Return the reply
   7535  * @param c      The connection
   7536  * @param cookie The cookie
   7537  * @param e      The xcb_generic_error_t supplied
   7538  *
   7539  * Returns the reply of the request asked by
   7540  *
   7541  * The parameter @p e supplied to this function must be NULL if
   7542  * xcb_get_selection_owner_unchecked(). is used.
   7543  * Otherwise, it stores the error if any.
   7544  *
   7545  * The returned value must be freed by the caller using free().
   7546  */
   7547 
   7548 /*****************************************************************************
   7549  **
   7550  ** xcb_get_selection_owner_reply_t * xcb_get_selection_owner_reply
   7551  **
   7552  ** @param xcb_connection_t                  *c
   7553  ** @param xcb_get_selection_owner_cookie_t   cookie
   7554  ** @param xcb_generic_error_t              **e
   7555  ** @returns xcb_get_selection_owner_reply_t *
   7556  **
   7557  *****************************************************************************/
   7558 
   7559 xcb_get_selection_owner_reply_t *
   7560 xcb_get_selection_owner_reply (xcb_connection_t                  *c  /**< */,
   7561                                xcb_get_selection_owner_cookie_t   cookie  /**< */,
   7562                                xcb_generic_error_t              **e  /**< */);
   7563 
   7564 /**
   7565  * Delivers a request to the X server
   7566  * @param c The connection
   7567  * @return A cookie
   7568  *
   7569  * Delivers a request to the X server.
   7570  *
   7571  * This form can be used only if the request will not cause
   7572  * a reply to be generated. Any returned error will be
   7573  * saved for handling by xcb_request_check().
   7574  */
   7575 
   7576 /*****************************************************************************
   7577  **
   7578  ** xcb_void_cookie_t xcb_convert_selection_checked
   7579  **
   7580  ** @param xcb_connection_t *c
   7581  ** @param xcb_window_t      requestor
   7582  ** @param xcb_atom_t        selection
   7583  ** @param xcb_atom_t        target
   7584  ** @param xcb_atom_t        property
   7585  ** @param xcb_timestamp_t   time
   7586  ** @returns xcb_void_cookie_t
   7587  **
   7588  *****************************************************************************/
   7589 
   7590 xcb_void_cookie_t
   7591 xcb_convert_selection_checked (xcb_connection_t *c  /**< */,
   7592                                xcb_window_t      requestor  /**< */,
   7593                                xcb_atom_t        selection  /**< */,
   7594                                xcb_atom_t        target  /**< */,
   7595                                xcb_atom_t        property  /**< */,
   7596                                xcb_timestamp_t   time  /**< */);
   7597 
   7598 /**
   7599  * Delivers a request to the X server
   7600  * @param c The connection
   7601  * @return A cookie
   7602  *
   7603  * Delivers a request to the X server.
   7604  *
   7605  */
   7606 
   7607 /*****************************************************************************
   7608  **
   7609  ** xcb_void_cookie_t xcb_convert_selection
   7610  **
   7611  ** @param xcb_connection_t *c
   7612  ** @param xcb_window_t      requestor
   7613  ** @param xcb_atom_t        selection
   7614  ** @param xcb_atom_t        target
   7615  ** @param xcb_atom_t        property
   7616  ** @param xcb_timestamp_t   time
   7617  ** @returns xcb_void_cookie_t
   7618  **
   7619  *****************************************************************************/
   7620 
   7621 xcb_void_cookie_t
   7622 xcb_convert_selection (xcb_connection_t *c  /**< */,
   7623                        xcb_window_t      requestor  /**< */,
   7624                        xcb_atom_t        selection  /**< */,
   7625                        xcb_atom_t        target  /**< */,
   7626                        xcb_atom_t        property  /**< */,
   7627                        xcb_timestamp_t   time  /**< */);
   7628 
   7629 /**
   7630  * Delivers a request to the X server
   7631  * @param c The connection
   7632  * @return A cookie
   7633  *
   7634  * Delivers a request to the X server.
   7635  *
   7636  * This form can be used only if the request will not cause
   7637  * a reply to be generated. Any returned error will be
   7638  * saved for handling by xcb_request_check().
   7639  */
   7640 
   7641 /*****************************************************************************
   7642  **
   7643  ** xcb_void_cookie_t xcb_send_event_checked
   7644  **
   7645  ** @param xcb_connection_t *c
   7646  ** @param uint8_t           propagate
   7647  ** @param xcb_window_t      destination
   7648  ** @param uint32_t          event_mask
   7649  ** @param const char       *event
   7650  ** @returns xcb_void_cookie_t
   7651  **
   7652  *****************************************************************************/
   7653 
   7654 xcb_void_cookie_t
   7655 xcb_send_event_checked (xcb_connection_t *c  /**< */,
   7656                         uint8_t           propagate  /**< */,
   7657                         xcb_window_t      destination  /**< */,
   7658                         uint32_t          event_mask  /**< */,
   7659                         const char       *event  /**< */);
   7660 
   7661 /**
   7662  * Delivers a request to the X server
   7663  * @param c The connection
   7664  * @return A cookie
   7665  *
   7666  * Delivers a request to the X server.
   7667  *
   7668  */
   7669 
   7670 /*****************************************************************************
   7671  **
   7672  ** xcb_void_cookie_t xcb_send_event
   7673  **
   7674  ** @param xcb_connection_t *c
   7675  ** @param uint8_t           propagate
   7676  ** @param xcb_window_t      destination
   7677  ** @param uint32_t          event_mask
   7678  ** @param const char       *event
   7679  ** @returns xcb_void_cookie_t
   7680  **
   7681  *****************************************************************************/
   7682 
   7683 xcb_void_cookie_t
   7684 xcb_send_event (xcb_connection_t *c  /**< */,
   7685                 uint8_t           propagate  /**< */,
   7686                 xcb_window_t      destination  /**< */,
   7687                 uint32_t          event_mask  /**< */,
   7688                 const char       *event  /**< */);
   7689 
   7690 /**
   7691  * Delivers a request to the X server
   7692  * @param c The connection
   7693  * @return A cookie
   7694  *
   7695  * Delivers a request to the X server.
   7696  *
   7697  */
   7698 
   7699 /*****************************************************************************
   7700  **
   7701  ** xcb_grab_pointer_cookie_t xcb_grab_pointer
   7702  **
   7703  ** @param xcb_connection_t *c
   7704  ** @param uint8_t           owner_events
   7705  ** @param xcb_window_t      grab_window
   7706  ** @param uint16_t          event_mask
   7707  ** @param uint8_t           pointer_mode
   7708  ** @param uint8_t           keyboard_mode
   7709  ** @param xcb_window_t      confine_to
   7710  ** @param xcb_cursor_t      cursor
   7711  ** @param xcb_timestamp_t   time
   7712  ** @returns xcb_grab_pointer_cookie_t
   7713  **
   7714  *****************************************************************************/
   7715 
   7716 xcb_grab_pointer_cookie_t
   7717 xcb_grab_pointer (xcb_connection_t *c  /**< */,
   7718                   uint8_t           owner_events  /**< */,
   7719                   xcb_window_t      grab_window  /**< */,
   7720                   uint16_t          event_mask  /**< */,
   7721                   uint8_t           pointer_mode  /**< */,
   7722                   uint8_t           keyboard_mode  /**< */,
   7723                   xcb_window_t      confine_to  /**< */,
   7724                   xcb_cursor_t      cursor  /**< */,
   7725                   xcb_timestamp_t   time  /**< */);
   7726 
   7727 /**
   7728  * Delivers a request to the X server
   7729  * @param c The connection
   7730  * @return A cookie
   7731  *
   7732  * Delivers a request to the X server.
   7733  *
   7734  * This form can be used only if the request will cause
   7735  * a reply to be generated. Any returned error will be
   7736  * placed in the event queue.
   7737  */
   7738 
   7739 /*****************************************************************************
   7740  **
   7741  ** xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked
   7742  **
   7743  ** @param xcb_connection_t *c
   7744  ** @param uint8_t           owner_events
   7745  ** @param xcb_window_t      grab_window
   7746  ** @param uint16_t          event_mask
   7747  ** @param uint8_t           pointer_mode
   7748  ** @param uint8_t           keyboard_mode
   7749  ** @param xcb_window_t      confine_to
   7750  ** @param xcb_cursor_t      cursor
   7751  ** @param xcb_timestamp_t   time
   7752  ** @returns xcb_grab_pointer_cookie_t
   7753  **
   7754  *****************************************************************************/
   7755 
   7756 xcb_grab_pointer_cookie_t
   7757 xcb_grab_pointer_unchecked (xcb_connection_t *c  /**< */,
   7758                             uint8_t           owner_events  /**< */,
   7759                             xcb_window_t      grab_window  /**< */,
   7760                             uint16_t          event_mask  /**< */,
   7761                             uint8_t           pointer_mode  /**< */,
   7762                             uint8_t           keyboard_mode  /**< */,
   7763                             xcb_window_t      confine_to  /**< */,
   7764                             xcb_cursor_t      cursor  /**< */,
   7765                             xcb_timestamp_t   time  /**< */);
   7766 
   7767 /**
   7768  * Return the reply
   7769  * @param c      The connection
   7770  * @param cookie The cookie
   7771  * @param e      The xcb_generic_error_t supplied
   7772  *
   7773  * Returns the reply of the request asked by
   7774  *
   7775  * The parameter @p e supplied to this function must be NULL if
   7776  * xcb_grab_pointer_unchecked(). is used.
   7777  * Otherwise, it stores the error if any.
   7778  *
   7779  * The returned value must be freed by the caller using free().
   7780  */
   7781 
   7782 /*****************************************************************************
   7783  **
   7784  ** xcb_grab_pointer_reply_t * xcb_grab_pointer_reply
   7785  **
   7786  ** @param xcb_connection_t           *c
   7787  ** @param xcb_grab_pointer_cookie_t   cookie
   7788  ** @param xcb_generic_error_t       **e
   7789  ** @returns xcb_grab_pointer_reply_t *
   7790  **
   7791  *****************************************************************************/
   7792 
   7793 xcb_grab_pointer_reply_t *
   7794 xcb_grab_pointer_reply (xcb_connection_t           *c  /**< */,
   7795                         xcb_grab_pointer_cookie_t   cookie  /**< */,
   7796                         xcb_generic_error_t       **e  /**< */);
   7797 
   7798 /**
   7799  * Delivers a request to the X server
   7800  * @param c The connection
   7801  * @return A cookie
   7802  *
   7803  * Delivers a request to the X server.
   7804  *
   7805  * This form can be used only if the request will not cause
   7806  * a reply to be generated. Any returned error will be
   7807  * saved for handling by xcb_request_check().
   7808  */
   7809 
   7810 /*****************************************************************************
   7811  **
   7812  ** xcb_void_cookie_t xcb_ungrab_pointer_checked
   7813  **
   7814  ** @param xcb_connection_t *c
   7815  ** @param xcb_timestamp_t   time
   7816  ** @returns xcb_void_cookie_t
   7817  **
   7818  *****************************************************************************/
   7819 
   7820 xcb_void_cookie_t
   7821 xcb_ungrab_pointer_checked (xcb_connection_t *c  /**< */,
   7822                             xcb_timestamp_t   time  /**< */);
   7823 
   7824 /**
   7825  * Delivers a request to the X server
   7826  * @param c The connection
   7827  * @return A cookie
   7828  *
   7829  * Delivers a request to the X server.
   7830  *
   7831  */
   7832 
   7833 /*****************************************************************************
   7834  **
   7835  ** xcb_void_cookie_t xcb_ungrab_pointer
   7836  **
   7837  ** @param xcb_connection_t *c
   7838  ** @param xcb_timestamp_t   time
   7839  ** @returns xcb_void_cookie_t
   7840  **
   7841  *****************************************************************************/
   7842 
   7843 xcb_void_cookie_t
   7844 xcb_ungrab_pointer (xcb_connection_t *c  /**< */,
   7845                     xcb_timestamp_t   time  /**< */);
   7846 
   7847 /**
   7848  * Delivers a request to the X server
   7849  * @param c The connection
   7850  * @return A cookie
   7851  *
   7852  * Delivers a request to the X server.
   7853  *
   7854  * This form can be used only if the request will not cause
   7855  * a reply to be generated. Any returned error will be
   7856  * saved for handling by xcb_request_check().
   7857  */
   7858 
   7859 /*****************************************************************************
   7860  **
   7861  ** xcb_void_cookie_t xcb_grab_button_checked
   7862  **
   7863  ** @param xcb_connection_t *c
   7864  ** @param uint8_t           owner_events
   7865  ** @param xcb_window_t      grab_window
   7866  ** @param uint16_t          event_mask
   7867  ** @param uint8_t           pointer_mode
   7868  ** @param uint8_t           keyboard_mode
   7869  ** @param xcb_window_t      confine_to
   7870  ** @param xcb_cursor_t      cursor
   7871  ** @param uint8_t           button
   7872  ** @param uint16_t          modifiers
   7873  ** @returns xcb_void_cookie_t
   7874  **
   7875  *****************************************************************************/
   7876 
   7877 xcb_void_cookie_t
   7878 xcb_grab_button_checked (xcb_connection_t *c  /**< */,
   7879                          uint8_t           owner_events  /**< */,
   7880                          xcb_window_t      grab_window  /**< */,
   7881                          uint16_t          event_mask  /**< */,
   7882                          uint8_t           pointer_mode  /**< */,
   7883                          uint8_t           keyboard_mode  /**< */,
   7884                          xcb_window_t      confine_to  /**< */,
   7885                          xcb_cursor_t      cursor  /**< */,
   7886                          uint8_t           button  /**< */,
   7887                          uint16_t          modifiers  /**< */);
   7888 
   7889 /**
   7890  * Delivers a request to the X server
   7891  * @param c The connection
   7892  * @return A cookie
   7893  *
   7894  * Delivers a request to the X server.
   7895  *
   7896  */
   7897 
   7898 /*****************************************************************************
   7899  **
   7900  ** xcb_void_cookie_t xcb_grab_button
   7901  **
   7902  ** @param xcb_connection_t *c
   7903  ** @param uint8_t           owner_events
   7904  ** @param xcb_window_t      grab_window
   7905  ** @param uint16_t          event_mask
   7906  ** @param uint8_t           pointer_mode
   7907  ** @param uint8_t           keyboard_mode
   7908  ** @param xcb_window_t      confine_to
   7909  ** @param xcb_cursor_t      cursor
   7910  ** @param uint8_t           button
   7911  ** @param uint16_t          modifiers
   7912  ** @returns xcb_void_cookie_t
   7913  **
   7914  *****************************************************************************/
   7915 
   7916 xcb_void_cookie_t
   7917 xcb_grab_button (xcb_connection_t *c  /**< */,
   7918                  uint8_t           owner_events  /**< */,
   7919                  xcb_window_t      grab_window  /**< */,
   7920                  uint16_t          event_mask  /**< */,
   7921                  uint8_t           pointer_mode  /**< */,
   7922                  uint8_t           keyboard_mode  /**< */,
   7923                  xcb_window_t      confine_to  /**< */,
   7924                  xcb_cursor_t      cursor  /**< */,
   7925                  uint8_t           button  /**< */,
   7926                  uint16_t          modifiers  /**< */);
   7927 
   7928 /**
   7929  * Delivers a request to the X server
   7930  * @param c The connection
   7931  * @return A cookie
   7932  *
   7933  * Delivers a request to the X server.
   7934  *
   7935  * This form can be used only if the request will not cause
   7936  * a reply to be generated. Any returned error will be
   7937  * saved for handling by xcb_request_check().
   7938  */
   7939 
   7940 /*****************************************************************************
   7941  **
   7942  ** xcb_void_cookie_t xcb_ungrab_button_checked
   7943  **
   7944  ** @param xcb_connection_t *c
   7945  ** @param uint8_t           button
   7946  ** @param xcb_window_t      grab_window
   7947  ** @param uint16_t          modifiers
   7948  ** @returns xcb_void_cookie_t
   7949  **
   7950  *****************************************************************************/
   7951 
   7952 xcb_void_cookie_t
   7953 xcb_ungrab_button_checked (xcb_connection_t *c  /**< */,
   7954                            uint8_t           button  /**< */,
   7955                            xcb_window_t      grab_window  /**< */,
   7956                            uint16_t          modifiers  /**< */);
   7957 
   7958 /**
   7959  * Delivers a request to the X server
   7960  * @param c The connection
   7961  * @return A cookie
   7962  *
   7963  * Delivers a request to the X server.
   7964  *
   7965  */
   7966 
   7967 /*****************************************************************************
   7968  **
   7969  ** xcb_void_cookie_t xcb_ungrab_button
   7970  **
   7971  ** @param xcb_connection_t *c
   7972  ** @param uint8_t           button
   7973  ** @param xcb_window_t      grab_window
   7974  ** @param uint16_t          modifiers
   7975  ** @returns xcb_void_cookie_t
   7976  **
   7977  *****************************************************************************/
   7978 
   7979 xcb_void_cookie_t
   7980 xcb_ungrab_button (xcb_connection_t *c  /**< */,
   7981                    uint8_t           button  /**< */,
   7982                    xcb_window_t      grab_window  /**< */,
   7983                    uint16_t          modifiers  /**< */);
   7984 
   7985 /**
   7986  * Delivers a request to the X server
   7987  * @param c The connection
   7988  * @return A cookie
   7989  *
   7990  * Delivers a request to the X server.
   7991  *
   7992  * This form can be used only if the request will not cause
   7993  * a reply to be generated. Any returned error will be
   7994  * saved for handling by xcb_request_check().
   7995  */
   7996 
   7997 /*****************************************************************************
   7998  **
   7999  ** xcb_void_cookie_t xcb_change_active_pointer_grab_checked
   8000  **
   8001  ** @param xcb_connection_t *c
   8002  ** @param xcb_cursor_t      cursor
   8003  ** @param xcb_timestamp_t   time
   8004  ** @param uint16_t          event_mask
   8005  ** @returns xcb_void_cookie_t
   8006  **
   8007  *****************************************************************************/
   8008 
   8009 xcb_void_cookie_t
   8010 xcb_change_active_pointer_grab_checked (xcb_connection_t *c  /**< */,
   8011                                         xcb_cursor_t      cursor  /**< */,
   8012                                         xcb_timestamp_t   time  /**< */,
   8013                                         uint16_t          event_mask  /**< */);
   8014 
   8015 /**
   8016  * Delivers a request to the X server
   8017  * @param c The connection
   8018  * @return A cookie
   8019  *
   8020  * Delivers a request to the X server.
   8021  *
   8022  */
   8023 
   8024 /*****************************************************************************
   8025  **
   8026  ** xcb_void_cookie_t xcb_change_active_pointer_grab
   8027  **
   8028  ** @param xcb_connection_t *c
   8029  ** @param xcb_cursor_t      cursor
   8030  ** @param xcb_timestamp_t   time
   8031  ** @param uint16_t          event_mask
   8032  ** @returns xcb_void_cookie_t
   8033  **
   8034  *****************************************************************************/
   8035 
   8036 xcb_void_cookie_t
   8037 xcb_change_active_pointer_grab (xcb_connection_t *c  /**< */,
   8038                                 xcb_cursor_t      cursor  /**< */,
   8039                                 xcb_timestamp_t   time  /**< */,
   8040                                 uint16_t          event_mask  /**< */);
   8041 
   8042 /**
   8043  * Delivers a request to the X server
   8044  * @param c The connection
   8045  * @return A cookie
   8046  *
   8047  * Delivers a request to the X server.
   8048  *
   8049  */
   8050 
   8051 /*****************************************************************************
   8052  **
   8053  ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard
   8054  **
   8055  ** @param xcb_connection_t *c
   8056  ** @param uint8_t           owner_events
   8057  ** @param xcb_window_t      grab_window
   8058  ** @param xcb_timestamp_t   time
   8059  ** @param uint8_t           pointer_mode
   8060  ** @param uint8_t           keyboard_mode
   8061  ** @returns xcb_grab_keyboard_cookie_t
   8062  **
   8063  *****************************************************************************/
   8064 
   8065 xcb_grab_keyboard_cookie_t
   8066 xcb_grab_keyboard (xcb_connection_t *c  /**< */,
   8067                    uint8_t           owner_events  /**< */,
   8068                    xcb_window_t      grab_window  /**< */,
   8069                    xcb_timestamp_t   time  /**< */,
   8070                    uint8_t           pointer_mode  /**< */,
   8071                    uint8_t           keyboard_mode  /**< */);
   8072 
   8073 /**
   8074  * Delivers a request to the X server
   8075  * @param c The connection
   8076  * @return A cookie
   8077  *
   8078  * Delivers a request to the X server.
   8079  *
   8080  * This form can be used only if the request will cause
   8081  * a reply to be generated. Any returned error will be
   8082  * placed in the event queue.
   8083  */
   8084 
   8085 /*****************************************************************************
   8086  **
   8087  ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked
   8088  **
   8089  ** @param xcb_connection_t *c
   8090  ** @param uint8_t           owner_events
   8091  ** @param xcb_window_t      grab_window
   8092  ** @param xcb_timestamp_t   time
   8093  ** @param uint8_t           pointer_mode
   8094  ** @param uint8_t           keyboard_mode
   8095  ** @returns xcb_grab_keyboard_cookie_t
   8096  **
   8097  *****************************************************************************/
   8098 
   8099 xcb_grab_keyboard_cookie_t
   8100 xcb_grab_keyboard_unchecked (xcb_connection_t *c  /**< */,
   8101                              uint8_t           owner_events  /**< */,
   8102                              xcb_window_t      grab_window  /**< */,
   8103                              xcb_timestamp_t   time  /**< */,
   8104                              uint8_t           pointer_mode  /**< */,
   8105                              uint8_t           keyboard_mode  /**< */);
   8106 
   8107 /**
   8108  * Return the reply
   8109  * @param c      The connection
   8110  * @param cookie The cookie
   8111  * @param e      The xcb_generic_error_t supplied
   8112  *
   8113  * Returns the reply of the request asked by
   8114  *
   8115  * The parameter @p e supplied to this function must be NULL if
   8116  * xcb_grab_keyboard_unchecked(). is used.
   8117  * Otherwise, it stores the error if any.
   8118  *
   8119  * The returned value must be freed by the caller using free().
   8120  */
   8121 
   8122 /*****************************************************************************
   8123  **
   8124  ** xcb_grab_keyboard_reply_t * xcb_grab_keyboard_reply
   8125  **
   8126  ** @param xcb_connection_t            *c
   8127  ** @param xcb_grab_keyboard_cookie_t   cookie
   8128  ** @param xcb_generic_error_t        **e
   8129  ** @returns xcb_grab_keyboard_reply_t *
   8130  **
   8131  *****************************************************************************/
   8132 
   8133 xcb_grab_keyboard_reply_t *
   8134 xcb_grab_keyboard_reply (xcb_connection_t            *c  /**< */,
   8135                          xcb_grab_keyboard_cookie_t   cookie  /**< */,
   8136                          xcb_generic_error_t        **e  /**< */);
   8137 
   8138 /**
   8139  * Delivers a request to the X server
   8140  * @param c The connection
   8141  * @return A cookie
   8142  *
   8143  * Delivers a request to the X server.
   8144  *
   8145  * This form can be used only if the request will not cause
   8146  * a reply to be generated. Any returned error will be
   8147  * saved for handling by xcb_request_check().
   8148  */
   8149 
   8150 /*****************************************************************************
   8151  **
   8152  ** xcb_void_cookie_t xcb_ungrab_keyboard_checked
   8153  **
   8154  ** @param xcb_connection_t *c
   8155  ** @param xcb_timestamp_t   time
   8156  ** @returns xcb_void_cookie_t
   8157  **
   8158  *****************************************************************************/
   8159 
   8160 xcb_void_cookie_t
   8161 xcb_ungrab_keyboard_checked (xcb_connection_t *c  /**< */,
   8162                              xcb_timestamp_t   time  /**< */);
   8163 
   8164 /**
   8165  * Delivers a request to the X server
   8166  * @param c The connection
   8167  * @return A cookie
   8168  *
   8169  * Delivers a request to the X server.
   8170  *
   8171  */
   8172 
   8173 /*****************************************************************************
   8174  **
   8175  ** xcb_void_cookie_t xcb_ungrab_keyboard
   8176  **
   8177  ** @param xcb_connection_t *c
   8178  ** @param xcb_timestamp_t   time
   8179  ** @returns xcb_void_cookie_t
   8180  **
   8181  *****************************************************************************/
   8182 
   8183 xcb_void_cookie_t
   8184 xcb_ungrab_keyboard (xcb_connection_t *c  /**< */,
   8185                      xcb_timestamp_t   time  /**< */);
   8186 
   8187 /**
   8188  * Delivers a request to the X server
   8189  * @param c The connection
   8190  * @return A cookie
   8191  *
   8192  * Delivers a request to the X server.
   8193  *
   8194  * This form can be used only if the request will not cause
   8195  * a reply to be generated. Any returned error will be
   8196  * saved for handling by xcb_request_check().
   8197  */
   8198 
   8199 /*****************************************************************************
   8200  **
   8201  ** xcb_void_cookie_t xcb_grab_key_checked
   8202  **
   8203  ** @param xcb_connection_t *c
   8204  ** @param uint8_t           owner_events
   8205  ** @param xcb_window_t      grab_window
   8206  ** @param uint16_t          modifiers
   8207  ** @param xcb_keycode_t     key
   8208  ** @param uint8_t           pointer_mode
   8209  ** @param uint8_t           keyboard_mode
   8210  ** @returns xcb_void_cookie_t
   8211  **
   8212  *****************************************************************************/
   8213 
   8214 xcb_void_cookie_t
   8215 xcb_grab_key_checked (xcb_connection_t *c  /**< */,
   8216                       uint8_t           owner_events  /**< */,
   8217                       xcb_window_t      grab_window  /**< */,
   8218                       uint16_t          modifiers  /**< */,
   8219                       xcb_keycode_t     key  /**< */,
   8220                       uint8_t           pointer_mode  /**< */,
   8221                       uint8_t           keyboard_mode  /**< */);
   8222 
   8223 /**
   8224  * Delivers a request to the X server
   8225  * @param c The connection
   8226  * @return A cookie
   8227  *
   8228  * Delivers a request to the X server.
   8229  *
   8230  */
   8231 
   8232 /*****************************************************************************
   8233  **
   8234  ** xcb_void_cookie_t xcb_grab_key
   8235  **
   8236  ** @param xcb_connection_t *c
   8237  ** @param uint8_t           owner_events
   8238  ** @param xcb_window_t      grab_window
   8239  ** @param uint16_t          modifiers
   8240  ** @param xcb_keycode_t     key
   8241  ** @param uint8_t           pointer_mode
   8242  ** @param uint8_t           keyboard_mode
   8243  ** @returns xcb_void_cookie_t
   8244  **
   8245  *****************************************************************************/
   8246 
   8247 xcb_void_cookie_t
   8248 xcb_grab_key (xcb_connection_t *c  /**< */,
   8249               uint8_t           owner_events  /**< */,
   8250               xcb_window_t      grab_window  /**< */,
   8251               uint16_t          modifiers  /**< */,
   8252               xcb_keycode_t     key  /**< */,
   8253               uint8_t           pointer_mode  /**< */,
   8254               uint8_t           keyboard_mode  /**< */);
   8255 
   8256 /**
   8257  * Delivers a request to the X server
   8258  * @param c The connection
   8259  * @return A cookie
   8260  *
   8261  * Delivers a request to the X server.
   8262  *
   8263  * This form can be used only if the request will not cause
   8264  * a reply to be generated. Any returned error will be
   8265  * saved for handling by xcb_request_check().
   8266  */
   8267 
   8268 /*****************************************************************************
   8269  **
   8270  ** xcb_void_cookie_t xcb_ungrab_key_checked
   8271  **
   8272  ** @param xcb_connection_t *c
   8273  ** @param xcb_keycode_t     key
   8274  ** @param xcb_window_t      grab_window
   8275  ** @param uint16_t          modifiers
   8276  ** @returns xcb_void_cookie_t
   8277  **
   8278  *****************************************************************************/
   8279 
   8280 xcb_void_cookie_t
   8281 xcb_ungrab_key_checked (xcb_connection_t *c  /**< */,
   8282                         xcb_keycode_t     key  /**< */,
   8283                         xcb_window_t      grab_window  /**< */,
   8284                         uint16_t          modifiers  /**< */);
   8285 
   8286 /**
   8287  * Delivers a request to the X server
   8288  * @param c The connection
   8289  * @return A cookie
   8290  *
   8291  * Delivers a request to the X server.
   8292  *
   8293  */
   8294 
   8295 /*****************************************************************************
   8296  **
   8297  ** xcb_void_cookie_t xcb_ungrab_key
   8298  **
   8299  ** @param xcb_connection_t *c
   8300  ** @param xcb_keycode_t     key
   8301  ** @param xcb_window_t      grab_window
   8302  ** @param uint16_t          modifiers
   8303  ** @returns xcb_void_cookie_t
   8304  **
   8305  *****************************************************************************/
   8306 
   8307 xcb_void_cookie_t
   8308 xcb_ungrab_key (xcb_connection_t *c  /**< */,
   8309                 xcb_keycode_t     key  /**< */,
   8310                 xcb_window_t      grab_window  /**< */,
   8311                 uint16_t          modifiers  /**< */);
   8312 
   8313 /**
   8314  * Delivers a request to the X server
   8315  * @param c The connection
   8316  * @return A cookie
   8317  *
   8318  * Delivers a request to the X server.
   8319  *
   8320  * This form can be used only if the request will not cause
   8321  * a reply to be generated. Any returned error will be
   8322  * saved for handling by xcb_request_check().
   8323  */
   8324 
   8325 /*****************************************************************************
   8326  **
   8327  ** xcb_void_cookie_t xcb_allow_events_checked
   8328  **
   8329  ** @param xcb_connection_t *c
   8330  ** @param uint8_t           mode
   8331  ** @param xcb_timestamp_t   time
   8332  ** @returns xcb_void_cookie_t
   8333  **
   8334  *****************************************************************************/
   8335 
   8336 xcb_void_cookie_t
   8337 xcb_allow_events_checked (xcb_connection_t *c  /**< */,
   8338                           uint8_t           mode  /**< */,
   8339                           xcb_timestamp_t   time  /**< */);
   8340 
   8341 /**
   8342  * Delivers a request to the X server
   8343  * @param c The connection
   8344  * @return A cookie
   8345  *
   8346  * Delivers a request to the X server.
   8347  *
   8348  */
   8349 
   8350 /*****************************************************************************
   8351  **
   8352  ** xcb_void_cookie_t xcb_allow_events
   8353  **
   8354  ** @param xcb_connection_t *c
   8355  ** @param uint8_t           mode
   8356  ** @param xcb_timestamp_t   time
   8357  ** @returns xcb_void_cookie_t
   8358  **
   8359  *****************************************************************************/
   8360 
   8361 xcb_void_cookie_t
   8362 xcb_allow_events (xcb_connection_t *c  /**< */,
   8363                   uint8_t           mode  /**< */,
   8364                   xcb_timestamp_t   time  /**< */);
   8365 
   8366 /**
   8367  * Delivers a request to the X server
   8368  * @param c The connection
   8369  * @return A cookie
   8370  *
   8371  * Delivers a request to the X server.
   8372  *
   8373  * This form can be used only if the request will not cause
   8374  * a reply to be generated. Any returned error will be
   8375  * saved for handling by xcb_request_check().
   8376  */
   8377 
   8378 /*****************************************************************************
   8379  **
   8380  ** xcb_void_cookie_t xcb_grab_server_checked
   8381  **
   8382  ** @param xcb_connection_t *c
   8383  ** @returns xcb_void_cookie_t
   8384  **
   8385  *****************************************************************************/
   8386 
   8387 xcb_void_cookie_t
   8388 xcb_grab_server_checked (xcb_connection_t *c  /**< */);
   8389 
   8390 /**
   8391  * Delivers a request to the X server
   8392  * @param c The connection
   8393  * @return A cookie
   8394  *
   8395  * Delivers a request to the X server.
   8396  *
   8397  */
   8398 
   8399 /*****************************************************************************
   8400  **
   8401  ** xcb_void_cookie_t xcb_grab_server
   8402  **
   8403  ** @param xcb_connection_t *c
   8404  ** @returns xcb_void_cookie_t
   8405  **
   8406  *****************************************************************************/
   8407 
   8408 xcb_void_cookie_t
   8409 xcb_grab_server (xcb_connection_t *c  /**< */);
   8410 
   8411 /**
   8412  * Delivers a request to the X server
   8413  * @param c The connection
   8414  * @return A cookie
   8415  *
   8416  * Delivers a request to the X server.
   8417  *
   8418  * This form can be used only if the request will not cause
   8419  * a reply to be generated. Any returned error will be
   8420  * saved for handling by xcb_request_check().
   8421  */
   8422 
   8423 /*****************************************************************************
   8424  **
   8425  ** xcb_void_cookie_t xcb_ungrab_server_checked
   8426  **
   8427  ** @param xcb_connection_t *c
   8428  ** @returns xcb_void_cookie_t
   8429  **
   8430  *****************************************************************************/
   8431 
   8432 xcb_void_cookie_t
   8433 xcb_ungrab_server_checked (xcb_connection_t *c  /**< */);
   8434 
   8435 /**
   8436  * Delivers a request to the X server
   8437  * @param c The connection
   8438  * @return A cookie
   8439  *
   8440  * Delivers a request to the X server.
   8441  *
   8442  */
   8443 
   8444 /*****************************************************************************
   8445  **
   8446  ** xcb_void_cookie_t xcb_ungrab_server
   8447  **
   8448  ** @param xcb_connection_t *c
   8449  ** @returns xcb_void_cookie_t
   8450  **
   8451  *****************************************************************************/
   8452 
   8453 xcb_void_cookie_t
   8454 xcb_ungrab_server (xcb_connection_t *c  /**< */);
   8455 
   8456 /**
   8457  * Delivers a request to the X server
   8458  * @param c The connection
   8459  * @return A cookie
   8460  *
   8461  * Delivers a request to the X server.
   8462  *
   8463  */
   8464 
   8465 /*****************************************************************************
   8466  **
   8467  ** xcb_query_pointer_cookie_t xcb_query_pointer
   8468  **
   8469  ** @param xcb_connection_t *c
   8470  ** @param xcb_window_t      window
   8471  ** @returns xcb_query_pointer_cookie_t
   8472  **
   8473  *****************************************************************************/
   8474 
   8475 xcb_query_pointer_cookie_t
   8476 xcb_query_pointer (xcb_connection_t *c  /**< */,
   8477                    xcb_window_t      window  /**< */);
   8478 
   8479 /**
   8480  * Delivers a request to the X server
   8481  * @param c The connection
   8482  * @return A cookie
   8483  *
   8484  * Delivers a request to the X server.
   8485  *
   8486  * This form can be used only if the request will cause
   8487  * a reply to be generated. Any returned error will be
   8488  * placed in the event queue.
   8489  */
   8490 
   8491 /*****************************************************************************
   8492  **
   8493  ** xcb_query_pointer_cookie_t xcb_query_pointer_unchecked
   8494  **
   8495  ** @param xcb_connection_t *c
   8496  ** @param xcb_window_t      window
   8497  ** @returns xcb_query_pointer_cookie_t
   8498  **
   8499  *****************************************************************************/
   8500 
   8501 xcb_query_pointer_cookie_t
   8502 xcb_query_pointer_unchecked (xcb_connection_t *c  /**< */,
   8503                              xcb_window_t      window  /**< */);
   8504 
   8505 /**
   8506  * Return the reply
   8507  * @param c      The connection
   8508  * @param cookie The cookie
   8509  * @param e      The xcb_generic_error_t supplied
   8510  *
   8511  * Returns the reply of the request asked by
   8512  *
   8513  * The parameter @p e supplied to this function must be NULL if
   8514  * xcb_query_pointer_unchecked(). is used.
   8515  * Otherwise, it stores the error if any.
   8516  *
   8517  * The returned value must be freed by the caller using free().
   8518  */
   8519 
   8520 /*****************************************************************************
   8521  **
   8522  ** xcb_query_pointer_reply_t * xcb_query_pointer_reply
   8523  **
   8524  ** @param xcb_connection_t            *c
   8525  ** @param xcb_query_pointer_cookie_t   cookie
   8526  ** @param xcb_generic_error_t        **e
   8527  ** @returns xcb_query_pointer_reply_t *
   8528  **
   8529  *****************************************************************************/
   8530 
   8531 xcb_query_pointer_reply_t *
   8532 xcb_query_pointer_reply (xcb_connection_t            *c  /**< */,
   8533                          xcb_query_pointer_cookie_t   cookie  /**< */,
   8534                          xcb_generic_error_t        **e  /**< */);
   8535 
   8536 /**
   8537  * Get the next element of the iterator
   8538  * @param i Pointer to a xcb_timecoord_iterator_t
   8539  *
   8540  * Get the next element in the iterator. The member rem is
   8541  * decreased by one. The member data points to the next
   8542  * element. The member index is increased by sizeof(xcb_timecoord_t)
   8543  */
   8544 
   8545 /*****************************************************************************
   8546  **
   8547  ** void xcb_timecoord_next
   8548  **
   8549  ** @param xcb_timecoord_iterator_t *i
   8550  ** @returns void
   8551  **
   8552  *****************************************************************************/
   8553 
   8554 void
   8555 xcb_timecoord_next (xcb_timecoord_iterator_t *i  /**< */);
   8556 
   8557 /**
   8558  * Return the iterator pointing to the last element
   8559  * @param i An xcb_timecoord_iterator_t
   8560  * @return  The iterator pointing to the last element
   8561  *
   8562  * Set the current element in the iterator to the last element.
   8563  * The member rem is set to 0. The member data points to the
   8564  * last element.
   8565  */
   8566 
   8567 /*****************************************************************************
   8568  **
   8569  ** xcb_generic_iterator_t xcb_timecoord_end
   8570  **
   8571  ** @param xcb_timecoord_iterator_t i
   8572  ** @returns xcb_generic_iterator_t
   8573  **
   8574  *****************************************************************************/
   8575 
   8576 xcb_generic_iterator_t
   8577 xcb_timecoord_end (xcb_timecoord_iterator_t i  /**< */);
   8578 
   8579 /**
   8580  * Delivers a request to the X server
   8581  * @param c The connection
   8582  * @return A cookie
   8583  *
   8584  * Delivers a request to the X server.
   8585  *
   8586  */
   8587 
   8588 /*****************************************************************************
   8589  **
   8590  ** xcb_get_motion_events_cookie_t xcb_get_motion_events
   8591  **
   8592  ** @param xcb_connection_t *c
   8593  ** @param xcb_window_t      window
   8594  ** @param xcb_timestamp_t   start
   8595  ** @param xcb_timestamp_t   stop
   8596  ** @returns xcb_get_motion_events_cookie_t
   8597  **
   8598  *****************************************************************************/
   8599 
   8600 xcb_get_motion_events_cookie_t
   8601 xcb_get_motion_events (xcb_connection_t *c  /**< */,
   8602                        xcb_window_t      window  /**< */,
   8603                        xcb_timestamp_t   start  /**< */,
   8604                        xcb_timestamp_t   stop  /**< */);
   8605 
   8606 /**
   8607  * Delivers a request to the X server
   8608  * @param c The connection
   8609  * @return A cookie
   8610  *
   8611  * Delivers a request to the X server.
   8612  *
   8613  * This form can be used only if the request will cause
   8614  * a reply to be generated. Any returned error will be
   8615  * placed in the event queue.
   8616  */
   8617 
   8618 /*****************************************************************************
   8619  **
   8620  ** xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked
   8621  **
   8622  ** @param xcb_connection_t *c
   8623  ** @param xcb_window_t      window
   8624  ** @param xcb_timestamp_t   start
   8625  ** @param xcb_timestamp_t   stop
   8626  ** @returns xcb_get_motion_events_cookie_t
   8627  **
   8628  *****************************************************************************/
   8629 
   8630 xcb_get_motion_events_cookie_t
   8631 xcb_get_motion_events_unchecked (xcb_connection_t *c  /**< */,
   8632                                  xcb_window_t      window  /**< */,
   8633                                  xcb_timestamp_t   start  /**< */,
   8634                                  xcb_timestamp_t   stop  /**< */);
   8635 
   8636 
   8637 /*****************************************************************************
   8638  **
   8639  ** xcb_timecoord_t * xcb_get_motion_events_events
   8640  **
   8641  ** @param const xcb_get_motion_events_reply_t *R
   8642  ** @returns xcb_timecoord_t *
   8643  **
   8644  *****************************************************************************/
   8645 
   8646 xcb_timecoord_t *
   8647 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R  /**< */);
   8648 
   8649 
   8650 /*****************************************************************************
   8651  **
   8652  ** int xcb_get_motion_events_events_length
   8653  **
   8654  ** @param const xcb_get_motion_events_reply_t *R
   8655  ** @returns int
   8656  **
   8657  *****************************************************************************/
   8658 
   8659 int
   8660 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R  /**< */);
   8661 
   8662 
   8663 /*****************************************************************************
   8664  **
   8665  ** xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator
   8666  **
   8667  ** @param const xcb_get_motion_events_reply_t *R
   8668  ** @returns xcb_timecoord_iterator_t
   8669  **
   8670  *****************************************************************************/
   8671 
   8672 xcb_timecoord_iterator_t
   8673 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R  /**< */);
   8674 
   8675 /**
   8676  * Return the reply
   8677  * @param c      The connection
   8678  * @param cookie The cookie
   8679  * @param e      The xcb_generic_error_t supplied
   8680  *
   8681  * Returns the reply of the request asked by
   8682  *
   8683  * The parameter @p e supplied to this function must be NULL if
   8684  * xcb_get_motion_events_unchecked(). is used.
   8685  * Otherwise, it stores the error if any.
   8686  *
   8687  * The returned value must be freed by the caller using free().
   8688  */
   8689 
   8690 /*****************************************************************************
   8691  **
   8692  ** xcb_get_motion_events_reply_t * xcb_get_motion_events_reply
   8693  **
   8694  ** @param xcb_connection_t                *c
   8695  ** @param xcb_get_motion_events_cookie_t   cookie
   8696  ** @param xcb_generic_error_t            **e
   8697  ** @returns xcb_get_motion_events_reply_t *
   8698  **
   8699  *****************************************************************************/
   8700 
   8701 xcb_get_motion_events_reply_t *
   8702 xcb_get_motion_events_reply (xcb_connection_t                *c  /**< */,
   8703                              xcb_get_motion_events_cookie_t   cookie  /**< */,
   8704                              xcb_generic_error_t            **e  /**< */);
   8705 
   8706 /**
   8707  * Delivers a request to the X server
   8708  * @param c The connection
   8709  * @return A cookie
   8710  *
   8711  * Delivers a request to the X server.
   8712  *
   8713  */
   8714 
   8715 /*****************************************************************************
   8716  **
   8717  ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates
   8718  **
   8719  ** @param xcb_connection_t *c
   8720  ** @param xcb_window_t      src_window
   8721  ** @param xcb_window_t      dst_window
   8722  ** @param int16_t           src_x
   8723  ** @param int16_t           src_y
   8724  ** @returns xcb_translate_coordinates_cookie_t
   8725  **
   8726  *****************************************************************************/
   8727 
   8728 xcb_translate_coordinates_cookie_t
   8729 xcb_translate_coordinates (xcb_connection_t *c  /**< */,
   8730                            xcb_window_t      src_window  /**< */,
   8731                            xcb_window_t      dst_window  /**< */,
   8732                            int16_t           src_x  /**< */,
   8733                            int16_t           src_y  /**< */);
   8734 
   8735 /**
   8736  * Delivers a request to the X server
   8737  * @param c The connection
   8738  * @return A cookie
   8739  *
   8740  * Delivers a request to the X server.
   8741  *
   8742  * This form can be used only if the request will cause
   8743  * a reply to be generated. Any returned error will be
   8744  * placed in the event queue.
   8745  */
   8746 
   8747 /*****************************************************************************
   8748  **
   8749  ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked
   8750  **
   8751  ** @param xcb_connection_t *c
   8752  ** @param xcb_window_t      src_window
   8753  ** @param xcb_window_t      dst_window
   8754  ** @param int16_t           src_x
   8755  ** @param int16_t           src_y
   8756  ** @returns xcb_translate_coordinates_cookie_t
   8757  **
   8758  *****************************************************************************/
   8759 
   8760 xcb_translate_coordinates_cookie_t
   8761 xcb_translate_coordinates_unchecked (xcb_connection_t *c  /**< */,
   8762                                      xcb_window_t      src_window  /**< */,
   8763                                      xcb_window_t      dst_window  /**< */,
   8764                                      int16_t           src_x  /**< */,
   8765                                      int16_t           src_y  /**< */);
   8766 
   8767 /**
   8768  * Return the reply
   8769  * @param c      The connection
   8770  * @param cookie The cookie
   8771  * @param e      The xcb_generic_error_t supplied
   8772  *
   8773  * Returns the reply of the request asked by
   8774  *
   8775  * The parameter @p e supplied to this function must be NULL if
   8776  * xcb_translate_coordinates_unchecked(). is used.
   8777  * Otherwise, it stores the error if any.
   8778  *
   8779  * The returned value must be freed by the caller using free().
   8780  */
   8781 
   8782 /*****************************************************************************
   8783  **
   8784  ** xcb_translate_coordinates_reply_t * xcb_translate_coordinates_reply
   8785  **
   8786  ** @param xcb_connection_t                    *c
   8787  ** @param xcb_translate_coordinates_cookie_t   cookie
   8788  ** @param xcb_generic_error_t                **e
   8789  ** @returns xcb_translate_coordinates_reply_t *
   8790  **
   8791  *****************************************************************************/
   8792 
   8793 xcb_translate_coordinates_reply_t *
   8794 xcb_translate_coordinates_reply (xcb_connection_t                    *c  /**< */,
   8795                                  xcb_translate_coordinates_cookie_t   cookie  /**< */,
   8796                                  xcb_generic_error_t                **e  /**< */);
   8797 
   8798 /**
   8799  * Delivers a request to the X server
   8800  * @param c The connection
   8801  * @return A cookie
   8802  *
   8803  * Delivers a request to the X server.
   8804  *
   8805  * This form can be used only if the request will not cause
   8806  * a reply to be generated. Any returned error will be
   8807  * saved for handling by xcb_request_check().
   8808  */
   8809 
   8810 /*****************************************************************************
   8811  **
   8812  ** xcb_void_cookie_t xcb_warp_pointer_checked
   8813  **
   8814  ** @param xcb_connection_t *c
   8815  ** @param xcb_window_t      src_window
   8816  ** @param xcb_window_t      dst_window
   8817  ** @param int16_t           src_x
   8818  ** @param int16_t           src_y
   8819  ** @param uint16_t          src_width
   8820  ** @param uint16_t          src_height
   8821  ** @param int16_t           dst_x
   8822  ** @param int16_t           dst_y
   8823  ** @returns xcb_void_cookie_t
   8824  **
   8825  *****************************************************************************/
   8826 
   8827 xcb_void_cookie_t
   8828 xcb_warp_pointer_checked (xcb_connection_t *c  /**< */,
   8829                           xcb_window_t      src_window  /**< */,
   8830                           xcb_window_t      dst_window  /**< */,
   8831                           int16_t           src_x  /**< */,
   8832                           int16_t           src_y  /**< */,
   8833                           uint16_t          src_width  /**< */,
   8834                           uint16_t          src_height  /**< */,
   8835                           int16_t           dst_x  /**< */,
   8836                           int16_t           dst_y  /**< */);
   8837 
   8838 /**
   8839  * Delivers a request to the X server
   8840  * @param c The connection
   8841  * @return A cookie
   8842  *
   8843  * Delivers a request to the X server.
   8844  *
   8845  */
   8846 
   8847 /*****************************************************************************
   8848  **
   8849  ** xcb_void_cookie_t xcb_warp_pointer
   8850  **
   8851  ** @param xcb_connection_t *c
   8852  ** @param xcb_window_t      src_window
   8853  ** @param xcb_window_t      dst_window
   8854  ** @param int16_t           src_x
   8855  ** @param int16_t           src_y
   8856  ** @param uint16_t          src_width
   8857  ** @param uint16_t          src_height
   8858  ** @param int16_t           dst_x
   8859  ** @param int16_t           dst_y
   8860  ** @returns xcb_void_cookie_t
   8861  **
   8862  *****************************************************************************/
   8863 
   8864 xcb_void_cookie_t
   8865 xcb_warp_pointer (xcb_connection_t *c  /**< */,
   8866                   xcb_window_t      src_window  /**< */,
   8867                   xcb_window_t      dst_window  /**< */,
   8868                   int16_t           src_x  /**< */,
   8869                   int16_t           src_y  /**< */,
   8870                   uint16_t          src_width  /**< */,
   8871                   uint16_t          src_height  /**< */,
   8872                   int16_t           dst_x  /**< */,
   8873                   int16_t           dst_y  /**< */);
   8874 
   8875 /**
   8876  * Delivers a request to the X server
   8877  * @param c The connection
   8878  * @return A cookie
   8879  *
   8880  * Delivers a request to the X server.
   8881  *
   8882  * This form can be used only if the request will not cause
   8883  * a reply to be generated. Any returned error will be
   8884  * saved for handling by xcb_request_check().
   8885  */
   8886 
   8887 /*****************************************************************************
   8888  **
   8889  ** xcb_void_cookie_t xcb_set_input_focus_checked
   8890  **
   8891  ** @param xcb_connection_t *c
   8892  ** @param uint8_t           revert_to
   8893  ** @param xcb_window_t      focus
   8894  ** @param xcb_timestamp_t   time
   8895  ** @returns xcb_void_cookie_t
   8896  **
   8897  *****************************************************************************/
   8898 
   8899 xcb_void_cookie_t
   8900 xcb_set_input_focus_checked (xcb_connection_t *c  /**< */,
   8901                              uint8_t           revert_to  /**< */,
   8902                              xcb_window_t      focus  /**< */,
   8903                              xcb_timestamp_t   time  /**< */);
   8904 
   8905 /**
   8906  * Delivers a request to the X server
   8907  * @param c The connection
   8908  * @return A cookie
   8909  *
   8910  * Delivers a request to the X server.
   8911  *
   8912  */
   8913 
   8914 /*****************************************************************************
   8915  **
   8916  ** xcb_void_cookie_t xcb_set_input_focus
   8917  **
   8918  ** @param xcb_connection_t *c
   8919  ** @param uint8_t           revert_to
   8920  ** @param xcb_window_t      focus
   8921  ** @param xcb_timestamp_t   time
   8922  ** @returns xcb_void_cookie_t
   8923  **
   8924  *****************************************************************************/
   8925 
   8926 xcb_void_cookie_t
   8927 xcb_set_input_focus (xcb_connection_t *c  /**< */,
   8928                      uint8_t           revert_to  /**< */,
   8929                      xcb_window_t      focus  /**< */,
   8930                      xcb_timestamp_t   time  /**< */);
   8931 
   8932 /**
   8933  * Delivers a request to the X server
   8934  * @param c The connection
   8935  * @return A cookie
   8936  *
   8937  * Delivers a request to the X server.
   8938  *
   8939  */
   8940 
   8941 /*****************************************************************************
   8942  **
   8943  ** xcb_get_input_focus_cookie_t xcb_get_input_focus
   8944  **
   8945  ** @param xcb_connection_t *c
   8946  ** @returns xcb_get_input_focus_cookie_t
   8947  **
   8948  *****************************************************************************/
   8949 
   8950 xcb_get_input_focus_cookie_t
   8951 xcb_get_input_focus (xcb_connection_t *c  /**< */);
   8952 
   8953 /**
   8954  * Delivers a request to the X server
   8955  * @param c The connection
   8956  * @return A cookie
   8957  *
   8958  * Delivers a request to the X server.
   8959  *
   8960  * This form can be used only if the request will cause
   8961  * a reply to be generated. Any returned error will be
   8962  * placed in the event queue.
   8963  */
   8964 
   8965 /*****************************************************************************
   8966  **
   8967  ** xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked
   8968  **
   8969  ** @param xcb_connection_t *c
   8970  ** @returns xcb_get_input_focus_cookie_t
   8971  **
   8972  *****************************************************************************/
   8973 
   8974 xcb_get_input_focus_cookie_t
   8975 xcb_get_input_focus_unchecked (xcb_connection_t *c  /**< */);
   8976 
   8977 /**
   8978  * Return the reply
   8979  * @param c      The connection
   8980  * @param cookie The cookie
   8981  * @param e      The xcb_generic_error_t supplied
   8982  *
   8983  * Returns the reply of the request asked by
   8984  *
   8985  * The parameter @p e supplied to this function must be NULL if
   8986  * xcb_get_input_focus_unchecked(). is used.
   8987  * Otherwise, it stores the error if any.
   8988  *
   8989  * The returned value must be freed by the caller using free().
   8990  */
   8991 
   8992 /*****************************************************************************
   8993  **
   8994  ** xcb_get_input_focus_reply_t * xcb_get_input_focus_reply
   8995  **
   8996  ** @param xcb_connection_t              *c
   8997  ** @param xcb_get_input_focus_cookie_t   cookie
   8998  ** @param xcb_generic_error_t          **e
   8999  ** @returns xcb_get_input_focus_reply_t *
   9000  **
   9001  *****************************************************************************/
   9002 
   9003 xcb_get_input_focus_reply_t *
   9004 xcb_get_input_focus_reply (xcb_connection_t              *c  /**< */,
   9005                            xcb_get_input_focus_cookie_t   cookie  /**< */,
   9006                            xcb_generic_error_t          **e  /**< */);
   9007 
   9008 /**
   9009  * Delivers a request to the X server
   9010  * @param c The connection
   9011  * @return A cookie
   9012  *
   9013  * Delivers a request to the X server.
   9014  *
   9015  */
   9016 
   9017 /*****************************************************************************
   9018  **
   9019  ** xcb_query_keymap_cookie_t xcb_query_keymap
   9020  **
   9021  ** @param xcb_connection_t *c
   9022  ** @returns xcb_query_keymap_cookie_t
   9023  **
   9024  *****************************************************************************/
   9025 
   9026 xcb_query_keymap_cookie_t
   9027 xcb_query_keymap (xcb_connection_t *c  /**< */);
   9028 
   9029 /**
   9030  * Delivers a request to the X server
   9031  * @param c The connection
   9032  * @return A cookie
   9033  *
   9034  * Delivers a request to the X server.
   9035  *
   9036  * This form can be used only if the request will cause
   9037  * a reply to be generated. Any returned error will be
   9038  * placed in the event queue.
   9039  */
   9040 
   9041 /*****************************************************************************
   9042  **
   9043  ** xcb_query_keymap_cookie_t xcb_query_keymap_unchecked
   9044  **
   9045  ** @param xcb_connection_t *c
   9046  ** @returns xcb_query_keymap_cookie_t
   9047  **
   9048  *****************************************************************************/
   9049 
   9050 xcb_query_keymap_cookie_t
   9051 xcb_query_keymap_unchecked (xcb_connection_t *c  /**< */);
   9052 
   9053 /**
   9054  * Return the reply
   9055  * @param c      The connection
   9056  * @param cookie The cookie
   9057  * @param e      The xcb_generic_error_t supplied
   9058  *
   9059  * Returns the reply of the request asked by
   9060  *
   9061  * The parameter @p e supplied to this function must be NULL if
   9062  * xcb_query_keymap_unchecked(). is used.
   9063  * Otherwise, it stores the error if any.
   9064  *
   9065  * The returned value must be freed by the caller using free().
   9066  */
   9067 
   9068 /*****************************************************************************
   9069  **
   9070  ** xcb_query_keymap_reply_t * xcb_query_keymap_reply
   9071  **
   9072  ** @param xcb_connection_t           *c
   9073  ** @param xcb_query_keymap_cookie_t   cookie
   9074  ** @param xcb_generic_error_t       **e
   9075  ** @returns xcb_query_keymap_reply_t *
   9076  **
   9077  *****************************************************************************/
   9078 
   9079 xcb_query_keymap_reply_t *
   9080 xcb_query_keymap_reply (xcb_connection_t           *c  /**< */,
   9081                         xcb_query_keymap_cookie_t   cookie  /**< */,
   9082                         xcb_generic_error_t       **e  /**< */);
   9083 
   9084 /**
   9085  * Delivers a request to the X server
   9086  * @param c The connection
   9087  * @return A cookie
   9088  *
   9089  * Delivers a request to the X server.
   9090  *
   9091  * This form can be used only if the request will not cause
   9092  * a reply to be generated. Any returned error will be
   9093  * saved for handling by xcb_request_check().
   9094  */
   9095 
   9096 /*****************************************************************************
   9097  **
   9098  ** xcb_void_cookie_t xcb_open_font_checked
   9099  **
   9100  ** @param xcb_connection_t *c
   9101  ** @param xcb_font_t        fid
   9102  ** @param uint16_t          name_len
   9103  ** @param const char       *name
   9104  ** @returns xcb_void_cookie_t
   9105  **
   9106  *****************************************************************************/
   9107 
   9108 xcb_void_cookie_t
   9109 xcb_open_font_checked (xcb_connection_t *c  /**< */,
   9110                        xcb_font_t        fid  /**< */,
   9111                        uint16_t          name_len  /**< */,
   9112                        const char       *name  /**< */);
   9113 
   9114 /**
   9115  * Delivers a request to the X server
   9116  * @param c The connection
   9117  * @return A cookie
   9118  *
   9119  * Delivers a request to the X server.
   9120  *
   9121  */
   9122 
   9123 /*****************************************************************************
   9124  **
   9125  ** xcb_void_cookie_t xcb_open_font
   9126  **
   9127  ** @param xcb_connection_t *c
   9128  ** @param xcb_font_t        fid
   9129  ** @param uint16_t          name_len
   9130  ** @param const char       *name
   9131  ** @returns xcb_void_cookie_t
   9132  **
   9133  *****************************************************************************/
   9134 
   9135 xcb_void_cookie_t
   9136 xcb_open_font (xcb_connection_t *c  /**< */,
   9137                xcb_font_t        fid  /**< */,
   9138                uint16_t          name_len  /**< */,
   9139                const char       *name  /**< */);
   9140 
   9141 /**
   9142  * Delivers a request to the X server
   9143  * @param c The connection
   9144  * @return A cookie
   9145  *
   9146  * Delivers a request to the X server.
   9147  *
   9148  * This form can be used only if the request will not cause
   9149  * a reply to be generated. Any returned error will be
   9150  * saved for handling by xcb_request_check().
   9151  */
   9152 
   9153 /*****************************************************************************
   9154  **
   9155  ** xcb_void_cookie_t xcb_close_font_checked
   9156  **
   9157  ** @param xcb_connection_t *c
   9158  ** @param xcb_font_t        font
   9159  ** @returns xcb_void_cookie_t
   9160  **
   9161  *****************************************************************************/
   9162 
   9163 xcb_void_cookie_t
   9164 xcb_close_font_checked (xcb_connection_t *c  /**< */,
   9165                         xcb_font_t        font  /**< */);
   9166 
   9167 /**
   9168  * Delivers a request to the X server
   9169  * @param c The connection
   9170  * @return A cookie
   9171  *
   9172  * Delivers a request to the X server.
   9173  *
   9174  */
   9175 
   9176 /*****************************************************************************
   9177  **
   9178  ** xcb_void_cookie_t xcb_close_font
   9179  **
   9180  ** @param xcb_connection_t *c
   9181  ** @param xcb_font_t        font
   9182  ** @returns xcb_void_cookie_t
   9183  **
   9184  *****************************************************************************/
   9185 
   9186 xcb_void_cookie_t
   9187 xcb_close_font (xcb_connection_t *c  /**< */,
   9188                 xcb_font_t        font  /**< */);
   9189 
   9190 /**
   9191  * Get the next element of the iterator
   9192  * @param i Pointer to a xcb_fontprop_iterator_t
   9193  *
   9194  * Get the next element in the iterator. The member rem is
   9195  * decreased by one. The member data points to the next
   9196  * element. The member index is increased by sizeof(xcb_fontprop_t)
   9197  */
   9198 
   9199 /*****************************************************************************
   9200  **
   9201  ** void xcb_fontprop_next
   9202  **
   9203  ** @param xcb_fontprop_iterator_t *i
   9204  ** @returns void
   9205  **
   9206  *****************************************************************************/
   9207 
   9208 void
   9209 xcb_fontprop_next (xcb_fontprop_iterator_t *i  /**< */);
   9210 
   9211 /**
   9212  * Return the iterator pointing to the last element
   9213  * @param i An xcb_fontprop_iterator_t
   9214  * @return  The iterator pointing to the last element
   9215  *
   9216  * Set the current element in the iterator to the last element.
   9217  * The member rem is set to 0. The member data points to the
   9218  * last element.
   9219  */
   9220 
   9221 /*****************************************************************************
   9222  **
   9223  ** xcb_generic_iterator_t xcb_fontprop_end
   9224  **
   9225  ** @param xcb_fontprop_iterator_t i
   9226  ** @returns xcb_generic_iterator_t
   9227  **
   9228  *****************************************************************************/
   9229 
   9230 xcb_generic_iterator_t
   9231 xcb_fontprop_end (xcb_fontprop_iterator_t i  /**< */);
   9232 
   9233 /**
   9234  * Get the next element of the iterator
   9235  * @param i Pointer to a xcb_charinfo_iterator_t
   9236  *
   9237  * Get the next element in the iterator. The member rem is
   9238  * decreased by one. The member data points to the next
   9239  * element. The member index is increased by sizeof(xcb_charinfo_t)
   9240  */
   9241 
   9242 /*****************************************************************************
   9243  **
   9244  ** void xcb_charinfo_next
   9245  **
   9246  ** @param xcb_charinfo_iterator_t *i
   9247  ** @returns void
   9248  **
   9249  *****************************************************************************/
   9250 
   9251 void
   9252 xcb_charinfo_next (xcb_charinfo_iterator_t *i  /**< */);
   9253 
   9254 /**
   9255  * Return the iterator pointing to the last element
   9256  * @param i An xcb_charinfo_iterator_t
   9257  * @return  The iterator pointing to the last element
   9258  *
   9259  * Set the current element in the iterator to the last element.
   9260  * The member rem is set to 0. The member data points to the
   9261  * last element.
   9262  */
   9263 
   9264 /*****************************************************************************
   9265  **
   9266  ** xcb_generic_iterator_t xcb_charinfo_end
   9267  **
   9268  ** @param xcb_charinfo_iterator_t i
   9269  ** @returns xcb_generic_iterator_t
   9270  **
   9271  *****************************************************************************/
   9272 
   9273 xcb_generic_iterator_t
   9274 xcb_charinfo_end (xcb_charinfo_iterator_t i  /**< */);
   9275 
   9276 /**
   9277  * Delivers a request to the X server
   9278  * @param c The connection
   9279  * @return A cookie
   9280  *
   9281  * Delivers a request to the X server.
   9282  *
   9283  */
   9284 
   9285 /*****************************************************************************
   9286  **
   9287  ** xcb_query_font_cookie_t xcb_query_font
   9288  **
   9289  ** @param xcb_connection_t *c
   9290  ** @param xcb_fontable_t    font
   9291  ** @returns xcb_query_font_cookie_t
   9292  **
   9293  *****************************************************************************/
   9294 
   9295 xcb_query_font_cookie_t
   9296 xcb_query_font (xcb_connection_t *c  /**< */,
   9297                 xcb_fontable_t    font  /**< */);
   9298 
   9299 /**
   9300  * Delivers a request to the X server
   9301  * @param c The connection
   9302  * @return A cookie
   9303  *
   9304  * Delivers a request to the X server.
   9305  *
   9306  * This form can be used only if the request will cause
   9307  * a reply to be generated. Any returned error will be
   9308  * placed in the event queue.
   9309  */
   9310 
   9311 /*****************************************************************************
   9312  **
   9313  ** xcb_query_font_cookie_t xcb_query_font_unchecked
   9314  **
   9315  ** @param xcb_connection_t *c
   9316  ** @param xcb_fontable_t    font
   9317  ** @returns xcb_query_font_cookie_t
   9318  **
   9319  *****************************************************************************/
   9320 
   9321 xcb_query_font_cookie_t
   9322 xcb_query_font_unchecked (xcb_connection_t *c  /**< */,
   9323                           xcb_fontable_t    font  /**< */);
   9324 
   9325 
   9326 /*****************************************************************************
   9327  **
   9328  ** xcb_fontprop_t * xcb_query_font_properties
   9329  **
   9330  ** @param const xcb_query_font_reply_t *R
   9331  ** @returns xcb_fontprop_t *
   9332  **
   9333  *****************************************************************************/
   9334 
   9335 xcb_fontprop_t *
   9336 xcb_query_font_properties (const xcb_query_font_reply_t *R  /**< */);
   9337 
   9338 
   9339 /*****************************************************************************
   9340  **
   9341  ** int xcb_query_font_properties_length
   9342  **
   9343  ** @param const xcb_query_font_reply_t *R
   9344  ** @returns int
   9345  **
   9346  *****************************************************************************/
   9347 
   9348 int
   9349 xcb_query_font_properties_length (const xcb_query_font_reply_t *R  /**< */);
   9350 
   9351 
   9352 /*****************************************************************************
   9353  **
   9354  ** xcb_fontprop_iterator_t xcb_query_font_properties_iterator
   9355  **
   9356  ** @param const xcb_query_font_reply_t *R
   9357  ** @returns xcb_fontprop_iterator_t
   9358  **
   9359  *****************************************************************************/
   9360 
   9361 xcb_fontprop_iterator_t
   9362 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R  /**< */);
   9363 
   9364 
   9365 /*****************************************************************************
   9366  **
   9367  ** xcb_charinfo_t * xcb_query_font_char_infos
   9368  **
   9369  ** @param const xcb_query_font_reply_t *R
   9370  ** @returns xcb_charinfo_t *
   9371  **
   9372  *****************************************************************************/
   9373 
   9374 xcb_charinfo_t *
   9375 xcb_query_font_char_infos (const xcb_query_font_reply_t *R  /**< */);
   9376 
   9377 
   9378 /*****************************************************************************
   9379  **
   9380  ** int xcb_query_font_char_infos_length
   9381  **
   9382  ** @param const xcb_query_font_reply_t *R
   9383  ** @returns int
   9384  **
   9385  *****************************************************************************/
   9386 
   9387 int
   9388 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R  /**< */);
   9389 
   9390 
   9391 /*****************************************************************************
   9392  **
   9393  ** xcb_charinfo_iterator_t xcb_query_font_char_infos_iterator
   9394  **
   9395  ** @param const xcb_query_font_reply_t *R
   9396  ** @returns xcb_charinfo_iterator_t
   9397  **
   9398  *****************************************************************************/
   9399 
   9400 xcb_charinfo_iterator_t
   9401 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R  /**< */);
   9402 
   9403 /**
   9404  * Return the reply
   9405  * @param c      The connection
   9406  * @param cookie The cookie
   9407  * @param e      The xcb_generic_error_t supplied
   9408  *
   9409  * Returns the reply of the request asked by
   9410  *
   9411  * The parameter @p e supplied to this function must be NULL if
   9412  * xcb_query_font_unchecked(). is used.
   9413  * Otherwise, it stores the error if any.
   9414  *
   9415  * The returned value must be freed by the caller using free().
   9416  */
   9417 
   9418 /*****************************************************************************
   9419  **
   9420  ** xcb_query_font_reply_t * xcb_query_font_reply
   9421  **
   9422  ** @param xcb_connection_t         *c
   9423  ** @param xcb_query_font_cookie_t   cookie
   9424  ** @param xcb_generic_error_t     **e
   9425  ** @returns xcb_query_font_reply_t *
   9426  **
   9427  *****************************************************************************/
   9428 
   9429 xcb_query_font_reply_t *
   9430 xcb_query_font_reply (xcb_connection_t         *c  /**< */,
   9431                       xcb_query_font_cookie_t   cookie  /**< */,
   9432                       xcb_generic_error_t     **e  /**< */);
   9433 
   9434 /**
   9435  * Delivers a request to the X server
   9436  * @param c The connection
   9437  * @return A cookie
   9438  *
   9439  * Delivers a request to the X server.
   9440  *
   9441  */
   9442 
   9443 /*****************************************************************************
   9444  **
   9445  ** xcb_query_text_extents_cookie_t xcb_query_text_extents
   9446  **
   9447  ** @param xcb_connection_t   *c
   9448  ** @param xcb_fontable_t      font
   9449  ** @param uint32_t            string_len
   9450  ** @param const xcb_char2b_t *string
   9451  ** @returns xcb_query_text_extents_cookie_t
   9452  **
   9453  *****************************************************************************/
   9454 
   9455 xcb_query_text_extents_cookie_t
   9456 xcb_query_text_extents (xcb_connection_t   *c  /**< */,
   9457                         xcb_fontable_t      font  /**< */,
   9458                         uint32_t            string_len  /**< */,
   9459                         const xcb_char2b_t *string  /**< */);
   9460 
   9461 /**
   9462  * Delivers a request to the X server
   9463  * @param c The connection
   9464  * @return A cookie
   9465  *
   9466  * Delivers a request to the X server.
   9467  *
   9468  * This form can be used only if the request will cause
   9469  * a reply to be generated. Any returned error will be
   9470  * placed in the event queue.
   9471  */
   9472 
   9473 /*****************************************************************************
   9474  **
   9475  ** xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked
   9476  **
   9477  ** @param xcb_connection_t   *c
   9478  ** @param xcb_fontable_t      font
   9479  ** @param uint32_t            string_len
   9480  ** @param const xcb_char2b_t *string
   9481  ** @returns xcb_query_text_extents_cookie_t
   9482  **
   9483  *****************************************************************************/
   9484 
   9485 xcb_query_text_extents_cookie_t
   9486 xcb_query_text_extents_unchecked (xcb_connection_t   *c  /**< */,
   9487                                   xcb_fontable_t      font  /**< */,
   9488                                   uint32_t            string_len  /**< */,
   9489                                   const xcb_char2b_t *string  /**< */);
   9490 
   9491 /**
   9492  * Return the reply
   9493  * @param c      The connection
   9494  * @param cookie The cookie
   9495  * @param e      The xcb_generic_error_t supplied
   9496  *
   9497  * Returns the reply of the request asked by
   9498  *
   9499  * The parameter @p e supplied to this function must be NULL if
   9500  * xcb_query_text_extents_unchecked(). is used.
   9501  * Otherwise, it stores the error if any.
   9502  *
   9503  * The returned value must be freed by the caller using free().
   9504  */
   9505 
   9506 /*****************************************************************************
   9507  **
   9508  ** xcb_query_text_extents_reply_t * xcb_query_text_extents_reply
   9509  **
   9510  ** @param xcb_connection_t                 *c
   9511  ** @param xcb_query_text_extents_cookie_t   cookie
   9512  ** @param xcb_generic_error_t             **e
   9513  ** @returns xcb_query_text_extents_reply_t *
   9514  **
   9515  *****************************************************************************/
   9516 
   9517 xcb_query_text_extents_reply_t *
   9518 xcb_query_text_extents_reply (xcb_connection_t                 *c  /**< */,
   9519                               xcb_query_text_extents_cookie_t   cookie  /**< */,
   9520                               xcb_generic_error_t             **e  /**< */);
   9521 
   9522 
   9523 /*****************************************************************************
   9524  **
   9525  ** char * xcb_str_name
   9526  **
   9527  ** @param const xcb_str_t *R
   9528  ** @returns char *
   9529  **
   9530  *****************************************************************************/
   9531 
   9532 char *
   9533 xcb_str_name (const xcb_str_t *R  /**< */);
   9534 
   9535 
   9536 /*****************************************************************************
   9537  **
   9538  ** int xcb_str_name_length
   9539  **
   9540  ** @param const xcb_str_t *R
   9541  ** @returns int
   9542  **
   9543  *****************************************************************************/
   9544 
   9545 int
   9546 xcb_str_name_length (const xcb_str_t *R  /**< */);
   9547 
   9548 
   9549 /*****************************************************************************
   9550  **
   9551  ** xcb_generic_iterator_t xcb_str_name_end
   9552  **
   9553  ** @param const xcb_str_t *R
   9554  ** @returns xcb_generic_iterator_t
   9555  **
   9556  *****************************************************************************/
   9557 
   9558 xcb_generic_iterator_t
   9559 xcb_str_name_end (const xcb_str_t *R  /**< */);
   9560 
   9561 /**
   9562  * Get the next element of the iterator
   9563  * @param i Pointer to a xcb_str_iterator_t
   9564  *
   9565  * Get the next element in the iterator. The member rem is
   9566  * decreased by one. The member data points to the next
   9567  * element. The member index is increased by sizeof(xcb_str_t)
   9568  */
   9569 
   9570 /*****************************************************************************
   9571  **
   9572  ** void xcb_str_next
   9573  **
   9574  ** @param xcb_str_iterator_t *i
   9575  ** @returns void
   9576  **
   9577  *****************************************************************************/
   9578 
   9579 void
   9580 xcb_str_next (xcb_str_iterator_t *i  /**< */);
   9581 
   9582 /**
   9583  * Return the iterator pointing to the last element
   9584  * @param i An xcb_str_iterator_t
   9585  * @return  The iterator pointing to the last element
   9586  *
   9587  * Set the current element in the iterator to the last element.
   9588  * The member rem is set to 0. The member data points to the
   9589  * last element.
   9590  */
   9591 
   9592 /*****************************************************************************
   9593  **
   9594  ** xcb_generic_iterator_t xcb_str_end
   9595  **
   9596  ** @param xcb_str_iterator_t i
   9597  ** @returns xcb_generic_iterator_t
   9598  **
   9599  *****************************************************************************/
   9600 
   9601 xcb_generic_iterator_t
   9602 xcb_str_end (xcb_str_iterator_t i  /**< */);
   9603 
   9604 /**
   9605  * Delivers a request to the X server
   9606  * @param c The connection
   9607  * @return A cookie
   9608  *
   9609  * Delivers a request to the X server.
   9610  *
   9611  */
   9612 
   9613 /*****************************************************************************
   9614  **
   9615  ** xcb_list_fonts_cookie_t xcb_list_fonts
   9616  **
   9617  ** @param xcb_connection_t *c
   9618  ** @param uint16_t          max_names
   9619  ** @param uint16_t          pattern_len
   9620  ** @param const char       *pattern
   9621  ** @returns xcb_list_fonts_cookie_t
   9622  **
   9623  *****************************************************************************/
   9624 
   9625 xcb_list_fonts_cookie_t
   9626 xcb_list_fonts (xcb_connection_t *c  /**< */,
   9627                 uint16_t          max_names  /**< */,
   9628                 uint16_t          pattern_len  /**< */,
   9629                 const char       *pattern  /**< */);
   9630 
   9631 /**
   9632  * Delivers a request to the X server
   9633  * @param c The connection
   9634  * @return A cookie
   9635  *
   9636  * Delivers a request to the X server.
   9637  *
   9638  * This form can be used only if the request will cause
   9639  * a reply to be generated. Any returned error will be
   9640  * placed in the event queue.
   9641  */
   9642 
   9643 /*****************************************************************************
   9644  **
   9645  ** xcb_list_fonts_cookie_t xcb_list_fonts_unchecked
   9646  **
   9647  ** @param xcb_connection_t *c
   9648  ** @param uint16_t          max_names
   9649  ** @param uint16_t          pattern_len
   9650  ** @param const char       *pattern
   9651  ** @returns xcb_list_fonts_cookie_t
   9652  **
   9653  *****************************************************************************/
   9654 
   9655 xcb_list_fonts_cookie_t
   9656 xcb_list_fonts_unchecked (xcb_connection_t *c  /**< */,
   9657                           uint16_t          max_names  /**< */,
   9658                           uint16_t          pattern_len  /**< */,
   9659                           const char       *pattern  /**< */);
   9660 
   9661 
   9662 /*****************************************************************************
   9663  **
   9664  ** int xcb_list_fonts_names_length
   9665  **
   9666  ** @param const xcb_list_fonts_reply_t *R
   9667  ** @returns int
   9668  **
   9669  *****************************************************************************/
   9670 
   9671 int
   9672 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R  /**< */);
   9673 
   9674 
   9675 /*****************************************************************************
   9676  **
   9677  ** xcb_str_iterator_t xcb_list_fonts_names_iterator
   9678  **
   9679  ** @param const xcb_list_fonts_reply_t *R
   9680  ** @returns xcb_str_iterator_t
   9681  **
   9682  *****************************************************************************/
   9683 
   9684 xcb_str_iterator_t
   9685 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R  /**< */);
   9686 
   9687 /**
   9688  * Return the reply
   9689  * @param c      The connection
   9690  * @param cookie The cookie
   9691  * @param e      The xcb_generic_error_t supplied
   9692  *
   9693  * Returns the reply of the request asked by
   9694  *
   9695  * The parameter @p e supplied to this function must be NULL if
   9696  * xcb_list_fonts_unchecked(). is used.
   9697  * Otherwise, it stores the error if any.
   9698  *
   9699  * The returned value must be freed by the caller using free().
   9700  */
   9701 
   9702 /*****************************************************************************
   9703  **
   9704  ** xcb_list_fonts_reply_t * xcb_list_fonts_reply
   9705  **
   9706  ** @param xcb_connection_t         *c
   9707  ** @param xcb_list_fonts_cookie_t   cookie
   9708  ** @param xcb_generic_error_t     **e
   9709  ** @returns xcb_list_fonts_reply_t *
   9710  **
   9711  *****************************************************************************/
   9712 
   9713 xcb_list_fonts_reply_t *
   9714 xcb_list_fonts_reply (xcb_connection_t         *c  /**< */,
   9715                       xcb_list_fonts_cookie_t   cookie  /**< */,
   9716                       xcb_generic_error_t     **e  /**< */);
   9717 
   9718 /**
   9719  * Delivers a request to the X server
   9720  * @param c The connection
   9721  * @return A cookie
   9722  *
   9723  * Delivers a request to the X server.
   9724  *
   9725  */
   9726 
   9727 /*****************************************************************************
   9728  **
   9729  ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info
   9730  **
   9731  ** @param xcb_connection_t *c
   9732  ** @param uint16_t          max_names
   9733  ** @param uint16_t          pattern_len
   9734  ** @param const char       *pattern
   9735  ** @returns xcb_list_fonts_with_info_cookie_t
   9736  **
   9737  *****************************************************************************/
   9738 
   9739 xcb_list_fonts_with_info_cookie_t
   9740 xcb_list_fonts_with_info (xcb_connection_t *c  /**< */,
   9741                           uint16_t          max_names  /**< */,
   9742                           uint16_t          pattern_len  /**< */,
   9743                           const char       *pattern  /**< */);
   9744 
   9745 /**
   9746  * Delivers a request to the X server
   9747  * @param c The connection
   9748  * @return A cookie
   9749  *
   9750  * Delivers a request to the X server.
   9751  *
   9752  * This form can be used only if the request will cause
   9753  * a reply to be generated. Any returned error will be
   9754  * placed in the event queue.
   9755  */
   9756 
   9757 /*****************************************************************************
   9758  **
   9759  ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked
   9760  **
   9761  ** @param xcb_connection_t *c
   9762  ** @param uint16_t          max_names
   9763  ** @param uint16_t          pattern_len
   9764  ** @param const char       *pattern
   9765  ** @returns xcb_list_fonts_with_info_cookie_t
   9766  **
   9767  *****************************************************************************/
   9768 
   9769 xcb_list_fonts_with_info_cookie_t
   9770 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c  /**< */,
   9771                                     uint16_t          max_names  /**< */,
   9772                                     uint16_t          pattern_len  /**< */,
   9773                                     const char       *pattern  /**< */);
   9774 
   9775 
   9776 /*****************************************************************************
   9777  **
   9778  ** xcb_fontprop_t * xcb_list_fonts_with_info_properties
   9779  **
   9780  ** @param const xcb_list_fonts_with_info_reply_t *R
   9781  ** @returns xcb_fontprop_t *
   9782  **
   9783  *****************************************************************************/
   9784 
   9785 xcb_fontprop_t *
   9786 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9787 
   9788 
   9789 /*****************************************************************************
   9790  **
   9791  ** int xcb_list_fonts_with_info_properties_length
   9792  **
   9793  ** @param const xcb_list_fonts_with_info_reply_t *R
   9794  ** @returns int
   9795  **
   9796  *****************************************************************************/
   9797 
   9798 int
   9799 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9800 
   9801 
   9802 /*****************************************************************************
   9803  **
   9804  ** xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator
   9805  **
   9806  ** @param const xcb_list_fonts_with_info_reply_t *R
   9807  ** @returns xcb_fontprop_iterator_t
   9808  **
   9809  *****************************************************************************/
   9810 
   9811 xcb_fontprop_iterator_t
   9812 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9813 
   9814 
   9815 /*****************************************************************************
   9816  **
   9817  ** char * xcb_list_fonts_with_info_name
   9818  **
   9819  ** @param const xcb_list_fonts_with_info_reply_t *R
   9820  ** @returns char *
   9821  **
   9822  *****************************************************************************/
   9823 
   9824 char *
   9825 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9826 
   9827 
   9828 /*****************************************************************************
   9829  **
   9830  ** int xcb_list_fonts_with_info_name_length
   9831  **
   9832  ** @param const xcb_list_fonts_with_info_reply_t *R
   9833  ** @returns int
   9834  **
   9835  *****************************************************************************/
   9836 
   9837 int
   9838 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9839 
   9840 
   9841 /*****************************************************************************
   9842  **
   9843  ** xcb_generic_iterator_t xcb_list_fonts_with_info_name_end
   9844  **
   9845  ** @param const xcb_list_fonts_with_info_reply_t *R
   9846  ** @returns xcb_generic_iterator_t
   9847  **
   9848  *****************************************************************************/
   9849 
   9850 xcb_generic_iterator_t
   9851 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9852 
   9853 /**
   9854  * Return the reply
   9855  * @param c      The connection
   9856  * @param cookie The cookie
   9857  * @param e      The xcb_generic_error_t supplied
   9858  *
   9859  * Returns the reply of the request asked by
   9860  *
   9861  * The parameter @p e supplied to this function must be NULL if
   9862  * xcb_list_fonts_with_info_unchecked(). is used.
   9863  * Otherwise, it stores the error if any.
   9864  *
   9865  * The returned value must be freed by the caller using free().
   9866  */
   9867 
   9868 /*****************************************************************************
   9869  **
   9870  ** xcb_list_fonts_with_info_reply_t * xcb_list_fonts_with_info_reply
   9871  **
   9872  ** @param xcb_connection_t                   *c
   9873  ** @param xcb_list_fonts_with_info_cookie_t   cookie
   9874  ** @param xcb_generic_error_t               **e
   9875  ** @returns xcb_list_fonts_with_info_reply_t *
   9876  **
   9877  *****************************************************************************/
   9878 
   9879 xcb_list_fonts_with_info_reply_t *
   9880 xcb_list_fonts_with_info_reply (xcb_connection_t                   *c  /**< */,
   9881                                 xcb_list_fonts_with_info_cookie_t   cookie  /**< */,
   9882                                 xcb_generic_error_t               **e  /**< */);
   9883 
   9884 /**
   9885  * Delivers a request to the X server
   9886  * @param c The connection
   9887  * @return A cookie
   9888  *
   9889  * Delivers a request to the X server.
   9890  *
   9891  * This form can be used only if the request will not cause
   9892  * a reply to be generated. Any returned error will be
   9893  * saved for handling by xcb_request_check().
   9894  */
   9895 
   9896 /*****************************************************************************
   9897  **
   9898  ** xcb_void_cookie_t xcb_set_font_path_checked
   9899  **
   9900  ** @param xcb_connection_t *c
   9901  ** @param uint16_t          font_qty
   9902  ** @param uint32_t          path_len
   9903  ** @param const char       *path
   9904  ** @returns xcb_void_cookie_t
   9905  **
   9906  *****************************************************************************/
   9907 
   9908 xcb_void_cookie_t
   9909 xcb_set_font_path_checked (xcb_connection_t *c  /**< */,
   9910                            uint16_t          font_qty  /**< */,
   9911                            uint32_t          path_len  /**< */,
   9912                            const char       *path  /**< */);
   9913 
   9914 /**
   9915  * Delivers a request to the X server
   9916  * @param c The connection
   9917  * @return A cookie
   9918  *
   9919  * Delivers a request to the X server.
   9920  *
   9921  */
   9922 
   9923 /*****************************************************************************
   9924  **
   9925  ** xcb_void_cookie_t xcb_set_font_path
   9926  **
   9927  ** @param xcb_connection_t *c
   9928  ** @param uint16_t          font_qty
   9929  ** @param uint32_t          path_len
   9930  ** @param const char       *path
   9931  ** @returns xcb_void_cookie_t
   9932  **
   9933  *****************************************************************************/
   9934 
   9935 xcb_void_cookie_t
   9936 xcb_set_font_path (xcb_connection_t *c  /**< */,
   9937                    uint16_t          font_qty  /**< */,
   9938                    uint32_t          path_len  /**< */,
   9939                    const char       *path  /**< */);
   9940 
   9941 /**
   9942  * Delivers a request to the X server
   9943  * @param c The connection
   9944  * @return A cookie
   9945  *
   9946  * Delivers a request to the X server.
   9947  *
   9948  */
   9949 
   9950 /*****************************************************************************
   9951  **
   9952  ** xcb_get_font_path_cookie_t xcb_get_font_path
   9953  **
   9954  ** @param xcb_connection_t *c
   9955  ** @returns xcb_get_font_path_cookie_t
   9956  **
   9957  *****************************************************************************/
   9958 
   9959 xcb_get_font_path_cookie_t
   9960 xcb_get_font_path (xcb_connection_t *c  /**< */);
   9961 
   9962 /**
   9963  * Delivers a request to the X server
   9964  * @param c The connection
   9965  * @return A cookie
   9966  *
   9967  * Delivers a request to the X server.
   9968  *
   9969  * This form can be used only if the request will cause
   9970  * a reply to be generated. Any returned error will be
   9971  * placed in the event queue.
   9972  */
   9973 
   9974 /*****************************************************************************
   9975  **
   9976  ** xcb_get_font_path_cookie_t xcb_get_font_path_unchecked
   9977  **
   9978  ** @param xcb_connection_t *c
   9979  ** @returns xcb_get_font_path_cookie_t
   9980  **
   9981  *****************************************************************************/
   9982 
   9983 xcb_get_font_path_cookie_t
   9984 xcb_get_font_path_unchecked (xcb_connection_t *c  /**< */);
   9985 
   9986 
   9987 /*****************************************************************************
   9988  **
   9989  ** int xcb_get_font_path_path_length
   9990  **
   9991  ** @param const xcb_get_font_path_reply_t *R
   9992  ** @returns int
   9993  **
   9994  *****************************************************************************/
   9995 
   9996 int
   9997 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R  /**< */);
   9998 
   9999 
   10000 /*****************************************************************************
   10001  **
   10002  ** xcb_str_iterator_t xcb_get_font_path_path_iterator
   10003  **
   10004  ** @param const xcb_get_font_path_reply_t *R
   10005  ** @returns xcb_str_iterator_t
   10006  **
   10007  *****************************************************************************/
   10008 
   10009 xcb_str_iterator_t
   10010 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R  /**< */);
   10011 
   10012 /**
   10013  * Return the reply
   10014  * @param c      The connection
   10015  * @param cookie The cookie
   10016  * @param e      The xcb_generic_error_t supplied
   10017  *
   10018  * Returns the reply of the request asked by
   10019  *
   10020  * The parameter @p e supplied to this function must be NULL if
   10021  * xcb_get_font_path_unchecked(). is used.
   10022  * Otherwise, it stores the error if any.
   10023  *
   10024  * The returned value must be freed by the caller using free().
   10025  */
   10026 
   10027 /*****************************************************************************
   10028  **
   10029  ** xcb_get_font_path_reply_t * xcb_get_font_path_reply
   10030  **
   10031  ** @param xcb_connection_t            *c
   10032  ** @param xcb_get_font_path_cookie_t   cookie
   10033  ** @param xcb_generic_error_t        **e
   10034  ** @returns xcb_get_font_path_reply_t *
   10035  **
   10036  *****************************************************************************/
   10037 
   10038 xcb_get_font_path_reply_t *
   10039 xcb_get_font_path_reply (xcb_connection_t            *c  /**< */,
   10040                          xcb_get_font_path_cookie_t   cookie  /**< */,
   10041                          xcb_generic_error_t        **e  /**< */);
   10042 
   10043 /**
   10044  * Delivers a request to the X server
   10045  * @param c The connection
   10046  * @return A cookie
   10047  *
   10048  * Delivers a request to the X server.
   10049  *
   10050  * This form can be used only if the request will not cause
   10051  * a reply to be generated. Any returned error will be
   10052  * saved for handling by xcb_request_check().
   10053  */
   10054 
   10055 /*****************************************************************************
   10056  **
   10057  ** xcb_void_cookie_t xcb_create_pixmap_checked
   10058  **
   10059  ** @param xcb_connection_t *c
   10060  ** @param uint8_t           depth
   10061  ** @param xcb_pixmap_t      pid
   10062  ** @param xcb_drawable_t    drawable
   10063  ** @param uint16_t          width
   10064  ** @param uint16_t          height
   10065  ** @returns xcb_void_cookie_t
   10066  **
   10067  *****************************************************************************/
   10068 
   10069 xcb_void_cookie_t
   10070 xcb_create_pixmap_checked (xcb_connection_t *c  /**< */,
   10071                            uint8_t           depth  /**< */,
   10072                            xcb_pixmap_t      pid  /**< */,
   10073                            xcb_drawable_t    drawable  /**< */,
   10074                            uint16_t          width  /**< */,
   10075                            uint16_t          height  /**< */);
   10076 
   10077 /**
   10078  * Delivers a request to the X server
   10079  * @param c The connection
   10080  * @return A cookie
   10081  *
   10082  * Delivers a request to the X server.
   10083  *
   10084  */
   10085 
   10086 /*****************************************************************************
   10087  **
   10088  ** xcb_void_cookie_t xcb_create_pixmap
   10089  **
   10090  ** @param xcb_connection_t *c
   10091  ** @param uint8_t           depth
   10092  ** @param xcb_pixmap_t      pid
   10093  ** @param xcb_drawable_t    drawable
   10094  ** @param uint16_t          width
   10095  ** @param uint16_t          height
   10096  ** @returns xcb_void_cookie_t
   10097  **
   10098  *****************************************************************************/
   10099 
   10100 xcb_void_cookie_t
   10101 xcb_create_pixmap (xcb_connection_t *c  /**< */,
   10102                    uint8_t           depth  /**< */,
   10103                    xcb_pixmap_t      pid  /**< */,
   10104                    xcb_drawable_t    drawable  /**< */,
   10105                    uint16_t          width  /**< */,
   10106                    uint16_t          height  /**< */);
   10107 
   10108 /**
   10109  * Delivers a request to the X server
   10110  * @param c The connection
   10111  * @return A cookie
   10112  *
   10113  * Delivers a request to the X server.
   10114  *
   10115  * This form can be used only if the request will not cause
   10116  * a reply to be generated. Any returned error will be
   10117  * saved for handling by xcb_request_check().
   10118  */
   10119 
   10120 /*****************************************************************************
   10121  **
   10122  ** xcb_void_cookie_t xcb_free_pixmap_checked
   10123  **
   10124  ** @param xcb_connection_t *c
   10125  ** @param xcb_pixmap_t      pixmap
   10126  ** @returns xcb_void_cookie_t
   10127  **
   10128  *****************************************************************************/
   10129 
   10130 xcb_void_cookie_t
   10131 xcb_free_pixmap_checked (xcb_connection_t *c  /**< */,
   10132                          xcb_pixmap_t      pixmap  /**< */);
   10133 
   10134 /**
   10135  * Delivers a request to the X server
   10136  * @param c The connection
   10137  * @return A cookie
   10138  *
   10139  * Delivers a request to the X server.
   10140  *
   10141  */
   10142 
   10143 /*****************************************************************************
   10144  **
   10145  ** xcb_void_cookie_t xcb_free_pixmap
   10146  **
   10147  ** @param xcb_connection_t *c
   10148  ** @param xcb_pixmap_t      pixmap
   10149  ** @returns xcb_void_cookie_t
   10150  **
   10151  *****************************************************************************/
   10152 
   10153 xcb_void_cookie_t
   10154 xcb_free_pixmap (xcb_connection_t *c  /**< */,
   10155                  xcb_pixmap_t      pixmap  /**< */);
   10156 
   10157 /**
   10158  * Delivers a request to the X server
   10159  * @param c The connection
   10160  * @return A cookie
   10161  *
   10162  * Delivers a request to the X server.
   10163  *
   10164  * This form can be used only if the request will not cause
   10165  * a reply to be generated. Any returned error will be
   10166  * saved for handling by xcb_request_check().
   10167  */
   10168 
   10169 /*****************************************************************************
   10170  **
   10171  ** xcb_void_cookie_t xcb_create_gc_checked
   10172  **
   10173  ** @param xcb_connection_t *c
   10174  ** @param xcb_gcontext_t    cid
   10175  ** @param xcb_drawable_t    drawable
   10176  ** @param uint32_t          value_mask
   10177  ** @param const uint32_t   *value_list
   10178  ** @returns xcb_void_cookie_t
   10179  **
   10180  *****************************************************************************/
   10181 
   10182 xcb_void_cookie_t
   10183 xcb_create_gc_checked (xcb_connection_t *c  /**< */,
   10184                        xcb_gcontext_t    cid  /**< */,
   10185                        xcb_drawable_t    drawable  /**< */,
   10186                        uint32_t          value_mask  /**< */,
   10187                        const uint32_t   *value_list  /**< */);
   10188 
   10189 /**
   10190  * Delivers a request to the X server
   10191  * @param c The connection
   10192  * @return A cookie
   10193  *
   10194  * Delivers a request to the X server.
   10195  *
   10196  */
   10197 
   10198 /*****************************************************************************
   10199  **
   10200  ** xcb_void_cookie_t xcb_create_gc
   10201  **
   10202  ** @param xcb_connection_t *c
   10203  ** @param xcb_gcontext_t    cid
   10204  ** @param xcb_drawable_t    drawable
   10205  ** @param uint32_t          value_mask
   10206  ** @param const uint32_t   *value_list
   10207  ** @returns xcb_void_cookie_t
   10208  **
   10209  *****************************************************************************/
   10210 
   10211 xcb_void_cookie_t
   10212 xcb_create_gc (xcb_connection_t *c  /**< */,
   10213                xcb_gcontext_t    cid  /**< */,
   10214                xcb_drawable_t    drawable  /**< */,
   10215                uint32_t          value_mask  /**< */,
   10216                const uint32_t   *value_list  /**< */);
   10217 
   10218 /**
   10219  * Delivers a request to the X server
   10220  * @param c The connection
   10221  * @return A cookie
   10222  *
   10223  * Delivers a request to the X server.
   10224  *
   10225  * This form can be used only if the request will not cause
   10226  * a reply to be generated. Any returned error will be
   10227  * saved for handling by xcb_request_check().
   10228  */
   10229 
   10230 /*****************************************************************************
   10231  **
   10232  ** xcb_void_cookie_t xcb_change_gc_checked
   10233  **
   10234  ** @param xcb_connection_t *c
   10235  ** @param xcb_gcontext_t    gc
   10236  ** @param uint32_t          value_mask
   10237  ** @param const uint32_t   *value_list
   10238  ** @returns xcb_void_cookie_t
   10239  **
   10240  *****************************************************************************/
   10241 
   10242 xcb_void_cookie_t
   10243 xcb_change_gc_checked (xcb_connection_t *c  /**< */,
   10244                        xcb_gcontext_t    gc  /**< */,
   10245                        uint32_t          value_mask  /**< */,
   10246                        const uint32_t   *value_list  /**< */);
   10247 
   10248 /**
   10249  * Delivers a request to the X server
   10250  * @param c The connection
   10251  * @return A cookie
   10252  *
   10253  * Delivers a request to the X server.
   10254  *
   10255  */
   10256 
   10257 /*****************************************************************************
   10258  **
   10259  ** xcb_void_cookie_t xcb_change_gc
   10260  **
   10261  ** @param xcb_connection_t *c
   10262  ** @param xcb_gcontext_t    gc
   10263  ** @param uint32_t          value_mask
   10264  ** @param const uint32_t   *value_list
   10265  ** @returns xcb_void_cookie_t
   10266  **
   10267  *****************************************************************************/
   10268 
   10269 xcb_void_cookie_t
   10270 xcb_change_gc (xcb_connection_t *c  /**< */,
   10271                xcb_gcontext_t    gc  /**< */,
   10272                uint32_t          value_mask  /**< */,
   10273                const uint32_t   *value_list  /**< */);
   10274 
   10275 /**
   10276  * Delivers a request to the X server
   10277  * @param c The connection
   10278  * @return A cookie
   10279  *
   10280  * Delivers a request to the X server.
   10281  *
   10282  * This form can be used only if the request will not cause
   10283  * a reply to be generated. Any returned error will be
   10284  * saved for handling by xcb_request_check().
   10285  */
   10286 
   10287 /*****************************************************************************
   10288  **
   10289  ** xcb_void_cookie_t xcb_copy_gc_checked
   10290  **
   10291  ** @param xcb_connection_t *c
   10292  ** @param xcb_gcontext_t    src_gc
   10293  ** @param xcb_gcontext_t    dst_gc
   10294  ** @param uint32_t          value_mask
   10295  ** @returns xcb_void_cookie_t
   10296  **
   10297  *****************************************************************************/
   10298 
   10299 xcb_void_cookie_t
   10300 xcb_copy_gc_checked (xcb_connection_t *c  /**< */,
   10301                      xcb_gcontext_t    src_gc  /**< */,
   10302                      xcb_gcontext_t    dst_gc  /**< */,
   10303                      uint32_t          value_mask  /**< */);
   10304 
   10305 /**
   10306  * Delivers a request to the X server
   10307  * @param c The connection
   10308  * @return A cookie
   10309  *
   10310  * Delivers a request to the X server.
   10311  *
   10312  */
   10313 
   10314 /*****************************************************************************
   10315  **
   10316  ** xcb_void_cookie_t xcb_copy_gc
   10317  **
   10318  ** @param xcb_connection_t *c
   10319  ** @param xcb_gcontext_t    src_gc
   10320  ** @param xcb_gcontext_t    dst_gc
   10321  ** @param uint32_t          value_mask
   10322  ** @returns xcb_void_cookie_t
   10323  **
   10324  *****************************************************************************/
   10325 
   10326 xcb_void_cookie_t
   10327 xcb_copy_gc (xcb_connection_t *c  /**< */,
   10328              xcb_gcontext_t    src_gc  /**< */,
   10329              xcb_gcontext_t    dst_gc  /**< */,
   10330              uint32_t          value_mask  /**< */);
   10331 
   10332 /**
   10333  * Delivers a request to the X server
   10334  * @param c The connection
   10335  * @return A cookie
   10336  *
   10337  * Delivers a request to the X server.
   10338  *
   10339  * This form can be used only if the request will not cause
   10340  * a reply to be generated. Any returned error will be
   10341  * saved for handling by xcb_request_check().
   10342  */
   10343 
   10344 /*****************************************************************************
   10345  **
   10346  ** xcb_void_cookie_t xcb_set_dashes_checked
   10347  **
   10348  ** @param xcb_connection_t *c
   10349  ** @param xcb_gcontext_t    gc
   10350  ** @param uint16_t          dash_offset
   10351  ** @param uint16_t          dashes_len
   10352  ** @param const uint8_t    *dashes
   10353  ** @returns xcb_void_cookie_t
   10354  **
   10355  *****************************************************************************/
   10356 
   10357 xcb_void_cookie_t
   10358 xcb_set_dashes_checked (xcb_connection_t *c  /**< */,
   10359                         xcb_gcontext_t    gc  /**< */,
   10360                         uint16_t          dash_offset  /**< */,
   10361                         uint16_t          dashes_len  /**< */,
   10362                         const uint8_t    *dashes  /**< */);
   10363 
   10364 /**
   10365  * Delivers a request to the X server
   10366  * @param c The connection
   10367  * @return A cookie
   10368  *
   10369  * Delivers a request to the X server.
   10370  *
   10371  */
   10372 
   10373 /*****************************************************************************
   10374  **
   10375  ** xcb_void_cookie_t xcb_set_dashes
   10376  **
   10377  ** @param xcb_connection_t *c
   10378  ** @param xcb_gcontext_t    gc
   10379  ** @param uint16_t          dash_offset
   10380  ** @param uint16_t          dashes_len
   10381  ** @param const uint8_t    *dashes
   10382  ** @returns xcb_void_cookie_t
   10383  **
   10384  *****************************************************************************/
   10385 
   10386 xcb_void_cookie_t
   10387 xcb_set_dashes (xcb_connection_t *c  /**< */,
   10388                 xcb_gcontext_t    gc  /**< */,
   10389                 uint16_t          dash_offset  /**< */,
   10390                 uint16_t          dashes_len  /**< */,
   10391                 const uint8_t    *dashes  /**< */);
   10392 
   10393 /**
   10394  * Delivers a request to the X server
   10395  * @param c The connection
   10396  * @return A cookie
   10397  *
   10398  * Delivers a request to the X server.
   10399  *
   10400  * This form can be used only if the request will not cause
   10401  * a reply to be generated. Any returned error will be
   10402  * saved for handling by xcb_request_check().
   10403  */
   10404 
   10405 /*****************************************************************************
   10406  **
   10407  ** xcb_void_cookie_t xcb_set_clip_rectangles_checked
   10408  **
   10409  ** @param xcb_connection_t      *c
   10410  ** @param uint8_t                ordering
   10411  ** @param xcb_gcontext_t         gc
   10412  ** @param int16_t                clip_x_origin
   10413  ** @param int16_t                clip_y_origin
   10414  ** @param uint32_t               rectangles_len
   10415  ** @param const xcb_rectangle_t *rectangles
   10416  ** @returns xcb_void_cookie_t
   10417  **
   10418  *****************************************************************************/
   10419 
   10420 xcb_void_cookie_t
   10421 xcb_set_clip_rectangles_checked (xcb_connection_t      *c  /**< */,
   10422                                  uint8_t                ordering  /**< */,
   10423                                  xcb_gcontext_t         gc  /**< */,
   10424                                  int16_t                clip_x_origin  /**< */,
   10425                                  int16_t                clip_y_origin  /**< */,
   10426                                  uint32_t               rectangles_len  /**< */,
   10427                                  const xcb_rectangle_t *rectangles  /**< */);
   10428 
   10429 /**
   10430  * Delivers a request to the X server
   10431  * @param c The connection
   10432  * @return A cookie
   10433  *
   10434  * Delivers a request to the X server.
   10435  *
   10436  */
   10437 
   10438 /*****************************************************************************
   10439  **
   10440  ** xcb_void_cookie_t xcb_set_clip_rectangles
   10441  **
   10442  ** @param xcb_connection_t      *c
   10443  ** @param uint8_t                ordering
   10444  ** @param xcb_gcontext_t         gc
   10445  ** @param int16_t                clip_x_origin
   10446  ** @param int16_t                clip_y_origin
   10447  ** @param uint32_t               rectangles_len
   10448  ** @param const xcb_rectangle_t *rectangles
   10449  ** @returns xcb_void_cookie_t
   10450  **
   10451  *****************************************************************************/
   10452 
   10453 xcb_void_cookie_t
   10454 xcb_set_clip_rectangles (xcb_connection_t      *c  /**< */,
   10455                          uint8_t                ordering  /**< */,
   10456                          xcb_gcontext_t         gc  /**< */,
   10457                          int16_t                clip_x_origin  /**< */,
   10458                          int16_t                clip_y_origin  /**< */,
   10459                          uint32_t               rectangles_len  /**< */,
   10460                          const xcb_rectangle_t *rectangles  /**< */);
   10461 
   10462 /**
   10463  * Delivers a request to the X server
   10464  * @param c The connection
   10465  * @return A cookie
   10466  *
   10467  * Delivers a request to the X server.
   10468  *
   10469  * This form can be used only if the request will not cause
   10470  * a reply to be generated. Any returned error will be
   10471  * saved for handling by xcb_request_check().
   10472  */
   10473 
   10474 /*****************************************************************************
   10475  **
   10476  ** xcb_void_cookie_t xcb_free_gc_checked
   10477  **
   10478  ** @param xcb_connection_t *c
   10479  ** @param xcb_gcontext_t    gc
   10480  ** @returns xcb_void_cookie_t
   10481  **
   10482  *****************************************************************************/
   10483 
   10484 xcb_void_cookie_t
   10485 xcb_free_gc_checked (xcb_connection_t *c  /**< */,
   10486                      xcb_gcontext_t    gc  /**< */);
   10487 
   10488 /**
   10489  * Delivers a request to the X server
   10490  * @param c The connection
   10491  * @return A cookie
   10492  *
   10493  * Delivers a request to the X server.
   10494  *
   10495  */
   10496 
   10497 /*****************************************************************************
   10498  **
   10499  ** xcb_void_cookie_t xcb_free_gc
   10500  **
   10501  ** @param xcb_connection_t *c
   10502  ** @param xcb_gcontext_t    gc
   10503  ** @returns xcb_void_cookie_t
   10504  **
   10505  *****************************************************************************/
   10506 
   10507 xcb_void_cookie_t
   10508 xcb_free_gc (xcb_connection_t *c  /**< */,
   10509              xcb_gcontext_t    gc  /**< */);
   10510 
   10511 /**
   10512  * Delivers a request to the X server
   10513  * @param c The connection
   10514  * @return A cookie
   10515  *
   10516  * Delivers a request to the X server.
   10517  *
   10518  * This form can be used only if the request will not cause
   10519  * a reply to be generated. Any returned error will be
   10520  * saved for handling by xcb_request_check().
   10521  */
   10522 
   10523 /*****************************************************************************
   10524  **
   10525  ** xcb_void_cookie_t xcb_clear_area_checked
   10526  **
   10527  ** @param xcb_connection_t *c
   10528  ** @param uint8_t           exposures
   10529  ** @param xcb_window_t      window
   10530  ** @param int16_t           x
   10531  ** @param int16_t           y
   10532  ** @param uint16_t          width
   10533  ** @param uint16_t          height
   10534  ** @returns xcb_void_cookie_t
   10535  **
   10536  *****************************************************************************/
   10537 
   10538 xcb_void_cookie_t
   10539 xcb_clear_area_checked (xcb_connection_t *c  /**< */,
   10540                         uint8_t           exposures  /**< */,
   10541                         xcb_window_t      window  /**< */,
   10542                         int16_t           x  /**< */,
   10543                         int16_t           y  /**< */,
   10544                         uint16_t          width  /**< */,
   10545                         uint16_t          height  /**< */);
   10546 
   10547 /**
   10548  * Delivers a request to the X server
   10549  * @param c The connection
   10550  * @return A cookie
   10551  *
   10552  * Delivers a request to the X server.
   10553  *
   10554  */
   10555 
   10556 /*****************************************************************************
   10557  **
   10558  ** xcb_void_cookie_t xcb_clear_area
   10559  **
   10560  ** @param xcb_connection_t *c
   10561  ** @param uint8_t           exposures
   10562  ** @param xcb_window_t      window
   10563  ** @param int16_t           x
   10564  ** @param int16_t           y
   10565  ** @param uint16_t          width
   10566  ** @param uint16_t          height
   10567  ** @returns xcb_void_cookie_t
   10568  **
   10569  *****************************************************************************/
   10570 
   10571 xcb_void_cookie_t
   10572 xcb_clear_area (xcb_connection_t *c  /**< */,
   10573                 uint8_t           exposures  /**< */,
   10574                 xcb_window_t      window  /**< */,
   10575                 int16_t           x  /**< */,
   10576                 int16_t           y  /**< */,
   10577                 uint16_t          width  /**< */,
   10578                 uint16_t          height  /**< */);
   10579 
   10580 /**
   10581  * Delivers a request to the X server
   10582  * @param c The connection
   10583  * @return A cookie
   10584  *
   10585  * Delivers a request to the X server.
   10586  *
   10587  * This form can be used only if the request will not cause
   10588  * a reply to be generated. Any returned error will be
   10589  * saved for handling by xcb_request_check().
   10590  */
   10591 
   10592 /*****************************************************************************
   10593  **
   10594  ** xcb_void_cookie_t xcb_copy_area_checked
   10595  **
   10596  ** @param xcb_connection_t *c
   10597  ** @param xcb_drawable_t    src_drawable
   10598  ** @param xcb_drawable_t    dst_drawable
   10599  ** @param xcb_gcontext_t    gc
   10600  ** @param int16_t           src_x
   10601  ** @param int16_t           src_y
   10602  ** @param int16_t           dst_x
   10603  ** @param int16_t           dst_y
   10604  ** @param uint16_t          width
   10605  ** @param uint16_t          height
   10606  ** @returns xcb_void_cookie_t
   10607  **
   10608  *****************************************************************************/
   10609 
   10610 xcb_void_cookie_t
   10611 xcb_copy_area_checked (xcb_connection_t *c  /**< */,
   10612                        xcb_drawable_t    src_drawable  /**< */,
   10613                        xcb_drawable_t    dst_drawable  /**< */,
   10614                        xcb_gcontext_t    gc  /**< */,
   10615                        int16_t           src_x  /**< */,
   10616                        int16_t           src_y  /**< */,
   10617                        int16_t           dst_x  /**< */,
   10618                        int16_t           dst_y  /**< */,
   10619                        uint16_t          width  /**< */,
   10620                        uint16_t          height  /**< */);
   10621 
   10622 /**
   10623  * Delivers a request to the X server
   10624  * @param c The connection
   10625  * @return A cookie
   10626  *
   10627  * Delivers a request to the X server.
   10628  *
   10629  */
   10630 
   10631 /*****************************************************************************
   10632  **
   10633  ** xcb_void_cookie_t xcb_copy_area
   10634  **
   10635  ** @param xcb_connection_t *c
   10636  ** @param xcb_drawable_t    src_drawable
   10637  ** @param xcb_drawable_t    dst_drawable
   10638  ** @param xcb_gcontext_t    gc
   10639  ** @param int16_t           src_x
   10640  ** @param int16_t           src_y
   10641  ** @param int16_t           dst_x
   10642  ** @param int16_t           dst_y
   10643  ** @param uint16_t          width
   10644  ** @param uint16_t          height
   10645  ** @returns xcb_void_cookie_t
   10646  **
   10647  *****************************************************************************/
   10648 
   10649 xcb_void_cookie_t
   10650 xcb_copy_area (xcb_connection_t *c  /**< */,
   10651                xcb_drawable_t    src_drawable  /**< */,
   10652                xcb_drawable_t    dst_drawable  /**< */,
   10653                xcb_gcontext_t    gc  /**< */,
   10654                int16_t           src_x  /**< */,
   10655                int16_t           src_y  /**< */,
   10656                int16_t           dst_x  /**< */,
   10657                int16_t           dst_y  /**< */,
   10658                uint16_t          width  /**< */,
   10659                uint16_t          height  /**< */);
   10660 
   10661 /**
   10662  * Delivers a request to the X server
   10663  * @param c The connection
   10664  * @return A cookie
   10665  *
   10666  * Delivers a request to the X server.
   10667  *
   10668  * This form can be used only if the request will not cause
   10669  * a reply to be generated. Any returned error will be
   10670  * saved for handling by xcb_request_check().
   10671  */
   10672 
   10673 /*****************************************************************************
   10674  **
   10675  ** xcb_void_cookie_t xcb_copy_plane_checked
   10676  **
   10677  ** @param xcb_connection_t *c
   10678  ** @param xcb_drawable_t    src_drawable
   10679  ** @param xcb_drawable_t    dst_drawable
   10680  ** @param xcb_gcontext_t    gc
   10681  ** @param int16_t           src_x
   10682  ** @param int16_t           src_y
   10683  ** @param int16_t           dst_x
   10684  ** @param int16_t           dst_y
   10685  ** @param uint16_t          width
   10686  ** @param uint16_t          height
   10687  ** @param uint32_t          bit_plane
   10688  ** @returns xcb_void_cookie_t
   10689  **
   10690  *****************************************************************************/
   10691 
   10692 xcb_void_cookie_t
   10693 xcb_copy_plane_checked (xcb_connection_t *c  /**< */,
   10694                         xcb_drawable_t    src_drawable  /**< */,
   10695                         xcb_drawable_t    dst_drawable  /**< */,
   10696                         xcb_gcontext_t    gc  /**< */,
   10697                         int16_t           src_x  /**< */,
   10698                         int16_t           src_y  /**< */,
   10699                         int16_t           dst_x  /**< */,
   10700                         int16_t           dst_y  /**< */,
   10701                         uint16_t          width  /**< */,
   10702                         uint16_t          height  /**< */,
   10703                         uint32_t          bit_plane  /**< */);
   10704 
   10705 /**
   10706  * Delivers a request to the X server
   10707  * @param c The connection
   10708  * @return A cookie
   10709  *
   10710  * Delivers a request to the X server.
   10711  *
   10712  */
   10713 
   10714 /*****************************************************************************
   10715  **
   10716  ** xcb_void_cookie_t xcb_copy_plane
   10717  **
   10718  ** @param xcb_connection_t *c
   10719  ** @param xcb_drawable_t    src_drawable
   10720  ** @param xcb_drawable_t    dst_drawable
   10721  ** @param xcb_gcontext_t    gc
   10722  ** @param int16_t           src_x
   10723  ** @param int16_t           src_y
   10724  ** @param int16_t           dst_x
   10725  ** @param int16_t           dst_y
   10726  ** @param uint16_t          width
   10727  ** @param uint16_t          height
   10728  ** @param uint32_t          bit_plane
   10729  ** @returns xcb_void_cookie_t
   10730  **
   10731  *****************************************************************************/
   10732 
   10733 xcb_void_cookie_t
   10734 xcb_copy_plane (xcb_connection_t *c  /**< */,
   10735                 xcb_drawable_t    src_drawable  /**< */,
   10736                 xcb_drawable_t    dst_drawable  /**< */,
   10737                 xcb_gcontext_t    gc  /**< */,
   10738                 int16_t           src_x  /**< */,
   10739                 int16_t           src_y  /**< */,
   10740                 int16_t           dst_x  /**< */,
   10741                 int16_t           dst_y  /**< */,
   10742                 uint16_t          width  /**< */,
   10743                 uint16_t          height  /**< */,
   10744                 uint32_t          bit_plane  /**< */);
   10745 
   10746 /**
   10747  * Delivers a request to the X server
   10748  * @param c The connection
   10749  * @return A cookie
   10750  *
   10751  * Delivers a request to the X server.
   10752  *
   10753  * This form can be used only if the request will not cause
   10754  * a reply to be generated. Any returned error will be
   10755  * saved for handling by xcb_request_check().
   10756  */
   10757 
   10758 /*****************************************************************************
   10759  **
   10760  ** xcb_void_cookie_t xcb_poly_point_checked
   10761  **
   10762  ** @param xcb_connection_t  *c
   10763  ** @param uint8_t            coordinate_mode
   10764  ** @param xcb_drawable_t     drawable
   10765  ** @param xcb_gcontext_t     gc
   10766  ** @param uint32_t           points_len
   10767  ** @param const xcb_point_t *points
   10768  ** @returns xcb_void_cookie_t
   10769  **
   10770  *****************************************************************************/
   10771 
   10772 xcb_void_cookie_t
   10773 xcb_poly_point_checked (xcb_connection_t  *c  /**< */,
   10774                         uint8_t            coordinate_mode  /**< */,
   10775                         xcb_drawable_t     drawable  /**< */,
   10776                         xcb_gcontext_t     gc  /**< */,
   10777                         uint32_t           points_len  /**< */,
   10778                         const xcb_point_t *points  /**< */);
   10779 
   10780 /**
   10781  * Delivers a request to the X server
   10782  * @param c The connection
   10783  * @return A cookie
   10784  *
   10785  * Delivers a request to the X server.
   10786  *
   10787  */
   10788 
   10789 /*****************************************************************************
   10790  **
   10791  ** xcb_void_cookie_t xcb_poly_point
   10792  **
   10793  ** @param xcb_connection_t  *c
   10794  ** @param uint8_t            coordinate_mode
   10795  ** @param xcb_drawable_t     drawable
   10796  ** @param xcb_gcontext_t     gc
   10797  ** @param uint32_t           points_len
   10798  ** @param const xcb_point_t *points
   10799  ** @returns xcb_void_cookie_t
   10800  **
   10801  *****************************************************************************/
   10802 
   10803 xcb_void_cookie_t
   10804 xcb_poly_point (xcb_connection_t  *c  /**< */,
   10805                 uint8_t            coordinate_mode  /**< */,
   10806                 xcb_drawable_t     drawable  /**< */,
   10807                 xcb_gcontext_t     gc  /**< */,
   10808                 uint32_t           points_len  /**< */,
   10809                 const xcb_point_t *points  /**< */);
   10810 
   10811 /**
   10812  * Delivers a request to the X server
   10813  * @param c The connection
   10814  * @return A cookie
   10815  *
   10816  * Delivers a request to the X server.
   10817  *
   10818  * This form can be used only if the request will not cause
   10819  * a reply to be generated. Any returned error will be
   10820  * saved for handling by xcb_request_check().
   10821  */
   10822 
   10823 /*****************************************************************************
   10824  **
   10825  ** xcb_void_cookie_t xcb_poly_line_checked
   10826  **
   10827  ** @param xcb_connection_t  *c
   10828  ** @param uint8_t            coordinate_mode
   10829  ** @param xcb_drawable_t     drawable
   10830  ** @param xcb_gcontext_t     gc
   10831  ** @param uint32_t           points_len
   10832  ** @param const xcb_point_t *points
   10833  ** @returns xcb_void_cookie_t
   10834  **
   10835  *****************************************************************************/
   10836 
   10837 xcb_void_cookie_t
   10838 xcb_poly_line_checked (xcb_connection_t  *c  /**< */,
   10839                        uint8_t            coordinate_mode  /**< */,
   10840                        xcb_drawable_t     drawable  /**< */,
   10841                        xcb_gcontext_t     gc  /**< */,
   10842                        uint32_t           points_len  /**< */,
   10843                        const xcb_point_t *points  /**< */);
   10844 
   10845 /**
   10846  * Delivers a request to the X server
   10847  * @param c The connection
   10848  * @return A cookie
   10849  *
   10850  * Delivers a request to the X server.
   10851  *
   10852  */
   10853 
   10854 /*****************************************************************************
   10855  **
   10856  ** xcb_void_cookie_t xcb_poly_line
   10857  **
   10858  ** @param xcb_connection_t  *c
   10859  ** @param uint8_t            coordinate_mode
   10860  ** @param xcb_drawable_t     drawable
   10861  ** @param xcb_gcontext_t     gc
   10862  ** @param uint32_t           points_len
   10863  ** @param const xcb_point_t *points
   10864  ** @returns xcb_void_cookie_t
   10865  **
   10866  *****************************************************************************/
   10867 
   10868 xcb_void_cookie_t
   10869 xcb_poly_line (xcb_connection_t  *c  /**< */,
   10870                uint8_t            coordinate_mode  /**< */,
   10871                xcb_drawable_t     drawable  /**< */,
   10872                xcb_gcontext_t     gc  /**< */,
   10873                uint32_t           points_len  /**< */,
   10874                const xcb_point_t *points  /**< */);
   10875 
   10876 /**
   10877  * Get the next element of the iterator
   10878  * @param i Pointer to a xcb_segment_iterator_t
   10879  *
   10880  * Get the next element in the iterator. The member rem is
   10881  * decreased by one. The member data points to the next
   10882  * element. The member index is increased by sizeof(xcb_segment_t)
   10883  */
   10884 
   10885 /*****************************************************************************
   10886  **
   10887  ** void xcb_segment_next
   10888  **
   10889  ** @param xcb_segment_iterator_t *i
   10890  ** @returns void
   10891  **
   10892  *****************************************************************************/
   10893 
   10894 void
   10895 xcb_segment_next (xcb_segment_iterator_t *i  /**< */);
   10896 
   10897 /**
   10898  * Return the iterator pointing to the last element
   10899  * @param i An xcb_segment_iterator_t
   10900  * @return  The iterator pointing to the last element
   10901  *
   10902  * Set the current element in the iterator to the last element.
   10903  * The member rem is set to 0. The member data points to the
   10904  * last element.
   10905  */
   10906 
   10907 /*****************************************************************************
   10908  **
   10909  ** xcb_generic_iterator_t xcb_segment_end
   10910  **
   10911  ** @param xcb_segment_iterator_t i
   10912  ** @returns xcb_generic_iterator_t
   10913  **
   10914  *****************************************************************************/
   10915 
   10916 xcb_generic_iterator_t
   10917 xcb_segment_end (xcb_segment_iterator_t i  /**< */);
   10918 
   10919 /**
   10920  * Delivers a request to the X server
   10921  * @param c The connection
   10922  * @return A cookie
   10923  *
   10924  * Delivers a request to the X server.
   10925  *
   10926  * This form can be used only if the request will not cause
   10927  * a reply to be generated. Any returned error will be
   10928  * saved for handling by xcb_request_check().
   10929  */
   10930 
   10931 /*****************************************************************************
   10932  **
   10933  ** xcb_void_cookie_t xcb_poly_segment_checked
   10934  **
   10935  ** @param xcb_connection_t    *c
   10936  ** @param xcb_drawable_t       drawable
   10937  ** @param xcb_gcontext_t       gc
   10938  ** @param uint32_t             segments_len
   10939  ** @param const xcb_segment_t *segments
   10940  ** @returns xcb_void_cookie_t
   10941  **
   10942  *****************************************************************************/
   10943 
   10944 xcb_void_cookie_t
   10945 xcb_poly_segment_checked (xcb_connection_t    *c  /**< */,
   10946                           xcb_drawable_t       drawable  /**< */,
   10947                           xcb_gcontext_t       gc  /**< */,
   10948                           uint32_t             segments_len  /**< */,
   10949                           const xcb_segment_t *segments  /**< */);
   10950 
   10951 /**
   10952  * Delivers a request to the X server
   10953  * @param c The connection
   10954  * @return A cookie
   10955  *
   10956  * Delivers a request to the X server.
   10957  *
   10958  */
   10959 
   10960 /*****************************************************************************
   10961  **
   10962  ** xcb_void_cookie_t xcb_poly_segment
   10963  **
   10964  ** @param xcb_connection_t    *c
   10965  ** @param xcb_drawable_t       drawable
   10966  ** @param xcb_gcontext_t       gc
   10967  ** @param uint32_t             segments_len
   10968  ** @param const xcb_segment_t *segments
   10969  ** @returns xcb_void_cookie_t
   10970  **
   10971  *****************************************************************************/
   10972 
   10973 xcb_void_cookie_t
   10974 xcb_poly_segment (xcb_connection_t    *c  /**< */,
   10975                   xcb_drawable_t       drawable  /**< */,
   10976                   xcb_gcontext_t       gc  /**< */,
   10977                   uint32_t             segments_len  /**< */,
   10978                   const xcb_segment_t *segments  /**< */);
   10979 
   10980 /**
   10981  * Delivers a request to the X server
   10982  * @param c The connection
   10983  * @return A cookie
   10984  *
   10985  * Delivers a request to the X server.
   10986  *
   10987  * This form can be used only if the request will not cause
   10988  * a reply to be generated. Any returned error will be
   10989  * saved for handling by xcb_request_check().
   10990  */
   10991 
   10992 /*****************************************************************************
   10993  **
   10994  ** xcb_void_cookie_t xcb_poly_rectangle_checked
   10995  **
   10996  ** @param xcb_connection_t      *c
   10997  ** @param xcb_drawable_t         drawable
   10998  ** @param xcb_gcontext_t         gc
   10999  ** @param uint32_t               rectangles_len
   11000  ** @param const xcb_rectangle_t *rectangles
   11001  ** @returns xcb_void_cookie_t
   11002  **
   11003  *****************************************************************************/
   11004 
   11005 xcb_void_cookie_t
   11006 xcb_poly_rectangle_checked (xcb_connection_t      *c  /**< */,
   11007                             xcb_drawable_t         drawable  /**< */,
   11008                             xcb_gcontext_t         gc  /**< */,
   11009                             uint32_t               rectangles_len  /**< */,
   11010                             const xcb_rectangle_t *rectangles  /**< */);
   11011 
   11012 /**
   11013  * Delivers a request to the X server
   11014  * @param c The connection
   11015  * @return A cookie
   11016  *
   11017  * Delivers a request to the X server.
   11018  *
   11019  */
   11020 
   11021 /*****************************************************************************
   11022  **
   11023  ** xcb_void_cookie_t xcb_poly_rectangle
   11024  **
   11025  ** @param xcb_connection_t      *c
   11026  ** @param xcb_drawable_t         drawable
   11027  ** @param xcb_gcontext_t         gc
   11028  ** @param uint32_t               rectangles_len
   11029  ** @param const xcb_rectangle_t *rectangles
   11030  ** @returns xcb_void_cookie_t
   11031  **
   11032  *****************************************************************************/
   11033 
   11034 xcb_void_cookie_t
   11035 xcb_poly_rectangle (xcb_connection_t      *c  /**< */,
   11036                     xcb_drawable_t         drawable  /**< */,
   11037                     xcb_gcontext_t         gc  /**< */,
   11038                     uint32_t               rectangles_len  /**< */,
   11039                     const xcb_rectangle_t *rectangles  /**< */);
   11040 
   11041 /**
   11042  * Delivers a request to the X server
   11043  * @param c The connection
   11044  * @return A cookie
   11045  *
   11046  * Delivers a request to the X server.
   11047  *
   11048  * This form can be used only if the request will not cause
   11049  * a reply to be generated. Any returned error will be
   11050  * saved for handling by xcb_request_check().
   11051  */
   11052 
   11053 /*****************************************************************************
   11054  **
   11055  ** xcb_void_cookie_t xcb_poly_arc_checked
   11056  **
   11057  ** @param xcb_connection_t *c
   11058  ** @param xcb_drawable_t    drawable
   11059  ** @param xcb_gcontext_t    gc
   11060  ** @param uint32_t          arcs_len
   11061  ** @param const xcb_arc_t  *arcs
   11062  ** @returns xcb_void_cookie_t
   11063  **
   11064  *****************************************************************************/
   11065 
   11066 xcb_void_cookie_t
   11067 xcb_poly_arc_checked (xcb_connection_t *c  /**< */,
   11068                       xcb_drawable_t    drawable  /**< */,
   11069                       xcb_gcontext_t    gc  /**< */,
   11070                       uint32_t          arcs_len  /**< */,
   11071                       const xcb_arc_t  *arcs  /**< */);
   11072 
   11073 /**
   11074  * Delivers a request to the X server
   11075  * @param c The connection
   11076  * @return A cookie
   11077  *
   11078  * Delivers a request to the X server.
   11079  *
   11080  */
   11081 
   11082 /*****************************************************************************
   11083  **
   11084  ** xcb_void_cookie_t xcb_poly_arc
   11085  **
   11086  ** @param xcb_connection_t *c
   11087  ** @param xcb_drawable_t    drawable
   11088  ** @param xcb_gcontext_t    gc
   11089  ** @param uint32_t          arcs_len
   11090  ** @param const xcb_arc_t  *arcs
   11091  ** @returns xcb_void_cookie_t
   11092  **
   11093  *****************************************************************************/
   11094 
   11095 xcb_void_cookie_t
   11096 xcb_poly_arc (xcb_connection_t *c  /**< */,
   11097               xcb_drawable_t    drawable  /**< */,
   11098               xcb_gcontext_t    gc  /**< */,
   11099               uint32_t          arcs_len  /**< */,
   11100               const xcb_arc_t  *arcs  /**< */);
   11101 
   11102 /**
   11103  * Delivers a request to the X server
   11104  * @param c The connection
   11105  * @return A cookie
   11106  *
   11107  * Delivers a request to the X server.
   11108  *
   11109  * This form can be used only if the request will not cause
   11110  * a reply to be generated. Any returned error will be
   11111  * saved for handling by xcb_request_check().
   11112  */
   11113 
   11114 /*****************************************************************************
   11115  **
   11116  ** xcb_void_cookie_t xcb_fill_poly_checked
   11117  **
   11118  ** @param xcb_connection_t  *c
   11119  ** @param xcb_drawable_t     drawable
   11120  ** @param xcb_gcontext_t     gc
   11121  ** @param uint8_t            shape
   11122  ** @param uint8_t            coordinate_mode
   11123  ** @param uint32_t           points_len
   11124  ** @param const xcb_point_t *points
   11125  ** @returns xcb_void_cookie_t
   11126  **
   11127  *****************************************************************************/
   11128 
   11129 xcb_void_cookie_t
   11130 xcb_fill_poly_checked (xcb_connection_t  *c  /**< */,
   11131                        xcb_drawable_t     drawable  /**< */,
   11132                        xcb_gcontext_t     gc  /**< */,
   11133                        uint8_t            shape  /**< */,
   11134                        uint8_t            coordinate_mode  /**< */,
   11135                        uint32_t           points_len  /**< */,
   11136                        const xcb_point_t *points  /**< */);
   11137 
   11138 /**
   11139  * Delivers a request to the X server
   11140  * @param c The connection
   11141  * @return A cookie
   11142  *
   11143  * Delivers a request to the X server.
   11144  *
   11145  */
   11146 
   11147 /*****************************************************************************
   11148  **
   11149  ** xcb_void_cookie_t xcb_fill_poly
   11150  **
   11151  ** @param xcb_connection_t  *c
   11152  ** @param xcb_drawable_t     drawable
   11153  ** @param xcb_gcontext_t     gc
   11154  ** @param uint8_t            shape
   11155  ** @param uint8_t            coordinate_mode
   11156  ** @param uint32_t           points_len
   11157  ** @param const xcb_point_t *points
   11158  ** @returns xcb_void_cookie_t
   11159  **
   11160  *****************************************************************************/
   11161 
   11162 xcb_void_cookie_t
   11163 xcb_fill_poly (xcb_connection_t  *c  /**< */,
   11164                xcb_drawable_t     drawable  /**< */,
   11165                xcb_gcontext_t     gc  /**< */,
   11166                uint8_t            shape  /**< */,
   11167                uint8_t            coordinate_mode  /**< */,
   11168                uint32_t           points_len  /**< */,
   11169                const xcb_point_t *points  /**< */);
   11170 
   11171 /**
   11172  * Delivers a request to the X server
   11173  * @param c The connection
   11174  * @return A cookie
   11175  *
   11176  * Delivers a request to the X server.
   11177  *
   11178  * This form can be used only if the request will not cause
   11179  * a reply to be generated. Any returned error will be
   11180  * saved for handling by xcb_request_check().
   11181  */
   11182 
   11183 /*****************************************************************************
   11184  **
   11185  ** xcb_void_cookie_t xcb_poly_fill_rectangle_checked
   11186  **
   11187  ** @param xcb_connection_t      *c
   11188  ** @param xcb_drawable_t         drawable
   11189  ** @param xcb_gcontext_t         gc
   11190  ** @param uint32_t               rectangles_len
   11191  ** @param const xcb_rectangle_t *rectangles
   11192  ** @returns xcb_void_cookie_t
   11193  **
   11194  *****************************************************************************/
   11195 
   11196 xcb_void_cookie_t
   11197 xcb_poly_fill_rectangle_checked (xcb_connection_t      *c  /**< */,
   11198                                  xcb_drawable_t         drawable  /**< */,
   11199                                  xcb_gcontext_t         gc  /**< */,
   11200                                  uint32_t               rectangles_len  /**< */,
   11201                                  const xcb_rectangle_t *rectangles  /**< */);
   11202 
   11203 /**
   11204  * Delivers a request to the X server
   11205  * @param c The connection
   11206  * @return A cookie
   11207  *
   11208  * Delivers a request to the X server.
   11209  *
   11210  */
   11211 
   11212 /*****************************************************************************
   11213  **
   11214  ** xcb_void_cookie_t xcb_poly_fill_rectangle
   11215  **
   11216  ** @param xcb_connection_t      *c
   11217  ** @param xcb_drawable_t         drawable
   11218  ** @param xcb_gcontext_t         gc
   11219  ** @param uint32_t               rectangles_len
   11220  ** @param const xcb_rectangle_t *rectangles
   11221  ** @returns xcb_void_cookie_t
   11222  **
   11223  *****************************************************************************/
   11224 
   11225 xcb_void_cookie_t
   11226 xcb_poly_fill_rectangle (xcb_connection_t      *c  /**< */,
   11227                          xcb_drawable_t         drawable  /**< */,
   11228                          xcb_gcontext_t         gc  /**< */,
   11229                          uint32_t               rectangles_len  /**< */,
   11230                          const xcb_rectangle_t *rectangles  /**< */);
   11231 
   11232 /**
   11233  * Delivers a request to the X server
   11234  * @param c The connection
   11235  * @return A cookie
   11236  *
   11237  * Delivers a request to the X server.
   11238  *
   11239  * This form can be used only if the request will not cause
   11240  * a reply to be generated. Any returned error will be
   11241  * saved for handling by xcb_request_check().
   11242  */
   11243 
   11244 /*****************************************************************************
   11245  **
   11246  ** xcb_void_cookie_t xcb_poly_fill_arc_checked
   11247  **
   11248  ** @param xcb_connection_t *c
   11249  ** @param xcb_drawable_t    drawable
   11250  ** @param xcb_gcontext_t    gc
   11251  ** @param uint32_t          arcs_len
   11252  ** @param const xcb_arc_t  *arcs
   11253  ** @returns xcb_void_cookie_t
   11254  **
   11255  *****************************************************************************/
   11256 
   11257 xcb_void_cookie_t
   11258 xcb_poly_fill_arc_checked (xcb_connection_t *c  /**< */,
   11259                            xcb_drawable_t    drawable  /**< */,
   11260                            xcb_gcontext_t    gc  /**< */,
   11261                            uint32_t          arcs_len  /**< */,
   11262                            const xcb_arc_t  *arcs  /**< */);
   11263 
   11264 /**
   11265  * Delivers a request to the X server
   11266  * @param c The connection
   11267  * @return A cookie
   11268  *
   11269  * Delivers a request to the X server.
   11270  *
   11271  */
   11272 
   11273 /*****************************************************************************
   11274  **
   11275  ** xcb_void_cookie_t xcb_poly_fill_arc
   11276  **
   11277  ** @param xcb_connection_t *c
   11278  ** @param xcb_drawable_t    drawable
   11279  ** @param xcb_gcontext_t    gc
   11280  ** @param uint32_t          arcs_len
   11281  ** @param const xcb_arc_t  *arcs
   11282  ** @returns xcb_void_cookie_t
   11283  **
   11284  *****************************************************************************/
   11285 
   11286 xcb_void_cookie_t
   11287 xcb_poly_fill_arc (xcb_connection_t *c  /**< */,
   11288                    xcb_drawable_t    drawable  /**< */,
   11289                    xcb_gcontext_t    gc  /**< */,
   11290                    uint32_t          arcs_len  /**< */,
   11291                    const xcb_arc_t  *arcs  /**< */);
   11292 
   11293 /**
   11294  * Delivers a request to the X server
   11295  * @param c The connection
   11296  * @return A cookie
   11297  *
   11298  * Delivers a request to the X server.
   11299  *
   11300  * This form can be used only if the request will not cause
   11301  * a reply to be generated. Any returned error will be
   11302  * saved for handling by xcb_request_check().
   11303  */
   11304 
   11305 /*****************************************************************************
   11306  **
   11307  ** xcb_void_cookie_t xcb_put_image_checked
   11308  **
   11309  ** @param xcb_connection_t *c
   11310  ** @param uint8_t           format
   11311  ** @param xcb_drawable_t    drawable
   11312  ** @param xcb_gcontext_t    gc
   11313  ** @param uint16_t          width
   11314  ** @param uint16_t          height
   11315  ** @param int16_t           dst_x
   11316  ** @param int16_t           dst_y
   11317  ** @param uint8_t           left_pad
   11318  ** @param uint8_t           depth
   11319  ** @param uint32_t          data_len
   11320  ** @param const uint8_t    *data
   11321  ** @returns xcb_void_cookie_t
   11322  **
   11323  *****************************************************************************/
   11324 
   11325 xcb_void_cookie_t
   11326 xcb_put_image_checked (xcb_connection_t *c  /**< */,
   11327                        uint8_t           format  /**< */,
   11328                        xcb_drawable_t    drawable  /**< */,
   11329                        xcb_gcontext_t    gc  /**< */,
   11330                        uint16_t          width  /**< */,
   11331                        uint16_t          height  /**< */,
   11332                        int16_t           dst_x  /**< */,
   11333                        int16_t           dst_y  /**< */,
   11334                        uint8_t           left_pad  /**< */,
   11335                        uint8_t           depth  /**< */,
   11336                        uint32_t          data_len  /**< */,
   11337                        const uint8_t    *data  /**< */);
   11338 
   11339 /**
   11340  * Delivers a request to the X server
   11341  * @param c The connection
   11342  * @return A cookie
   11343  *
   11344  * Delivers a request to the X server.
   11345  *
   11346  */
   11347 
   11348 /*****************************************************************************
   11349  **
   11350  ** xcb_void_cookie_t xcb_put_image
   11351  **
   11352  ** @param xcb_connection_t *c
   11353  ** @param uint8_t           format
   11354  ** @param xcb_drawable_t    drawable
   11355  ** @param xcb_gcontext_t    gc
   11356  ** @param uint16_t          width
   11357  ** @param uint16_t          height
   11358  ** @param int16_t           dst_x
   11359  ** @param int16_t           dst_y
   11360  ** @param uint8_t           left_pad
   11361  ** @param uint8_t           depth
   11362  ** @param uint32_t          data_len
   11363  ** @param const uint8_t    *data
   11364  ** @returns xcb_void_cookie_t
   11365  **
   11366  *****************************************************************************/
   11367 
   11368 xcb_void_cookie_t
   11369 xcb_put_image (xcb_connection_t *c  /**< */,
   11370                uint8_t           format  /**< */,
   11371                xcb_drawable_t    drawable  /**< */,
   11372                xcb_gcontext_t    gc  /**< */,
   11373                uint16_t          width  /**< */,
   11374                uint16_t          height  /**< */,
   11375                int16_t           dst_x  /**< */,
   11376                int16_t           dst_y  /**< */,
   11377                uint8_t           left_pad  /**< */,
   11378                uint8_t           depth  /**< */,
   11379                uint32_t          data_len  /**< */,
   11380                const uint8_t    *data  /**< */);
   11381 
   11382 /**
   11383  * Delivers a request to the X server
   11384  * @param c The connection
   11385  * @return A cookie
   11386  *
   11387  * Delivers a request to the X server.
   11388  *
   11389  */
   11390 
   11391 /*****************************************************************************
   11392  **
   11393  ** xcb_get_image_cookie_t xcb_get_image
   11394  **
   11395  ** @param xcb_connection_t *c
   11396  ** @param uint8_t           format
   11397  ** @param xcb_drawable_t    drawable
   11398  ** @param int16_t           x
   11399  ** @param int16_t           y
   11400  ** @param uint16_t          width
   11401  ** @param uint16_t          height
   11402  ** @param uint32_t          plane_mask
   11403  ** @returns xcb_get_image_cookie_t
   11404  **
   11405  *****************************************************************************/
   11406 
   11407 xcb_get_image_cookie_t
   11408 xcb_get_image (xcb_connection_t *c  /**< */,
   11409                uint8_t           format  /**< */,
   11410                xcb_drawable_t    drawable  /**< */,
   11411                int16_t           x  /**< */,
   11412                int16_t           y  /**< */,
   11413                uint16_t          width  /**< */,
   11414                uint16_t          height  /**< */,
   11415                uint32_t          plane_mask  /**< */);
   11416 
   11417 /**
   11418  * Delivers a request to the X server
   11419  * @param c The connection
   11420  * @return A cookie
   11421  *
   11422  * Delivers a request to the X server.
   11423  *
   11424  * This form can be used only if the request will cause
   11425  * a reply to be generated. Any returned error will be
   11426  * placed in the event queue.
   11427  */
   11428 
   11429 /*****************************************************************************
   11430  **
   11431  ** xcb_get_image_cookie_t xcb_get_image_unchecked
   11432  **
   11433  ** @param xcb_connection_t *c
   11434  ** @param uint8_t           format
   11435  ** @param xcb_drawable_t    drawable
   11436  ** @param int16_t           x
   11437  ** @param int16_t           y
   11438  ** @param uint16_t          width
   11439  ** @param uint16_t          height
   11440  ** @param uint32_t          plane_mask
   11441  ** @returns xcb_get_image_cookie_t
   11442  **
   11443  *****************************************************************************/
   11444 
   11445 xcb_get_image_cookie_t
   11446 xcb_get_image_unchecked (xcb_connection_t *c  /**< */,
   11447                          uint8_t           format  /**< */,
   11448                          xcb_drawable_t    drawable  /**< */,
   11449                          int16_t           x  /**< */,
   11450                          int16_t           y  /**< */,
   11451                          uint16_t          width  /**< */,
   11452                          uint16_t          height  /**< */,
   11453                          uint32_t          plane_mask  /**< */);
   11454 
   11455 
   11456 /*****************************************************************************
   11457  **
   11458  ** uint8_t * xcb_get_image_data
   11459  **
   11460  ** @param const xcb_get_image_reply_t *R
   11461  ** @returns uint8_t *
   11462  **
   11463  *****************************************************************************/
   11464 
   11465 uint8_t *
   11466 xcb_get_image_data (const xcb_get_image_reply_t *R  /**< */);
   11467 
   11468 
   11469 /*****************************************************************************
   11470  **
   11471  ** int xcb_get_image_data_length
   11472  **
   11473  ** @param const xcb_get_image_reply_t *R
   11474  ** @returns int
   11475  **
   11476  *****************************************************************************/
   11477 
   11478 int
   11479 xcb_get_image_data_length (const xcb_get_image_reply_t *R  /**< */);
   11480 
   11481 
   11482 /*****************************************************************************
   11483  **
   11484  ** xcb_generic_iterator_t xcb_get_image_data_end
   11485  **
   11486  ** @param const xcb_get_image_reply_t *R
   11487  ** @returns xcb_generic_iterator_t
   11488  **
   11489  *****************************************************************************/
   11490 
   11491 xcb_generic_iterator_t
   11492 xcb_get_image_data_end (const xcb_get_image_reply_t *R  /**< */);
   11493 
   11494 /**
   11495  * Return the reply
   11496  * @param c      The connection
   11497  * @param cookie The cookie
   11498  * @param e      The xcb_generic_error_t supplied
   11499  *
   11500  * Returns the reply of the request asked by
   11501  *
   11502  * The parameter @p e supplied to this function must be NULL if
   11503  * xcb_get_image_unchecked(). is used.
   11504  * Otherwise, it stores the error if any.
   11505  *
   11506  * The returned value must be freed by the caller using free().
   11507  */
   11508 
   11509 /*****************************************************************************
   11510  **
   11511  ** xcb_get_image_reply_t * xcb_get_image_reply
   11512  **
   11513  ** @param xcb_connection_t        *c
   11514  ** @param xcb_get_image_cookie_t   cookie
   11515  ** @param xcb_generic_error_t    **e
   11516  ** @returns xcb_get_image_reply_t *
   11517  **
   11518  *****************************************************************************/
   11519 
   11520 xcb_get_image_reply_t *
   11521 xcb_get_image_reply (xcb_connection_t        *c  /**< */,
   11522                      xcb_get_image_cookie_t   cookie  /**< */,
   11523                      xcb_generic_error_t    **e  /**< */);
   11524 
   11525 /**
   11526  * Delivers a request to the X server
   11527  * @param c The connection
   11528  * @return A cookie
   11529  *
   11530  * Delivers a request to the X server.
   11531  *
   11532  * This form can be used only if the request will not cause
   11533  * a reply to be generated. Any returned error will be
   11534  * saved for handling by xcb_request_check().
   11535  */
   11536 
   11537 /*****************************************************************************
   11538  **
   11539  ** xcb_void_cookie_t xcb_poly_text_8_checked
   11540  **
   11541  ** @param xcb_connection_t *c
   11542  ** @param xcb_drawable_t    drawable
   11543  ** @param xcb_gcontext_t    gc
   11544  ** @param int16_t           x
   11545  ** @param int16_t           y
   11546  ** @param uint32_t          items_len
   11547  ** @param const uint8_t    *items
   11548  ** @returns xcb_void_cookie_t
   11549  **
   11550  *****************************************************************************/
   11551 
   11552 xcb_void_cookie_t
   11553 xcb_poly_text_8_checked (xcb_connection_t *c  /**< */,
   11554                          xcb_drawable_t    drawable  /**< */,
   11555                          xcb_gcontext_t    gc  /**< */,
   11556                          int16_t           x  /**< */,
   11557                          int16_t           y  /**< */,
   11558                          uint32_t          items_len  /**< */,
   11559                          const uint8_t    *items  /**< */);
   11560 
   11561 /**
   11562  * Delivers a request to the X server
   11563  * @param c The connection
   11564  * @return A cookie
   11565  *
   11566  * Delivers a request to the X server.
   11567  *
   11568  */
   11569 
   11570 /*****************************************************************************
   11571  **
   11572  ** xcb_void_cookie_t xcb_poly_text_8
   11573  **
   11574  ** @param xcb_connection_t *c
   11575  ** @param xcb_drawable_t    drawable
   11576  ** @param xcb_gcontext_t    gc
   11577  ** @param int16_t           x
   11578  ** @param int16_t           y
   11579  ** @param uint32_t          items_len
   11580  ** @param const uint8_t    *items
   11581  ** @returns xcb_void_cookie_t
   11582  **
   11583  *****************************************************************************/
   11584 
   11585 xcb_void_cookie_t
   11586 xcb_poly_text_8 (xcb_connection_t *c  /**< */,
   11587                  xcb_drawable_t    drawable  /**< */,
   11588                  xcb_gcontext_t    gc  /**< */,
   11589                  int16_t           x  /**< */,
   11590                  int16_t           y  /**< */,
   11591                  uint32_t          items_len  /**< */,
   11592                  const uint8_t    *items  /**< */);
   11593 
   11594 /**
   11595  * Delivers a request to the X server
   11596  * @param c The connection
   11597  * @return A cookie
   11598  *
   11599  * Delivers a request to the X server.
   11600  *
   11601  * This form can be used only if the request will not cause
   11602  * a reply to be generated. Any returned error will be
   11603  * saved for handling by xcb_request_check().
   11604  */
   11605 
   11606 /*****************************************************************************
   11607  **
   11608  ** xcb_void_cookie_t xcb_poly_text_16_checked
   11609  **
   11610  ** @param xcb_connection_t *c
   11611  ** @param xcb_drawable_t    drawable
   11612  ** @param xcb_gcontext_t    gc
   11613  ** @param int16_t           x
   11614  ** @param int16_t           y
   11615  ** @param uint32_t          items_len
   11616  ** @param const uint8_t    *items
   11617  ** @returns xcb_void_cookie_t
   11618  **
   11619  *****************************************************************************/
   11620 
   11621 xcb_void_cookie_t
   11622 xcb_poly_text_16_checked (xcb_connection_t *c  /**< */,
   11623                           xcb_drawable_t    drawable  /**< */,
   11624                           xcb_gcontext_t    gc  /**< */,
   11625                           int16_t           x  /**< */,
   11626                           int16_t           y  /**< */,
   11627                           uint32_t          items_len  /**< */,
   11628                           const uint8_t    *items  /**< */);
   11629 
   11630 /**
   11631  * Delivers a request to the X server
   11632  * @param c The connection
   11633  * @return A cookie
   11634  *
   11635  * Delivers a request to the X server.
   11636  *
   11637  */
   11638 
   11639 /*****************************************************************************
   11640  **
   11641  ** xcb_void_cookie_t xcb_poly_text_16
   11642  **
   11643  ** @param xcb_connection_t *c
   11644  ** @param xcb_drawable_t    drawable
   11645  ** @param xcb_gcontext_t    gc
   11646  ** @param int16_t           x
   11647  ** @param int16_t           y
   11648  ** @param uint32_t          items_len
   11649  ** @param const uint8_t    *items
   11650  ** @returns xcb_void_cookie_t
   11651  **
   11652  *****************************************************************************/
   11653 
   11654 xcb_void_cookie_t
   11655 xcb_poly_text_16 (xcb_connection_t *c  /**< */,
   11656                   xcb_drawable_t    drawable  /**< */,
   11657                   xcb_gcontext_t    gc  /**< */,
   11658                   int16_t           x  /**< */,
   11659                   int16_t           y  /**< */,
   11660                   uint32_t          items_len  /**< */,
   11661                   const uint8_t    *items  /**< */);
   11662 
   11663 /**
   11664  * Delivers a request to the X server
   11665  * @param c The connection
   11666  * @return A cookie
   11667  *
   11668  * Delivers a request to the X server.
   11669  *
   11670  * This form can be used only if the request will not cause
   11671  * a reply to be generated. Any returned error will be
   11672  * saved for handling by xcb_request_check().
   11673  */
   11674 
   11675 /*****************************************************************************
   11676  **
   11677  ** xcb_void_cookie_t xcb_image_text_8_checked
   11678  **
   11679  ** @param xcb_connection_t *c
   11680  ** @param uint8_t           string_len
   11681  ** @param xcb_drawable_t    drawable
   11682  ** @param xcb_gcontext_t    gc
   11683  ** @param int16_t           x
   11684  ** @param int16_t           y
   11685  ** @param const char       *string
   11686  ** @returns xcb_void_cookie_t
   11687  **
   11688  *****************************************************************************/
   11689 
   11690 xcb_void_cookie_t
   11691 xcb_image_text_8_checked (xcb_connection_t *c  /**< */,
   11692                           uint8_t           string_len  /**< */,
   11693                           xcb_drawable_t    drawable  /**< */,
   11694                           xcb_gcontext_t    gc  /**< */,
   11695                           int16_t           x  /**< */,
   11696                           int16_t           y  /**< */,
   11697                           const char       *string  /**< */);
   11698 
   11699 /**
   11700  * Delivers a request to the X server
   11701  * @param c The connection
   11702  * @return A cookie
   11703  *
   11704  * Delivers a request to the X server.
   11705  *
   11706  */
   11707 
   11708 /*****************************************************************************
   11709  **
   11710  ** xcb_void_cookie_t xcb_image_text_8
   11711  **
   11712  ** @param xcb_connection_t *c
   11713  ** @param uint8_t           string_len
   11714  ** @param xcb_drawable_t    drawable
   11715  ** @param xcb_gcontext_t    gc
   11716  ** @param int16_t           x
   11717  ** @param int16_t           y
   11718  ** @param const char       *string
   11719  ** @returns xcb_void_cookie_t
   11720  **
   11721  *****************************************************************************/
   11722 
   11723 xcb_void_cookie_t
   11724 xcb_image_text_8 (xcb_connection_t *c  /**< */,
   11725                   uint8_t           string_len  /**< */,
   11726                   xcb_drawable_t    drawable  /**< */,
   11727                   xcb_gcontext_t    gc  /**< */,
   11728                   int16_t           x  /**< */,
   11729                   int16_t           y  /**< */,
   11730                   const char       *string  /**< */);
   11731 
   11732 /**
   11733  * Delivers a request to the X server
   11734  * @param c The connection
   11735  * @return A cookie
   11736  *
   11737  * Delivers a request to the X server.
   11738  *
   11739  * This form can be used only if the request will not cause
   11740  * a reply to be generated. Any returned error will be
   11741  * saved for handling by xcb_request_check().
   11742  */
   11743 
   11744 /*****************************************************************************
   11745  **
   11746  ** xcb_void_cookie_t xcb_image_text_16_checked
   11747  **
   11748  ** @param xcb_connection_t   *c
   11749  ** @param uint8_t             string_len
   11750  ** @param xcb_drawable_t      drawable
   11751  ** @param xcb_gcontext_t      gc
   11752  ** @param int16_t             x
   11753  ** @param int16_t             y
   11754  ** @param const xcb_char2b_t *string
   11755  ** @returns xcb_void_cookie_t
   11756  **
   11757  *****************************************************************************/
   11758 
   11759 xcb_void_cookie_t
   11760 xcb_image_text_16_checked (xcb_connection_t   *c  /**< */,
   11761                            uint8_t             string_len  /**< */,
   11762                            xcb_drawable_t      drawable  /**< */,
   11763                            xcb_gcontext_t      gc  /**< */,
   11764                            int16_t             x  /**< */,
   11765                            int16_t             y  /**< */,
   11766                            const xcb_char2b_t *string  /**< */);
   11767 
   11768 /**
   11769  * Delivers a request to the X server
   11770  * @param c The connection
   11771  * @return A cookie
   11772  *
   11773  * Delivers a request to the X server.
   11774  *
   11775  */
   11776 
   11777 /*****************************************************************************
   11778  **
   11779  ** xcb_void_cookie_t xcb_image_text_16
   11780  **
   11781  ** @param xcb_connection_t   *c
   11782  ** @param uint8_t             string_len
   11783  ** @param xcb_drawable_t      drawable
   11784  ** @param xcb_gcontext_t      gc
   11785  ** @param int16_t             x
   11786  ** @param int16_t             y
   11787  ** @param const xcb_char2b_t *string
   11788  ** @returns xcb_void_cookie_t
   11789  **
   11790  *****************************************************************************/
   11791 
   11792 xcb_void_cookie_t
   11793 xcb_image_text_16 (xcb_connection_t   *c  /**< */,
   11794                    uint8_t             string_len  /**< */,
   11795                    xcb_drawable_t      drawable  /**< */,
   11796                    xcb_gcontext_t      gc  /**< */,
   11797                    int16_t             x  /**< */,
   11798                    int16_t             y  /**< */,
   11799                    const xcb_char2b_t *string  /**< */);
   11800 
   11801 /**
   11802  * Delivers a request to the X server
   11803  * @param c The connection
   11804  * @return A cookie
   11805  *
   11806  * Delivers a request to the X server.
   11807  *
   11808  * This form can be used only if the request will not cause
   11809  * a reply to be generated. Any returned error will be
   11810  * saved for handling by xcb_request_check().
   11811  */
   11812 
   11813 /*****************************************************************************
   11814  **
   11815  ** xcb_void_cookie_t xcb_create_colormap_checked
   11816  **
   11817  ** @param xcb_connection_t *c
   11818  ** @param uint8_t           alloc
   11819  ** @param xcb_colormap_t    mid
   11820  ** @param xcb_window_t      window
   11821  ** @param xcb_visualid_t    visual
   11822  ** @returns xcb_void_cookie_t
   11823  **
   11824  *****************************************************************************/
   11825 
   11826 xcb_void_cookie_t
   11827 xcb_create_colormap_checked (xcb_connection_t *c  /**< */,
   11828                              uint8_t           alloc  /**< */,
   11829                              xcb_colormap_t    mid  /**< */,
   11830                              xcb_window_t      window  /**< */,
   11831                              xcb_visualid_t    visual  /**< */);
   11832 
   11833 /**
   11834  * Delivers a request to the X server
   11835  * @param c The connection
   11836  * @return A cookie
   11837  *
   11838  * Delivers a request to the X server.
   11839  *
   11840  */
   11841 
   11842 /*****************************************************************************
   11843  **
   11844  ** xcb_void_cookie_t xcb_create_colormap
   11845  **
   11846  ** @param xcb_connection_t *c
   11847  ** @param uint8_t           alloc
   11848  ** @param xcb_colormap_t    mid
   11849  ** @param xcb_window_t      window
   11850  ** @param xcb_visualid_t    visual
   11851  ** @returns xcb_void_cookie_t
   11852  **
   11853  *****************************************************************************/
   11854 
   11855 xcb_void_cookie_t
   11856 xcb_create_colormap (xcb_connection_t *c  /**< */,
   11857                      uint8_t           alloc  /**< */,
   11858                      xcb_colormap_t    mid  /**< */,
   11859                      xcb_window_t      window  /**< */,
   11860                      xcb_visualid_t    visual  /**< */);
   11861 
   11862 /**
   11863  * Delivers a request to the X server
   11864  * @param c The connection
   11865  * @return A cookie
   11866  *
   11867  * Delivers a request to the X server.
   11868  *
   11869  * This form can be used only if the request will not cause
   11870  * a reply to be generated. Any returned error will be
   11871  * saved for handling by xcb_request_check().
   11872  */
   11873 
   11874 /*****************************************************************************
   11875  **
   11876  ** xcb_void_cookie_t xcb_free_colormap_checked
   11877  **
   11878  ** @param xcb_connection_t *c
   11879  ** @param xcb_colormap_t    cmap
   11880  ** @returns xcb_void_cookie_t
   11881  **
   11882  *****************************************************************************/
   11883 
   11884 xcb_void_cookie_t
   11885 xcb_free_colormap_checked (xcb_connection_t *c  /**< */,
   11886                            xcb_colormap_t    cmap  /**< */);
   11887 
   11888 /**
   11889  * Delivers a request to the X server
   11890  * @param c The connection
   11891  * @return A cookie
   11892  *
   11893  * Delivers a request to the X server.
   11894  *
   11895  */
   11896 
   11897 /*****************************************************************************
   11898  **
   11899  ** xcb_void_cookie_t xcb_free_colormap
   11900  **
   11901  ** @param xcb_connection_t *c
   11902  ** @param xcb_colormap_t    cmap
   11903  ** @returns xcb_void_cookie_t
   11904  **
   11905  *****************************************************************************/
   11906 
   11907 xcb_void_cookie_t
   11908 xcb_free_colormap (xcb_connection_t *c  /**< */,
   11909                    xcb_colormap_t    cmap  /**< */);
   11910 
   11911 /**
   11912  * Delivers a request to the X server
   11913  * @param c The connection
   11914  * @return A cookie
   11915  *
   11916  * Delivers a request to the X server.
   11917  *
   11918  * This form can be used only if the request will not cause
   11919  * a reply to be generated. Any returned error will be
   11920  * saved for handling by xcb_request_check().
   11921  */
   11922 
   11923 /*****************************************************************************
   11924  **
   11925  ** xcb_void_cookie_t xcb_copy_colormap_and_free_checked
   11926  **
   11927  ** @param xcb_connection_t *c
   11928  ** @param xcb_colormap_t    mid
   11929  ** @param xcb_colormap_t    src_cmap
   11930  ** @returns xcb_void_cookie_t
   11931  **
   11932  *****************************************************************************/
   11933 
   11934 xcb_void_cookie_t
   11935 xcb_copy_colormap_and_free_checked (xcb_connection_t *c  /**< */,
   11936                                     xcb_colormap_t    mid  /**< */,
   11937                                     xcb_colormap_t    src_cmap  /**< */);
   11938 
   11939 /**
   11940  * Delivers a request to the X server
   11941  * @param c The connection
   11942  * @return A cookie
   11943  *
   11944  * Delivers a request to the X server.
   11945  *
   11946  */
   11947 
   11948 /*****************************************************************************
   11949  **
   11950  ** xcb_void_cookie_t xcb_copy_colormap_and_free
   11951  **
   11952  ** @param xcb_connection_t *c
   11953  ** @param xcb_colormap_t    mid
   11954  ** @param xcb_colormap_t    src_cmap
   11955  ** @returns xcb_void_cookie_t
   11956  **
   11957  *****************************************************************************/
   11958 
   11959 xcb_void_cookie_t
   11960 xcb_copy_colormap_and_free (xcb_connection_t *c  /**< */,
   11961                             xcb_colormap_t    mid  /**< */,
   11962                             xcb_colormap_t    src_cmap  /**< */);
   11963 
   11964 /**
   11965  * Delivers a request to the X server
   11966  * @param c The connection
   11967  * @return A cookie
   11968  *
   11969  * Delivers a request to the X server.
   11970  *
   11971  * This form can be used only if the request will not cause
   11972  * a reply to be generated. Any returned error will be
   11973  * saved for handling by xcb_request_check().
   11974  */
   11975 
   11976 /*****************************************************************************
   11977  **
   11978  ** xcb_void_cookie_t xcb_install_colormap_checked
   11979  **
   11980  ** @param xcb_connection_t *c
   11981  ** @param xcb_colormap_t    cmap
   11982  ** @returns xcb_void_cookie_t
   11983  **
   11984  *****************************************************************************/
   11985 
   11986 xcb_void_cookie_t
   11987 xcb_install_colormap_checked (xcb_connection_t *c  /**< */,
   11988                               xcb_colormap_t    cmap  /**< */);
   11989 
   11990 /**
   11991  * Delivers a request to the X server
   11992  * @param c The connection
   11993  * @return A cookie
   11994  *
   11995  * Delivers a request to the X server.
   11996  *
   11997  */
   11998 
   11999 /*****************************************************************************
   12000  **
   12001  ** xcb_void_cookie_t xcb_install_colormap
   12002  **
   12003  ** @param xcb_connection_t *c
   12004  ** @param xcb_colormap_t    cmap
   12005  ** @returns xcb_void_cookie_t
   12006  **
   12007  *****************************************************************************/
   12008 
   12009 xcb_void_cookie_t
   12010 xcb_install_colormap (xcb_connection_t *c  /**< */,
   12011                       xcb_colormap_t    cmap  /**< */);
   12012 
   12013 /**
   12014  * Delivers a request to the X server
   12015  * @param c The connection
   12016  * @return A cookie
   12017  *
   12018  * Delivers a request to the X server.
   12019  *
   12020  * This form can be used only if the request will not cause
   12021  * a reply to be generated. Any returned error will be
   12022  * saved for handling by xcb_request_check().
   12023  */
   12024 
   12025 /*****************************************************************************
   12026  **
   12027  ** xcb_void_cookie_t xcb_uninstall_colormap_checked
   12028  **
   12029  ** @param xcb_connection_t *c
   12030  ** @param xcb_colormap_t    cmap
   12031  ** @returns xcb_void_cookie_t
   12032  **
   12033  *****************************************************************************/
   12034 
   12035 xcb_void_cookie_t
   12036 xcb_uninstall_colormap_checked (xcb_connection_t *c  /**< */,
   12037                                 xcb_colormap_t    cmap  /**< */);
   12038 
   12039 /**
   12040  * Delivers a request to the X server
   12041  * @param c The connection
   12042  * @return A cookie
   12043  *
   12044  * Delivers a request to the X server.
   12045  *
   12046  */
   12047 
   12048 /*****************************************************************************
   12049  **
   12050  ** xcb_void_cookie_t xcb_uninstall_colormap
   12051  **
   12052  ** @param xcb_connection_t *c
   12053  ** @param xcb_colormap_t    cmap
   12054  ** @returns xcb_void_cookie_t
   12055  **
   12056  *****************************************************************************/
   12057 
   12058 xcb_void_cookie_t
   12059 xcb_uninstall_colormap (xcb_connection_t *c  /**< */,
   12060                         xcb_colormap_t    cmap  /**< */);
   12061 
   12062 /**
   12063  * Delivers a request to the X server
   12064  * @param c The connection
   12065  * @return A cookie
   12066  *
   12067  * Delivers a request to the X server.
   12068  *
   12069  */
   12070 
   12071 /*****************************************************************************
   12072  **
   12073  ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps
   12074  **
   12075  ** @param xcb_connection_t *c
   12076  ** @param xcb_window_t      window
   12077  ** @returns xcb_list_installed_colormaps_cookie_t
   12078  **
   12079  *****************************************************************************/
   12080 
   12081 xcb_list_installed_colormaps_cookie_t
   12082 xcb_list_installed_colormaps (xcb_connection_t *c  /**< */,
   12083                               xcb_window_t      window  /**< */);
   12084 
   12085 /**
   12086  * Delivers a request to the X server
   12087  * @param c The connection
   12088  * @return A cookie
   12089  *
   12090  * Delivers a request to the X server.
   12091  *
   12092  * This form can be used only if the request will cause
   12093  * a reply to be generated. Any returned error will be
   12094  * placed in the event queue.
   12095  */
   12096 
   12097 /*****************************************************************************
   12098  **
   12099  ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked
   12100  **
   12101  ** @param xcb_connection_t *c
   12102  ** @param xcb_window_t      window
   12103  ** @returns xcb_list_installed_colormaps_cookie_t
   12104  **
   12105  *****************************************************************************/
   12106 
   12107 xcb_list_installed_colormaps_cookie_t
   12108 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c  /**< */,
   12109                                         xcb_window_t      window  /**< */);
   12110 
   12111 
   12112 /*****************************************************************************
   12113  **
   12114  ** xcb_colormap_t * xcb_list_installed_colormaps_cmaps
   12115  **
   12116  ** @param const xcb_list_installed_colormaps_reply_t *R
   12117  ** @returns xcb_colormap_t *
   12118  **
   12119  *****************************************************************************/
   12120 
   12121 xcb_colormap_t *
   12122 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R  /**< */);
   12123 
   12124 
   12125 /*****************************************************************************
   12126  **
   12127  ** int xcb_list_installed_colormaps_cmaps_length
   12128  **
   12129  ** @param const xcb_list_installed_colormaps_reply_t *R
   12130  ** @returns int
   12131  **
   12132  *****************************************************************************/
   12133 
   12134 int
   12135 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R  /**< */);
   12136 
   12137 
   12138 /*****************************************************************************
   12139  **
   12140  ** xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end
   12141  **
   12142  ** @param const xcb_list_installed_colormaps_reply_t *R
   12143  ** @returns xcb_generic_iterator_t
   12144  **
   12145  *****************************************************************************/
   12146 
   12147 xcb_generic_iterator_t
   12148 xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R  /**< */);
   12149 
   12150 /**
   12151  * Return the reply
   12152  * @param c      The connection
   12153  * @param cookie The cookie
   12154  * @param e      The xcb_generic_error_t supplied
   12155  *
   12156  * Returns the reply of the request asked by
   12157  *
   12158  * The parameter @p e supplied to this function must be NULL if
   12159  * xcb_list_installed_colormaps_unchecked(). is used.
   12160  * Otherwise, it stores the error if any.
   12161  *
   12162  * The returned value must be freed by the caller using free().
   12163  */
   12164 
   12165 /*****************************************************************************
   12166  **
   12167  ** xcb_list_installed_colormaps_reply_t * xcb_list_installed_colormaps_reply
   12168  **
   12169  ** @param xcb_connection_t                       *c
   12170  ** @param xcb_list_installed_colormaps_cookie_t   cookie
   12171  ** @param xcb_generic_error_t                   **e
   12172  ** @returns xcb_list_installed_colormaps_reply_t *
   12173  **
   12174  *****************************************************************************/
   12175 
   12176 xcb_list_installed_colormaps_reply_t *
   12177 xcb_list_installed_colormaps_reply (xcb_connection_t                       *c  /**< */,
   12178                                     xcb_list_installed_colormaps_cookie_t   cookie  /**< */,
   12179                                     xcb_generic_error_t                   **e  /**< */);
   12180 
   12181 /**
   12182  * Delivers a request to the X server
   12183  * @param c The connection
   12184  * @return A cookie
   12185  *
   12186  * Delivers a request to the X server.
   12187  *
   12188  */
   12189 
   12190 /*****************************************************************************
   12191  **
   12192  ** xcb_alloc_color_cookie_t xcb_alloc_color
   12193  **
   12194  ** @param xcb_connection_t *c
   12195  ** @param xcb_colormap_t    cmap
   12196  ** @param uint16_t          red
   12197  ** @param uint16_t          green
   12198  ** @param uint16_t          blue
   12199  ** @returns xcb_alloc_color_cookie_t
   12200  **
   12201  *****************************************************************************/
   12202 
   12203 xcb_alloc_color_cookie_t
   12204 xcb_alloc_color (xcb_connection_t *c  /**< */,
   12205                  xcb_colormap_t    cmap  /**< */,
   12206                  uint16_t          red  /**< */,
   12207                  uint16_t          green  /**< */,
   12208                  uint16_t          blue  /**< */);
   12209 
   12210 /**
   12211  * Delivers a request to the X server
   12212  * @param c The connection
   12213  * @return A cookie
   12214  *
   12215  * Delivers a request to the X server.
   12216  *
   12217  * This form can be used only if the request will cause
   12218  * a reply to be generated. Any returned error will be
   12219  * placed in the event queue.
   12220  */
   12221 
   12222 /*****************************************************************************
   12223  **
   12224  ** xcb_alloc_color_cookie_t xcb_alloc_color_unchecked
   12225  **
   12226  ** @param xcb_connection_t *c
   12227  ** @param xcb_colormap_t    cmap
   12228  ** @param uint16_t          red
   12229  ** @param uint16_t          green
   12230  ** @param uint16_t          blue
   12231  ** @returns xcb_alloc_color_cookie_t
   12232  **
   12233  *****************************************************************************/
   12234 
   12235 xcb_alloc_color_cookie_t
   12236 xcb_alloc_color_unchecked (xcb_connection_t *c  /**< */,
   12237                            xcb_colormap_t    cmap  /**< */,
   12238                            uint16_t          red  /**< */,
   12239                            uint16_t          green  /**< */,
   12240                            uint16_t          blue  /**< */);
   12241 
   12242 /**
   12243  * Return the reply
   12244  * @param c      The connection
   12245  * @param cookie The cookie
   12246  * @param e      The xcb_generic_error_t supplied
   12247  *
   12248  * Returns the reply of the request asked by
   12249  *
   12250  * The parameter @p e supplied to this function must be NULL if
   12251  * xcb_alloc_color_unchecked(). is used.
   12252  * Otherwise, it stores the error if any.
   12253  *
   12254  * The returned value must be freed by the caller using free().
   12255  */
   12256 
   12257 /*****************************************************************************
   12258  **
   12259  ** xcb_alloc_color_reply_t * xcb_alloc_color_reply
   12260  **
   12261  ** @param xcb_connection_t          *c
   12262  ** @param xcb_alloc_color_cookie_t   cookie
   12263  ** @param xcb_generic_error_t      **e
   12264  ** @returns xcb_alloc_color_reply_t *
   12265  **
   12266  *****************************************************************************/
   12267 
   12268 xcb_alloc_color_reply_t *
   12269 xcb_alloc_color_reply (xcb_connection_t          *c  /**< */,
   12270                        xcb_alloc_color_cookie_t   cookie  /**< */,
   12271                        xcb_generic_error_t      **e  /**< */);
   12272 
   12273 /**
   12274  * Delivers a request to the X server
   12275  * @param c The connection
   12276  * @return A cookie
   12277  *
   12278  * Delivers a request to the X server.
   12279  *
   12280  */
   12281 
   12282 /*****************************************************************************
   12283  **
   12284  ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color
   12285  **
   12286  ** @param xcb_connection_t *c
   12287  ** @param xcb_colormap_t    cmap
   12288  ** @param uint16_t          name_len
   12289  ** @param const char       *name
   12290  ** @returns xcb_alloc_named_color_cookie_t
   12291  **
   12292  *****************************************************************************/
   12293 
   12294 xcb_alloc_named_color_cookie_t
   12295 xcb_alloc_named_color (xcb_connection_t *c  /**< */,
   12296                        xcb_colormap_t    cmap  /**< */,
   12297                        uint16_t          name_len  /**< */,
   12298                        const char       *name  /**< */);
   12299 
   12300 /**
   12301  * Delivers a request to the X server
   12302  * @param c The connection
   12303  * @return A cookie
   12304  *
   12305  * Delivers a request to the X server.
   12306  *
   12307  * This form can be used only if the request will cause
   12308  * a reply to be generated. Any returned error will be
   12309  * placed in the event queue.
   12310  */
   12311 
   12312 /*****************************************************************************
   12313  **
   12314  ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked
   12315  **
   12316  ** @param xcb_connection_t *c
   12317  ** @param xcb_colormap_t    cmap
   12318  ** @param uint16_t          name_len
   12319  ** @param const char       *name
   12320  ** @returns xcb_alloc_named_color_cookie_t
   12321  **
   12322  *****************************************************************************/
   12323 
   12324 xcb_alloc_named_color_cookie_t
   12325 xcb_alloc_named_color_unchecked (xcb_connection_t *c  /**< */,
   12326                                  xcb_colormap_t    cmap  /**< */,
   12327                                  uint16_t          name_len  /**< */,
   12328                                  const char       *name  /**< */);
   12329 
   12330 /**
   12331  * Return the reply
   12332  * @param c      The connection
   12333  * @param cookie The cookie
   12334  * @param e      The xcb_generic_error_t supplied
   12335  *
   12336  * Returns the reply of the request asked by
   12337  *
   12338  * The parameter @p e supplied to this function must be NULL if
   12339  * xcb_alloc_named_color_unchecked(). is used.
   12340  * Otherwise, it stores the error if any.
   12341  *
   12342  * The returned value must be freed by the caller using free().
   12343  */
   12344 
   12345 /*****************************************************************************
   12346  **
   12347  ** xcb_alloc_named_color_reply_t * xcb_alloc_named_color_reply
   12348  **
   12349  ** @param xcb_connection_t                *c
   12350  ** @param xcb_alloc_named_color_cookie_t   cookie
   12351  ** @param xcb_generic_error_t            **e
   12352  ** @returns xcb_alloc_named_color_reply_t *
   12353  **
   12354  *****************************************************************************/
   12355 
   12356 xcb_alloc_named_color_reply_t *
   12357 xcb_alloc_named_color_reply (xcb_connection_t                *c  /**< */,
   12358                              xcb_alloc_named_color_cookie_t   cookie  /**< */,
   12359                              xcb_generic_error_t            **e  /**< */);
   12360 
   12361 /**
   12362  * Delivers a request to the X server
   12363  * @param c The connection
   12364  * @return A cookie
   12365  *
   12366  * Delivers a request to the X server.
   12367  *
   12368  */
   12369 
   12370 /*****************************************************************************
   12371  **
   12372  ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells
   12373  **
   12374  ** @param xcb_connection_t *c
   12375  ** @param uint8_t           contiguous
   12376  ** @param xcb_colormap_t    cmap
   12377  ** @param uint16_t          colors
   12378  ** @param uint16_t          planes
   12379  ** @returns xcb_alloc_color_cells_cookie_t
   12380  **
   12381  *****************************************************************************/
   12382 
   12383 xcb_alloc_color_cells_cookie_t
   12384 xcb_alloc_color_cells (xcb_connection_t *c  /**< */,
   12385                        uint8_t           contiguous  /**< */,
   12386                        xcb_colormap_t    cmap  /**< */,
   12387                        uint16_t          colors  /**< */,
   12388                        uint16_t          planes  /**< */);
   12389 
   12390 /**
   12391  * Delivers a request to the X server
   12392  * @param c The connection
   12393  * @return A cookie
   12394  *
   12395  * Delivers a request to the X server.
   12396  *
   12397  * This form can be used only if the request will cause
   12398  * a reply to be generated. Any returned error will be
   12399  * placed in the event queue.
   12400  */
   12401 
   12402 /*****************************************************************************
   12403  **
   12404  ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked
   12405  **
   12406  ** @param xcb_connection_t *c
   12407  ** @param uint8_t           contiguous
   12408  ** @param xcb_colormap_t    cmap
   12409  ** @param uint16_t          colors
   12410  ** @param uint16_t          planes
   12411  ** @returns xcb_alloc_color_cells_cookie_t
   12412  **
   12413  *****************************************************************************/
   12414 
   12415 xcb_alloc_color_cells_cookie_t
   12416 xcb_alloc_color_cells_unchecked (xcb_connection_t *c  /**< */,
   12417                                  uint8_t           contiguous  /**< */,
   12418                                  xcb_colormap_t    cmap  /**< */,
   12419                                  uint16_t          colors  /**< */,
   12420                                  uint16_t          planes  /**< */);
   12421 
   12422 
   12423 /*****************************************************************************
   12424  **
   12425  ** uint32_t * xcb_alloc_color_cells_pixels
   12426  **
   12427  ** @param const xcb_alloc_color_cells_reply_t *R
   12428  ** @returns uint32_t *
   12429  **
   12430  *****************************************************************************/
   12431 
   12432 uint32_t *
   12433 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12434 
   12435 
   12436 /*****************************************************************************
   12437  **
   12438  ** int xcb_alloc_color_cells_pixels_length
   12439  **
   12440  ** @param const xcb_alloc_color_cells_reply_t *R
   12441  ** @returns int
   12442  **
   12443  *****************************************************************************/
   12444 
   12445 int
   12446 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12447 
   12448 
   12449 /*****************************************************************************
   12450  **
   12451  ** xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end
   12452  **
   12453  ** @param const xcb_alloc_color_cells_reply_t *R
   12454  ** @returns xcb_generic_iterator_t
   12455  **
   12456  *****************************************************************************/
   12457 
   12458 xcb_generic_iterator_t
   12459 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12460 
   12461 
   12462 /*****************************************************************************
   12463  **
   12464  ** uint32_t * xcb_alloc_color_cells_masks
   12465  **
   12466  ** @param const xcb_alloc_color_cells_reply_t *R
   12467  ** @returns uint32_t *
   12468  **
   12469  *****************************************************************************/
   12470 
   12471 uint32_t *
   12472 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12473 
   12474 
   12475 /*****************************************************************************
   12476  **
   12477  ** int xcb_alloc_color_cells_masks_length
   12478  **
   12479  ** @param const xcb_alloc_color_cells_reply_t *R
   12480  ** @returns int
   12481  **
   12482  *****************************************************************************/
   12483 
   12484 int
   12485 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12486 
   12487 
   12488 /*****************************************************************************
   12489  **
   12490  ** xcb_generic_iterator_t xcb_alloc_color_cells_masks_end
   12491  **
   12492  ** @param const xcb_alloc_color_cells_reply_t *R
   12493  ** @returns xcb_generic_iterator_t
   12494  **
   12495  *****************************************************************************/
   12496 
   12497 xcb_generic_iterator_t
   12498 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12499 
   12500 /**
   12501  * Return the reply
   12502  * @param c      The connection
   12503  * @param cookie The cookie
   12504  * @param e      The xcb_generic_error_t supplied
   12505  *
   12506  * Returns the reply of the request asked by
   12507  *
   12508  * The parameter @p e supplied to this function must be NULL if
   12509  * xcb_alloc_color_cells_unchecked(). is used.
   12510  * Otherwise, it stores the error if any.
   12511  *
   12512  * The returned value must be freed by the caller using free().
   12513  */
   12514 
   12515 /*****************************************************************************
   12516  **
   12517  ** xcb_alloc_color_cells_reply_t * xcb_alloc_color_cells_reply
   12518  **
   12519  ** @param xcb_connection_t                *c
   12520  ** @param xcb_alloc_color_cells_cookie_t   cookie
   12521  ** @param xcb_generic_error_t            **e
   12522  ** @returns xcb_alloc_color_cells_reply_t *
   12523  **
   12524  *****************************************************************************/
   12525 
   12526 xcb_alloc_color_cells_reply_t *
   12527 xcb_alloc_color_cells_reply (xcb_connection_t                *c  /**< */,
   12528                              xcb_alloc_color_cells_cookie_t   cookie  /**< */,
   12529                              xcb_generic_error_t            **e  /**< */);
   12530 
   12531 /**
   12532  * Delivers a request to the X server
   12533  * @param c The connection
   12534  * @return A cookie
   12535  *
   12536  * Delivers a request to the X server.
   12537  *
   12538  */
   12539 
   12540 /*****************************************************************************
   12541  **
   12542  ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes
   12543  **
   12544  ** @param xcb_connection_t *c
   12545  ** @param uint8_t           contiguous
   12546  ** @param xcb_colormap_t    cmap
   12547  ** @param uint16_t          colors
   12548  ** @param uint16_t          reds
   12549  ** @param uint16_t          greens
   12550  ** @param uint16_t          blues
   12551  ** @returns xcb_alloc_color_planes_cookie_t
   12552  **
   12553  *****************************************************************************/
   12554 
   12555 xcb_alloc_color_planes_cookie_t
   12556 xcb_alloc_color_planes (xcb_connection_t *c  /**< */,
   12557                         uint8_t           contiguous  /**< */,
   12558                         xcb_colormap_t    cmap  /**< */,
   12559                         uint16_t          colors  /**< */,
   12560                         uint16_t          reds  /**< */,
   12561                         uint16_t          greens  /**< */,
   12562                         uint16_t          blues  /**< */);
   12563 
   12564 /**
   12565  * Delivers a request to the X server
   12566  * @param c The connection
   12567  * @return A cookie
   12568  *
   12569  * Delivers a request to the X server.
   12570  *
   12571  * This form can be used only if the request will cause
   12572  * a reply to be generated. Any returned error will be
   12573  * placed in the event queue.
   12574  */
   12575 
   12576 /*****************************************************************************
   12577  **
   12578  ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked
   12579  **
   12580  ** @param xcb_connection_t *c
   12581  ** @param uint8_t           contiguous
   12582  ** @param xcb_colormap_t    cmap
   12583  ** @param uint16_t          colors
   12584  ** @param uint16_t          reds
   12585  ** @param uint16_t          greens
   12586  ** @param uint16_t          blues
   12587  ** @returns xcb_alloc_color_planes_cookie_t
   12588  **
   12589  *****************************************************************************/
   12590 
   12591 xcb_alloc_color_planes_cookie_t
   12592 xcb_alloc_color_planes_unchecked (xcb_connection_t *c  /**< */,
   12593                                   uint8_t           contiguous  /**< */,
   12594                                   xcb_colormap_t    cmap  /**< */,
   12595                                   uint16_t          colors  /**< */,
   12596                                   uint16_t          reds  /**< */,
   12597                                   uint16_t          greens  /**< */,
   12598                                   uint16_t          blues  /**< */);
   12599 
   12600 
   12601 /*****************************************************************************
   12602  **
   12603  ** uint32_t * xcb_alloc_color_planes_pixels
   12604  **
   12605  ** @param const xcb_alloc_color_planes_reply_t *R
   12606  ** @returns uint32_t *
   12607  **
   12608  *****************************************************************************/
   12609 
   12610 uint32_t *
   12611 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R  /**< */);
   12612 
   12613 
   12614 /*****************************************************************************
   12615  **
   12616  ** int xcb_alloc_color_planes_pixels_length
   12617  **
   12618  ** @param const xcb_alloc_color_planes_reply_t *R
   12619  ** @returns int
   12620  **
   12621  *****************************************************************************/
   12622 
   12623 int
   12624 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R  /**< */);
   12625 
   12626 
   12627 /*****************************************************************************
   12628  **
   12629  ** xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end
   12630  **
   12631  ** @param const xcb_alloc_color_planes_reply_t *R
   12632  ** @returns xcb_generic_iterator_t
   12633  **
   12634  *****************************************************************************/
   12635 
   12636 xcb_generic_iterator_t
   12637 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R  /**< */);
   12638 
   12639 /**
   12640  * Return the reply
   12641  * @param c      The connection
   12642  * @param cookie The cookie
   12643  * @param e      The xcb_generic_error_t supplied
   12644  *
   12645  * Returns the reply of the request asked by
   12646  *
   12647  * The parameter @p e supplied to this function must be NULL if
   12648  * xcb_alloc_color_planes_unchecked(). is used.
   12649  * Otherwise, it stores the error if any.
   12650  *
   12651  * The returned value must be freed by the caller using free().
   12652  */
   12653 
   12654 /*****************************************************************************
   12655  **
   12656  ** xcb_alloc_color_planes_reply_t * xcb_alloc_color_planes_reply
   12657  **
   12658  ** @param xcb_connection_t                 *c
   12659  ** @param xcb_alloc_color_planes_cookie_t   cookie
   12660  ** @param xcb_generic_error_t             **e
   12661  ** @returns xcb_alloc_color_planes_reply_t *
   12662  **
   12663  *****************************************************************************/
   12664 
   12665 xcb_alloc_color_planes_reply_t *
   12666 xcb_alloc_color_planes_reply (xcb_connection_t                 *c  /**< */,
   12667                               xcb_alloc_color_planes_cookie_t   cookie  /**< */,
   12668                               xcb_generic_error_t             **e  /**< */);
   12669 
   12670 /**
   12671  * Delivers a request to the X server
   12672  * @param c The connection
   12673  * @return A cookie
   12674  *
   12675  * Delivers a request to the X server.
   12676  *
   12677  * This form can be used only if the request will not cause
   12678  * a reply to be generated. Any returned error will be
   12679  * saved for handling by xcb_request_check().
   12680  */
   12681 
   12682 /*****************************************************************************
   12683  **
   12684  ** xcb_void_cookie_t xcb_free_colors_checked
   12685  **
   12686  ** @param xcb_connection_t *c
   12687  ** @param xcb_colormap_t    cmap
   12688  ** @param uint32_t          plane_mask
   12689  ** @param uint32_t          pixels_len
   12690  ** @param const uint32_t   *pixels
   12691  ** @returns xcb_void_cookie_t
   12692  **
   12693  *****************************************************************************/
   12694 
   12695 xcb_void_cookie_t
   12696 xcb_free_colors_checked (xcb_connection_t *c  /**< */,
   12697                          xcb_colormap_t    cmap  /**< */,
   12698                          uint32_t          plane_mask  /**< */,
   12699                          uint32_t          pixels_len  /**< */,
   12700                          const uint32_t   *pixels  /**< */);
   12701 
   12702 /**
   12703  * Delivers a request to the X server
   12704  * @param c The connection
   12705  * @return A cookie
   12706  *
   12707  * Delivers a request to the X server.
   12708  *
   12709  */
   12710 
   12711 /*****************************************************************************
   12712  **
   12713  ** xcb_void_cookie_t xcb_free_colors
   12714  **
   12715  ** @param xcb_connection_t *c
   12716  ** @param xcb_colormap_t    cmap
   12717  ** @param uint32_t          plane_mask
   12718  ** @param uint32_t          pixels_len
   12719  ** @param const uint32_t   *pixels
   12720  ** @returns xcb_void_cookie_t
   12721  **
   12722  *****************************************************************************/
   12723 
   12724 xcb_void_cookie_t
   12725 xcb_free_colors (xcb_connection_t *c  /**< */,
   12726                  xcb_colormap_t    cmap  /**< */,
   12727                  uint32_t          plane_mask  /**< */,
   12728                  uint32_t          pixels_len  /**< */,
   12729                  const uint32_t   *pixels  /**< */);
   12730 
   12731 /**
   12732  * Get the next element of the iterator
   12733  * @param i Pointer to a xcb_coloritem_iterator_t
   12734  *
   12735  * Get the next element in the iterator. The member rem is
   12736  * decreased by one. The member data points to the next
   12737  * element. The member index is increased by sizeof(xcb_coloritem_t)
   12738  */
   12739 
   12740 /*****************************************************************************
   12741  **
   12742  ** void xcb_coloritem_next
   12743  **
   12744  ** @param xcb_coloritem_iterator_t *i
   12745  ** @returns void
   12746  **
   12747  *****************************************************************************/
   12748 
   12749 void
   12750 xcb_coloritem_next (xcb_coloritem_iterator_t *i  /**< */);
   12751 
   12752 /**
   12753  * Return the iterator pointing to the last element
   12754  * @param i An xcb_coloritem_iterator_t
   12755  * @return  The iterator pointing to the last element
   12756  *
   12757  * Set the current element in the iterator to the last element.
   12758  * The member rem is set to 0. The member data points to the
   12759  * last element.
   12760  */
   12761 
   12762 /*****************************************************************************
   12763  **
   12764  ** xcb_generic_iterator_t xcb_coloritem_end
   12765  **
   12766  ** @param xcb_coloritem_iterator_t i
   12767  ** @returns xcb_generic_iterator_t
   12768  **
   12769  *****************************************************************************/
   12770 
   12771 xcb_generic_iterator_t
   12772 xcb_coloritem_end (xcb_coloritem_iterator_t i  /**< */);
   12773 
   12774 /**
   12775  * Delivers a request to the X server
   12776  * @param c The connection
   12777  * @return A cookie
   12778  *
   12779  * Delivers a request to the X server.
   12780  *
   12781  * This form can be used only if the request will not cause
   12782  * a reply to be generated. Any returned error will be
   12783  * saved for handling by xcb_request_check().
   12784  */
   12785 
   12786 /*****************************************************************************
   12787  **
   12788  ** xcb_void_cookie_t xcb_store_colors_checked
   12789  **
   12790  ** @param xcb_connection_t      *c
   12791  ** @param xcb_colormap_t         cmap
   12792  ** @param uint32_t               items_len
   12793  ** @param const xcb_coloritem_t *items
   12794  ** @returns xcb_void_cookie_t
   12795  **
   12796  *****************************************************************************/
   12797 
   12798 xcb_void_cookie_t
   12799 xcb_store_colors_checked (xcb_connection_t      *c  /**< */,
   12800                           xcb_colormap_t         cmap  /**< */,
   12801                           uint32_t               items_len  /**< */,
   12802                           const xcb_coloritem_t *items  /**< */);
   12803 
   12804 /**
   12805  * Delivers a request to the X server
   12806  * @param c The connection
   12807  * @return A cookie
   12808  *
   12809  * Delivers a request to the X server.
   12810  *
   12811  */
   12812 
   12813 /*****************************************************************************
   12814  **
   12815  ** xcb_void_cookie_t xcb_store_colors
   12816  **
   12817  ** @param xcb_connection_t      *c
   12818  ** @param xcb_colormap_t         cmap
   12819  ** @param uint32_t               items_len
   12820  ** @param const xcb_coloritem_t *items
   12821  ** @returns xcb_void_cookie_t
   12822  **
   12823  *****************************************************************************/
   12824 
   12825 xcb_void_cookie_t
   12826 xcb_store_colors (xcb_connection_t      *c  /**< */,
   12827                   xcb_colormap_t         cmap  /**< */,
   12828                   uint32_t               items_len  /**< */,
   12829                   const xcb_coloritem_t *items  /**< */);
   12830 
   12831 /**
   12832  * Delivers a request to the X server
   12833  * @param c The connection
   12834  * @return A cookie
   12835  *
   12836  * Delivers a request to the X server.
   12837  *
   12838  * This form can be used only if the request will not cause
   12839  * a reply to be generated. Any returned error will be
   12840  * saved for handling by xcb_request_check().
   12841  */
   12842 
   12843 /*****************************************************************************
   12844  **
   12845  ** xcb_void_cookie_t xcb_store_named_color_checked
   12846  **
   12847  ** @param xcb_connection_t *c
   12848  ** @param uint8_t           flags
   12849  ** @param xcb_colormap_t    cmap
   12850  ** @param uint32_t          pixel
   12851  ** @param uint16_t          name_len
   12852  ** @param const char       *name
   12853  ** @returns xcb_void_cookie_t
   12854  **
   12855  *****************************************************************************/
   12856 
   12857 xcb_void_cookie_t
   12858 xcb_store_named_color_checked (xcb_connection_t *c  /**< */,
   12859                                uint8_t           flags  /**< */,
   12860                                xcb_colormap_t    cmap  /**< */,
   12861                                uint32_t          pixel  /**< */,
   12862                                uint16_t          name_len  /**< */,
   12863                                const char       *name  /**< */);
   12864 
   12865 /**
   12866  * Delivers a request to the X server
   12867  * @param c The connection
   12868  * @return A cookie
   12869  *
   12870  * Delivers a request to the X server.
   12871  *
   12872  */
   12873 
   12874 /*****************************************************************************
   12875  **
   12876  ** xcb_void_cookie_t xcb_store_named_color
   12877  **
   12878  ** @param xcb_connection_t *c
   12879  ** @param uint8_t           flags
   12880  ** @param xcb_colormap_t    cmap
   12881  ** @param uint32_t          pixel
   12882  ** @param uint16_t          name_len
   12883  ** @param const char       *name
   12884  ** @returns xcb_void_cookie_t
   12885  **
   12886  *****************************************************************************/
   12887 
   12888 xcb_void_cookie_t
   12889 xcb_store_named_color (xcb_connection_t *c  /**< */,
   12890                        uint8_t           flags  /**< */,
   12891                        xcb_colormap_t    cmap  /**< */,
   12892                        uint32_t          pixel  /**< */,
   12893                        uint16_t          name_len  /**< */,
   12894                        const char       *name  /**< */);
   12895 
   12896 /**
   12897  * Get the next element of the iterator
   12898  * @param i Pointer to a xcb_rgb_iterator_t
   12899  *
   12900  * Get the next element in the iterator. The member rem is
   12901  * decreased by one. The member data points to the next
   12902  * element. The member index is increased by sizeof(xcb_rgb_t)
   12903  */
   12904 
   12905 /*****************************************************************************
   12906  **
   12907  ** void xcb_rgb_next
   12908  **
   12909  ** @param xcb_rgb_iterator_t *i
   12910  ** @returns void
   12911  **
   12912  *****************************************************************************/
   12913 
   12914 void
   12915 xcb_rgb_next (xcb_rgb_iterator_t *i  /**< */);
   12916 
   12917 /**
   12918  * Return the iterator pointing to the last element
   12919  * @param i An xcb_rgb_iterator_t
   12920  * @return  The iterator pointing to the last element
   12921  *
   12922  * Set the current element in the iterator to the last element.
   12923  * The member rem is set to 0. The member data points to the
   12924  * last element.
   12925  */
   12926 
   12927 /*****************************************************************************
   12928  **
   12929  ** xcb_generic_iterator_t xcb_rgb_end
   12930  **
   12931  ** @param xcb_rgb_iterator_t i
   12932  ** @returns xcb_generic_iterator_t
   12933  **
   12934  *****************************************************************************/
   12935 
   12936 xcb_generic_iterator_t
   12937 xcb_rgb_end (xcb_rgb_iterator_t i  /**< */);
   12938 
   12939 /**
   12940  * Delivers a request to the X server
   12941  * @param c The connection
   12942  * @return A cookie
   12943  *
   12944  * Delivers a request to the X server.
   12945  *
   12946  */
   12947 
   12948 /*****************************************************************************
   12949  **
   12950  ** xcb_query_colors_cookie_t xcb_query_colors
   12951  **
   12952  ** @param xcb_connection_t *c
   12953  ** @param xcb_colormap_t    cmap
   12954  ** @param uint32_t          pixels_len
   12955  ** @param const uint32_t   *pixels
   12956  ** @returns xcb_query_colors_cookie_t
   12957  **
   12958  *****************************************************************************/
   12959 
   12960 xcb_query_colors_cookie_t
   12961 xcb_query_colors (xcb_connection_t *c  /**< */,
   12962                   xcb_colormap_t    cmap  /**< */,
   12963                   uint32_t          pixels_len  /**< */,
   12964                   const uint32_t   *pixels  /**< */);
   12965 
   12966 /**
   12967  * Delivers a request to the X server
   12968  * @param c The connection
   12969  * @return A cookie
   12970  *
   12971  * Delivers a request to the X server.
   12972  *
   12973  * This form can be used only if the request will cause
   12974  * a reply to be generated. Any returned error will be
   12975  * placed in the event queue.
   12976  */
   12977 
   12978 /*****************************************************************************
   12979  **
   12980  ** xcb_query_colors_cookie_t xcb_query_colors_unchecked
   12981  **
   12982  ** @param xcb_connection_t *c
   12983  ** @param xcb_colormap_t    cmap
   12984  ** @param uint32_t          pixels_len
   12985  ** @param const uint32_t   *pixels
   12986  ** @returns xcb_query_colors_cookie_t
   12987  **
   12988  *****************************************************************************/
   12989 
   12990 xcb_query_colors_cookie_t
   12991 xcb_query_colors_unchecked (xcb_connection_t *c  /**< */,
   12992                             xcb_colormap_t    cmap  /**< */,
   12993                             uint32_t          pixels_len  /**< */,
   12994                             const uint32_t   *pixels  /**< */);
   12995 
   12996 
   12997 /*****************************************************************************
   12998  **
   12999  ** xcb_rgb_t * xcb_query_colors_colors
   13000  **
   13001  ** @param const xcb_query_colors_reply_t *R
   13002  ** @returns xcb_rgb_t *
   13003  **
   13004  *****************************************************************************/
   13005 
   13006 xcb_rgb_t *
   13007 xcb_query_colors_colors (const xcb_query_colors_reply_t *R  /**< */);
   13008 
   13009 
   13010 /*****************************************************************************
   13011  **
   13012  ** int xcb_query_colors_colors_length
   13013  **
   13014  ** @param const xcb_query_colors_reply_t *R
   13015  ** @returns int
   13016  **
   13017  *****************************************************************************/
   13018 
   13019 int
   13020 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R  /**< */);
   13021 
   13022 
   13023 /*****************************************************************************
   13024  **
   13025  ** xcb_rgb_iterator_t xcb_query_colors_colors_iterator
   13026  **
   13027  ** @param const xcb_query_colors_reply_t *R
   13028  ** @returns xcb_rgb_iterator_t
   13029  **
   13030  *****************************************************************************/
   13031 
   13032 xcb_rgb_iterator_t
   13033 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R  /**< */);
   13034 
   13035 /**
   13036  * Return the reply
   13037  * @param c      The connection
   13038  * @param cookie The cookie
   13039  * @param e      The xcb_generic_error_t supplied
   13040  *
   13041  * Returns the reply of the request asked by
   13042  *
   13043  * The parameter @p e supplied to this function must be NULL if
   13044  * xcb_query_colors_unchecked(). is used.
   13045  * Otherwise, it stores the error if any.
   13046  *
   13047  * The returned value must be freed by the caller using free().
   13048  */
   13049 
   13050 /*****************************************************************************
   13051  **
   13052  ** xcb_query_colors_reply_t * xcb_query_colors_reply
   13053  **
   13054  ** @param xcb_connection_t           *c
   13055  ** @param xcb_query_colors_cookie_t   cookie
   13056  ** @param xcb_generic_error_t       **e
   13057  ** @returns xcb_query_colors_reply_t *
   13058  **
   13059  *****************************************************************************/
   13060 
   13061 xcb_query_colors_reply_t *
   13062 xcb_query_colors_reply (xcb_connection_t           *c  /**< */,
   13063                         xcb_query_colors_cookie_t   cookie  /**< */,
   13064                         xcb_generic_error_t       **e  /**< */);
   13065 
   13066 /**
   13067  * Delivers a request to the X server
   13068  * @param c The connection
   13069  * @return A cookie
   13070  *
   13071  * Delivers a request to the X server.
   13072  *
   13073  */
   13074 
   13075 /*****************************************************************************
   13076  **
   13077  ** xcb_lookup_color_cookie_t xcb_lookup_color
   13078  **
   13079  ** @param xcb_connection_t *c
   13080  ** @param xcb_colormap_t    cmap
   13081  ** @param uint16_t          name_len
   13082  ** @param const char       *name
   13083  ** @returns xcb_lookup_color_cookie_t
   13084  **
   13085  *****************************************************************************/
   13086 
   13087 xcb_lookup_color_cookie_t
   13088 xcb_lookup_color (xcb_connection_t *c  /**< */,
   13089                   xcb_colormap_t    cmap  /**< */,
   13090                   uint16_t          name_len  /**< */,
   13091                   const char       *name  /**< */);
   13092 
   13093 /**
   13094  * Delivers a request to the X server
   13095  * @param c The connection
   13096  * @return A cookie
   13097  *
   13098  * Delivers a request to the X server.
   13099  *
   13100  * This form can be used only if the request will cause
   13101  * a reply to be generated. Any returned error will be
   13102  * placed in the event queue.
   13103  */
   13104 
   13105 /*****************************************************************************
   13106  **
   13107  ** xcb_lookup_color_cookie_t xcb_lookup_color_unchecked
   13108  **
   13109  ** @param xcb_connection_t *c
   13110  ** @param xcb_colormap_t    cmap
   13111  ** @param uint16_t          name_len
   13112  ** @param const char       *name
   13113  ** @returns xcb_lookup_color_cookie_t
   13114  **
   13115  *****************************************************************************/
   13116 
   13117 xcb_lookup_color_cookie_t
   13118 xcb_lookup_color_unchecked (xcb_connection_t *c  /**< */,
   13119                             xcb_colormap_t    cmap  /**< */,
   13120                             uint16_t          name_len  /**< */,
   13121                             const char       *name  /**< */);
   13122 
   13123 /**
   13124  * Return the reply
   13125  * @param c      The connection
   13126  * @param cookie The cookie
   13127  * @param e      The xcb_generic_error_t supplied
   13128  *
   13129  * Returns the reply of the request asked by
   13130  *
   13131  * The parameter @p e supplied to this function must be NULL if
   13132  * xcb_lookup_color_unchecked(). is used.
   13133  * Otherwise, it stores the error if any.
   13134  *
   13135  * The returned value must be freed by the caller using free().
   13136  */
   13137 
   13138 /*****************************************************************************
   13139  **
   13140  ** xcb_lookup_color_reply_t * xcb_lookup_color_reply
   13141  **
   13142  ** @param xcb_connection_t           *c
   13143  ** @param xcb_lookup_color_cookie_t   cookie
   13144  ** @param xcb_generic_error_t       **e
   13145  ** @returns xcb_lookup_color_reply_t *
   13146  **
   13147  *****************************************************************************/
   13148 
   13149 xcb_lookup_color_reply_t *
   13150 xcb_lookup_color_reply (xcb_connection_t           *c  /**< */,
   13151                         xcb_lookup_color_cookie_t   cookie  /**< */,
   13152                         xcb_generic_error_t       **e  /**< */);
   13153 
   13154 /**
   13155  * Delivers a request to the X server
   13156  * @param c The connection
   13157  * @return A cookie
   13158  *
   13159  * Delivers a request to the X server.
   13160  *
   13161  * This form can be used only if the request will not cause
   13162  * a reply to be generated. Any returned error will be
   13163  * saved for handling by xcb_request_check().
   13164  */
   13165 
   13166 /*****************************************************************************
   13167  **
   13168  ** xcb_void_cookie_t xcb_create_cursor_checked
   13169  **
   13170  ** @param xcb_connection_t *c
   13171  ** @param xcb_cursor_t      cid
   13172  ** @param xcb_pixmap_t      source
   13173  ** @param xcb_pixmap_t      mask
   13174  ** @param uint16_t          fore_red
   13175  ** @param uint16_t          fore_green
   13176  ** @param uint16_t          fore_blue
   13177  ** @param uint16_t          back_red
   13178  ** @param uint16_t          back_green
   13179  ** @param uint16_t          back_blue
   13180  ** @param uint16_t          x
   13181  ** @param uint16_t          y
   13182  ** @returns xcb_void_cookie_t
   13183  **
   13184  *****************************************************************************/
   13185 
   13186 xcb_void_cookie_t
   13187 xcb_create_cursor_checked (xcb_connection_t *c  /**< */,
   13188                            xcb_cursor_t      cid  /**< */,
   13189                            xcb_pixmap_t      source  /**< */,
   13190                            xcb_pixmap_t      mask  /**< */,
   13191                            uint16_t          fore_red  /**< */,
   13192                            uint16_t          fore_green  /**< */,
   13193                            uint16_t          fore_blue  /**< */,
   13194                            uint16_t          back_red  /**< */,
   13195                            uint16_t          back_green  /**< */,
   13196                            uint16_t          back_blue  /**< */,
   13197                            uint16_t          x  /**< */,
   13198                            uint16_t          y  /**< */);
   13199 
   13200 /**
   13201  * Delivers a request to the X server
   13202  * @param c The connection
   13203  * @return A cookie
   13204  *
   13205  * Delivers a request to the X server.
   13206  *
   13207  */
   13208 
   13209 /*****************************************************************************
   13210  **
   13211  ** xcb_void_cookie_t xcb_create_cursor
   13212  **
   13213  ** @param xcb_connection_t *c
   13214  ** @param xcb_cursor_t      cid
   13215  ** @param xcb_pixmap_t      source
   13216  ** @param xcb_pixmap_t      mask
   13217  ** @param uint16_t          fore_red
   13218  ** @param uint16_t          fore_green
   13219  ** @param uint16_t          fore_blue
   13220  ** @param uint16_t          back_red
   13221  ** @param uint16_t          back_green
   13222  ** @param uint16_t          back_blue
   13223  ** @param uint16_t          x
   13224  ** @param uint16_t          y
   13225  ** @returns xcb_void_cookie_t
   13226  **
   13227  *****************************************************************************/
   13228 
   13229 xcb_void_cookie_t
   13230 xcb_create_cursor (xcb_connection_t *c  /**< */,
   13231                    xcb_cursor_t      cid  /**< */,
   13232                    xcb_pixmap_t      source  /**< */,
   13233                    xcb_pixmap_t      mask  /**< */,
   13234                    uint16_t          fore_red  /**< */,
   13235                    uint16_t          fore_green  /**< */,
   13236                    uint16_t          fore_blue  /**< */,
   13237                    uint16_t          back_red  /**< */,
   13238                    uint16_t          back_green  /**< */,
   13239                    uint16_t          back_blue  /**< */,
   13240                    uint16_t          x  /**< */,
   13241                    uint16_t          y  /**< */);
   13242 
   13243 /**
   13244  * Delivers a request to the X server
   13245  * @param c The connection
   13246  * @return A cookie
   13247  *
   13248  * Delivers a request to the X server.
   13249  *
   13250  * This form can be used only if the request will not cause
   13251  * a reply to be generated. Any returned error will be
   13252  * saved for handling by xcb_request_check().
   13253  */
   13254 
   13255 /*****************************************************************************
   13256  **
   13257  ** xcb_void_cookie_t xcb_create_glyph_cursor_checked
   13258  **
   13259  ** @param xcb_connection_t *c
   13260  ** @param xcb_cursor_t      cid
   13261  ** @param xcb_font_t        source_font
   13262  ** @param xcb_font_t        mask_font
   13263  ** @param uint16_t          source_char
   13264  ** @param uint16_t          mask_char
   13265  ** @param uint16_t          fore_red
   13266  ** @param uint16_t          fore_green
   13267  ** @param uint16_t          fore_blue
   13268  ** @param uint16_t          back_red
   13269  ** @param uint16_t          back_green
   13270  ** @param uint16_t          back_blue
   13271  ** @returns xcb_void_cookie_t
   13272  **
   13273  *****************************************************************************/
   13274 
   13275 xcb_void_cookie_t
   13276 xcb_create_glyph_cursor_checked (xcb_connection_t *c  /**< */,
   13277                                  xcb_cursor_t      cid  /**< */,
   13278                                  xcb_font_t        source_font  /**< */,
   13279                                  xcb_font_t        mask_font  /**< */,
   13280                                  uint16_t          source_char  /**< */,
   13281                                  uint16_t          mask_char  /**< */,
   13282                                  uint16_t          fore_red  /**< */,
   13283                                  uint16_t          fore_green  /**< */,
   13284                                  uint16_t          fore_blue  /**< */,
   13285                                  uint16_t          back_red  /**< */,
   13286                                  uint16_t          back_green  /**< */,
   13287                                  uint16_t          back_blue  /**< */);
   13288 
   13289 /**
   13290  * Delivers a request to the X server
   13291  * @param c The connection
   13292  * @return A cookie
   13293  *
   13294  * Delivers a request to the X server.
   13295  *
   13296  */
   13297 
   13298 /*****************************************************************************
   13299  **
   13300  ** xcb_void_cookie_t xcb_create_glyph_cursor
   13301  **
   13302  ** @param xcb_connection_t *c
   13303  ** @param xcb_cursor_t      cid
   13304  ** @param xcb_font_t        source_font
   13305  ** @param xcb_font_t        mask_font
   13306  ** @param uint16_t          source_char
   13307  ** @param uint16_t          mask_char
   13308  ** @param uint16_t          fore_red
   13309  ** @param uint16_t          fore_green
   13310  ** @param uint16_t          fore_blue
   13311  ** @param uint16_t          back_red
   13312  ** @param uint16_t          back_green
   13313  ** @param uint16_t          back_blue
   13314  ** @returns xcb_void_cookie_t
   13315  **
   13316  *****************************************************************************/
   13317 
   13318 xcb_void_cookie_t
   13319 xcb_create_glyph_cursor (xcb_connection_t *c  /**< */,
   13320                          xcb_cursor_t      cid  /**< */,
   13321                          xcb_font_t        source_font  /**< */,
   13322                          xcb_font_t        mask_font  /**< */,
   13323                          uint16_t          source_char  /**< */,
   13324                          uint16_t          mask_char  /**< */,
   13325                          uint16_t          fore_red  /**< */,
   13326                          uint16_t          fore_green  /**< */,
   13327                          uint16_t          fore_blue  /**< */,
   13328                          uint16_t          back_red  /**< */,
   13329                          uint16_t          back_green  /**< */,
   13330                          uint16_t          back_blue  /**< */);
   13331 
   13332 /**
   13333  * Delivers a request to the X server
   13334  * @param c The connection
   13335  * @return A cookie
   13336  *
   13337  * Delivers a request to the X server.
   13338  *
   13339  * This form can be used only if the request will not cause
   13340  * a reply to be generated. Any returned error will be
   13341  * saved for handling by xcb_request_check().
   13342  */
   13343 
   13344 /*****************************************************************************
   13345  **
   13346  ** xcb_void_cookie_t xcb_free_cursor_checked
   13347  **
   13348  ** @param xcb_connection_t *c
   13349  ** @param xcb_cursor_t      cursor
   13350  ** @returns xcb_void_cookie_t
   13351  **
   13352  *****************************************************************************/
   13353 
   13354 xcb_void_cookie_t
   13355 xcb_free_cursor_checked (xcb_connection_t *c  /**< */,
   13356                          xcb_cursor_t      cursor  /**< */);
   13357 
   13358 /**
   13359  * Delivers a request to the X server
   13360  * @param c The connection
   13361  * @return A cookie
   13362  *
   13363  * Delivers a request to the X server.
   13364  *
   13365  */
   13366 
   13367 /*****************************************************************************
   13368  **
   13369  ** xcb_void_cookie_t xcb_free_cursor
   13370  **
   13371  ** @param xcb_connection_t *c
   13372  ** @param xcb_cursor_t      cursor
   13373  ** @returns xcb_void_cookie_t
   13374  **
   13375  *****************************************************************************/
   13376 
   13377 xcb_void_cookie_t
   13378 xcb_free_cursor (xcb_connection_t *c  /**< */,
   13379                  xcb_cursor_t      cursor  /**< */);
   13380 
   13381 /**
   13382  * Delivers a request to the X server
   13383  * @param c The connection
   13384  * @return A cookie
   13385  *
   13386  * Delivers a request to the X server.
   13387  *
   13388  * This form can be used only if the request will not cause
   13389  * a reply to be generated. Any returned error will be
   13390  * saved for handling by xcb_request_check().
   13391  */
   13392 
   13393 /*****************************************************************************
   13394  **
   13395  ** xcb_void_cookie_t xcb_recolor_cursor_checked
   13396  **
   13397  ** @param xcb_connection_t *c
   13398  ** @param xcb_cursor_t      cursor
   13399  ** @param uint16_t          fore_red
   13400  ** @param uint16_t          fore_green
   13401  ** @param uint16_t          fore_blue
   13402  ** @param uint16_t          back_red
   13403  ** @param uint16_t          back_green
   13404  ** @param uint16_t          back_blue
   13405  ** @returns xcb_void_cookie_t
   13406  **
   13407  *****************************************************************************/
   13408 
   13409 xcb_void_cookie_t
   13410 xcb_recolor_cursor_checked (xcb_connection_t *c  /**< */,
   13411                             xcb_cursor_t      cursor  /**< */,
   13412                             uint16_t          fore_red  /**< */,
   13413                             uint16_t          fore_green  /**< */,
   13414                             uint16_t          fore_blue  /**< */,
   13415                             uint16_t          back_red  /**< */,
   13416                             uint16_t          back_green  /**< */,
   13417                             uint16_t          back_blue  /**< */);
   13418 
   13419 /**
   13420  * Delivers a request to the X server
   13421  * @param c The connection
   13422  * @return A cookie
   13423  *
   13424  * Delivers a request to the X server.
   13425  *
   13426  */
   13427 
   13428 /*****************************************************************************
   13429  **
   13430  ** xcb_void_cookie_t xcb_recolor_cursor
   13431  **
   13432  ** @param xcb_connection_t *c
   13433  ** @param xcb_cursor_t      cursor
   13434  ** @param uint16_t          fore_red
   13435  ** @param uint16_t          fore_green
   13436  ** @param uint16_t          fore_blue
   13437  ** @param uint16_t          back_red
   13438  ** @param uint16_t          back_green
   13439  ** @param uint16_t          back_blue
   13440  ** @returns xcb_void_cookie_t
   13441  **
   13442  *****************************************************************************/
   13443 
   13444 xcb_void_cookie_t
   13445 xcb_recolor_cursor (xcb_connection_t *c  /**< */,
   13446                     xcb_cursor_t      cursor  /**< */,
   13447                     uint16_t          fore_red  /**< */,
   13448                     uint16_t          fore_green  /**< */,
   13449                     uint16_t          fore_blue  /**< */,
   13450                     uint16_t          back_red  /**< */,
   13451                     uint16_t          back_green  /**< */,
   13452                     uint16_t          back_blue  /**< */);
   13453 
   13454 /**
   13455  * Delivers a request to the X server
   13456  * @param c The connection
   13457  * @return A cookie
   13458  *
   13459  * Delivers a request to the X server.
   13460  *
   13461  */
   13462 
   13463 /*****************************************************************************
   13464  **
   13465  ** xcb_query_best_size_cookie_t xcb_query_best_size
   13466  **
   13467  ** @param xcb_connection_t *c
   13468  ** @param uint8_t           _class
   13469  ** @param xcb_drawable_t    drawable
   13470  ** @param uint16_t          width
   13471  ** @param uint16_t          height
   13472  ** @returns xcb_query_best_size_cookie_t
   13473  **
   13474  *****************************************************************************/
   13475 
   13476 xcb_query_best_size_cookie_t
   13477 xcb_query_best_size (xcb_connection_t *c  /**< */,
   13478                      uint8_t           _class  /**< */,
   13479                      xcb_drawable_t    drawable  /**< */,
   13480                      uint16_t          width  /**< */,
   13481                      uint16_t          height  /**< */);
   13482 
   13483 /**
   13484  * Delivers a request to the X server
   13485  * @param c The connection
   13486  * @return A cookie
   13487  *
   13488  * Delivers a request to the X server.
   13489  *
   13490  * This form can be used only if the request will cause
   13491  * a reply to be generated. Any returned error will be
   13492  * placed in the event queue.
   13493  */
   13494 
   13495 /*****************************************************************************
   13496  **
   13497  ** xcb_query_best_size_cookie_t xcb_query_best_size_unchecked
   13498  **
   13499  ** @param xcb_connection_t *c
   13500  ** @param uint8_t           _class
   13501  ** @param xcb_drawable_t    drawable
   13502  ** @param uint16_t          width
   13503  ** @param uint16_t          height
   13504  ** @returns xcb_query_best_size_cookie_t
   13505  **
   13506  *****************************************************************************/
   13507 
   13508 xcb_query_best_size_cookie_t
   13509 xcb_query_best_size_unchecked (xcb_connection_t *c  /**< */,
   13510                                uint8_t           _class  /**< */,
   13511                                xcb_drawable_t    drawable  /**< */,
   13512                                uint16_t          width  /**< */,
   13513                                uint16_t          height  /**< */);
   13514 
   13515 /**
   13516  * Return the reply
   13517  * @param c      The connection
   13518  * @param cookie The cookie
   13519  * @param e      The xcb_generic_error_t supplied
   13520  *
   13521  * Returns the reply of the request asked by
   13522  *
   13523  * The parameter @p e supplied to this function must be NULL if
   13524  * xcb_query_best_size_unchecked(). is used.
   13525  * Otherwise, it stores the error if any.
   13526  *
   13527  * The returned value must be freed by the caller using free().
   13528  */
   13529 
   13530 /*****************************************************************************
   13531  **
   13532  ** xcb_query_best_size_reply_t * xcb_query_best_size_reply
   13533  **
   13534  ** @param xcb_connection_t              *c
   13535  ** @param xcb_query_best_size_cookie_t   cookie
   13536  ** @param xcb_generic_error_t          **e
   13537  ** @returns xcb_query_best_size_reply_t *
   13538  **
   13539  *****************************************************************************/
   13540 
   13541 xcb_query_best_size_reply_t *
   13542 xcb_query_best_size_reply (xcb_connection_t              *c  /**< */,
   13543                            xcb_query_best_size_cookie_t   cookie  /**< */,
   13544                            xcb_generic_error_t          **e  /**< */);
   13545 
   13546 /**
   13547  * Delivers a request to the X server
   13548  * @param c The connection
   13549  * @return A cookie
   13550  *
   13551  * Delivers a request to the X server.
   13552  *
   13553  */
   13554 
   13555 /*****************************************************************************
   13556  **
   13557  ** xcb_query_extension_cookie_t xcb_query_extension
   13558  **
   13559  ** @param xcb_connection_t *c
   13560  ** @param uint16_t          name_len
   13561  ** @param const char       *name
   13562  ** @returns xcb_query_extension_cookie_t
   13563  **
   13564  *****************************************************************************/
   13565 
   13566 xcb_query_extension_cookie_t
   13567 xcb_query_extension (xcb_connection_t *c  /**< */,
   13568                      uint16_t          name_len  /**< */,
   13569                      const char       *name  /**< */);
   13570 
   13571 /**
   13572  * Delivers a request to the X server
   13573  * @param c The connection
   13574  * @return A cookie
   13575  *
   13576  * Delivers a request to the X server.
   13577  *
   13578  * This form can be used only if the request will cause
   13579  * a reply to be generated. Any returned error will be
   13580  * placed in the event queue.
   13581  */
   13582 
   13583 /*****************************************************************************
   13584  **
   13585  ** xcb_query_extension_cookie_t xcb_query_extension_unchecked
   13586  **
   13587  ** @param xcb_connection_t *c
   13588  ** @param uint16_t          name_len
   13589  ** @param const char       *name
   13590  ** @returns xcb_query_extension_cookie_t
   13591  **
   13592  *****************************************************************************/
   13593 
   13594 xcb_query_extension_cookie_t
   13595 xcb_query_extension_unchecked (xcb_connection_t *c  /**< */,
   13596                                uint16_t          name_len  /**< */,
   13597                                const char       *name  /**< */);
   13598 
   13599 /**
   13600  * Return the reply
   13601  * @param c      The connection
   13602  * @param cookie The cookie
   13603  * @param e      The xcb_generic_error_t supplied
   13604  *
   13605  * Returns the reply of the request asked by
   13606  *
   13607  * The parameter @p e supplied to this function must be NULL if
   13608  * xcb_query_extension_unchecked(). is used.
   13609  * Otherwise, it stores the error if any.
   13610  *
   13611  * The returned value must be freed by the caller using free().
   13612  */
   13613 
   13614 /*****************************************************************************
   13615  **
   13616  ** xcb_query_extension_reply_t * xcb_query_extension_reply
   13617  **
   13618  ** @param xcb_connection_t              *c
   13619  ** @param xcb_query_extension_cookie_t   cookie
   13620  ** @param xcb_generic_error_t          **e
   13621  ** @returns xcb_query_extension_reply_t *
   13622  **
   13623  *****************************************************************************/
   13624 
   13625 xcb_query_extension_reply_t *
   13626 xcb_query_extension_reply (xcb_connection_t              *c  /**< */,
   13627                            xcb_query_extension_cookie_t   cookie  /**< */,
   13628                            xcb_generic_error_t          **e  /**< */);
   13629 
   13630 /**
   13631  * Delivers a request to the X server
   13632  * @param c The connection
   13633  * @return A cookie
   13634  *
   13635  * Delivers a request to the X server.
   13636  *
   13637  */
   13638 
   13639 /*****************************************************************************
   13640  **
   13641  ** xcb_list_extensions_cookie_t xcb_list_extensions
   13642  **
   13643  ** @param xcb_connection_t *c
   13644  ** @returns xcb_list_extensions_cookie_t
   13645  **
   13646  *****************************************************************************/
   13647 
   13648 xcb_list_extensions_cookie_t
   13649 xcb_list_extensions (xcb_connection_t *c  /**< */);
   13650 
   13651 /**
   13652  * Delivers a request to the X server
   13653  * @param c The connection
   13654  * @return A cookie
   13655  *
   13656  * Delivers a request to the X server.
   13657  *
   13658  * This form can be used only if the request will cause
   13659  * a reply to be generated. Any returned error will be
   13660  * placed in the event queue.
   13661  */
   13662 
   13663 /*****************************************************************************
   13664  **
   13665  ** xcb_list_extensions_cookie_t xcb_list_extensions_unchecked
   13666  **
   13667  ** @param xcb_connection_t *c
   13668  ** @returns xcb_list_extensions_cookie_t
   13669  **
   13670  *****************************************************************************/
   13671 
   13672 xcb_list_extensions_cookie_t
   13673 xcb_list_extensions_unchecked (xcb_connection_t *c  /**< */);
   13674 
   13675 
   13676 /*****************************************************************************
   13677  **
   13678  ** int xcb_list_extensions_names_length
   13679  **
   13680  ** @param const xcb_list_extensions_reply_t *R
   13681  ** @returns int
   13682  **
   13683  *****************************************************************************/
   13684 
   13685 int
   13686 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R  /**< */);
   13687 
   13688 
   13689 /*****************************************************************************
   13690  **
   13691  ** xcb_str_iterator_t xcb_list_extensions_names_iterator
   13692  **
   13693  ** @param const xcb_list_extensions_reply_t *R
   13694  ** @returns xcb_str_iterator_t
   13695  **
   13696  *****************************************************************************/
   13697 
   13698 xcb_str_iterator_t
   13699 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R  /**< */);
   13700 
   13701 /**
   13702  * Return the reply
   13703  * @param c      The connection
   13704  * @param cookie The cookie
   13705  * @param e      The xcb_generic_error_t supplied
   13706  *
   13707  * Returns the reply of the request asked by
   13708  *
   13709  * The parameter @p e supplied to this function must be NULL if
   13710  * xcb_list_extensions_unchecked(). is used.
   13711  * Otherwise, it stores the error if any.
   13712  *
   13713  * The returned value must be freed by the caller using free().
   13714  */
   13715 
   13716 /*****************************************************************************
   13717  **
   13718  ** xcb_list_extensions_reply_t * xcb_list_extensions_reply
   13719  **
   13720  ** @param xcb_connection_t              *c
   13721  ** @param xcb_list_extensions_cookie_t   cookie
   13722  ** @param xcb_generic_error_t          **e
   13723  ** @returns xcb_list_extensions_reply_t *
   13724  **
   13725  *****************************************************************************/
   13726 
   13727 xcb_list_extensions_reply_t *
   13728 xcb_list_extensions_reply (xcb_connection_t              *c  /**< */,
   13729                            xcb_list_extensions_cookie_t   cookie  /**< */,
   13730                            xcb_generic_error_t          **e  /**< */);
   13731 
   13732 /**
   13733  * Delivers a request to the X server
   13734  * @param c The connection
   13735  * @return A cookie
   13736  *
   13737  * Delivers a request to the X server.
   13738  *
   13739  * This form can be used only if the request will not cause
   13740  * a reply to be generated. Any returned error will be
   13741  * saved for handling by xcb_request_check().
   13742  */
   13743 
   13744 /*****************************************************************************
   13745  **
   13746  ** xcb_void_cookie_t xcb_change_keyboard_mapping_checked
   13747  **
   13748  ** @param xcb_connection_t   *c
   13749  ** @param uint8_t             keycode_count
   13750  ** @param xcb_keycode_t       first_keycode
   13751  ** @param uint8_t             keysyms_per_keycode
   13752  ** @param const xcb_keysym_t *keysyms
   13753  ** @returns xcb_void_cookie_t
   13754  **
   13755  *****************************************************************************/
   13756 
   13757 xcb_void_cookie_t
   13758 xcb_change_keyboard_mapping_checked (xcb_connection_t   *c  /**< */,
   13759                                      uint8_t             keycode_count  /**< */,
   13760                                      xcb_keycode_t       first_keycode  /**< */,
   13761                                      uint8_t             keysyms_per_keycode  /**< */,
   13762                                      const xcb_keysym_t *keysyms  /**< */);
   13763 
   13764 /**
   13765  * Delivers a request to the X server
   13766  * @param c The connection
   13767  * @return A cookie
   13768  *
   13769  * Delivers a request to the X server.
   13770  *
   13771  */
   13772 
   13773 /*****************************************************************************
   13774  **
   13775  ** xcb_void_cookie_t xcb_change_keyboard_mapping
   13776  **
   13777  ** @param xcb_connection_t   *c
   13778  ** @param uint8_t             keycode_count
   13779  ** @param xcb_keycode_t       first_keycode
   13780  ** @param uint8_t             keysyms_per_keycode
   13781  ** @param const xcb_keysym_t *keysyms
   13782  ** @returns xcb_void_cookie_t
   13783  **
   13784  *****************************************************************************/
   13785 
   13786 xcb_void_cookie_t
   13787 xcb_change_keyboard_mapping (xcb_connection_t   *c  /**< */,
   13788                              uint8_t             keycode_count  /**< */,
   13789                              xcb_keycode_t       first_keycode  /**< */,
   13790                              uint8_t             keysyms_per_keycode  /**< */,
   13791                              const xcb_keysym_t *keysyms  /**< */);
   13792 
   13793 /**
   13794  * Delivers a request to the X server
   13795  * @param c The connection
   13796  * @return A cookie
   13797  *
   13798  * Delivers a request to the X server.
   13799  *
   13800  */
   13801 
   13802 /*****************************************************************************
   13803  **
   13804  ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping
   13805  **
   13806  ** @param xcb_connection_t *c
   13807  ** @param xcb_keycode_t     first_keycode
   13808  ** @param uint8_t           count
   13809  ** @returns xcb_get_keyboard_mapping_cookie_t
   13810  **
   13811  *****************************************************************************/
   13812 
   13813 xcb_get_keyboard_mapping_cookie_t
   13814 xcb_get_keyboard_mapping (xcb_connection_t *c  /**< */,
   13815                           xcb_keycode_t     first_keycode  /**< */,
   13816                           uint8_t           count  /**< */);
   13817 
   13818 /**
   13819  * Delivers a request to the X server
   13820  * @param c The connection
   13821  * @return A cookie
   13822  *
   13823  * Delivers a request to the X server.
   13824  *
   13825  * This form can be used only if the request will cause
   13826  * a reply to be generated. Any returned error will be
   13827  * placed in the event queue.
   13828  */
   13829 
   13830 /*****************************************************************************
   13831  **
   13832  ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked
   13833  **
   13834  ** @param xcb_connection_t *c
   13835  ** @param xcb_keycode_t     first_keycode
   13836  ** @param uint8_t           count
   13837  ** @returns xcb_get_keyboard_mapping_cookie_t
   13838  **
   13839  *****************************************************************************/
   13840 
   13841 xcb_get_keyboard_mapping_cookie_t
   13842 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c  /**< */,
   13843                                     xcb_keycode_t     first_keycode  /**< */,
   13844                                     uint8_t           count  /**< */);
   13845 
   13846 
   13847 /*****************************************************************************
   13848  **
   13849  ** xcb_keysym_t * xcb_get_keyboard_mapping_keysyms
   13850  **
   13851  ** @param const xcb_get_keyboard_mapping_reply_t *R
   13852  ** @returns xcb_keysym_t *
   13853  **
   13854  *****************************************************************************/
   13855 
   13856 xcb_keysym_t *
   13857 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
   13858 
   13859 
   13860 /*****************************************************************************
   13861  **
   13862  ** int xcb_get_keyboard_mapping_keysyms_length
   13863  **
   13864  ** @param const xcb_get_keyboard_mapping_reply_t *R
   13865  ** @returns int
   13866  **
   13867  *****************************************************************************/
   13868 
   13869 int
   13870 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
   13871 
   13872 
   13873 /*****************************************************************************
   13874  **
   13875  ** xcb_generic_iterator_t xcb_get_keyboard_mapping_keysyms_end
   13876  **
   13877  ** @param const xcb_get_keyboard_mapping_reply_t *R
   13878  ** @returns xcb_generic_iterator_t
   13879  **
   13880  *****************************************************************************/
   13881 
   13882 xcb_generic_iterator_t
   13883 xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
   13884 
   13885 /**
   13886  * Return the reply
   13887  * @param c      The connection
   13888  * @param cookie The cookie
   13889  * @param e      The xcb_generic_error_t supplied
   13890  *
   13891  * Returns the reply of the request asked by
   13892  *
   13893  * The parameter @p e supplied to this function must be NULL if
   13894  * xcb_get_keyboard_mapping_unchecked(). is used.
   13895  * Otherwise, it stores the error if any.
   13896  *
   13897  * The returned value must be freed by the caller using free().
   13898  */
   13899 
   13900 /*****************************************************************************
   13901  **
   13902  ** xcb_get_keyboard_mapping_reply_t * xcb_get_keyboard_mapping_reply
   13903  **
   13904  ** @param xcb_connection_t                   *c
   13905  ** @param xcb_get_keyboard_mapping_cookie_t   cookie
   13906  ** @param xcb_generic_error_t               **e
   13907  ** @returns xcb_get_keyboard_mapping_reply_t *
   13908  **
   13909  *****************************************************************************/
   13910 
   13911 xcb_get_keyboard_mapping_reply_t *
   13912 xcb_get_keyboard_mapping_reply (xcb_connection_t                   *c  /**< */,
   13913                                 xcb_get_keyboard_mapping_cookie_t   cookie  /**< */,
   13914                                 xcb_generic_error_t               **e  /**< */);
   13915 
   13916 /**
   13917  * Delivers a request to the X server
   13918  * @param c The connection
   13919  * @return A cookie
   13920  *
   13921  * Delivers a request to the X server.
   13922  *
   13923  * This form can be used only if the request will not cause
   13924  * a reply to be generated. Any returned error will be
   13925  * saved for handling by xcb_request_check().
   13926  */
   13927 
   13928 /*****************************************************************************
   13929  **
   13930  ** xcb_void_cookie_t xcb_change_keyboard_control_checked
   13931  **
   13932  ** @param xcb_connection_t *c
   13933  ** @param uint32_t          value_mask
   13934  ** @param const uint32_t   *value_list
   13935  ** @returns xcb_void_cookie_t
   13936  **
   13937  *****************************************************************************/
   13938 
   13939 xcb_void_cookie_t
   13940 xcb_change_keyboard_control_checked (xcb_connection_t *c  /**< */,
   13941                                      uint32_t          value_mask  /**< */,
   13942                                      const uint32_t   *value_list  /**< */);
   13943 
   13944 /**
   13945  * Delivers a request to the X server
   13946  * @param c The connection
   13947  * @return A cookie
   13948  *
   13949  * Delivers a request to the X server.
   13950  *
   13951  */
   13952 
   13953 /*****************************************************************************
   13954  **
   13955  ** xcb_void_cookie_t xcb_change_keyboard_control
   13956  **
   13957  ** @param xcb_connection_t *c
   13958  ** @param uint32_t          value_mask
   13959  ** @param const uint32_t   *value_list
   13960  ** @returns xcb_void_cookie_t
   13961  **
   13962  *****************************************************************************/
   13963 
   13964 xcb_void_cookie_t
   13965 xcb_change_keyboard_control (xcb_connection_t *c  /**< */,
   13966                              uint32_t          value_mask  /**< */,
   13967                              const uint32_t   *value_list  /**< */);
   13968 
   13969 /**
   13970  * Delivers a request to the X server
   13971  * @param c The connection
   13972  * @return A cookie
   13973  *
   13974  * Delivers a request to the X server.
   13975  *
   13976  */
   13977 
   13978 /*****************************************************************************
   13979  **
   13980  ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control
   13981  **
   13982  ** @param xcb_connection_t *c
   13983  ** @returns xcb_get_keyboard_control_cookie_t
   13984  **
   13985  *****************************************************************************/
   13986 
   13987 xcb_get_keyboard_control_cookie_t
   13988 xcb_get_keyboard_control (xcb_connection_t *c  /**< */);
   13989 
   13990 /**
   13991  * Delivers a request to the X server
   13992  * @param c The connection
   13993  * @return A cookie
   13994  *
   13995  * Delivers a request to the X server.
   13996  *
   13997  * This form can be used only if the request will cause
   13998  * a reply to be generated. Any returned error will be
   13999  * placed in the event queue.
   14000  */
   14001 
   14002 /*****************************************************************************
   14003  **
   14004  ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked
   14005  **
   14006  ** @param xcb_connection_t *c
   14007  ** @returns xcb_get_keyboard_control_cookie_t
   14008  **
   14009  *****************************************************************************/
   14010 
   14011 xcb_get_keyboard_control_cookie_t
   14012 xcb_get_keyboard_control_unchecked (xcb_connection_t *c  /**< */);
   14013 
   14014 /**
   14015  * Return the reply
   14016  * @param c      The connection
   14017  * @param cookie The cookie
   14018  * @param e      The xcb_generic_error_t supplied
   14019  *
   14020  * Returns the reply of the request asked by
   14021  *
   14022  * The parameter @p e supplied to this function must be NULL if
   14023  * xcb_get_keyboard_control_unchecked(). is used.
   14024  * Otherwise, it stores the error if any.
   14025  *
   14026  * The returned value must be freed by the caller using free().
   14027  */
   14028 
   14029 /*****************************************************************************
   14030  **
   14031  ** xcb_get_keyboard_control_reply_t * xcb_get_keyboard_control_reply
   14032  **
   14033  ** @param xcb_connection_t                   *c
   14034  ** @param xcb_get_keyboard_control_cookie_t   cookie
   14035  ** @param xcb_generic_error_t               **e
   14036  ** @returns xcb_get_keyboard_control_reply_t *
   14037  **
   14038  *****************************************************************************/
   14039 
   14040 xcb_get_keyboard_control_reply_t *
   14041 xcb_get_keyboard_control_reply (xcb_connection_t                   *c  /**< */,
   14042                                 xcb_get_keyboard_control_cookie_t   cookie  /**< */,
   14043                                 xcb_generic_error_t               **e  /**< */);
   14044 
   14045 /**
   14046  * Delivers a request to the X server
   14047  * @param c The connection
   14048  * @return A cookie
   14049  *
   14050  * Delivers a request to the X server.
   14051  *
   14052  * This form can be used only if the request will not cause
   14053  * a reply to be generated. Any returned error will be
   14054  * saved for handling by xcb_request_check().
   14055  */
   14056 
   14057 /*****************************************************************************
   14058  **
   14059  ** xcb_void_cookie_t xcb_bell_checked
   14060  **
   14061  ** @param xcb_connection_t *c
   14062  ** @param int8_t            percent
   14063  ** @returns xcb_void_cookie_t
   14064  **
   14065  *****************************************************************************/
   14066 
   14067 xcb_void_cookie_t
   14068 xcb_bell_checked (xcb_connection_t *c  /**< */,
   14069                   int8_t            percent  /**< */);
   14070 
   14071 /**
   14072  * Delivers a request to the X server
   14073  * @param c The connection
   14074  * @return A cookie
   14075  *
   14076  * Delivers a request to the X server.
   14077  *
   14078  */
   14079 
   14080 /*****************************************************************************
   14081  **
   14082  ** xcb_void_cookie_t xcb_bell
   14083  **
   14084  ** @param xcb_connection_t *c
   14085  ** @param int8_t            percent
   14086  ** @returns xcb_void_cookie_t
   14087  **
   14088  *****************************************************************************/
   14089 
   14090 xcb_void_cookie_t
   14091 xcb_bell (xcb_connection_t *c  /**< */,
   14092           int8_t            percent  /**< */);
   14093 
   14094 /**
   14095  * Delivers a request to the X server
   14096  * @param c The connection
   14097  * @return A cookie
   14098  *
   14099  * Delivers a request to the X server.
   14100  *
   14101  * This form can be used only if the request will not cause
   14102  * a reply to be generated. Any returned error will be
   14103  * saved for handling by xcb_request_check().
   14104  */
   14105 
   14106 /*****************************************************************************
   14107  **
   14108  ** xcb_void_cookie_t xcb_change_pointer_control_checked
   14109  **
   14110  ** @param xcb_connection_t *c
   14111  ** @param int16_t           acceleration_numerator
   14112  ** @param int16_t           acceleration_denominator
   14113  ** @param int16_t           threshold
   14114  ** @param uint8_t           do_acceleration
   14115  ** @param uint8_t           do_threshold
   14116  ** @returns xcb_void_cookie_t
   14117  **
   14118  *****************************************************************************/
   14119 
   14120 xcb_void_cookie_t
   14121 xcb_change_pointer_control_checked (xcb_connection_t *c  /**< */,
   14122                                     int16_t           acceleration_numerator  /**< */,
   14123                                     int16_t           acceleration_denominator  /**< */,
   14124                                     int16_t           threshold  /**< */,
   14125                                     uint8_t           do_acceleration  /**< */,
   14126                                     uint8_t           do_threshold  /**< */);
   14127 
   14128 /**
   14129  * Delivers a request to the X server
   14130  * @param c The connection
   14131  * @return A cookie
   14132  *
   14133  * Delivers a request to the X server.
   14134  *
   14135  */
   14136 
   14137 /*****************************************************************************
   14138  **
   14139  ** xcb_void_cookie_t xcb_change_pointer_control
   14140  **
   14141  ** @param xcb_connection_t *c
   14142  ** @param int16_t           acceleration_numerator
   14143  ** @param int16_t           acceleration_denominator
   14144  ** @param int16_t           threshold
   14145  ** @param uint8_t           do_acceleration
   14146  ** @param uint8_t           do_threshold
   14147  ** @returns xcb_void_cookie_t
   14148  **
   14149  *****************************************************************************/
   14150 
   14151 xcb_void_cookie_t
   14152 xcb_change_pointer_control (xcb_connection_t *c  /**< */,
   14153                             int16_t           acceleration_numerator  /**< */,
   14154                             int16_t           acceleration_denominator  /**< */,
   14155                             int16_t           threshold  /**< */,
   14156                             uint8_t           do_acceleration  /**< */,
   14157                             uint8_t           do_threshold  /**< */);
   14158 
   14159 /**
   14160  * Delivers a request to the X server
   14161  * @param c The connection
   14162  * @return A cookie
   14163  *
   14164  * Delivers a request to the X server.
   14165  *
   14166  */
   14167 
   14168 /*****************************************************************************
   14169  **
   14170  ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control
   14171  **
   14172  ** @param xcb_connection_t *c
   14173  ** @returns xcb_get_pointer_control_cookie_t
   14174  **
   14175  *****************************************************************************/
   14176 
   14177 xcb_get_pointer_control_cookie_t
   14178 xcb_get_pointer_control (xcb_connection_t *c  /**< */);
   14179 
   14180 /**
   14181  * Delivers a request to the X server
   14182  * @param c The connection
   14183  * @return A cookie
   14184  *
   14185  * Delivers a request to the X server.
   14186  *
   14187  * This form can be used only if the request will cause
   14188  * a reply to be generated. Any returned error will be
   14189  * placed in the event queue.
   14190  */
   14191 
   14192 /*****************************************************************************
   14193  **
   14194  ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked
   14195  **
   14196  ** @param xcb_connection_t *c
   14197  ** @returns xcb_get_pointer_control_cookie_t
   14198  **
   14199  *****************************************************************************/
   14200 
   14201 xcb_get_pointer_control_cookie_t
   14202 xcb_get_pointer_control_unchecked (xcb_connection_t *c  /**< */);
   14203 
   14204 /**
   14205  * Return the reply
   14206  * @param c      The connection
   14207  * @param cookie The cookie
   14208  * @param e      The xcb_generic_error_t supplied
   14209  *
   14210  * Returns the reply of the request asked by
   14211  *
   14212  * The parameter @p e supplied to this function must be NULL if
   14213  * xcb_get_pointer_control_unchecked(). is used.
   14214  * Otherwise, it stores the error if any.
   14215  *
   14216  * The returned value must be freed by the caller using free().
   14217  */
   14218 
   14219 /*****************************************************************************
   14220  **
   14221  ** xcb_get_pointer_control_reply_t * xcb_get_pointer_control_reply
   14222  **
   14223  ** @param xcb_connection_t                  *c
   14224  ** @param xcb_get_pointer_control_cookie_t   cookie
   14225  ** @param xcb_generic_error_t              **e
   14226  ** @returns xcb_get_pointer_control_reply_t *
   14227  **
   14228  *****************************************************************************/
   14229 
   14230 xcb_get_pointer_control_reply_t *
   14231 xcb_get_pointer_control_reply (xcb_connection_t                  *c  /**< */,
   14232                                xcb_get_pointer_control_cookie_t   cookie  /**< */,
   14233                                xcb_generic_error_t              **e  /**< */);
   14234 
   14235 /**
   14236  * Delivers a request to the X server
   14237  * @param c The connection
   14238  * @return A cookie
   14239  *
   14240  * Delivers a request to the X server.
   14241  *
   14242  * This form can be used only if the request will not cause
   14243  * a reply to be generated. Any returned error will be
   14244  * saved for handling by xcb_request_check().
   14245  */
   14246 
   14247 /*****************************************************************************
   14248  **
   14249  ** xcb_void_cookie_t xcb_set_screen_saver_checked
   14250  **
   14251  ** @param xcb_connection_t *c
   14252  ** @param int16_t           timeout
   14253  ** @param int16_t           interval
   14254  ** @param uint8_t           prefer_blanking
   14255  ** @param uint8_t           allow_exposures
   14256  ** @returns xcb_void_cookie_t
   14257  **
   14258  *****************************************************************************/
   14259 
   14260 xcb_void_cookie_t
   14261 xcb_set_screen_saver_checked (xcb_connection_t *c  /**< */,
   14262                               int16_t           timeout  /**< */,
   14263                               int16_t           interval  /**< */,
   14264                               uint8_t           prefer_blanking  /**< */,
   14265                               uint8_t           allow_exposures  /**< */);
   14266 
   14267 /**
   14268  * Delivers a request to the X server
   14269  * @param c The connection
   14270  * @return A cookie
   14271  *
   14272  * Delivers a request to the X server.
   14273  *
   14274  */
   14275 
   14276 /*****************************************************************************
   14277  **
   14278  ** xcb_void_cookie_t xcb_set_screen_saver
   14279  **
   14280  ** @param xcb_connection_t *c
   14281  ** @param int16_t           timeout
   14282  ** @param int16_t           interval
   14283  ** @param uint8_t           prefer_blanking
   14284  ** @param uint8_t           allow_exposures
   14285  ** @returns xcb_void_cookie_t
   14286  **
   14287  *****************************************************************************/
   14288 
   14289 xcb_void_cookie_t
   14290 xcb_set_screen_saver (xcb_connection_t *c  /**< */,
   14291                       int16_t           timeout  /**< */,
   14292                       int16_t           interval  /**< */,
   14293                       uint8_t           prefer_blanking  /**< */,
   14294                       uint8_t           allow_exposures  /**< */);
   14295 
   14296 /**
   14297  * Delivers a request to the X server
   14298  * @param c The connection
   14299  * @return A cookie
   14300  *
   14301  * Delivers a request to the X server.
   14302  *
   14303  */
   14304 
   14305 /*****************************************************************************
   14306  **
   14307  ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver
   14308  **
   14309  ** @param xcb_connection_t *c
   14310  ** @returns xcb_get_screen_saver_cookie_t
   14311  **
   14312  *****************************************************************************/
   14313 
   14314 xcb_get_screen_saver_cookie_t
   14315 xcb_get_screen_saver (xcb_connection_t *c  /**< */);
   14316 
   14317 /**
   14318  * Delivers a request to the X server
   14319  * @param c The connection
   14320  * @return A cookie
   14321  *
   14322  * Delivers a request to the X server.
   14323  *
   14324  * This form can be used only if the request will cause
   14325  * a reply to be generated. Any returned error will be
   14326  * placed in the event queue.
   14327  */
   14328 
   14329 /*****************************************************************************
   14330  **
   14331  ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked
   14332  **
   14333  ** @param xcb_connection_t *c
   14334  ** @returns xcb_get_screen_saver_cookie_t
   14335  **
   14336  *****************************************************************************/
   14337 
   14338 xcb_get_screen_saver_cookie_t
   14339 xcb_get_screen_saver_unchecked (xcb_connection_t *c  /**< */);
   14340 
   14341 /**
   14342  * Return the reply
   14343  * @param c      The connection
   14344  * @param cookie The cookie
   14345  * @param e      The xcb_generic_error_t supplied
   14346  *
   14347  * Returns the reply of the request asked by
   14348  *
   14349  * The parameter @p e supplied to this function must be NULL if
   14350  * xcb_get_screen_saver_unchecked(). is used.
   14351  * Otherwise, it stores the error if any.
   14352  *
   14353  * The returned value must be freed by the caller using free().
   14354  */
   14355 
   14356 /*****************************************************************************
   14357  **
   14358  ** xcb_get_screen_saver_reply_t * xcb_get_screen_saver_reply
   14359  **
   14360  ** @param xcb_connection_t               *c
   14361  ** @param xcb_get_screen_saver_cookie_t   cookie
   14362  ** @param xcb_generic_error_t           **e
   14363  ** @returns xcb_get_screen_saver_reply_t *
   14364  **
   14365  *****************************************************************************/
   14366 
   14367 xcb_get_screen_saver_reply_t *
   14368 xcb_get_screen_saver_reply (xcb_connection_t               *c  /**< */,
   14369                             xcb_get_screen_saver_cookie_t   cookie  /**< */,
   14370                             xcb_generic_error_t           **e  /**< */);
   14371 
   14372 /**
   14373  * Delivers a request to the X server
   14374  * @param c The connection
   14375  * @return A cookie
   14376  *
   14377  * Delivers a request to the X server.
   14378  *
   14379  * This form can be used only if the request will not cause
   14380  * a reply to be generated. Any returned error will be
   14381  * saved for handling by xcb_request_check().
   14382  */
   14383 
   14384 /*****************************************************************************
   14385  **
   14386  ** xcb_void_cookie_t xcb_change_hosts_checked
   14387  **
   14388  ** @param xcb_connection_t *c
   14389  ** @param uint8_t           mode
   14390  ** @param uint8_t           family
   14391  ** @param uint16_t          address_len
   14392  ** @param const char       *address
   14393  ** @returns xcb_void_cookie_t
   14394  **
   14395  *****************************************************************************/
   14396 
   14397 xcb_void_cookie_t
   14398 xcb_change_hosts_checked (xcb_connection_t *c  /**< */,
   14399                           uint8_t           mode  /**< */,
   14400                           uint8_t           family  /**< */,
   14401                           uint16_t          address_len  /**< */,
   14402                           const char       *address  /**< */);
   14403 
   14404 /**
   14405  * Delivers a request to the X server
   14406  * @param c The connection
   14407  * @return A cookie
   14408  *
   14409  * Delivers a request to the X server.
   14410  *
   14411  */
   14412 
   14413 /*****************************************************************************
   14414  **
   14415  ** xcb_void_cookie_t xcb_change_hosts
   14416  **
   14417  ** @param xcb_connection_t *c
   14418  ** @param uint8_t           mode
   14419  ** @param uint8_t           family
   14420  ** @param uint16_t          address_len
   14421  ** @param const char       *address
   14422  ** @returns xcb_void_cookie_t
   14423  **
   14424  *****************************************************************************/
   14425 
   14426 xcb_void_cookie_t
   14427 xcb_change_hosts (xcb_connection_t *c  /**< */,
   14428                   uint8_t           mode  /**< */,
   14429                   uint8_t           family  /**< */,
   14430                   uint16_t          address_len  /**< */,
   14431                   const char       *address  /**< */);
   14432 
   14433 
   14434 /*****************************************************************************
   14435  **
   14436  ** uint8_t * xcb_host_address
   14437  **
   14438  ** @param const xcb_host_t *R
   14439  ** @returns uint8_t *
   14440  **
   14441  *****************************************************************************/
   14442 
   14443 uint8_t *
   14444 xcb_host_address (const xcb_host_t *R  /**< */);
   14445 
   14446 
   14447 /*****************************************************************************
   14448  **
   14449  ** int xcb_host_address_length
   14450  **
   14451  ** @param const xcb_host_t *R
   14452  ** @returns int
   14453  **
   14454  *****************************************************************************/
   14455 
   14456 int
   14457 xcb_host_address_length (const xcb_host_t *R  /**< */);
   14458 
   14459 
   14460 /*****************************************************************************
   14461  **
   14462  ** xcb_generic_iterator_t xcb_host_address_end
   14463  **
   14464  ** @param const xcb_host_t *R
   14465  ** @returns xcb_generic_iterator_t
   14466  **
   14467  *****************************************************************************/
   14468 
   14469 xcb_generic_iterator_t
   14470 xcb_host_address_end (const xcb_host_t *R  /**< */);
   14471 
   14472 /**
   14473  * Get the next element of the iterator
   14474  * @param i Pointer to a xcb_host_iterator_t
   14475  *
   14476  * Get the next element in the iterator. The member rem is
   14477  * decreased by one. The member data points to the next
   14478  * element. The member index is increased by sizeof(xcb_host_t)
   14479  */
   14480 
   14481 /*****************************************************************************
   14482  **
   14483  ** void xcb_host_next
   14484  **
   14485  ** @param xcb_host_iterator_t *i
   14486  ** @returns void
   14487  **
   14488  *****************************************************************************/
   14489 
   14490 void
   14491 xcb_host_next (xcb_host_iterator_t *i  /**< */);
   14492 
   14493 /**
   14494  * Return the iterator pointing to the last element
   14495  * @param i An xcb_host_iterator_t
   14496  * @return  The iterator pointing to the last element
   14497  *
   14498  * Set the current element in the iterator to the last element.
   14499  * The member rem is set to 0. The member data points to the
   14500  * last element.
   14501  */
   14502 
   14503 /*****************************************************************************
   14504  **
   14505  ** xcb_generic_iterator_t xcb_host_end
   14506  **
   14507  ** @param xcb_host_iterator_t i
   14508  ** @returns xcb_generic_iterator_t
   14509  **
   14510  *****************************************************************************/
   14511 
   14512 xcb_generic_iterator_t
   14513 xcb_host_end (xcb_host_iterator_t i  /**< */);
   14514 
   14515 /**
   14516  * Delivers a request to the X server
   14517  * @param c The connection
   14518  * @return A cookie
   14519  *
   14520  * Delivers a request to the X server.
   14521  *
   14522  */
   14523 
   14524 /*****************************************************************************
   14525  **
   14526  ** xcb_list_hosts_cookie_t xcb_list_hosts
   14527  **
   14528  ** @param xcb_connection_t *c
   14529  ** @returns xcb_list_hosts_cookie_t
   14530  **
   14531  *****************************************************************************/
   14532 
   14533 xcb_list_hosts_cookie_t
   14534 xcb_list_hosts (xcb_connection_t *c  /**< */);
   14535 
   14536 /**
   14537  * Delivers a request to the X server
   14538  * @param c The connection
   14539  * @return A cookie
   14540  *
   14541  * Delivers a request to the X server.
   14542  *
   14543  * This form can be used only if the request will cause
   14544  * a reply to be generated. Any returned error will be
   14545  * placed in the event queue.
   14546  */
   14547 
   14548 /*****************************************************************************
   14549  **
   14550  ** xcb_list_hosts_cookie_t xcb_list_hosts_unchecked
   14551  **
   14552  ** @param xcb_connection_t *c
   14553  ** @returns xcb_list_hosts_cookie_t
   14554  **
   14555  *****************************************************************************/
   14556 
   14557 xcb_list_hosts_cookie_t
   14558 xcb_list_hosts_unchecked (xcb_connection_t *c  /**< */);
   14559 
   14560 
   14561 /*****************************************************************************
   14562  **
   14563  ** int xcb_list_hosts_hosts_length
   14564  **
   14565  ** @param const xcb_list_hosts_reply_t *R
   14566  ** @returns int
   14567  **
   14568  *****************************************************************************/
   14569 
   14570 int
   14571 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R  /**< */);
   14572 
   14573 
   14574 /*****************************************************************************
   14575  **
   14576  ** xcb_host_iterator_t xcb_list_hosts_hosts_iterator
   14577  **
   14578  ** @param const xcb_list_hosts_reply_t *R
   14579  ** @returns xcb_host_iterator_t
   14580  **
   14581  *****************************************************************************/
   14582 
   14583 xcb_host_iterator_t
   14584 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R  /**< */);
   14585 
   14586 /**
   14587  * Return the reply
   14588  * @param c      The connection
   14589  * @param cookie The cookie
   14590  * @param e      The xcb_generic_error_t supplied
   14591  *
   14592  * Returns the reply of the request asked by
   14593  *
   14594  * The parameter @p e supplied to this function must be NULL if
   14595  * xcb_list_hosts_unchecked(). is used.
   14596  * Otherwise, it stores the error if any.
   14597  *
   14598  * The returned value must be freed by the caller using free().
   14599  */
   14600 
   14601 /*****************************************************************************
   14602  **
   14603  ** xcb_list_hosts_reply_t * xcb_list_hosts_reply
   14604  **
   14605  ** @param xcb_connection_t         *c
   14606  ** @param xcb_list_hosts_cookie_t   cookie
   14607  ** @param xcb_generic_error_t     **e
   14608  ** @returns xcb_list_hosts_reply_t *
   14609  **
   14610  *****************************************************************************/
   14611 
   14612 xcb_list_hosts_reply_t *
   14613 xcb_list_hosts_reply (xcb_connection_t         *c  /**< */,
   14614                       xcb_list_hosts_cookie_t   cookie  /**< */,
   14615                       xcb_generic_error_t     **e  /**< */);
   14616 
   14617 /**
   14618  * Delivers a request to the X server
   14619  * @param c The connection
   14620  * @return A cookie
   14621  *
   14622  * Delivers a request to the X server.
   14623  *
   14624  * This form can be used only if the request will not cause
   14625  * a reply to be generated. Any returned error will be
   14626  * saved for handling by xcb_request_check().
   14627  */
   14628 
   14629 /*****************************************************************************
   14630  **
   14631  ** xcb_void_cookie_t xcb_set_access_control_checked
   14632  **
   14633  ** @param xcb_connection_t *c
   14634  ** @param uint8_t           mode
   14635  ** @returns xcb_void_cookie_t
   14636  **
   14637  *****************************************************************************/
   14638 
   14639 xcb_void_cookie_t
   14640 xcb_set_access_control_checked (xcb_connection_t *c  /**< */,
   14641                                 uint8_t           mode  /**< */);
   14642 
   14643 /**
   14644  * Delivers a request to the X server
   14645  * @param c The connection
   14646  * @return A cookie
   14647  *
   14648  * Delivers a request to the X server.
   14649  *
   14650  */
   14651 
   14652 /*****************************************************************************
   14653  **
   14654  ** xcb_void_cookie_t xcb_set_access_control
   14655  **
   14656  ** @param xcb_connection_t *c
   14657  ** @param uint8_t           mode
   14658  ** @returns xcb_void_cookie_t
   14659  **
   14660  *****************************************************************************/
   14661 
   14662 xcb_void_cookie_t
   14663 xcb_set_access_control (xcb_connection_t *c  /**< */,
   14664                         uint8_t           mode  /**< */);
   14665 
   14666 /**
   14667  * Delivers a request to the X server
   14668  * @param c The connection
   14669  * @return A cookie
   14670  *
   14671  * Delivers a request to the X server.
   14672  *
   14673  * This form can be used only if the request will not cause
   14674  * a reply to be generated. Any returned error will be
   14675  * saved for handling by xcb_request_check().
   14676  */
   14677 
   14678 /*****************************************************************************
   14679  **
   14680  ** xcb_void_cookie_t xcb_set_close_down_mode_checked
   14681  **
   14682  ** @param xcb_connection_t *c
   14683  ** @param uint8_t           mode
   14684  ** @returns xcb_void_cookie_t
   14685  **
   14686  *****************************************************************************/
   14687 
   14688 xcb_void_cookie_t
   14689 xcb_set_close_down_mode_checked (xcb_connection_t *c  /**< */,
   14690                                  uint8_t           mode  /**< */);
   14691 
   14692 /**
   14693  * Delivers a request to the X server
   14694  * @param c The connection
   14695  * @return A cookie
   14696  *
   14697  * Delivers a request to the X server.
   14698  *
   14699  */
   14700 
   14701 /*****************************************************************************
   14702  **
   14703  ** xcb_void_cookie_t xcb_set_close_down_mode
   14704  **
   14705  ** @param xcb_connection_t *c
   14706  ** @param uint8_t           mode
   14707  ** @returns xcb_void_cookie_t
   14708  **
   14709  *****************************************************************************/
   14710 
   14711 xcb_void_cookie_t
   14712 xcb_set_close_down_mode (xcb_connection_t *c  /**< */,
   14713                          uint8_t           mode  /**< */);
   14714 
   14715 /**
   14716  * Delivers a request to the X server
   14717  * @param c The connection
   14718  * @return A cookie
   14719  *
   14720  * Delivers a request to the X server.
   14721  *
   14722  * This form can be used only if the request will not cause
   14723  * a reply to be generated. Any returned error will be
   14724  * saved for handling by xcb_request_check().
   14725  */
   14726 
   14727 /*****************************************************************************
   14728  **
   14729  ** xcb_void_cookie_t xcb_kill_client_checked
   14730  **
   14731  ** @param xcb_connection_t *c
   14732  ** @param uint32_t          resource
   14733  ** @returns xcb_void_cookie_t
   14734  **
   14735  *****************************************************************************/
   14736 
   14737 xcb_void_cookie_t
   14738 xcb_kill_client_checked (xcb_connection_t *c  /**< */,
   14739                          uint32_t          resource  /**< */);
   14740 
   14741 /**
   14742  * Delivers a request to the X server
   14743  * @param c The connection
   14744  * @return A cookie
   14745  *
   14746  * Delivers a request to the X server.
   14747  *
   14748  */
   14749 
   14750 /*****************************************************************************
   14751  **
   14752  ** xcb_void_cookie_t xcb_kill_client
   14753  **
   14754  ** @param xcb_connection_t *c
   14755  ** @param uint32_t          resource
   14756  ** @returns xcb_void_cookie_t
   14757  **
   14758  *****************************************************************************/
   14759 
   14760 xcb_void_cookie_t
   14761 xcb_kill_client (xcb_connection_t *c  /**< */,
   14762                  uint32_t          resource  /**< */);
   14763 
   14764 /**
   14765  * Delivers a request to the X server
   14766  * @param c The connection
   14767  * @return A cookie
   14768  *
   14769  * Delivers a request to the X server.
   14770  *
   14771  * This form can be used only if the request will not cause
   14772  * a reply to be generated. Any returned error will be
   14773  * saved for handling by xcb_request_check().
   14774  */
   14775 
   14776 /*****************************************************************************
   14777  **
   14778  ** xcb_void_cookie_t xcb_rotate_properties_checked
   14779  **
   14780  ** @param xcb_connection_t *c
   14781  ** @param xcb_window_t      window
   14782  ** @param uint16_t          atoms_len
   14783  ** @param int16_t           delta
   14784  ** @param const xcb_atom_t *atoms
   14785  ** @returns xcb_void_cookie_t
   14786  **
   14787  *****************************************************************************/
   14788 
   14789 xcb_void_cookie_t
   14790 xcb_rotate_properties_checked (xcb_connection_t *c  /**< */,
   14791                                xcb_window_t      window  /**< */,
   14792                                uint16_t          atoms_len  /**< */,
   14793                                int16_t           delta  /**< */,
   14794                                const xcb_atom_t *atoms  /**< */);
   14795 
   14796 /**
   14797  * Delivers a request to the X server
   14798  * @param c The connection
   14799  * @return A cookie
   14800  *
   14801  * Delivers a request to the X server.
   14802  *
   14803  */
   14804 
   14805 /*****************************************************************************
   14806  **
   14807  ** xcb_void_cookie_t xcb_rotate_properties
   14808  **
   14809  ** @param xcb_connection_t *c
   14810  ** @param xcb_window_t      window
   14811  ** @param uint16_t          atoms_len
   14812  ** @param int16_t           delta
   14813  ** @param const xcb_atom_t *atoms
   14814  ** @returns xcb_void_cookie_t
   14815  **
   14816  *****************************************************************************/
   14817 
   14818 xcb_void_cookie_t
   14819 xcb_rotate_properties (xcb_connection_t *c  /**< */,
   14820                        xcb_window_t      window  /**< */,
   14821                        uint16_t          atoms_len  /**< */,
   14822                        int16_t           delta  /**< */,
   14823                        const xcb_atom_t *atoms  /**< */);
   14824 
   14825 /**
   14826  * Delivers a request to the X server
   14827  * @param c The connection
   14828  * @return A cookie
   14829  *
   14830  * Delivers a request to the X server.
   14831  *
   14832  * This form can be used only if the request will not cause
   14833  * a reply to be generated. Any returned error will be
   14834  * saved for handling by xcb_request_check().
   14835  */
   14836 
   14837 /*****************************************************************************
   14838  **
   14839  ** xcb_void_cookie_t xcb_force_screen_saver_checked
   14840  **
   14841  ** @param xcb_connection_t *c
   14842  ** @param uint8_t           mode
   14843  ** @returns xcb_void_cookie_t
   14844  **
   14845  *****************************************************************************/
   14846 
   14847 xcb_void_cookie_t
   14848 xcb_force_screen_saver_checked (xcb_connection_t *c  /**< */,
   14849                                 uint8_t           mode  /**< */);
   14850 
   14851 /**
   14852  * Delivers a request to the X server
   14853  * @param c The connection
   14854  * @return A cookie
   14855  *
   14856  * Delivers a request to the X server.
   14857  *
   14858  */
   14859 
   14860 /*****************************************************************************
   14861  **
   14862  ** xcb_void_cookie_t xcb_force_screen_saver
   14863  **
   14864  ** @param xcb_connection_t *c
   14865  ** @param uint8_t           mode
   14866  ** @returns xcb_void_cookie_t
   14867  **
   14868  *****************************************************************************/
   14869 
   14870 xcb_void_cookie_t
   14871 xcb_force_screen_saver (xcb_connection_t *c  /**< */,
   14872                         uint8_t           mode  /**< */);
   14873 
   14874 /**
   14875  * Delivers a request to the X server
   14876  * @param c The connection
   14877  * @return A cookie
   14878  *
   14879  * Delivers a request to the X server.
   14880  *
   14881  */
   14882 
   14883 /*****************************************************************************
   14884  **
   14885  ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping
   14886  **
   14887  ** @param xcb_connection_t *c
   14888  ** @param uint8_t           map_len
   14889  ** @param const uint8_t    *map
   14890  ** @returns xcb_set_pointer_mapping_cookie_t
   14891  **
   14892  *****************************************************************************/
   14893 
   14894 xcb_set_pointer_mapping_cookie_t
   14895 xcb_set_pointer_mapping (xcb_connection_t *c  /**< */,
   14896                          uint8_t           map_len  /**< */,
   14897                          const uint8_t    *map  /**< */);
   14898 
   14899 /**
   14900  * Delivers a request to the X server
   14901  * @param c The connection
   14902  * @return A cookie
   14903  *
   14904  * Delivers a request to the X server.
   14905  *
   14906  * This form can be used only if the request will cause
   14907  * a reply to be generated. Any returned error will be
   14908  * placed in the event queue.
   14909  */
   14910 
   14911 /*****************************************************************************
   14912  **
   14913  ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked
   14914  **
   14915  ** @param xcb_connection_t *c
   14916  ** @param uint8_t           map_len
   14917  ** @param const uint8_t    *map
   14918  ** @returns xcb_set_pointer_mapping_cookie_t
   14919  **
   14920  *****************************************************************************/
   14921 
   14922 xcb_set_pointer_mapping_cookie_t
   14923 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c  /**< */,
   14924                                    uint8_t           map_len  /**< */,
   14925                                    const uint8_t    *map  /**< */);
   14926 
   14927 /**
   14928  * Return the reply
   14929  * @param c      The connection
   14930  * @param cookie The cookie
   14931  * @param e      The xcb_generic_error_t supplied
   14932  *
   14933  * Returns the reply of the request asked by
   14934  *
   14935  * The parameter @p e supplied to this function must be NULL if
   14936  * xcb_set_pointer_mapping_unchecked(). is used.
   14937  * Otherwise, it stores the error if any.
   14938  *
   14939  * The returned value must be freed by the caller using free().
   14940  */
   14941 
   14942 /*****************************************************************************
   14943  **
   14944  ** xcb_set_pointer_mapping_reply_t * xcb_set_pointer_mapping_reply
   14945  **
   14946  ** @param xcb_connection_t                  *c
   14947  ** @param xcb_set_pointer_mapping_cookie_t   cookie
   14948  ** @param xcb_generic_error_t              **e
   14949  ** @returns xcb_set_pointer_mapping_reply_t *
   14950  **
   14951  *****************************************************************************/
   14952 
   14953 xcb_set_pointer_mapping_reply_t *
   14954 xcb_set_pointer_mapping_reply (xcb_connection_t                  *c  /**< */,
   14955                                xcb_set_pointer_mapping_cookie_t   cookie  /**< */,
   14956                                xcb_generic_error_t              **e  /**< */);
   14957 
   14958 /**
   14959  * Delivers a request to the X server
   14960  * @param c The connection
   14961  * @return A cookie
   14962  *
   14963  * Delivers a request to the X server.
   14964  *
   14965  */
   14966 
   14967 /*****************************************************************************
   14968  **
   14969  ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping
   14970  **
   14971  ** @param xcb_connection_t *c
   14972  ** @returns xcb_get_pointer_mapping_cookie_t
   14973  **
   14974  *****************************************************************************/
   14975 
   14976 xcb_get_pointer_mapping_cookie_t
   14977 xcb_get_pointer_mapping (xcb_connection_t *c  /**< */);
   14978 
   14979 /**
   14980  * Delivers a request to the X server
   14981  * @param c The connection
   14982  * @return A cookie
   14983  *
   14984  * Delivers a request to the X server.
   14985  *
   14986  * This form can be used only if the request will cause
   14987  * a reply to be generated. Any returned error will be
   14988  * placed in the event queue.
   14989  */
   14990 
   14991 /*****************************************************************************
   14992  **
   14993  ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked
   14994  **
   14995  ** @param xcb_connection_t *c
   14996  ** @returns xcb_get_pointer_mapping_cookie_t
   14997  **
   14998  *****************************************************************************/
   14999 
   15000 xcb_get_pointer_mapping_cookie_t
   15001 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c  /**< */);
   15002 
   15003 
   15004 /*****************************************************************************
   15005  **
   15006  ** uint8_t * xcb_get_pointer_mapping_map
   15007  **
   15008  ** @param const xcb_get_pointer_mapping_reply_t *R
   15009  ** @returns uint8_t *
   15010  **
   15011  *****************************************************************************/
   15012 
   15013 uint8_t *
   15014 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R  /**< */);
   15015 
   15016 
   15017 /*****************************************************************************
   15018  **
   15019  ** int xcb_get_pointer_mapping_map_length
   15020  **
   15021  ** @param const xcb_get_pointer_mapping_reply_t *R
   15022  ** @returns int
   15023  **
   15024  *****************************************************************************/
   15025 
   15026 int
   15027 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R  /**< */);
   15028 
   15029 
   15030 /*****************************************************************************
   15031  **
   15032  ** xcb_generic_iterator_t xcb_get_pointer_mapping_map_end
   15033  **
   15034  ** @param const xcb_get_pointer_mapping_reply_t *R
   15035  ** @returns xcb_generic_iterator_t
   15036  **
   15037  *****************************************************************************/
   15038 
   15039 xcb_generic_iterator_t
   15040 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R  /**< */);
   15041 
   15042 /**
   15043  * Return the reply
   15044  * @param c      The connection
   15045  * @param cookie The cookie
   15046  * @param e      The xcb_generic_error_t supplied
   15047  *
   15048  * Returns the reply of the request asked by
   15049  *
   15050  * The parameter @p e supplied to this function must be NULL if
   15051  * xcb_get_pointer_mapping_unchecked(). is used.
   15052  * Otherwise, it stores the error if any.
   15053  *
   15054  * The returned value must be freed by the caller using free().
   15055  */
   15056 
   15057 /*****************************************************************************
   15058  **
   15059  ** xcb_get_pointer_mapping_reply_t * xcb_get_pointer_mapping_reply
   15060  **
   15061  ** @param xcb_connection_t                  *c
   15062  ** @param xcb_get_pointer_mapping_cookie_t   cookie
   15063  ** @param xcb_generic_error_t              **e
   15064  ** @returns xcb_get_pointer_mapping_reply_t *
   15065  **
   15066  *****************************************************************************/
   15067 
   15068 xcb_get_pointer_mapping_reply_t *
   15069 xcb_get_pointer_mapping_reply (xcb_connection_t                  *c  /**< */,
   15070                                xcb_get_pointer_mapping_cookie_t   cookie  /**< */,
   15071                                xcb_generic_error_t              **e  /**< */);
   15072 
   15073 /**
   15074  * Delivers a request to the X server
   15075  * @param c The connection
   15076  * @return A cookie
   15077  *
   15078  * Delivers a request to the X server.
   15079  *
   15080  */
   15081 
   15082 /*****************************************************************************
   15083  **
   15084  ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping
   15085  **
   15086  ** @param xcb_connection_t    *c
   15087  ** @param uint8_t              keycodes_per_modifier
   15088  ** @param const xcb_keycode_t *keycodes
   15089  ** @returns xcb_set_modifier_mapping_cookie_t
   15090  **
   15091  *****************************************************************************/
   15092 
   15093 xcb_set_modifier_mapping_cookie_t
   15094 xcb_set_modifier_mapping (xcb_connection_t    *c  /**< */,
   15095                           uint8_t              keycodes_per_modifier  /**< */,
   15096                           const xcb_keycode_t *keycodes  /**< */);
   15097 
   15098 /**
   15099  * Delivers a request to the X server
   15100  * @param c The connection
   15101  * @return A cookie
   15102  *
   15103  * Delivers a request to the X server.
   15104  *
   15105  * This form can be used only if the request will cause
   15106  * a reply to be generated. Any returned error will be
   15107  * placed in the event queue.
   15108  */
   15109 
   15110 /*****************************************************************************
   15111  **
   15112  ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked
   15113  **
   15114  ** @param xcb_connection_t    *c
   15115  ** @param uint8_t              keycodes_per_modifier
   15116  ** @param const xcb_keycode_t *keycodes
   15117  ** @returns xcb_set_modifier_mapping_cookie_t
   15118  **
   15119  *****************************************************************************/
   15120 
   15121 xcb_set_modifier_mapping_cookie_t
   15122 xcb_set_modifier_mapping_unchecked (xcb_connection_t    *c  /**< */,
   15123                                     uint8_t              keycodes_per_modifier  /**< */,
   15124                                     const xcb_keycode_t *keycodes  /**< */);
   15125 
   15126 /**
   15127  * Return the reply
   15128  * @param c      The connection
   15129  * @param cookie The cookie
   15130  * @param e      The xcb_generic_error_t supplied
   15131  *
   15132  * Returns the reply of the request asked by
   15133  *
   15134  * The parameter @p e supplied to this function must be NULL if
   15135  * xcb_set_modifier_mapping_unchecked(). is used.
   15136  * Otherwise, it stores the error if any.
   15137  *
   15138  * The returned value must be freed by the caller using free().
   15139  */
   15140 
   15141 /*****************************************************************************
   15142  **
   15143  ** xcb_set_modifier_mapping_reply_t * xcb_set_modifier_mapping_reply
   15144  **
   15145  ** @param xcb_connection_t                   *c
   15146  ** @param xcb_set_modifier_mapping_cookie_t   cookie
   15147  ** @param xcb_generic_error_t               **e
   15148  ** @returns xcb_set_modifier_mapping_reply_t *
   15149  **
   15150  *****************************************************************************/
   15151 
   15152 xcb_set_modifier_mapping_reply_t *
   15153 xcb_set_modifier_mapping_reply (xcb_connection_t                   *c  /**< */,
   15154                                 xcb_set_modifier_mapping_cookie_t   cookie  /**< */,
   15155                                 xcb_generic_error_t               **e  /**< */);
   15156 
   15157 /**
   15158  * Delivers a request to the X server
   15159  * @param c The connection
   15160  * @return A cookie
   15161  *
   15162  * Delivers a request to the X server.
   15163  *
   15164  */
   15165 
   15166 /*****************************************************************************
   15167  **
   15168  ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping
   15169  **
   15170  ** @param xcb_connection_t *c
   15171  ** @returns xcb_get_modifier_mapping_cookie_t
   15172  **
   15173  *****************************************************************************/
   15174 
   15175 xcb_get_modifier_mapping_cookie_t
   15176 xcb_get_modifier_mapping (xcb_connection_t *c  /**< */);
   15177 
   15178 /**
   15179  * Delivers a request to the X server
   15180  * @param c The connection
   15181  * @return A cookie
   15182  *
   15183  * Delivers a request to the X server.
   15184  *
   15185  * This form can be used only if the request will cause
   15186  * a reply to be generated. Any returned error will be
   15187  * placed in the event queue.
   15188  */
   15189 
   15190 /*****************************************************************************
   15191  **
   15192  ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked
   15193  **
   15194  ** @param xcb_connection_t *c
   15195  ** @returns xcb_get_modifier_mapping_cookie_t
   15196  **
   15197  *****************************************************************************/
   15198 
   15199 xcb_get_modifier_mapping_cookie_t
   15200 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c  /**< */);
   15201 
   15202 
   15203 /*****************************************************************************
   15204  **
   15205  ** xcb_keycode_t * xcb_get_modifier_mapping_keycodes
   15206  **
   15207  ** @param const xcb_get_modifier_mapping_reply_t *R
   15208  ** @returns xcb_keycode_t *
   15209  **
   15210  *****************************************************************************/
   15211 
   15212 xcb_keycode_t *
   15213 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R  /**< */);
   15214 
   15215 
   15216 /*****************************************************************************
   15217  **
   15218  ** int xcb_get_modifier_mapping_keycodes_length
   15219  **
   15220  ** @param const xcb_get_modifier_mapping_reply_t *R
   15221  ** @returns int
   15222  **
   15223  *****************************************************************************/
   15224 
   15225 int
   15226 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R  /**< */);
   15227 
   15228 
   15229 /*****************************************************************************
   15230  **
   15231  ** xcb_generic_iterator_t xcb_get_modifier_mapping_keycodes_end
   15232  **
   15233  ** @param const xcb_get_modifier_mapping_reply_t *R
   15234  ** @returns xcb_generic_iterator_t
   15235  **
   15236  *****************************************************************************/
   15237 
   15238 xcb_generic_iterator_t
   15239 xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R  /**< */);
   15240 
   15241 /**
   15242  * Return the reply
   15243  * @param c      The connection
   15244  * @param cookie The cookie
   15245  * @param e      The xcb_generic_error_t supplied
   15246  *
   15247  * Returns the reply of the request asked by
   15248  *
   15249  * The parameter @p e supplied to this function must be NULL if
   15250  * xcb_get_modifier_mapping_unchecked(). is used.
   15251  * Otherwise, it stores the error if any.
   15252  *
   15253  * The returned value must be freed by the caller using free().
   15254  */
   15255 
   15256 /*****************************************************************************
   15257  **
   15258  ** xcb_get_modifier_mapping_reply_t * xcb_get_modifier_mapping_reply
   15259  **
   15260  ** @param xcb_connection_t                   *c
   15261  ** @param xcb_get_modifier_mapping_cookie_t   cookie
   15262  ** @param xcb_generic_error_t               **e
   15263  ** @returns xcb_get_modifier_mapping_reply_t *
   15264  **
   15265  *****************************************************************************/
   15266 
   15267 xcb_get_modifier_mapping_reply_t *
   15268 xcb_get_modifier_mapping_reply (xcb_connection_t                   *c  /**< */,
   15269                                 xcb_get_modifier_mapping_cookie_t   cookie  /**< */,
   15270                                 xcb_generic_error_t               **e  /**< */);
   15271 
   15272 /**
   15273  * Delivers a request to the X server
   15274  * @param c The connection
   15275  * @return A cookie
   15276  *
   15277  * Delivers a request to the X server.
   15278  *
   15279  * This form can be used only if the request will not cause
   15280  * a reply to be generated. Any returned error will be
   15281  * saved for handling by xcb_request_check().
   15282  */
   15283 
   15284 /*****************************************************************************
   15285  **
   15286  ** xcb_void_cookie_t xcb_no_operation_checked
   15287  **
   15288  ** @param xcb_connection_t *c
   15289  ** @returns xcb_void_cookie_t
   15290  **
   15291  *****************************************************************************/
   15292 
   15293 xcb_void_cookie_t
   15294 xcb_no_operation_checked (xcb_connection_t *c  /**< */);
   15295 
   15296 /**
   15297  * Delivers a request to the X server
   15298  * @param c The connection
   15299  * @return A cookie
   15300  *
   15301  * Delivers a request to the X server.
   15302  *
   15303  */
   15304 
   15305 /*****************************************************************************
   15306  **
   15307  ** xcb_void_cookie_t xcb_no_operation
   15308  **
   15309  ** @param xcb_connection_t *c
   15310  ** @returns xcb_void_cookie_t
   15311  **
   15312  *****************************************************************************/
   15313 
   15314 xcb_void_cookie_t
   15315 xcb_no_operation (xcb_connection_t *c  /**< */);
   15316 
   15317 
   15318 #ifdef __cplusplus
   15319 }
   15320 #endif
   15321 
   15322 #endif
   15323 
   15324 /**
   15325  * @}
   15326  */
   15327