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     int16_t      dst_x; /**<  */
   2308     int16_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     uint8_t  pad1[2]; /**<  */
   2672 } xcb_set_font_path_request_t;
   2673 
   2674 /**
   2675  * @brief xcb_get_font_path_cookie_t
   2676  **/
   2677 typedef struct xcb_get_font_path_cookie_t {
   2678     unsigned int sequence; /**<  */
   2679 } xcb_get_font_path_cookie_t;
   2680 
   2681 /** Opcode for xcb_get_font_path. */
   2682 #define XCB_GET_FONT_PATH 52
   2683 
   2684 /**
   2685  * @brief xcb_get_font_path_request_t
   2686  **/
   2687 typedef struct xcb_get_font_path_request_t {
   2688     uint8_t  major_opcode; /**<  */
   2689     uint8_t  pad0; /**<  */
   2690     uint16_t length; /**<  */
   2691 } xcb_get_font_path_request_t;
   2692 
   2693 /**
   2694  * @brief xcb_get_font_path_reply_t
   2695  **/
   2696 typedef struct xcb_get_font_path_reply_t {
   2697     uint8_t  response_type; /**<  */
   2698     uint8_t  pad0; /**<  */
   2699     uint16_t sequence; /**<  */
   2700     uint32_t length; /**<  */
   2701     uint16_t path_len; /**<  */
   2702     uint8_t  pad1[22]; /**<  */
   2703 } xcb_get_font_path_reply_t;
   2704 
   2705 /** Opcode for xcb_create_pixmap. */
   2706 #define XCB_CREATE_PIXMAP 53
   2707 
   2708 /**
   2709  * @brief xcb_create_pixmap_request_t
   2710  **/
   2711 typedef struct xcb_create_pixmap_request_t {
   2712     uint8_t        major_opcode; /**<  */
   2713     uint8_t        depth; /**<  */
   2714     uint16_t       length; /**<  */
   2715     xcb_pixmap_t   pid; /**<  */
   2716     xcb_drawable_t drawable; /**<  */
   2717     uint16_t       width; /**<  */
   2718     uint16_t       height; /**<  */
   2719 } xcb_create_pixmap_request_t;
   2720 
   2721 /** Opcode for xcb_free_pixmap. */
   2722 #define XCB_FREE_PIXMAP 54
   2723 
   2724 /**
   2725  * @brief xcb_free_pixmap_request_t
   2726  **/
   2727 typedef struct xcb_free_pixmap_request_t {
   2728     uint8_t      major_opcode; /**<  */
   2729     uint8_t      pad0; /**<  */
   2730     uint16_t     length; /**<  */
   2731     xcb_pixmap_t pixmap; /**<  */
   2732 } xcb_free_pixmap_request_t;
   2733 
   2734 typedef enum xcb_gc_t {
   2735     XCB_GC_FUNCTION = 1,
   2736     XCB_GC_PLANE_MASK = 2,
   2737     XCB_GC_FOREGROUND = 4,
   2738     XCB_GC_BACKGROUND = 8,
   2739     XCB_GC_LINE_WIDTH = 16,
   2740     XCB_GC_LINE_STYLE = 32,
   2741     XCB_GC_CAP_STYLE = 64,
   2742     XCB_GC_JOIN_STYLE = 128,
   2743     XCB_GC_FILL_STYLE = 256,
   2744     XCB_GC_FILL_RULE = 512,
   2745     XCB_GC_TILE = 1024,
   2746     XCB_GC_STIPPLE = 2048,
   2747     XCB_GC_TILE_STIPPLE_ORIGIN_X = 4096,
   2748     XCB_GC_TILE_STIPPLE_ORIGIN_Y = 8192,
   2749     XCB_GC_FONT = 16384,
   2750     XCB_GC_SUBWINDOW_MODE = 32768,
   2751     XCB_GC_GRAPHICS_EXPOSURES = 65536,
   2752     XCB_GC_CLIP_ORIGIN_X = 131072,
   2753     XCB_GC_CLIP_ORIGIN_Y = 262144,
   2754     XCB_GC_CLIP_MASK = 524288,
   2755     XCB_GC_DASH_OFFSET = 1048576,
   2756     XCB_GC_DASH_LIST = 2097152,
   2757     XCB_GC_ARC_MODE = 4194304
   2758 } xcb_gc_t;
   2759 
   2760 typedef enum xcb_gx_t {
   2761     XCB_GX_CLEAR = 0,
   2762     XCB_GX_AND = 1,
   2763     XCB_GX_AND_REVERSE = 2,
   2764     XCB_GX_COPY = 3,
   2765     XCB_GX_AND_INVERTED = 4,
   2766     XCB_GX_NOOP = 5,
   2767     XCB_GX_XOR = 6,
   2768     XCB_GX_OR = 7,
   2769     XCB_GX_NOR = 8,
   2770     XCB_GX_EQUIV = 9,
   2771     XCB_GX_INVERT = 10,
   2772     XCB_GX_OR_REVERSE = 11,
   2773     XCB_GX_COPY_INVERTED = 12,
   2774     XCB_GX_OR_INVERTED = 13,
   2775     XCB_GX_NAND = 14,
   2776     XCB_GX_SET = 15
   2777 } xcb_gx_t;
   2778 
   2779 typedef enum xcb_line_style_t {
   2780     XCB_LINE_STYLE_SOLID = 0,
   2781     XCB_LINE_STYLE_ON_OFF_DASH = 1,
   2782     XCB_LINE_STYLE_DOUBLE_DASH = 2
   2783 } xcb_line_style_t;
   2784 
   2785 typedef enum xcb_cap_style_t {
   2786     XCB_CAP_STYLE_NOT_LAST = 0,
   2787     XCB_CAP_STYLE_BUTT = 1,
   2788     XCB_CAP_STYLE_ROUND = 2,
   2789     XCB_CAP_STYLE_PROJECTING = 3
   2790 } xcb_cap_style_t;
   2791 
   2792 typedef enum xcb_join_style_t {
   2793     XCB_JOIN_STYLE_MITER = 0,
   2794     XCB_JOIN_STYLE_ROUND = 1,
   2795     XCB_JOIN_STYLE_BEVEL = 2
   2796 } xcb_join_style_t;
   2797 
   2798 typedef enum xcb_fill_style_t {
   2799     XCB_FILL_STYLE_SOLID = 0,
   2800     XCB_FILL_STYLE_TILED = 1,
   2801     XCB_FILL_STYLE_STIPPLED = 2,
   2802     XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
   2803 } xcb_fill_style_t;
   2804 
   2805 typedef enum xcb_fill_rule_t {
   2806     XCB_FILL_RULE_EVEN_ODD = 0,
   2807     XCB_FILL_RULE_WINDING = 1
   2808 } xcb_fill_rule_t;
   2809 
   2810 typedef enum xcb_subwindow_mode_t {
   2811     XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
   2812     XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
   2813 } xcb_subwindow_mode_t;
   2814 
   2815 typedef enum xcb_arc_mode_t {
   2816     XCB_ARC_MODE_CHORD = 0,
   2817     XCB_ARC_MODE_PIE_SLICE = 1
   2818 } xcb_arc_mode_t;
   2819 
   2820 /** Opcode for xcb_create_gc. */
   2821 #define XCB_CREATE_GC 55
   2822 
   2823 /**
   2824  * @brief xcb_create_gc_request_t
   2825  **/
   2826 typedef struct xcb_create_gc_request_t {
   2827     uint8_t        major_opcode; /**<  */
   2828     uint8_t        pad0; /**<  */
   2829     uint16_t       length; /**<  */
   2830     xcb_gcontext_t cid; /**<  */
   2831     xcb_drawable_t drawable; /**<  */
   2832     uint32_t       value_mask; /**<  */
   2833 } xcb_create_gc_request_t;
   2834 
   2835 /** Opcode for xcb_change_gc. */
   2836 #define XCB_CHANGE_GC 56
   2837 
   2838 /**
   2839  * @brief xcb_change_gc_request_t
   2840  **/
   2841 typedef struct xcb_change_gc_request_t {
   2842     uint8_t        major_opcode; /**<  */
   2843     uint8_t        pad0; /**<  */
   2844     uint16_t       length; /**<  */
   2845     xcb_gcontext_t gc; /**<  */
   2846     uint32_t       value_mask; /**<  */
   2847 } xcb_change_gc_request_t;
   2848 
   2849 /** Opcode for xcb_copy_gc. */
   2850 #define XCB_COPY_GC 57
   2851 
   2852 /**
   2853  * @brief xcb_copy_gc_request_t
   2854  **/
   2855 typedef struct xcb_copy_gc_request_t {
   2856     uint8_t        major_opcode; /**<  */
   2857     uint8_t        pad0; /**<  */
   2858     uint16_t       length; /**<  */
   2859     xcb_gcontext_t src_gc; /**<  */
   2860     xcb_gcontext_t dst_gc; /**<  */
   2861     uint32_t       value_mask; /**<  */
   2862 } xcb_copy_gc_request_t;
   2863 
   2864 /** Opcode for xcb_set_dashes. */
   2865 #define XCB_SET_DASHES 58
   2866 
   2867 /**
   2868  * @brief xcb_set_dashes_request_t
   2869  **/
   2870 typedef struct xcb_set_dashes_request_t {
   2871     uint8_t        major_opcode; /**<  */
   2872     uint8_t        pad0; /**<  */
   2873     uint16_t       length; /**<  */
   2874     xcb_gcontext_t gc; /**<  */
   2875     uint16_t       dash_offset; /**<  */
   2876     uint16_t       dashes_len; /**<  */
   2877 } xcb_set_dashes_request_t;
   2878 
   2879 typedef enum xcb_clip_ordering_t {
   2880     XCB_CLIP_ORDERING_UNSORTED = 0,
   2881     XCB_CLIP_ORDERING_Y_SORTED = 1,
   2882     XCB_CLIP_ORDERING_YX_SORTED = 2,
   2883     XCB_CLIP_ORDERING_YX_BANDED = 3
   2884 } xcb_clip_ordering_t;
   2885 
   2886 /** Opcode for xcb_set_clip_rectangles. */
   2887 #define XCB_SET_CLIP_RECTANGLES 59
   2888 
   2889 /**
   2890  * @brief xcb_set_clip_rectangles_request_t
   2891  **/
   2892 typedef struct xcb_set_clip_rectangles_request_t {
   2893     uint8_t        major_opcode; /**<  */
   2894     uint8_t        ordering; /**<  */
   2895     uint16_t       length; /**<  */
   2896     xcb_gcontext_t gc; /**<  */
   2897     int16_t        clip_x_origin; /**<  */
   2898     int16_t        clip_y_origin; /**<  */
   2899 } xcb_set_clip_rectangles_request_t;
   2900 
   2901 /** Opcode for xcb_free_gc. */
   2902 #define XCB_FREE_GC 60
   2903 
   2904 /**
   2905  * @brief xcb_free_gc_request_t
   2906  **/
   2907 typedef struct xcb_free_gc_request_t {
   2908     uint8_t        major_opcode; /**<  */
   2909     uint8_t        pad0; /**<  */
   2910     uint16_t       length; /**<  */
   2911     xcb_gcontext_t gc; /**<  */
   2912 } xcb_free_gc_request_t;
   2913 
   2914 /** Opcode for xcb_clear_area. */
   2915 #define XCB_CLEAR_AREA 61
   2916 
   2917 /**
   2918  * @brief xcb_clear_area_request_t
   2919  **/
   2920 typedef struct xcb_clear_area_request_t {
   2921     uint8_t      major_opcode; /**<  */
   2922     uint8_t      exposures; /**<  */
   2923     uint16_t     length; /**<  */
   2924     xcb_window_t window; /**<  */
   2925     int16_t      x; /**<  */
   2926     int16_t      y; /**<  */
   2927     uint16_t     width; /**<  */
   2928     uint16_t     height; /**<  */
   2929 } xcb_clear_area_request_t;
   2930 
   2931 /** Opcode for xcb_copy_area. */
   2932 #define XCB_COPY_AREA 62
   2933 
   2934 /**
   2935  * @brief xcb_copy_area_request_t
   2936  **/
   2937 typedef struct xcb_copy_area_request_t {
   2938     uint8_t        major_opcode; /**<  */
   2939     uint8_t        pad0; /**<  */
   2940     uint16_t       length; /**<  */
   2941     xcb_drawable_t src_drawable; /**<  */
   2942     xcb_drawable_t dst_drawable; /**<  */
   2943     xcb_gcontext_t gc; /**<  */
   2944     int16_t        src_x; /**<  */
   2945     int16_t        src_y; /**<  */
   2946     int16_t        dst_x; /**<  */
   2947     int16_t        dst_y; /**<  */
   2948     uint16_t       width; /**<  */
   2949     uint16_t       height; /**<  */
   2950 } xcb_copy_area_request_t;
   2951 
   2952 /** Opcode for xcb_copy_plane. */
   2953 #define XCB_COPY_PLANE 63
   2954 
   2955 /**
   2956  * @brief xcb_copy_plane_request_t
   2957  **/
   2958 typedef struct xcb_copy_plane_request_t {
   2959     uint8_t        major_opcode; /**<  */
   2960     uint8_t        pad0; /**<  */
   2961     uint16_t       length; /**<  */
   2962     xcb_drawable_t src_drawable; /**<  */
   2963     xcb_drawable_t dst_drawable; /**<  */
   2964     xcb_gcontext_t gc; /**<  */
   2965     int16_t        src_x; /**<  */
   2966     int16_t        src_y; /**<  */
   2967     int16_t        dst_x; /**<  */
   2968     int16_t        dst_y; /**<  */
   2969     uint16_t       width; /**<  */
   2970     uint16_t       height; /**<  */
   2971     uint32_t       bit_plane; /**<  */
   2972 } xcb_copy_plane_request_t;
   2973 
   2974 typedef enum xcb_coord_mode_t {
   2975     XCB_COORD_MODE_ORIGIN = 0,
   2976     XCB_COORD_MODE_PREVIOUS = 1
   2977 } xcb_coord_mode_t;
   2978 
   2979 /** Opcode for xcb_poly_point. */
   2980 #define XCB_POLY_POINT 64
   2981 
   2982 /**
   2983  * @brief xcb_poly_point_request_t
   2984  **/
   2985 typedef struct xcb_poly_point_request_t {
   2986     uint8_t        major_opcode; /**<  */
   2987     uint8_t        coordinate_mode; /**<  */
   2988     uint16_t       length; /**<  */
   2989     xcb_drawable_t drawable; /**<  */
   2990     xcb_gcontext_t gc; /**<  */
   2991 } xcb_poly_point_request_t;
   2992 
   2993 /** Opcode for xcb_poly_line. */
   2994 #define XCB_POLY_LINE 65
   2995 
   2996 /**
   2997  * @brief xcb_poly_line_request_t
   2998  **/
   2999 typedef struct xcb_poly_line_request_t {
   3000     uint8_t        major_opcode; /**<  */
   3001     uint8_t        coordinate_mode; /**<  */
   3002     uint16_t       length; /**<  */
   3003     xcb_drawable_t drawable; /**<  */
   3004     xcb_gcontext_t gc; /**<  */
   3005 } xcb_poly_line_request_t;
   3006 
   3007 /**
   3008  * @brief xcb_segment_t
   3009  **/
   3010 typedef struct xcb_segment_t {
   3011     int16_t x1; /**<  */
   3012     int16_t y1; /**<  */
   3013     int16_t x2; /**<  */
   3014     int16_t y2; /**<  */
   3015 } xcb_segment_t;
   3016 
   3017 /**
   3018  * @brief xcb_segment_iterator_t
   3019  **/
   3020 typedef struct xcb_segment_iterator_t {
   3021     xcb_segment_t *data; /**<  */
   3022     int            rem; /**<  */
   3023     int            index; /**<  */
   3024 } xcb_segment_iterator_t;
   3025 
   3026 /** Opcode for xcb_poly_segment. */
   3027 #define XCB_POLY_SEGMENT 66
   3028 
   3029 /**
   3030  * @brief xcb_poly_segment_request_t
   3031  **/
   3032 typedef struct xcb_poly_segment_request_t {
   3033     uint8_t        major_opcode; /**<  */
   3034     uint8_t        pad0; /**<  */
   3035     uint16_t       length; /**<  */
   3036     xcb_drawable_t drawable; /**<  */
   3037     xcb_gcontext_t gc; /**<  */
   3038 } xcb_poly_segment_request_t;
   3039 
   3040 /** Opcode for xcb_poly_rectangle. */
   3041 #define XCB_POLY_RECTANGLE 67
   3042 
   3043 /**
   3044  * @brief xcb_poly_rectangle_request_t
   3045  **/
   3046 typedef struct xcb_poly_rectangle_request_t {
   3047     uint8_t        major_opcode; /**<  */
   3048     uint8_t        pad0; /**<  */
   3049     uint16_t       length; /**<  */
   3050     xcb_drawable_t drawable; /**<  */
   3051     xcb_gcontext_t gc; /**<  */
   3052 } xcb_poly_rectangle_request_t;
   3053 
   3054 /** Opcode for xcb_poly_arc. */
   3055 #define XCB_POLY_ARC 68
   3056 
   3057 /**
   3058  * @brief xcb_poly_arc_request_t
   3059  **/
   3060 typedef struct xcb_poly_arc_request_t {
   3061     uint8_t        major_opcode; /**<  */
   3062     uint8_t        pad0; /**<  */
   3063     uint16_t       length; /**<  */
   3064     xcb_drawable_t drawable; /**<  */
   3065     xcb_gcontext_t gc; /**<  */
   3066 } xcb_poly_arc_request_t;
   3067 
   3068 typedef enum xcb_poly_shape_t {
   3069     XCB_POLY_SHAPE_COMPLEX = 0,
   3070     XCB_POLY_SHAPE_NONCONVEX = 1,
   3071     XCB_POLY_SHAPE_CONVEX = 2
   3072 } xcb_poly_shape_t;
   3073 
   3074 /** Opcode for xcb_fill_poly. */
   3075 #define XCB_FILL_POLY 69
   3076 
   3077 /**
   3078  * @brief xcb_fill_poly_request_t
   3079  **/
   3080 typedef struct xcb_fill_poly_request_t {
   3081     uint8_t        major_opcode; /**<  */
   3082     uint8_t        pad0; /**<  */
   3083     uint16_t       length; /**<  */
   3084     xcb_drawable_t drawable; /**<  */
   3085     xcb_gcontext_t gc; /**<  */
   3086     uint8_t        shape; /**<  */
   3087     uint8_t        coordinate_mode; /**<  */
   3088     uint8_t        pad1[2]; /**<  */
   3089 } xcb_fill_poly_request_t;
   3090 
   3091 /** Opcode for xcb_poly_fill_rectangle. */
   3092 #define XCB_POLY_FILL_RECTANGLE 70
   3093 
   3094 /**
   3095  * @brief xcb_poly_fill_rectangle_request_t
   3096  **/
   3097 typedef struct xcb_poly_fill_rectangle_request_t {
   3098     uint8_t        major_opcode; /**<  */
   3099     uint8_t        pad0; /**<  */
   3100     uint16_t       length; /**<  */
   3101     xcb_drawable_t drawable; /**<  */
   3102     xcb_gcontext_t gc; /**<  */
   3103 } xcb_poly_fill_rectangle_request_t;
   3104 
   3105 /** Opcode for xcb_poly_fill_arc. */
   3106 #define XCB_POLY_FILL_ARC 71
   3107 
   3108 /**
   3109  * @brief xcb_poly_fill_arc_request_t
   3110  **/
   3111 typedef struct xcb_poly_fill_arc_request_t {
   3112     uint8_t        major_opcode; /**<  */
   3113     uint8_t        pad0; /**<  */
   3114     uint16_t       length; /**<  */
   3115     xcb_drawable_t drawable; /**<  */
   3116     xcb_gcontext_t gc; /**<  */
   3117 } xcb_poly_fill_arc_request_t;
   3118 
   3119 typedef enum xcb_image_format_t {
   3120     XCB_IMAGE_FORMAT_XY_BITMAP = 0,
   3121     XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
   3122     XCB_IMAGE_FORMAT_Z_PIXMAP = 2
   3123 } xcb_image_format_t;
   3124 
   3125 /** Opcode for xcb_put_image. */
   3126 #define XCB_PUT_IMAGE 72
   3127 
   3128 /**
   3129  * @brief xcb_put_image_request_t
   3130  **/
   3131 typedef struct xcb_put_image_request_t {
   3132     uint8_t        major_opcode; /**<  */
   3133     uint8_t        format; /**<  */
   3134     uint16_t       length; /**<  */
   3135     xcb_drawable_t drawable; /**<  */
   3136     xcb_gcontext_t gc; /**<  */
   3137     uint16_t       width; /**<  */
   3138     uint16_t       height; /**<  */
   3139     int16_t        dst_x; /**<  */
   3140     int16_t        dst_y; /**<  */
   3141     uint8_t        left_pad; /**<  */
   3142     uint8_t        depth; /**<  */
   3143     uint8_t        pad0[2]; /**<  */
   3144 } xcb_put_image_request_t;
   3145 
   3146 /**
   3147  * @brief xcb_get_image_cookie_t
   3148  **/
   3149 typedef struct xcb_get_image_cookie_t {
   3150     unsigned int sequence; /**<  */
   3151 } xcb_get_image_cookie_t;
   3152 
   3153 /** Opcode for xcb_get_image. */
   3154 #define XCB_GET_IMAGE 73
   3155 
   3156 /**
   3157  * @brief xcb_get_image_request_t
   3158  **/
   3159 typedef struct xcb_get_image_request_t {
   3160     uint8_t        major_opcode; /**<  */
   3161     uint8_t        format; /**<  */
   3162     uint16_t       length; /**<  */
   3163     xcb_drawable_t drawable; /**<  */
   3164     int16_t        x; /**<  */
   3165     int16_t        y; /**<  */
   3166     uint16_t       width; /**<  */
   3167     uint16_t       height; /**<  */
   3168     uint32_t       plane_mask; /**<  */
   3169 } xcb_get_image_request_t;
   3170 
   3171 /**
   3172  * @brief xcb_get_image_reply_t
   3173  **/
   3174 typedef struct xcb_get_image_reply_t {
   3175     uint8_t        response_type; /**<  */
   3176     uint8_t        depth; /**<  */
   3177     uint16_t       sequence; /**<  */
   3178     uint32_t       length; /**<  */
   3179     xcb_visualid_t visual; /**<  */
   3180     uint8_t        pad0[20]; /**<  */
   3181 } xcb_get_image_reply_t;
   3182 
   3183 /** Opcode for xcb_poly_text_8. */
   3184 #define XCB_POLY_TEXT_8 74
   3185 
   3186 /**
   3187  * @brief xcb_poly_text_8_request_t
   3188  **/
   3189 typedef struct xcb_poly_text_8_request_t {
   3190     uint8_t        major_opcode; /**<  */
   3191     uint8_t        pad0; /**<  */
   3192     uint16_t       length; /**<  */
   3193     xcb_drawable_t drawable; /**<  */
   3194     xcb_gcontext_t gc; /**<  */
   3195     int16_t        x; /**<  */
   3196     int16_t        y; /**<  */
   3197 } xcb_poly_text_8_request_t;
   3198 
   3199 /** Opcode for xcb_poly_text_16. */
   3200 #define XCB_POLY_TEXT_16 75
   3201 
   3202 /**
   3203  * @brief xcb_poly_text_16_request_t
   3204  **/
   3205 typedef struct xcb_poly_text_16_request_t {
   3206     uint8_t        major_opcode; /**<  */
   3207     uint8_t        pad0; /**<  */
   3208     uint16_t       length; /**<  */
   3209     xcb_drawable_t drawable; /**<  */
   3210     xcb_gcontext_t gc; /**<  */
   3211     int16_t        x; /**<  */
   3212     int16_t        y; /**<  */
   3213 } xcb_poly_text_16_request_t;
   3214 
   3215 /** Opcode for xcb_image_text_8. */
   3216 #define XCB_IMAGE_TEXT_8 76
   3217 
   3218 /**
   3219  * @brief xcb_image_text_8_request_t
   3220  **/
   3221 typedef struct xcb_image_text_8_request_t {
   3222     uint8_t        major_opcode; /**<  */
   3223     uint8_t        string_len; /**<  */
   3224     uint16_t       length; /**<  */
   3225     xcb_drawable_t drawable; /**<  */
   3226     xcb_gcontext_t gc; /**<  */
   3227     int16_t        x; /**<  */
   3228     int16_t        y; /**<  */
   3229 } xcb_image_text_8_request_t;
   3230 
   3231 /** Opcode for xcb_image_text_16. */
   3232 #define XCB_IMAGE_TEXT_16 77
   3233 
   3234 /**
   3235  * @brief xcb_image_text_16_request_t
   3236  **/
   3237 typedef struct xcb_image_text_16_request_t {
   3238     uint8_t        major_opcode; /**<  */
   3239     uint8_t        string_len; /**<  */
   3240     uint16_t       length; /**<  */
   3241     xcb_drawable_t drawable; /**<  */
   3242     xcb_gcontext_t gc; /**<  */
   3243     int16_t        x; /**<  */
   3244     int16_t        y; /**<  */
   3245 } xcb_image_text_16_request_t;
   3246 
   3247 typedef enum xcb_colormap_alloc_t {
   3248     XCB_COLORMAP_ALLOC_NONE = 0,
   3249     XCB_COLORMAP_ALLOC_ALL = 1
   3250 } xcb_colormap_alloc_t;
   3251 
   3252 /** Opcode for xcb_create_colormap. */
   3253 #define XCB_CREATE_COLORMAP 78
   3254 
   3255 /**
   3256  * @brief xcb_create_colormap_request_t
   3257  **/
   3258 typedef struct xcb_create_colormap_request_t {
   3259     uint8_t        major_opcode; /**<  */
   3260     uint8_t        alloc; /**<  */
   3261     uint16_t       length; /**<  */
   3262     xcb_colormap_t mid; /**<  */
   3263     xcb_window_t   window; /**<  */
   3264     xcb_visualid_t visual; /**<  */
   3265 } xcb_create_colormap_request_t;
   3266 
   3267 /** Opcode for xcb_free_colormap. */
   3268 #define XCB_FREE_COLORMAP 79
   3269 
   3270 /**
   3271  * @brief xcb_free_colormap_request_t
   3272  **/
   3273 typedef struct xcb_free_colormap_request_t {
   3274     uint8_t        major_opcode; /**<  */
   3275     uint8_t        pad0; /**<  */
   3276     uint16_t       length; /**<  */
   3277     xcb_colormap_t cmap; /**<  */
   3278 } xcb_free_colormap_request_t;
   3279 
   3280 /** Opcode for xcb_copy_colormap_and_free. */
   3281 #define XCB_COPY_COLORMAP_AND_FREE 80
   3282 
   3283 /**
   3284  * @brief xcb_copy_colormap_and_free_request_t
   3285  **/
   3286 typedef struct xcb_copy_colormap_and_free_request_t {
   3287     uint8_t        major_opcode; /**<  */
   3288     uint8_t        pad0; /**<  */
   3289     uint16_t       length; /**<  */
   3290     xcb_colormap_t mid; /**<  */
   3291     xcb_colormap_t src_cmap; /**<  */
   3292 } xcb_copy_colormap_and_free_request_t;
   3293 
   3294 /** Opcode for xcb_install_colormap. */
   3295 #define XCB_INSTALL_COLORMAP 81
   3296 
   3297 /**
   3298  * @brief xcb_install_colormap_request_t
   3299  **/
   3300 typedef struct xcb_install_colormap_request_t {
   3301     uint8_t        major_opcode; /**<  */
   3302     uint8_t        pad0; /**<  */
   3303     uint16_t       length; /**<  */
   3304     xcb_colormap_t cmap; /**<  */
   3305 } xcb_install_colormap_request_t;
   3306 
   3307 /** Opcode for xcb_uninstall_colormap. */
   3308 #define XCB_UNINSTALL_COLORMAP 82
   3309 
   3310 /**
   3311  * @brief xcb_uninstall_colormap_request_t
   3312  **/
   3313 typedef struct xcb_uninstall_colormap_request_t {
   3314     uint8_t        major_opcode; /**<  */
   3315     uint8_t        pad0; /**<  */
   3316     uint16_t       length; /**<  */
   3317     xcb_colormap_t cmap; /**<  */
   3318 } xcb_uninstall_colormap_request_t;
   3319 
   3320 /**
   3321  * @brief xcb_list_installed_colormaps_cookie_t
   3322  **/
   3323 typedef struct xcb_list_installed_colormaps_cookie_t {
   3324     unsigned int sequence; /**<  */
   3325 } xcb_list_installed_colormaps_cookie_t;
   3326 
   3327 /** Opcode for xcb_list_installed_colormaps. */
   3328 #define XCB_LIST_INSTALLED_COLORMAPS 83
   3329 
   3330 /**
   3331  * @brief xcb_list_installed_colormaps_request_t
   3332  **/
   3333 typedef struct xcb_list_installed_colormaps_request_t {
   3334     uint8_t      major_opcode; /**<  */
   3335     uint8_t      pad0; /**<  */
   3336     uint16_t     length; /**<  */
   3337     xcb_window_t window; /**<  */
   3338 } xcb_list_installed_colormaps_request_t;
   3339 
   3340 /**
   3341  * @brief xcb_list_installed_colormaps_reply_t
   3342  **/
   3343 typedef struct xcb_list_installed_colormaps_reply_t {
   3344     uint8_t  response_type; /**<  */
   3345     uint8_t  pad0; /**<  */
   3346     uint16_t sequence; /**<  */
   3347     uint32_t length; /**<  */
   3348     uint16_t cmaps_len; /**<  */
   3349     uint8_t  pad1[22]; /**<  */
   3350 } xcb_list_installed_colormaps_reply_t;
   3351 
   3352 /**
   3353  * @brief xcb_alloc_color_cookie_t
   3354  **/
   3355 typedef struct xcb_alloc_color_cookie_t {
   3356     unsigned int sequence; /**<  */
   3357 } xcb_alloc_color_cookie_t;
   3358 
   3359 /** Opcode for xcb_alloc_color. */
   3360 #define XCB_ALLOC_COLOR 84
   3361 
   3362 /**
   3363  * @brief xcb_alloc_color_request_t
   3364  **/
   3365 typedef struct xcb_alloc_color_request_t {
   3366     uint8_t        major_opcode; /**<  */
   3367     uint8_t        pad0; /**<  */
   3368     uint16_t       length; /**<  */
   3369     xcb_colormap_t cmap; /**<  */
   3370     uint16_t       red; /**<  */
   3371     uint16_t       green; /**<  */
   3372     uint16_t       blue; /**<  */
   3373     uint8_t        pad1[2]; /**<  */
   3374 } xcb_alloc_color_request_t;
   3375 
   3376 /**
   3377  * @brief xcb_alloc_color_reply_t
   3378  **/
   3379 typedef struct xcb_alloc_color_reply_t {
   3380     uint8_t  response_type; /**<  */
   3381     uint8_t  pad0; /**<  */
   3382     uint16_t sequence; /**<  */
   3383     uint32_t length; /**<  */
   3384     uint16_t red; /**<  */
   3385     uint16_t green; /**<  */
   3386     uint16_t blue; /**<  */
   3387     uint8_t  pad1[2]; /**<  */
   3388     uint32_t pixel; /**<  */
   3389 } xcb_alloc_color_reply_t;
   3390 
   3391 /**
   3392  * @brief xcb_alloc_named_color_cookie_t
   3393  **/
   3394 typedef struct xcb_alloc_named_color_cookie_t {
   3395     unsigned int sequence; /**<  */
   3396 } xcb_alloc_named_color_cookie_t;
   3397 
   3398 /** Opcode for xcb_alloc_named_color. */
   3399 #define XCB_ALLOC_NAMED_COLOR 85
   3400 
   3401 /**
   3402  * @brief xcb_alloc_named_color_request_t
   3403  **/
   3404 typedef struct xcb_alloc_named_color_request_t {
   3405     uint8_t        major_opcode; /**<  */
   3406     uint8_t        pad0; /**<  */
   3407     uint16_t       length; /**<  */
   3408     xcb_colormap_t cmap; /**<  */
   3409     uint16_t       name_len; /**<  */
   3410     uint8_t        pad1[2]; /**<  */
   3411 } xcb_alloc_named_color_request_t;
   3412 
   3413 /**
   3414  * @brief xcb_alloc_named_color_reply_t
   3415  **/
   3416 typedef struct xcb_alloc_named_color_reply_t {
   3417     uint8_t  response_type; /**<  */
   3418     uint8_t  pad0; /**<  */
   3419     uint16_t sequence; /**<  */
   3420     uint32_t length; /**<  */
   3421     uint32_t pixel; /**<  */
   3422     uint16_t exact_red; /**<  */
   3423     uint16_t exact_green; /**<  */
   3424     uint16_t exact_blue; /**<  */
   3425     uint16_t visual_red; /**<  */
   3426     uint16_t visual_green; /**<  */
   3427     uint16_t visual_blue; /**<  */
   3428 } xcb_alloc_named_color_reply_t;
   3429 
   3430 /**
   3431  * @brief xcb_alloc_color_cells_cookie_t
   3432  **/
   3433 typedef struct xcb_alloc_color_cells_cookie_t {
   3434     unsigned int sequence; /**<  */
   3435 } xcb_alloc_color_cells_cookie_t;
   3436 
   3437 /** Opcode for xcb_alloc_color_cells. */
   3438 #define XCB_ALLOC_COLOR_CELLS 86
   3439 
   3440 /**
   3441  * @brief xcb_alloc_color_cells_request_t
   3442  **/
   3443 typedef struct xcb_alloc_color_cells_request_t {
   3444     uint8_t        major_opcode; /**<  */
   3445     uint8_t        contiguous; /**<  */
   3446     uint16_t       length; /**<  */
   3447     xcb_colormap_t cmap; /**<  */
   3448     uint16_t       colors; /**<  */
   3449     uint16_t       planes; /**<  */
   3450 } xcb_alloc_color_cells_request_t;
   3451 
   3452 /**
   3453  * @brief xcb_alloc_color_cells_reply_t
   3454  **/
   3455 typedef struct xcb_alloc_color_cells_reply_t {
   3456     uint8_t  response_type; /**<  */
   3457     uint8_t  pad0; /**<  */
   3458     uint16_t sequence; /**<  */
   3459     uint32_t length; /**<  */
   3460     uint16_t pixels_len; /**<  */
   3461     uint16_t masks_len; /**<  */
   3462     uint8_t  pad1[20]; /**<  */
   3463 } xcb_alloc_color_cells_reply_t;
   3464 
   3465 /**
   3466  * @brief xcb_alloc_color_planes_cookie_t
   3467  **/
   3468 typedef struct xcb_alloc_color_planes_cookie_t {
   3469     unsigned int sequence; /**<  */
   3470 } xcb_alloc_color_planes_cookie_t;
   3471 
   3472 /** Opcode for xcb_alloc_color_planes. */
   3473 #define XCB_ALLOC_COLOR_PLANES 87
   3474 
   3475 /**
   3476  * @brief xcb_alloc_color_planes_request_t
   3477  **/
   3478 typedef struct xcb_alloc_color_planes_request_t {
   3479     uint8_t        major_opcode; /**<  */
   3480     uint8_t        contiguous; /**<  */
   3481     uint16_t       length; /**<  */
   3482     xcb_colormap_t cmap; /**<  */
   3483     uint16_t       colors; /**<  */
   3484     uint16_t       reds; /**<  */
   3485     uint16_t       greens; /**<  */
   3486     uint16_t       blues; /**<  */
   3487 } xcb_alloc_color_planes_request_t;
   3488 
   3489 /**
   3490  * @brief xcb_alloc_color_planes_reply_t
   3491  **/
   3492 typedef struct xcb_alloc_color_planes_reply_t {
   3493     uint8_t  response_type; /**<  */
   3494     uint8_t  pad0; /**<  */
   3495     uint16_t sequence; /**<  */
   3496     uint32_t length; /**<  */
   3497     uint16_t pixels_len; /**<  */
   3498     uint8_t  pad1[2]; /**<  */
   3499     uint32_t red_mask; /**<  */
   3500     uint32_t green_mask; /**<  */
   3501     uint32_t blue_mask; /**<  */
   3502     uint8_t  pad2[8]; /**<  */
   3503 } xcb_alloc_color_planes_reply_t;
   3504 
   3505 /** Opcode for xcb_free_colors. */
   3506 #define XCB_FREE_COLORS 88
   3507 
   3508 /**
   3509  * @brief xcb_free_colors_request_t
   3510  **/
   3511 typedef struct xcb_free_colors_request_t {
   3512     uint8_t        major_opcode; /**<  */
   3513     uint8_t        pad0; /**<  */
   3514     uint16_t       length; /**<  */
   3515     xcb_colormap_t cmap; /**<  */
   3516     uint32_t       plane_mask; /**<  */
   3517 } xcb_free_colors_request_t;
   3518 
   3519 typedef enum xcb_color_flag_t {
   3520     XCB_COLOR_FLAG_RED = 1,
   3521     XCB_COLOR_FLAG_GREEN = 2,
   3522     XCB_COLOR_FLAG_BLUE = 4
   3523 } xcb_color_flag_t;
   3524 
   3525 /**
   3526  * @brief xcb_coloritem_t
   3527  **/
   3528 typedef struct xcb_coloritem_t {
   3529     uint32_t pixel; /**<  */
   3530     uint16_t red; /**<  */
   3531     uint16_t green; /**<  */
   3532     uint16_t blue; /**<  */
   3533     uint8_t  flags; /**<  */
   3534     uint8_t  pad0; /**<  */
   3535 } xcb_coloritem_t;
   3536 
   3537 /**
   3538  * @brief xcb_coloritem_iterator_t
   3539  **/
   3540 typedef struct xcb_coloritem_iterator_t {
   3541     xcb_coloritem_t *data; /**<  */
   3542     int              rem; /**<  */
   3543     int              index; /**<  */
   3544 } xcb_coloritem_iterator_t;
   3545 
   3546 /** Opcode for xcb_store_colors. */
   3547 #define XCB_STORE_COLORS 89
   3548 
   3549 /**
   3550  * @brief xcb_store_colors_request_t
   3551  **/
   3552 typedef struct xcb_store_colors_request_t {
   3553     uint8_t        major_opcode; /**<  */
   3554     uint8_t        pad0; /**<  */
   3555     uint16_t       length; /**<  */
   3556     xcb_colormap_t cmap; /**<  */
   3557 } xcb_store_colors_request_t;
   3558 
   3559 /** Opcode for xcb_store_named_color. */
   3560 #define XCB_STORE_NAMED_COLOR 90
   3561 
   3562 /**
   3563  * @brief xcb_store_named_color_request_t
   3564  **/
   3565 typedef struct xcb_store_named_color_request_t {
   3566     uint8_t        major_opcode; /**<  */
   3567     uint8_t        flags; /**<  */
   3568     uint16_t       length; /**<  */
   3569     xcb_colormap_t cmap; /**<  */
   3570     uint32_t       pixel; /**<  */
   3571     uint16_t       name_len; /**<  */
   3572     uint8_t        pad0[2]; /**<  */
   3573 } xcb_store_named_color_request_t;
   3574 
   3575 /**
   3576  * @brief xcb_rgb_t
   3577  **/
   3578 typedef struct xcb_rgb_t {
   3579     uint16_t red; /**<  */
   3580     uint16_t green; /**<  */
   3581     uint16_t blue; /**<  */
   3582     uint8_t  pad0[2]; /**<  */
   3583 } xcb_rgb_t;
   3584 
   3585 /**
   3586  * @brief xcb_rgb_iterator_t
   3587  **/
   3588 typedef struct xcb_rgb_iterator_t {
   3589     xcb_rgb_t *data; /**<  */
   3590     int        rem; /**<  */
   3591     int        index; /**<  */
   3592 } xcb_rgb_iterator_t;
   3593 
   3594 /**
   3595  * @brief xcb_query_colors_cookie_t
   3596  **/
   3597 typedef struct xcb_query_colors_cookie_t {
   3598     unsigned int sequence; /**<  */
   3599 } xcb_query_colors_cookie_t;
   3600 
   3601 /** Opcode for xcb_query_colors. */
   3602 #define XCB_QUERY_COLORS 91
   3603 
   3604 /**
   3605  * @brief xcb_query_colors_request_t
   3606  **/
   3607 typedef struct xcb_query_colors_request_t {
   3608     uint8_t        major_opcode; /**<  */
   3609     uint8_t        pad0; /**<  */
   3610     uint16_t       length; /**<  */
   3611     xcb_colormap_t cmap; /**<  */
   3612 } xcb_query_colors_request_t;
   3613 
   3614 /**
   3615  * @brief xcb_query_colors_reply_t
   3616  **/
   3617 typedef struct xcb_query_colors_reply_t {
   3618     uint8_t  response_type; /**<  */
   3619     uint8_t  pad0; /**<  */
   3620     uint16_t sequence; /**<  */
   3621     uint32_t length; /**<  */
   3622     uint16_t colors_len; /**<  */
   3623     uint8_t  pad1[22]; /**<  */
   3624 } xcb_query_colors_reply_t;
   3625 
   3626 /**
   3627  * @brief xcb_lookup_color_cookie_t
   3628  **/
   3629 typedef struct xcb_lookup_color_cookie_t {
   3630     unsigned int sequence; /**<  */
   3631 } xcb_lookup_color_cookie_t;
   3632 
   3633 /** Opcode for xcb_lookup_color. */
   3634 #define XCB_LOOKUP_COLOR 92
   3635 
   3636 /**
   3637  * @brief xcb_lookup_color_request_t
   3638  **/
   3639 typedef struct xcb_lookup_color_request_t {
   3640     uint8_t        major_opcode; /**<  */
   3641     uint8_t        pad0; /**<  */
   3642     uint16_t       length; /**<  */
   3643     xcb_colormap_t cmap; /**<  */
   3644     uint16_t       name_len; /**<  */
   3645     uint8_t        pad1[2]; /**<  */
   3646 } xcb_lookup_color_request_t;
   3647 
   3648 /**
   3649  * @brief xcb_lookup_color_reply_t
   3650  **/
   3651 typedef struct xcb_lookup_color_reply_t {
   3652     uint8_t  response_type; /**<  */
   3653     uint8_t  pad0; /**<  */
   3654     uint16_t sequence; /**<  */
   3655     uint32_t length; /**<  */
   3656     uint16_t exact_red; /**<  */
   3657     uint16_t exact_green; /**<  */
   3658     uint16_t exact_blue; /**<  */
   3659     uint16_t visual_red; /**<  */
   3660     uint16_t visual_green; /**<  */
   3661     uint16_t visual_blue; /**<  */
   3662 } xcb_lookup_color_reply_t;
   3663 
   3664 typedef enum xcb_pixmap_enum_t {
   3665     XCB_PIXMAP_NONE = 0
   3666 } xcb_pixmap_enum_t;
   3667 
   3668 /** Opcode for xcb_create_cursor. */
   3669 #define XCB_CREATE_CURSOR 93
   3670 
   3671 /**
   3672  * @brief xcb_create_cursor_request_t
   3673  **/
   3674 typedef struct xcb_create_cursor_request_t {
   3675     uint8_t      major_opcode; /**<  */
   3676     uint8_t      pad0; /**<  */
   3677     uint16_t     length; /**<  */
   3678     xcb_cursor_t cid; /**<  */
   3679     xcb_pixmap_t source; /**<  */
   3680     xcb_pixmap_t mask; /**<  */
   3681     uint16_t     fore_red; /**<  */
   3682     uint16_t     fore_green; /**<  */
   3683     uint16_t     fore_blue; /**<  */
   3684     uint16_t     back_red; /**<  */
   3685     uint16_t     back_green; /**<  */
   3686     uint16_t     back_blue; /**<  */
   3687     uint16_t     x; /**<  */
   3688     uint16_t     y; /**<  */
   3689 } xcb_create_cursor_request_t;
   3690 
   3691 typedef enum xcb_font_enum_t {
   3692     XCB_FONT_NONE = 0
   3693 } xcb_font_enum_t;
   3694 
   3695 /** Opcode for xcb_create_glyph_cursor. */
   3696 #define XCB_CREATE_GLYPH_CURSOR 94
   3697 
   3698 /**
   3699  * @brief xcb_create_glyph_cursor_request_t
   3700  **/
   3701 typedef struct xcb_create_glyph_cursor_request_t {
   3702     uint8_t      major_opcode; /**<  */
   3703     uint8_t      pad0; /**<  */
   3704     uint16_t     length; /**<  */
   3705     xcb_cursor_t cid; /**<  */
   3706     xcb_font_t   source_font; /**<  */
   3707     xcb_font_t   mask_font; /**<  */
   3708     uint16_t     source_char; /**<  */
   3709     uint16_t     mask_char; /**<  */
   3710     uint16_t     fore_red; /**<  */
   3711     uint16_t     fore_green; /**<  */
   3712     uint16_t     fore_blue; /**<  */
   3713     uint16_t     back_red; /**<  */
   3714     uint16_t     back_green; /**<  */
   3715     uint16_t     back_blue; /**<  */
   3716 } xcb_create_glyph_cursor_request_t;
   3717 
   3718 /** Opcode for xcb_free_cursor. */
   3719 #define XCB_FREE_CURSOR 95
   3720 
   3721 /**
   3722  * @brief xcb_free_cursor_request_t
   3723  **/
   3724 typedef struct xcb_free_cursor_request_t {
   3725     uint8_t      major_opcode; /**<  */
   3726     uint8_t      pad0; /**<  */
   3727     uint16_t     length; /**<  */
   3728     xcb_cursor_t cursor; /**<  */
   3729 } xcb_free_cursor_request_t;
   3730 
   3731 /** Opcode for xcb_recolor_cursor. */
   3732 #define XCB_RECOLOR_CURSOR 96
   3733 
   3734 /**
   3735  * @brief xcb_recolor_cursor_request_t
   3736  **/
   3737 typedef struct xcb_recolor_cursor_request_t {
   3738     uint8_t      major_opcode; /**<  */
   3739     uint8_t      pad0; /**<  */
   3740     uint16_t     length; /**<  */
   3741     xcb_cursor_t cursor; /**<  */
   3742     uint16_t     fore_red; /**<  */
   3743     uint16_t     fore_green; /**<  */
   3744     uint16_t     fore_blue; /**<  */
   3745     uint16_t     back_red; /**<  */
   3746     uint16_t     back_green; /**<  */
   3747     uint16_t     back_blue; /**<  */
   3748 } xcb_recolor_cursor_request_t;
   3749 
   3750 typedef enum xcb_query_shape_of_t {
   3751     XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
   3752     XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
   3753     XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
   3754 } xcb_query_shape_of_t;
   3755 
   3756 /**
   3757  * @brief xcb_query_best_size_cookie_t
   3758  **/
   3759 typedef struct xcb_query_best_size_cookie_t {
   3760     unsigned int sequence; /**<  */
   3761 } xcb_query_best_size_cookie_t;
   3762 
   3763 /** Opcode for xcb_query_best_size. */
   3764 #define XCB_QUERY_BEST_SIZE 97
   3765 
   3766 /**
   3767  * @brief xcb_query_best_size_request_t
   3768  **/
   3769 typedef struct xcb_query_best_size_request_t {
   3770     uint8_t        major_opcode; /**<  */
   3771     uint8_t        _class; /**<  */
   3772     uint16_t       length; /**<  */
   3773     xcb_drawable_t drawable; /**<  */
   3774     uint16_t       width; /**<  */
   3775     uint16_t       height; /**<  */
   3776 } xcb_query_best_size_request_t;
   3777 
   3778 /**
   3779  * @brief xcb_query_best_size_reply_t
   3780  **/
   3781 typedef struct xcb_query_best_size_reply_t {
   3782     uint8_t  response_type; /**<  */
   3783     uint8_t  pad0; /**<  */
   3784     uint16_t sequence; /**<  */
   3785     uint32_t length; /**<  */
   3786     uint16_t width; /**<  */
   3787     uint16_t height; /**<  */
   3788 } xcb_query_best_size_reply_t;
   3789 
   3790 /**
   3791  * @brief xcb_query_extension_cookie_t
   3792  **/
   3793 typedef struct xcb_query_extension_cookie_t {
   3794     unsigned int sequence; /**<  */
   3795 } xcb_query_extension_cookie_t;
   3796 
   3797 /** Opcode for xcb_query_extension. */
   3798 #define XCB_QUERY_EXTENSION 98
   3799 
   3800 /**
   3801  * @brief xcb_query_extension_request_t
   3802  **/
   3803 typedef struct xcb_query_extension_request_t {
   3804     uint8_t  major_opcode; /**<  */
   3805     uint8_t  pad0; /**<  */
   3806     uint16_t length; /**<  */
   3807     uint16_t name_len; /**<  */
   3808     uint8_t  pad1[2]; /**<  */
   3809 } xcb_query_extension_request_t;
   3810 
   3811 /**
   3812  * @brief xcb_query_extension_reply_t
   3813  **/
   3814 typedef struct xcb_query_extension_reply_t {
   3815     uint8_t  response_type; /**<  */
   3816     uint8_t  pad0; /**<  */
   3817     uint16_t sequence; /**<  */
   3818     uint32_t length; /**<  */
   3819     uint8_t  present; /**<  */
   3820     uint8_t  major_opcode; /**<  */
   3821     uint8_t  first_event; /**<  */
   3822     uint8_t  first_error; /**<  */
   3823 } xcb_query_extension_reply_t;
   3824 
   3825 /**
   3826  * @brief xcb_list_extensions_cookie_t
   3827  **/
   3828 typedef struct xcb_list_extensions_cookie_t {
   3829     unsigned int sequence; /**<  */
   3830 } xcb_list_extensions_cookie_t;
   3831 
   3832 /** Opcode for xcb_list_extensions. */
   3833 #define XCB_LIST_EXTENSIONS 99
   3834 
   3835 /**
   3836  * @brief xcb_list_extensions_request_t
   3837  **/
   3838 typedef struct xcb_list_extensions_request_t {
   3839     uint8_t  major_opcode; /**<  */
   3840     uint8_t  pad0; /**<  */
   3841     uint16_t length; /**<  */
   3842 } xcb_list_extensions_request_t;
   3843 
   3844 /**
   3845  * @brief xcb_list_extensions_reply_t
   3846  **/
   3847 typedef struct xcb_list_extensions_reply_t {
   3848     uint8_t  response_type; /**<  */
   3849     uint8_t  names_len; /**<  */
   3850     uint16_t sequence; /**<  */
   3851     uint32_t length; /**<  */
   3852     uint8_t  pad0[24]; /**<  */
   3853 } xcb_list_extensions_reply_t;
   3854 
   3855 /** Opcode for xcb_change_keyboard_mapping. */
   3856 #define XCB_CHANGE_KEYBOARD_MAPPING 100
   3857 
   3858 /**
   3859  * @brief xcb_change_keyboard_mapping_request_t
   3860  **/
   3861 typedef struct xcb_change_keyboard_mapping_request_t {
   3862     uint8_t       major_opcode; /**<  */
   3863     uint8_t       keycode_count; /**<  */
   3864     uint16_t      length; /**<  */
   3865     xcb_keycode_t first_keycode; /**<  */
   3866     uint8_t       keysyms_per_keycode; /**<  */
   3867     uint8_t       pad0[2]; /**<  */
   3868 } xcb_change_keyboard_mapping_request_t;
   3869 
   3870 /**
   3871  * @brief xcb_get_keyboard_mapping_cookie_t
   3872  **/
   3873 typedef struct xcb_get_keyboard_mapping_cookie_t {
   3874     unsigned int sequence; /**<  */
   3875 } xcb_get_keyboard_mapping_cookie_t;
   3876 
   3877 /** Opcode for xcb_get_keyboard_mapping. */
   3878 #define XCB_GET_KEYBOARD_MAPPING 101
   3879 
   3880 /**
   3881  * @brief xcb_get_keyboard_mapping_request_t
   3882  **/
   3883 typedef struct xcb_get_keyboard_mapping_request_t {
   3884     uint8_t       major_opcode; /**<  */
   3885     uint8_t       pad0; /**<  */
   3886     uint16_t      length; /**<  */
   3887     xcb_keycode_t first_keycode; /**<  */
   3888     uint8_t       count; /**<  */
   3889 } xcb_get_keyboard_mapping_request_t;
   3890 
   3891 /**
   3892  * @brief xcb_get_keyboard_mapping_reply_t
   3893  **/
   3894 typedef struct xcb_get_keyboard_mapping_reply_t {
   3895     uint8_t  response_type; /**<  */
   3896     uint8_t  keysyms_per_keycode; /**<  */
   3897     uint16_t sequence; /**<  */
   3898     uint32_t length; /**<  */
   3899     uint8_t  pad0[24]; /**<  */
   3900 } xcb_get_keyboard_mapping_reply_t;
   3901 
   3902 typedef enum xcb_kb_t {
   3903     XCB_KB_KEY_CLICK_PERCENT = 1,
   3904     XCB_KB_BELL_PERCENT = 2,
   3905     XCB_KB_BELL_PITCH = 4,
   3906     XCB_KB_BELL_DURATION = 8,
   3907     XCB_KB_LED = 16,
   3908     XCB_KB_LED_MODE = 32,
   3909     XCB_KB_KEY = 64,
   3910     XCB_KB_AUTO_REPEAT_MODE = 128
   3911 } xcb_kb_t;
   3912 
   3913 typedef enum xcb_led_mode_t {
   3914     XCB_LED_MODE_OFF = 0,
   3915     XCB_LED_MODE_ON = 1
   3916 } xcb_led_mode_t;
   3917 
   3918 typedef enum xcb_auto_repeat_mode_t {
   3919     XCB_AUTO_REPEAT_MODE_OFF = 0,
   3920     XCB_AUTO_REPEAT_MODE_ON = 1,
   3921     XCB_AUTO_REPEAT_MODE_DEFAULT = 2
   3922 } xcb_auto_repeat_mode_t;
   3923 
   3924 /** Opcode for xcb_change_keyboard_control. */
   3925 #define XCB_CHANGE_KEYBOARD_CONTROL 102
   3926 
   3927 /**
   3928  * @brief xcb_change_keyboard_control_request_t
   3929  **/
   3930 typedef struct xcb_change_keyboard_control_request_t {
   3931     uint8_t  major_opcode; /**<  */
   3932     uint8_t  pad0; /**<  */
   3933     uint16_t length; /**<  */
   3934     uint32_t value_mask; /**<  */
   3935 } xcb_change_keyboard_control_request_t;
   3936 
   3937 /**
   3938  * @brief xcb_get_keyboard_control_cookie_t
   3939  **/
   3940 typedef struct xcb_get_keyboard_control_cookie_t {
   3941     unsigned int sequence; /**<  */
   3942 } xcb_get_keyboard_control_cookie_t;
   3943 
   3944 /** Opcode for xcb_get_keyboard_control. */
   3945 #define XCB_GET_KEYBOARD_CONTROL 103
   3946 
   3947 /**
   3948  * @brief xcb_get_keyboard_control_request_t
   3949  **/
   3950 typedef struct xcb_get_keyboard_control_request_t {
   3951     uint8_t  major_opcode; /**<  */
   3952     uint8_t  pad0; /**<  */
   3953     uint16_t length; /**<  */
   3954 } xcb_get_keyboard_control_request_t;
   3955 
   3956 /**
   3957  * @brief xcb_get_keyboard_control_reply_t
   3958  **/
   3959 typedef struct xcb_get_keyboard_control_reply_t {
   3960     uint8_t  response_type; /**<  */
   3961     uint8_t  global_auto_repeat; /**<  */
   3962     uint16_t sequence; /**<  */
   3963     uint32_t length; /**<  */
   3964     uint32_t led_mask; /**<  */
   3965     uint8_t  key_click_percent; /**<  */
   3966     uint8_t  bell_percent; /**<  */
   3967     uint16_t bell_pitch; /**<  */
   3968     uint16_t bell_duration; /**<  */
   3969     uint8_t  pad0[2]; /**<  */
   3970     uint8_t  auto_repeats[32]; /**<  */
   3971 } xcb_get_keyboard_control_reply_t;
   3972 
   3973 /** Opcode for xcb_bell. */
   3974 #define XCB_BELL 104
   3975 
   3976 /**
   3977  * @brief xcb_bell_request_t
   3978  **/
   3979 typedef struct xcb_bell_request_t {
   3980     uint8_t  major_opcode; /**<  */
   3981     int8_t   percent; /**<  */
   3982     uint16_t length; /**<  */
   3983 } xcb_bell_request_t;
   3984 
   3985 /** Opcode for xcb_change_pointer_control. */
   3986 #define XCB_CHANGE_POINTER_CONTROL 105
   3987 
   3988 /**
   3989  * @brief xcb_change_pointer_control_request_t
   3990  **/
   3991 typedef struct xcb_change_pointer_control_request_t {
   3992     uint8_t  major_opcode; /**<  */
   3993     uint8_t  pad0; /**<  */
   3994     uint16_t length; /**<  */
   3995     int16_t  acceleration_numerator; /**<  */
   3996     int16_t  acceleration_denominator; /**<  */
   3997     int16_t  threshold; /**<  */
   3998     uint8_t  do_acceleration; /**<  */
   3999     uint8_t  do_threshold; /**<  */
   4000 } xcb_change_pointer_control_request_t;
   4001 
   4002 /**
   4003  * @brief xcb_get_pointer_control_cookie_t
   4004  **/
   4005 typedef struct xcb_get_pointer_control_cookie_t {
   4006     unsigned int sequence; /**<  */
   4007 } xcb_get_pointer_control_cookie_t;
   4008 
   4009 /** Opcode for xcb_get_pointer_control. */
   4010 #define XCB_GET_POINTER_CONTROL 106
   4011 
   4012 /**
   4013  * @brief xcb_get_pointer_control_request_t
   4014  **/
   4015 typedef struct xcb_get_pointer_control_request_t {
   4016     uint8_t  major_opcode; /**<  */
   4017     uint8_t  pad0; /**<  */
   4018     uint16_t length; /**<  */
   4019 } xcb_get_pointer_control_request_t;
   4020 
   4021 /**
   4022  * @brief xcb_get_pointer_control_reply_t
   4023  **/
   4024 typedef struct xcb_get_pointer_control_reply_t {
   4025     uint8_t  response_type; /**<  */
   4026     uint8_t  pad0; /**<  */
   4027     uint16_t sequence; /**<  */
   4028     uint32_t length; /**<  */
   4029     uint16_t acceleration_numerator; /**<  */
   4030     uint16_t acceleration_denominator; /**<  */
   4031     uint16_t threshold; /**<  */
   4032     uint8_t  pad1[18]; /**<  */
   4033 } xcb_get_pointer_control_reply_t;
   4034 
   4035 typedef enum xcb_blanking_t {
   4036     XCB_BLANKING_NOT_PREFERRED = 0,
   4037     XCB_BLANKING_PREFERRED = 1,
   4038     XCB_BLANKING_DEFAULT = 2
   4039 } xcb_blanking_t;
   4040 
   4041 typedef enum xcb_exposures_t {
   4042     XCB_EXPOSURES_NOT_ALLOWED = 0,
   4043     XCB_EXPOSURES_ALLOWED = 1,
   4044     XCB_EXPOSURES_DEFAULT = 2
   4045 } xcb_exposures_t;
   4046 
   4047 /** Opcode for xcb_set_screen_saver. */
   4048 #define XCB_SET_SCREEN_SAVER 107
   4049 
   4050 /**
   4051  * @brief xcb_set_screen_saver_request_t
   4052  **/
   4053 typedef struct xcb_set_screen_saver_request_t {
   4054     uint8_t  major_opcode; /**<  */
   4055     uint8_t  pad0; /**<  */
   4056     uint16_t length; /**<  */
   4057     int16_t  timeout; /**<  */
   4058     int16_t  interval; /**<  */
   4059     uint8_t  prefer_blanking; /**<  */
   4060     uint8_t  allow_exposures; /**<  */
   4061 } xcb_set_screen_saver_request_t;
   4062 
   4063 /**
   4064  * @brief xcb_get_screen_saver_cookie_t
   4065  **/
   4066 typedef struct xcb_get_screen_saver_cookie_t {
   4067     unsigned int sequence; /**<  */
   4068 } xcb_get_screen_saver_cookie_t;
   4069 
   4070 /** Opcode for xcb_get_screen_saver. */
   4071 #define XCB_GET_SCREEN_SAVER 108
   4072 
   4073 /**
   4074  * @brief xcb_get_screen_saver_request_t
   4075  **/
   4076 typedef struct xcb_get_screen_saver_request_t {
   4077     uint8_t  major_opcode; /**<  */
   4078     uint8_t  pad0; /**<  */
   4079     uint16_t length; /**<  */
   4080 } xcb_get_screen_saver_request_t;
   4081 
   4082 /**
   4083  * @brief xcb_get_screen_saver_reply_t
   4084  **/
   4085 typedef struct xcb_get_screen_saver_reply_t {
   4086     uint8_t  response_type; /**<  */
   4087     uint8_t  pad0; /**<  */
   4088     uint16_t sequence; /**<  */
   4089     uint32_t length; /**<  */
   4090     uint16_t timeout; /**<  */
   4091     uint16_t interval; /**<  */
   4092     uint8_t  prefer_blanking; /**<  */
   4093     uint8_t  allow_exposures; /**<  */
   4094     uint8_t  pad1[18]; /**<  */
   4095 } xcb_get_screen_saver_reply_t;
   4096 
   4097 typedef enum xcb_host_mode_t {
   4098     XCB_HOST_MODE_INSERT = 0,
   4099     XCB_HOST_MODE_DELETE = 1
   4100 } xcb_host_mode_t;
   4101 
   4102 typedef enum xcb_family_t {
   4103     XCB_FAMILY_INTERNET = 0,
   4104     XCB_FAMILY_DECNET = 1,
   4105     XCB_FAMILY_CHAOS = 2,
   4106     XCB_FAMILY_SERVER_INTERPRETED = 5,
   4107     XCB_FAMILY_INTERNET_6 = 6
   4108 } xcb_family_t;
   4109 
   4110 /** Opcode for xcb_change_hosts. */
   4111 #define XCB_CHANGE_HOSTS 109
   4112 
   4113 /**
   4114  * @brief xcb_change_hosts_request_t
   4115  **/
   4116 typedef struct xcb_change_hosts_request_t {
   4117     uint8_t  major_opcode; /**<  */
   4118     uint8_t  mode; /**<  */
   4119     uint16_t length; /**<  */
   4120     uint8_t  family; /**<  */
   4121     uint8_t  pad0; /**<  */
   4122     uint16_t address_len; /**<  */
   4123 } xcb_change_hosts_request_t;
   4124 
   4125 /**
   4126  * @brief xcb_host_t
   4127  **/
   4128 typedef struct xcb_host_t {
   4129     uint8_t  family; /**<  */
   4130     uint8_t  pad0; /**<  */
   4131     uint16_t address_len; /**<  */
   4132 } xcb_host_t;
   4133 
   4134 /**
   4135  * @brief xcb_host_iterator_t
   4136  **/
   4137 typedef struct xcb_host_iterator_t {
   4138     xcb_host_t *data; /**<  */
   4139     int         rem; /**<  */
   4140     int         index; /**<  */
   4141 } xcb_host_iterator_t;
   4142 
   4143 /**
   4144  * @brief xcb_list_hosts_cookie_t
   4145  **/
   4146 typedef struct xcb_list_hosts_cookie_t {
   4147     unsigned int sequence; /**<  */
   4148 } xcb_list_hosts_cookie_t;
   4149 
   4150 /** Opcode for xcb_list_hosts. */
   4151 #define XCB_LIST_HOSTS 110
   4152 
   4153 /**
   4154  * @brief xcb_list_hosts_request_t
   4155  **/
   4156 typedef struct xcb_list_hosts_request_t {
   4157     uint8_t  major_opcode; /**<  */
   4158     uint8_t  pad0; /**<  */
   4159     uint16_t length; /**<  */
   4160 } xcb_list_hosts_request_t;
   4161 
   4162 /**
   4163  * @brief xcb_list_hosts_reply_t
   4164  **/
   4165 typedef struct xcb_list_hosts_reply_t {
   4166     uint8_t  response_type; /**<  */
   4167     uint8_t  mode; /**<  */
   4168     uint16_t sequence; /**<  */
   4169     uint32_t length; /**<  */
   4170     uint16_t hosts_len; /**<  */
   4171     uint8_t  pad0[22]; /**<  */
   4172 } xcb_list_hosts_reply_t;
   4173 
   4174 typedef enum xcb_access_control_t {
   4175     XCB_ACCESS_CONTROL_DISABLE = 0,
   4176     XCB_ACCESS_CONTROL_ENABLE = 1
   4177 } xcb_access_control_t;
   4178 
   4179 /** Opcode for xcb_set_access_control. */
   4180 #define XCB_SET_ACCESS_CONTROL 111
   4181 
   4182 /**
   4183  * @brief xcb_set_access_control_request_t
   4184  **/
   4185 typedef struct xcb_set_access_control_request_t {
   4186     uint8_t  major_opcode; /**<  */
   4187     uint8_t  mode; /**<  */
   4188     uint16_t length; /**<  */
   4189 } xcb_set_access_control_request_t;
   4190 
   4191 typedef enum xcb_close_down_t {
   4192     XCB_CLOSE_DOWN_DESTROY_ALL = 0,
   4193     XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
   4194     XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
   4195 } xcb_close_down_t;
   4196 
   4197 /** Opcode for xcb_set_close_down_mode. */
   4198 #define XCB_SET_CLOSE_DOWN_MODE 112
   4199 
   4200 /**
   4201  * @brief xcb_set_close_down_mode_request_t
   4202  **/
   4203 typedef struct xcb_set_close_down_mode_request_t {
   4204     uint8_t  major_opcode; /**<  */
   4205     uint8_t  mode; /**<  */
   4206     uint16_t length; /**<  */
   4207 } xcb_set_close_down_mode_request_t;
   4208 
   4209 typedef enum xcb_kill_t {
   4210     XCB_KILL_ALL_TEMPORARY = 0
   4211 } xcb_kill_t;
   4212 
   4213 /** Opcode for xcb_kill_client. */
   4214 #define XCB_KILL_CLIENT 113
   4215 
   4216 /**
   4217  * @brief xcb_kill_client_request_t
   4218  **/
   4219 typedef struct xcb_kill_client_request_t {
   4220     uint8_t  major_opcode; /**<  */
   4221     uint8_t  pad0; /**<  */
   4222     uint16_t length; /**<  */
   4223     uint32_t resource; /**<  */
   4224 } xcb_kill_client_request_t;
   4225 
   4226 /** Opcode for xcb_rotate_properties. */
   4227 #define XCB_ROTATE_PROPERTIES 114
   4228 
   4229 /**
   4230  * @brief xcb_rotate_properties_request_t
   4231  **/
   4232 typedef struct xcb_rotate_properties_request_t {
   4233     uint8_t      major_opcode; /**<  */
   4234     uint8_t      pad0; /**<  */
   4235     uint16_t     length; /**<  */
   4236     xcb_window_t window; /**<  */
   4237     uint16_t     atoms_len; /**<  */
   4238     int16_t      delta; /**<  */
   4239 } xcb_rotate_properties_request_t;
   4240 
   4241 typedef enum xcb_screen_saver_t {
   4242     XCB_SCREEN_SAVER_RESET = 0,
   4243     XCB_SCREEN_SAVER_ACTIVE = 1
   4244 } xcb_screen_saver_t;
   4245 
   4246 /** Opcode for xcb_force_screen_saver. */
   4247 #define XCB_FORCE_SCREEN_SAVER 115
   4248 
   4249 /**
   4250  * @brief xcb_force_screen_saver_request_t
   4251  **/
   4252 typedef struct xcb_force_screen_saver_request_t {
   4253     uint8_t  major_opcode; /**<  */
   4254     uint8_t  mode; /**<  */
   4255     uint16_t length; /**<  */
   4256 } xcb_force_screen_saver_request_t;
   4257 
   4258 typedef enum xcb_mapping_status_t {
   4259     XCB_MAPPING_STATUS_SUCCESS = 0,
   4260     XCB_MAPPING_STATUS_BUSY = 1,
   4261     XCB_MAPPING_STATUS_FAILURE = 2
   4262 } xcb_mapping_status_t;
   4263 
   4264 /**
   4265  * @brief xcb_set_pointer_mapping_cookie_t
   4266  **/
   4267 typedef struct xcb_set_pointer_mapping_cookie_t {
   4268     unsigned int sequence; /**<  */
   4269 } xcb_set_pointer_mapping_cookie_t;
   4270 
   4271 /** Opcode for xcb_set_pointer_mapping. */
   4272 #define XCB_SET_POINTER_MAPPING 116
   4273 
   4274 /**
   4275  * @brief xcb_set_pointer_mapping_request_t
   4276  **/
   4277 typedef struct xcb_set_pointer_mapping_request_t {
   4278     uint8_t  major_opcode; /**<  */
   4279     uint8_t  map_len; /**<  */
   4280     uint16_t length; /**<  */
   4281 } xcb_set_pointer_mapping_request_t;
   4282 
   4283 /**
   4284  * @brief xcb_set_pointer_mapping_reply_t
   4285  **/
   4286 typedef struct xcb_set_pointer_mapping_reply_t {
   4287     uint8_t  response_type; /**<  */
   4288     uint8_t  status; /**<  */
   4289     uint16_t sequence; /**<  */
   4290     uint32_t length; /**<  */
   4291 } xcb_set_pointer_mapping_reply_t;
   4292 
   4293 /**
   4294  * @brief xcb_get_pointer_mapping_cookie_t
   4295  **/
   4296 typedef struct xcb_get_pointer_mapping_cookie_t {
   4297     unsigned int sequence; /**<  */
   4298 } xcb_get_pointer_mapping_cookie_t;
   4299 
   4300 /** Opcode for xcb_get_pointer_mapping. */
   4301 #define XCB_GET_POINTER_MAPPING 117
   4302 
   4303 /**
   4304  * @brief xcb_get_pointer_mapping_request_t
   4305  **/
   4306 typedef struct xcb_get_pointer_mapping_request_t {
   4307     uint8_t  major_opcode; /**<  */
   4308     uint8_t  pad0; /**<  */
   4309     uint16_t length; /**<  */
   4310 } xcb_get_pointer_mapping_request_t;
   4311 
   4312 /**
   4313  * @brief xcb_get_pointer_mapping_reply_t
   4314  **/
   4315 typedef struct xcb_get_pointer_mapping_reply_t {
   4316     uint8_t  response_type; /**<  */
   4317     uint8_t  map_len; /**<  */
   4318     uint16_t sequence; /**<  */
   4319     uint32_t length; /**<  */
   4320     uint8_t  pad0[24]; /**<  */
   4321 } xcb_get_pointer_mapping_reply_t;
   4322 
   4323 typedef enum xcb_map_index_t {
   4324     XCB_MAP_INDEX_SHIFT = 0,
   4325     XCB_MAP_INDEX_LOCK = 1,
   4326     XCB_MAP_INDEX_CONTROL = 2,
   4327     XCB_MAP_INDEX_1 = 3,
   4328     XCB_MAP_INDEX_2 = 4,
   4329     XCB_MAP_INDEX_3 = 5,
   4330     XCB_MAP_INDEX_4 = 6,
   4331     XCB_MAP_INDEX_5 = 7
   4332 } xcb_map_index_t;
   4333 
   4334 /**
   4335  * @brief xcb_set_modifier_mapping_cookie_t
   4336  **/
   4337 typedef struct xcb_set_modifier_mapping_cookie_t {
   4338     unsigned int sequence; /**<  */
   4339 } xcb_set_modifier_mapping_cookie_t;
   4340 
   4341 /** Opcode for xcb_set_modifier_mapping. */
   4342 #define XCB_SET_MODIFIER_MAPPING 118
   4343 
   4344 /**
   4345  * @brief xcb_set_modifier_mapping_request_t
   4346  **/
   4347 typedef struct xcb_set_modifier_mapping_request_t {
   4348     uint8_t  major_opcode; /**<  */
   4349     uint8_t  keycodes_per_modifier; /**<  */
   4350     uint16_t length; /**<  */
   4351 } xcb_set_modifier_mapping_request_t;
   4352 
   4353 /**
   4354  * @brief xcb_set_modifier_mapping_reply_t
   4355  **/
   4356 typedef struct xcb_set_modifier_mapping_reply_t {
   4357     uint8_t  response_type; /**<  */
   4358     uint8_t  status; /**<  */
   4359     uint16_t sequence; /**<  */
   4360     uint32_t length; /**<  */
   4361 } xcb_set_modifier_mapping_reply_t;
   4362 
   4363 /**
   4364  * @brief xcb_get_modifier_mapping_cookie_t
   4365  **/
   4366 typedef struct xcb_get_modifier_mapping_cookie_t {
   4367     unsigned int sequence; /**<  */
   4368 } xcb_get_modifier_mapping_cookie_t;
   4369 
   4370 /** Opcode for xcb_get_modifier_mapping. */
   4371 #define XCB_GET_MODIFIER_MAPPING 119
   4372 
   4373 /**
   4374  * @brief xcb_get_modifier_mapping_request_t
   4375  **/
   4376 typedef struct xcb_get_modifier_mapping_request_t {
   4377     uint8_t  major_opcode; /**<  */
   4378     uint8_t  pad0; /**<  */
   4379     uint16_t length; /**<  */
   4380 } xcb_get_modifier_mapping_request_t;
   4381 
   4382 /**
   4383  * @brief xcb_get_modifier_mapping_reply_t
   4384  **/
   4385 typedef struct xcb_get_modifier_mapping_reply_t {
   4386     uint8_t  response_type; /**<  */
   4387     uint8_t  keycodes_per_modifier; /**<  */
   4388     uint16_t sequence; /**<  */
   4389     uint32_t length; /**<  */
   4390     uint8_t  pad0[24]; /**<  */
   4391 } xcb_get_modifier_mapping_reply_t;
   4392 
   4393 /** Opcode for xcb_no_operation. */
   4394 #define XCB_NO_OPERATION 127
   4395 
   4396 /**
   4397  * @brief xcb_no_operation_request_t
   4398  **/
   4399 typedef struct xcb_no_operation_request_t {
   4400     uint8_t  major_opcode; /**<  */
   4401     uint8_t  pad0; /**<  */
   4402     uint16_t length; /**<  */
   4403 } xcb_no_operation_request_t;
   4404 
   4405 /**
   4406  * Get the next element of the iterator
   4407  * @param i Pointer to a xcb_char2b_iterator_t
   4408  *
   4409  * Get the next element in the iterator. The member rem is
   4410  * decreased by one. The member data points to the next
   4411  * element. The member index is increased by sizeof(xcb_char2b_t)
   4412  */
   4413 
   4414 /*****************************************************************************
   4415  **
   4416  ** void xcb_char2b_next
   4417  **
   4418  ** @param xcb_char2b_iterator_t *i
   4419  ** @returns void
   4420  **
   4421  *****************************************************************************/
   4422 
   4423 void
   4424 xcb_char2b_next (xcb_char2b_iterator_t *i  /**< */);
   4425 
   4426 /**
   4427  * Return the iterator pointing to the last element
   4428  * @param i An xcb_char2b_iterator_t
   4429  * @return  The iterator pointing to the last element
   4430  *
   4431  * Set the current element in the iterator to the last element.
   4432  * The member rem is set to 0. The member data points to the
   4433  * last element.
   4434  */
   4435 
   4436 /*****************************************************************************
   4437  **
   4438  ** xcb_generic_iterator_t xcb_char2b_end
   4439  **
   4440  ** @param xcb_char2b_iterator_t i
   4441  ** @returns xcb_generic_iterator_t
   4442  **
   4443  *****************************************************************************/
   4444 
   4445 xcb_generic_iterator_t
   4446 xcb_char2b_end (xcb_char2b_iterator_t i  /**< */);
   4447 
   4448 /**
   4449  * Get the next element of the iterator
   4450  * @param i Pointer to a xcb_window_iterator_t
   4451  *
   4452  * Get the next element in the iterator. The member rem is
   4453  * decreased by one. The member data points to the next
   4454  * element. The member index is increased by sizeof(xcb_window_t)
   4455  */
   4456 
   4457 /*****************************************************************************
   4458  **
   4459  ** void xcb_window_next
   4460  **
   4461  ** @param xcb_window_iterator_t *i
   4462  ** @returns void
   4463  **
   4464  *****************************************************************************/
   4465 
   4466 void
   4467 xcb_window_next (xcb_window_iterator_t *i  /**< */);
   4468 
   4469 /**
   4470  * Return the iterator pointing to the last element
   4471  * @param i An xcb_window_iterator_t
   4472  * @return  The iterator pointing to the last element
   4473  *
   4474  * Set the current element in the iterator to the last element.
   4475  * The member rem is set to 0. The member data points to the
   4476  * last element.
   4477  */
   4478 
   4479 /*****************************************************************************
   4480  **
   4481  ** xcb_generic_iterator_t xcb_window_end
   4482  **
   4483  ** @param xcb_window_iterator_t i
   4484  ** @returns xcb_generic_iterator_t
   4485  **
   4486  *****************************************************************************/
   4487 
   4488 xcb_generic_iterator_t
   4489 xcb_window_end (xcb_window_iterator_t i  /**< */);
   4490 
   4491 /**
   4492  * Get the next element of the iterator
   4493  * @param i Pointer to a xcb_pixmap_iterator_t
   4494  *
   4495  * Get the next element in the iterator. The member rem is
   4496  * decreased by one. The member data points to the next
   4497  * element. The member index is increased by sizeof(xcb_pixmap_t)
   4498  */
   4499 
   4500 /*****************************************************************************
   4501  **
   4502  ** void xcb_pixmap_next
   4503  **
   4504  ** @param xcb_pixmap_iterator_t *i
   4505  ** @returns void
   4506  **
   4507  *****************************************************************************/
   4508 
   4509 void
   4510 xcb_pixmap_next (xcb_pixmap_iterator_t *i  /**< */);
   4511 
   4512 /**
   4513  * Return the iterator pointing to the last element
   4514  * @param i An xcb_pixmap_iterator_t
   4515  * @return  The iterator pointing to the last element
   4516  *
   4517  * Set the current element in the iterator to the last element.
   4518  * The member rem is set to 0. The member data points to the
   4519  * last element.
   4520  */
   4521 
   4522 /*****************************************************************************
   4523  **
   4524  ** xcb_generic_iterator_t xcb_pixmap_end
   4525  **
   4526  ** @param xcb_pixmap_iterator_t i
   4527  ** @returns xcb_generic_iterator_t
   4528  **
   4529  *****************************************************************************/
   4530 
   4531 xcb_generic_iterator_t
   4532 xcb_pixmap_end (xcb_pixmap_iterator_t i  /**< */);
   4533 
   4534 /**
   4535  * Get the next element of the iterator
   4536  * @param i Pointer to a xcb_cursor_iterator_t
   4537  *
   4538  * Get the next element in the iterator. The member rem is
   4539  * decreased by one. The member data points to the next
   4540  * element. The member index is increased by sizeof(xcb_cursor_t)
   4541  */
   4542 
   4543 /*****************************************************************************
   4544  **
   4545  ** void xcb_cursor_next
   4546  **
   4547  ** @param xcb_cursor_iterator_t *i
   4548  ** @returns void
   4549  **
   4550  *****************************************************************************/
   4551 
   4552 void
   4553 xcb_cursor_next (xcb_cursor_iterator_t *i  /**< */);
   4554 
   4555 /**
   4556  * Return the iterator pointing to the last element
   4557  * @param i An xcb_cursor_iterator_t
   4558  * @return  The iterator pointing to the last element
   4559  *
   4560  * Set the current element in the iterator to the last element.
   4561  * The member rem is set to 0. The member data points to the
   4562  * last element.
   4563  */
   4564 
   4565 /*****************************************************************************
   4566  **
   4567  ** xcb_generic_iterator_t xcb_cursor_end
   4568  **
   4569  ** @param xcb_cursor_iterator_t i
   4570  ** @returns xcb_generic_iterator_t
   4571  **
   4572  *****************************************************************************/
   4573 
   4574 xcb_generic_iterator_t
   4575 xcb_cursor_end (xcb_cursor_iterator_t i  /**< */);
   4576 
   4577 /**
   4578  * Get the next element of the iterator
   4579  * @param i Pointer to a xcb_font_iterator_t
   4580  *
   4581  * Get the next element in the iterator. The member rem is
   4582  * decreased by one. The member data points to the next
   4583  * element. The member index is increased by sizeof(xcb_font_t)
   4584  */
   4585 
   4586 /*****************************************************************************
   4587  **
   4588  ** void xcb_font_next
   4589  **
   4590  ** @param xcb_font_iterator_t *i
   4591  ** @returns void
   4592  **
   4593  *****************************************************************************/
   4594 
   4595 void
   4596 xcb_font_next (xcb_font_iterator_t *i  /**< */);
   4597 
   4598 /**
   4599  * Return the iterator pointing to the last element
   4600  * @param i An xcb_font_iterator_t
   4601  * @return  The iterator pointing to the last element
   4602  *
   4603  * Set the current element in the iterator to the last element.
   4604  * The member rem is set to 0. The member data points to the
   4605  * last element.
   4606  */
   4607 
   4608 /*****************************************************************************
   4609  **
   4610  ** xcb_generic_iterator_t xcb_font_end
   4611  **
   4612  ** @param xcb_font_iterator_t i
   4613  ** @returns xcb_generic_iterator_t
   4614  **
   4615  *****************************************************************************/
   4616 
   4617 xcb_generic_iterator_t
   4618 xcb_font_end (xcb_font_iterator_t i  /**< */);
   4619 
   4620 /**
   4621  * Get the next element of the iterator
   4622  * @param i Pointer to a xcb_gcontext_iterator_t
   4623  *
   4624  * Get the next element in the iterator. The member rem is
   4625  * decreased by one. The member data points to the next
   4626  * element. The member index is increased by sizeof(xcb_gcontext_t)
   4627  */
   4628 
   4629 /*****************************************************************************
   4630  **
   4631  ** void xcb_gcontext_next
   4632  **
   4633  ** @param xcb_gcontext_iterator_t *i
   4634  ** @returns void
   4635  **
   4636  *****************************************************************************/
   4637 
   4638 void
   4639 xcb_gcontext_next (xcb_gcontext_iterator_t *i  /**< */);
   4640 
   4641 /**
   4642  * Return the iterator pointing to the last element
   4643  * @param i An xcb_gcontext_iterator_t
   4644  * @return  The iterator pointing to the last element
   4645  *
   4646  * Set the current element in the iterator to the last element.
   4647  * The member rem is set to 0. The member data points to the
   4648  * last element.
   4649  */
   4650 
   4651 /*****************************************************************************
   4652  **
   4653  ** xcb_generic_iterator_t xcb_gcontext_end
   4654  **
   4655  ** @param xcb_gcontext_iterator_t i
   4656  ** @returns xcb_generic_iterator_t
   4657  **
   4658  *****************************************************************************/
   4659 
   4660 xcb_generic_iterator_t
   4661 xcb_gcontext_end (xcb_gcontext_iterator_t i  /**< */);
   4662 
   4663 /**
   4664  * Get the next element of the iterator
   4665  * @param i Pointer to a xcb_colormap_iterator_t
   4666  *
   4667  * Get the next element in the iterator. The member rem is
   4668  * decreased by one. The member data points to the next
   4669  * element. The member index is increased by sizeof(xcb_colormap_t)
   4670  */
   4671 
   4672 /*****************************************************************************
   4673  **
   4674  ** void xcb_colormap_next
   4675  **
   4676  ** @param xcb_colormap_iterator_t *i
   4677  ** @returns void
   4678  **
   4679  *****************************************************************************/
   4680 
   4681 void
   4682 xcb_colormap_next (xcb_colormap_iterator_t *i  /**< */);
   4683 
   4684 /**
   4685  * Return the iterator pointing to the last element
   4686  * @param i An xcb_colormap_iterator_t
   4687  * @return  The iterator pointing to the last element
   4688  *
   4689  * Set the current element in the iterator to the last element.
   4690  * The member rem is set to 0. The member data points to the
   4691  * last element.
   4692  */
   4693 
   4694 /*****************************************************************************
   4695  **
   4696  ** xcb_generic_iterator_t xcb_colormap_end
   4697  **
   4698  ** @param xcb_colormap_iterator_t i
   4699  ** @returns xcb_generic_iterator_t
   4700  **
   4701  *****************************************************************************/
   4702 
   4703 xcb_generic_iterator_t
   4704 xcb_colormap_end (xcb_colormap_iterator_t i  /**< */);
   4705 
   4706 /**
   4707  * Get the next element of the iterator
   4708  * @param i Pointer to a xcb_atom_iterator_t
   4709  *
   4710  * Get the next element in the iterator. The member rem is
   4711  * decreased by one. The member data points to the next
   4712  * element. The member index is increased by sizeof(xcb_atom_t)
   4713  */
   4714 
   4715 /*****************************************************************************
   4716  **
   4717  ** void xcb_atom_next
   4718  **
   4719  ** @param xcb_atom_iterator_t *i
   4720  ** @returns void
   4721  **
   4722  *****************************************************************************/
   4723 
   4724 void
   4725 xcb_atom_next (xcb_atom_iterator_t *i  /**< */);
   4726 
   4727 /**
   4728  * Return the iterator pointing to the last element
   4729  * @param i An xcb_atom_iterator_t
   4730  * @return  The iterator pointing to the last element
   4731  *
   4732  * Set the current element in the iterator to the last element.
   4733  * The member rem is set to 0. The member data points to the
   4734  * last element.
   4735  */
   4736 
   4737 /*****************************************************************************
   4738  **
   4739  ** xcb_generic_iterator_t xcb_atom_end
   4740  **
   4741  ** @param xcb_atom_iterator_t i
   4742  ** @returns xcb_generic_iterator_t
   4743  **
   4744  *****************************************************************************/
   4745 
   4746 xcb_generic_iterator_t
   4747 xcb_atom_end (xcb_atom_iterator_t i  /**< */);
   4748 
   4749 /**
   4750  * Get the next element of the iterator
   4751  * @param i Pointer to a xcb_drawable_iterator_t
   4752  *
   4753  * Get the next element in the iterator. The member rem is
   4754  * decreased by one. The member data points to the next
   4755  * element. The member index is increased by sizeof(xcb_drawable_t)
   4756  */
   4757 
   4758 /*****************************************************************************
   4759  **
   4760  ** void xcb_drawable_next
   4761  **
   4762  ** @param xcb_drawable_iterator_t *i
   4763  ** @returns void
   4764  **
   4765  *****************************************************************************/
   4766 
   4767 void
   4768 xcb_drawable_next (xcb_drawable_iterator_t *i  /**< */);
   4769 
   4770 /**
   4771  * Return the iterator pointing to the last element
   4772  * @param i An xcb_drawable_iterator_t
   4773  * @return  The iterator pointing to the last element
   4774  *
   4775  * Set the current element in the iterator to the last element.
   4776  * The member rem is set to 0. The member data points to the
   4777  * last element.
   4778  */
   4779 
   4780 /*****************************************************************************
   4781  **
   4782  ** xcb_generic_iterator_t xcb_drawable_end
   4783  **
   4784  ** @param xcb_drawable_iterator_t i
   4785  ** @returns xcb_generic_iterator_t
   4786  **
   4787  *****************************************************************************/
   4788 
   4789 xcb_generic_iterator_t
   4790 xcb_drawable_end (xcb_drawable_iterator_t i  /**< */);
   4791 
   4792 /**
   4793  * Get the next element of the iterator
   4794  * @param i Pointer to a xcb_fontable_iterator_t
   4795  *
   4796  * Get the next element in the iterator. The member rem is
   4797  * decreased by one. The member data points to the next
   4798  * element. The member index is increased by sizeof(xcb_fontable_t)
   4799  */
   4800 
   4801 /*****************************************************************************
   4802  **
   4803  ** void xcb_fontable_next
   4804  **
   4805  ** @param xcb_fontable_iterator_t *i
   4806  ** @returns void
   4807  **
   4808  *****************************************************************************/
   4809 
   4810 void
   4811 xcb_fontable_next (xcb_fontable_iterator_t *i  /**< */);
   4812 
   4813 /**
   4814  * Return the iterator pointing to the last element
   4815  * @param i An xcb_fontable_iterator_t
   4816  * @return  The iterator pointing to the last element
   4817  *
   4818  * Set the current element in the iterator to the last element.
   4819  * The member rem is set to 0. The member data points to the
   4820  * last element.
   4821  */
   4822 
   4823 /*****************************************************************************
   4824  **
   4825  ** xcb_generic_iterator_t xcb_fontable_end
   4826  **
   4827  ** @param xcb_fontable_iterator_t i
   4828  ** @returns xcb_generic_iterator_t
   4829  **
   4830  *****************************************************************************/
   4831 
   4832 xcb_generic_iterator_t
   4833 xcb_fontable_end (xcb_fontable_iterator_t i  /**< */);
   4834 
   4835 /**
   4836  * Get the next element of the iterator
   4837  * @param i Pointer to a xcb_visualid_iterator_t
   4838  *
   4839  * Get the next element in the iterator. The member rem is
   4840  * decreased by one. The member data points to the next
   4841  * element. The member index is increased by sizeof(xcb_visualid_t)
   4842  */
   4843 
   4844 /*****************************************************************************
   4845  **
   4846  ** void xcb_visualid_next
   4847  **
   4848  ** @param xcb_visualid_iterator_t *i
   4849  ** @returns void
   4850  **
   4851  *****************************************************************************/
   4852 
   4853 void
   4854 xcb_visualid_next (xcb_visualid_iterator_t *i  /**< */);
   4855 
   4856 /**
   4857  * Return the iterator pointing to the last element
   4858  * @param i An xcb_visualid_iterator_t
   4859  * @return  The iterator pointing to the last element
   4860  *
   4861  * Set the current element in the iterator to the last element.
   4862  * The member rem is set to 0. The member data points to the
   4863  * last element.
   4864  */
   4865 
   4866 /*****************************************************************************
   4867  **
   4868  ** xcb_generic_iterator_t xcb_visualid_end
   4869  **
   4870  ** @param xcb_visualid_iterator_t i
   4871  ** @returns xcb_generic_iterator_t
   4872  **
   4873  *****************************************************************************/
   4874 
   4875 xcb_generic_iterator_t
   4876 xcb_visualid_end (xcb_visualid_iterator_t i  /**< */);
   4877 
   4878 /**
   4879  * Get the next element of the iterator
   4880  * @param i Pointer to a xcb_timestamp_iterator_t
   4881  *
   4882  * Get the next element in the iterator. The member rem is
   4883  * decreased by one. The member data points to the next
   4884  * element. The member index is increased by sizeof(xcb_timestamp_t)
   4885  */
   4886 
   4887 /*****************************************************************************
   4888  **
   4889  ** void xcb_timestamp_next
   4890  **
   4891  ** @param xcb_timestamp_iterator_t *i
   4892  ** @returns void
   4893  **
   4894  *****************************************************************************/
   4895 
   4896 void
   4897 xcb_timestamp_next (xcb_timestamp_iterator_t *i  /**< */);
   4898 
   4899 /**
   4900  * Return the iterator pointing to the last element
   4901  * @param i An xcb_timestamp_iterator_t
   4902  * @return  The iterator pointing to the last element
   4903  *
   4904  * Set the current element in the iterator to the last element.
   4905  * The member rem is set to 0. The member data points to the
   4906  * last element.
   4907  */
   4908 
   4909 /*****************************************************************************
   4910  **
   4911  ** xcb_generic_iterator_t xcb_timestamp_end
   4912  **
   4913  ** @param xcb_timestamp_iterator_t i
   4914  ** @returns xcb_generic_iterator_t
   4915  **
   4916  *****************************************************************************/
   4917 
   4918 xcb_generic_iterator_t
   4919 xcb_timestamp_end (xcb_timestamp_iterator_t i  /**< */);
   4920 
   4921 /**
   4922  * Get the next element of the iterator
   4923  * @param i Pointer to a xcb_keysym_iterator_t
   4924  *
   4925  * Get the next element in the iterator. The member rem is
   4926  * decreased by one. The member data points to the next
   4927  * element. The member index is increased by sizeof(xcb_keysym_t)
   4928  */
   4929 
   4930 /*****************************************************************************
   4931  **
   4932  ** void xcb_keysym_next
   4933  **
   4934  ** @param xcb_keysym_iterator_t *i
   4935  ** @returns void
   4936  **
   4937  *****************************************************************************/
   4938 
   4939 void
   4940 xcb_keysym_next (xcb_keysym_iterator_t *i  /**< */);
   4941 
   4942 /**
   4943  * Return the iterator pointing to the last element
   4944  * @param i An xcb_keysym_iterator_t
   4945  * @return  The iterator pointing to the last element
   4946  *
   4947  * Set the current element in the iterator to the last element.
   4948  * The member rem is set to 0. The member data points to the
   4949  * last element.
   4950  */
   4951 
   4952 /*****************************************************************************
   4953  **
   4954  ** xcb_generic_iterator_t xcb_keysym_end
   4955  **
   4956  ** @param xcb_keysym_iterator_t i
   4957  ** @returns xcb_generic_iterator_t
   4958  **
   4959  *****************************************************************************/
   4960 
   4961 xcb_generic_iterator_t
   4962 xcb_keysym_end (xcb_keysym_iterator_t i  /**< */);
   4963 
   4964 /**
   4965  * Get the next element of the iterator
   4966  * @param i Pointer to a xcb_keycode_iterator_t
   4967  *
   4968  * Get the next element in the iterator. The member rem is
   4969  * decreased by one. The member data points to the next
   4970  * element. The member index is increased by sizeof(xcb_keycode_t)
   4971  */
   4972 
   4973 /*****************************************************************************
   4974  **
   4975  ** void xcb_keycode_next
   4976  **
   4977  ** @param xcb_keycode_iterator_t *i
   4978  ** @returns void
   4979  **
   4980  *****************************************************************************/
   4981 
   4982 void
   4983 xcb_keycode_next (xcb_keycode_iterator_t *i  /**< */);
   4984 
   4985 /**
   4986  * Return the iterator pointing to the last element
   4987  * @param i An xcb_keycode_iterator_t
   4988  * @return  The iterator pointing to the last element
   4989  *
   4990  * Set the current element in the iterator to the last element.
   4991  * The member rem is set to 0. The member data points to the
   4992  * last element.
   4993  */
   4994 
   4995 /*****************************************************************************
   4996  **
   4997  ** xcb_generic_iterator_t xcb_keycode_end
   4998  **
   4999  ** @param xcb_keycode_iterator_t i
   5000  ** @returns xcb_generic_iterator_t
   5001  **
   5002  *****************************************************************************/
   5003 
   5004 xcb_generic_iterator_t
   5005 xcb_keycode_end (xcb_keycode_iterator_t i  /**< */);
   5006 
   5007 /**
   5008  * Get the next element of the iterator
   5009  * @param i Pointer to a xcb_button_iterator_t
   5010  *
   5011  * Get the next element in the iterator. The member rem is
   5012  * decreased by one. The member data points to the next
   5013  * element. The member index is increased by sizeof(xcb_button_t)
   5014  */
   5015 
   5016 /*****************************************************************************
   5017  **
   5018  ** void xcb_button_next
   5019  **
   5020  ** @param xcb_button_iterator_t *i
   5021  ** @returns void
   5022  **
   5023  *****************************************************************************/
   5024 
   5025 void
   5026 xcb_button_next (xcb_button_iterator_t *i  /**< */);
   5027 
   5028 /**
   5029  * Return the iterator pointing to the last element
   5030  * @param i An xcb_button_iterator_t
   5031  * @return  The iterator pointing to the last element
   5032  *
   5033  * Set the current element in the iterator to the last element.
   5034  * The member rem is set to 0. The member data points to the
   5035  * last element.
   5036  */
   5037 
   5038 /*****************************************************************************
   5039  **
   5040  ** xcb_generic_iterator_t xcb_button_end
   5041  **
   5042  ** @param xcb_button_iterator_t i
   5043  ** @returns xcb_generic_iterator_t
   5044  **
   5045  *****************************************************************************/
   5046 
   5047 xcb_generic_iterator_t
   5048 xcb_button_end (xcb_button_iterator_t i  /**< */);
   5049 
   5050 /**
   5051  * Get the next element of the iterator
   5052  * @param i Pointer to a xcb_point_iterator_t
   5053  *
   5054  * Get the next element in the iterator. The member rem is
   5055  * decreased by one. The member data points to the next
   5056  * element. The member index is increased by sizeof(xcb_point_t)
   5057  */
   5058 
   5059 /*****************************************************************************
   5060  **
   5061  ** void xcb_point_next
   5062  **
   5063  ** @param xcb_point_iterator_t *i
   5064  ** @returns void
   5065  **
   5066  *****************************************************************************/
   5067 
   5068 void
   5069 xcb_point_next (xcb_point_iterator_t *i  /**< */);
   5070 
   5071 /**
   5072  * Return the iterator pointing to the last element
   5073  * @param i An xcb_point_iterator_t
   5074  * @return  The iterator pointing to the last element
   5075  *
   5076  * Set the current element in the iterator to the last element.
   5077  * The member rem is set to 0. The member data points to the
   5078  * last element.
   5079  */
   5080 
   5081 /*****************************************************************************
   5082  **
   5083  ** xcb_generic_iterator_t xcb_point_end
   5084  **
   5085  ** @param xcb_point_iterator_t i
   5086  ** @returns xcb_generic_iterator_t
   5087  **
   5088  *****************************************************************************/
   5089 
   5090 xcb_generic_iterator_t
   5091 xcb_point_end (xcb_point_iterator_t i  /**< */);
   5092 
   5093 /**
   5094  * Get the next element of the iterator
   5095  * @param i Pointer to a xcb_rectangle_iterator_t
   5096  *
   5097  * Get the next element in the iterator. The member rem is
   5098  * decreased by one. The member data points to the next
   5099  * element. The member index is increased by sizeof(xcb_rectangle_t)
   5100  */
   5101 
   5102 /*****************************************************************************
   5103  **
   5104  ** void xcb_rectangle_next
   5105  **
   5106  ** @param xcb_rectangle_iterator_t *i
   5107  ** @returns void
   5108  **
   5109  *****************************************************************************/
   5110 
   5111 void
   5112 xcb_rectangle_next (xcb_rectangle_iterator_t *i  /**< */);
   5113 
   5114 /**
   5115  * Return the iterator pointing to the last element
   5116  * @param i An xcb_rectangle_iterator_t
   5117  * @return  The iterator pointing to the last element
   5118  *
   5119  * Set the current element in the iterator to the last element.
   5120  * The member rem is set to 0. The member data points to the
   5121  * last element.
   5122  */
   5123 
   5124 /*****************************************************************************
   5125  **
   5126  ** xcb_generic_iterator_t xcb_rectangle_end
   5127  **
   5128  ** @param xcb_rectangle_iterator_t i
   5129  ** @returns xcb_generic_iterator_t
   5130  **
   5131  *****************************************************************************/
   5132 
   5133 xcb_generic_iterator_t
   5134 xcb_rectangle_end (xcb_rectangle_iterator_t i  /**< */);
   5135 
   5136 /**
   5137  * Get the next element of the iterator
   5138  * @param i Pointer to a xcb_arc_iterator_t
   5139  *
   5140  * Get the next element in the iterator. The member rem is
   5141  * decreased by one. The member data points to the next
   5142  * element. The member index is increased by sizeof(xcb_arc_t)
   5143  */
   5144 
   5145 /*****************************************************************************
   5146  **
   5147  ** void xcb_arc_next
   5148  **
   5149  ** @param xcb_arc_iterator_t *i
   5150  ** @returns void
   5151  **
   5152  *****************************************************************************/
   5153 
   5154 void
   5155 xcb_arc_next (xcb_arc_iterator_t *i  /**< */);
   5156 
   5157 /**
   5158  * Return the iterator pointing to the last element
   5159  * @param i An xcb_arc_iterator_t
   5160  * @return  The iterator pointing to the last element
   5161  *
   5162  * Set the current element in the iterator to the last element.
   5163  * The member rem is set to 0. The member data points to the
   5164  * last element.
   5165  */
   5166 
   5167 /*****************************************************************************
   5168  **
   5169  ** xcb_generic_iterator_t xcb_arc_end
   5170  **
   5171  ** @param xcb_arc_iterator_t i
   5172  ** @returns xcb_generic_iterator_t
   5173  **
   5174  *****************************************************************************/
   5175 
   5176 xcb_generic_iterator_t
   5177 xcb_arc_end (xcb_arc_iterator_t i  /**< */);
   5178 
   5179 /**
   5180  * Get the next element of the iterator
   5181  * @param i Pointer to a xcb_format_iterator_t
   5182  *
   5183  * Get the next element in the iterator. The member rem is
   5184  * decreased by one. The member data points to the next
   5185  * element. The member index is increased by sizeof(xcb_format_t)
   5186  */
   5187 
   5188 /*****************************************************************************
   5189  **
   5190  ** void xcb_format_next
   5191  **
   5192  ** @param xcb_format_iterator_t *i
   5193  ** @returns void
   5194  **
   5195  *****************************************************************************/
   5196 
   5197 void
   5198 xcb_format_next (xcb_format_iterator_t *i  /**< */);
   5199 
   5200 /**
   5201  * Return the iterator pointing to the last element
   5202  * @param i An xcb_format_iterator_t
   5203  * @return  The iterator pointing to the last element
   5204  *
   5205  * Set the current element in the iterator to the last element.
   5206  * The member rem is set to 0. The member data points to the
   5207  * last element.
   5208  */
   5209 
   5210 /*****************************************************************************
   5211  **
   5212  ** xcb_generic_iterator_t xcb_format_end
   5213  **
   5214  ** @param xcb_format_iterator_t i
   5215  ** @returns xcb_generic_iterator_t
   5216  **
   5217  *****************************************************************************/
   5218 
   5219 xcb_generic_iterator_t
   5220 xcb_format_end (xcb_format_iterator_t i  /**< */);
   5221 
   5222 /**
   5223  * Get the next element of the iterator
   5224  * @param i Pointer to a xcb_visualtype_iterator_t
   5225  *
   5226  * Get the next element in the iterator. The member rem is
   5227  * decreased by one. The member data points to the next
   5228  * element. The member index is increased by sizeof(xcb_visualtype_t)
   5229  */
   5230 
   5231 /*****************************************************************************
   5232  **
   5233  ** void xcb_visualtype_next
   5234  **
   5235  ** @param xcb_visualtype_iterator_t *i
   5236  ** @returns void
   5237  **
   5238  *****************************************************************************/
   5239 
   5240 void
   5241 xcb_visualtype_next (xcb_visualtype_iterator_t *i  /**< */);
   5242 
   5243 /**
   5244  * Return the iterator pointing to the last element
   5245  * @param i An xcb_visualtype_iterator_t
   5246  * @return  The iterator pointing to the last element
   5247  *
   5248  * Set the current element in the iterator to the last element.
   5249  * The member rem is set to 0. The member data points to the
   5250  * last element.
   5251  */
   5252 
   5253 /*****************************************************************************
   5254  **
   5255  ** xcb_generic_iterator_t xcb_visualtype_end
   5256  **
   5257  ** @param xcb_visualtype_iterator_t i
   5258  ** @returns xcb_generic_iterator_t
   5259  **
   5260  *****************************************************************************/
   5261 
   5262 xcb_generic_iterator_t
   5263 xcb_visualtype_end (xcb_visualtype_iterator_t i  /**< */);
   5264 
   5265 int
   5266 xcb_depth_sizeof (const void  *_buffer  /**< */);
   5267 
   5268 
   5269 /*****************************************************************************
   5270  **
   5271  ** xcb_visualtype_t * xcb_depth_visuals
   5272  **
   5273  ** @param const xcb_depth_t *R
   5274  ** @returns xcb_visualtype_t *
   5275  **
   5276  *****************************************************************************/
   5277 
   5278 xcb_visualtype_t *
   5279 xcb_depth_visuals (const xcb_depth_t *R  /**< */);
   5280 
   5281 
   5282 /*****************************************************************************
   5283  **
   5284  ** int xcb_depth_visuals_length
   5285  **
   5286  ** @param const xcb_depth_t *R
   5287  ** @returns int
   5288  **
   5289  *****************************************************************************/
   5290 
   5291 int
   5292 xcb_depth_visuals_length (const xcb_depth_t *R  /**< */);
   5293 
   5294 
   5295 /*****************************************************************************
   5296  **
   5297  ** xcb_visualtype_iterator_t xcb_depth_visuals_iterator
   5298  **
   5299  ** @param const xcb_depth_t *R
   5300  ** @returns xcb_visualtype_iterator_t
   5301  **
   5302  *****************************************************************************/
   5303 
   5304 xcb_visualtype_iterator_t
   5305 xcb_depth_visuals_iterator (const xcb_depth_t *R  /**< */);
   5306 
   5307 /**
   5308  * Get the next element of the iterator
   5309  * @param i Pointer to a xcb_depth_iterator_t
   5310  *
   5311  * Get the next element in the iterator. The member rem is
   5312  * decreased by one. The member data points to the next
   5313  * element. The member index is increased by sizeof(xcb_depth_t)
   5314  */
   5315 
   5316 /*****************************************************************************
   5317  **
   5318  ** void xcb_depth_next
   5319  **
   5320  ** @param xcb_depth_iterator_t *i
   5321  ** @returns void
   5322  **
   5323  *****************************************************************************/
   5324 
   5325 void
   5326 xcb_depth_next (xcb_depth_iterator_t *i  /**< */);
   5327 
   5328 /**
   5329  * Return the iterator pointing to the last element
   5330  * @param i An xcb_depth_iterator_t
   5331  * @return  The iterator pointing to the last element
   5332  *
   5333  * Set the current element in the iterator to the last element.
   5334  * The member rem is set to 0. The member data points to the
   5335  * last element.
   5336  */
   5337 
   5338 /*****************************************************************************
   5339  **
   5340  ** xcb_generic_iterator_t xcb_depth_end
   5341  **
   5342  ** @param xcb_depth_iterator_t i
   5343  ** @returns xcb_generic_iterator_t
   5344  **
   5345  *****************************************************************************/
   5346 
   5347 xcb_generic_iterator_t
   5348 xcb_depth_end (xcb_depth_iterator_t i  /**< */);
   5349 
   5350 int
   5351 xcb_screen_sizeof (const void  *_buffer  /**< */);
   5352 
   5353 
   5354 /*****************************************************************************
   5355  **
   5356  ** int xcb_screen_allowed_depths_length
   5357  **
   5358  ** @param const xcb_screen_t *R
   5359  ** @returns int
   5360  **
   5361  *****************************************************************************/
   5362 
   5363 int
   5364 xcb_screen_allowed_depths_length (const xcb_screen_t *R  /**< */);
   5365 
   5366 
   5367 /*****************************************************************************
   5368  **
   5369  ** xcb_depth_iterator_t xcb_screen_allowed_depths_iterator
   5370  **
   5371  ** @param const xcb_screen_t *R
   5372  ** @returns xcb_depth_iterator_t
   5373  **
   5374  *****************************************************************************/
   5375 
   5376 xcb_depth_iterator_t
   5377 xcb_screen_allowed_depths_iterator (const xcb_screen_t *R  /**< */);
   5378 
   5379 /**
   5380  * Get the next element of the iterator
   5381  * @param i Pointer to a xcb_screen_iterator_t
   5382  *
   5383  * Get the next element in the iterator. The member rem is
   5384  * decreased by one. The member data points to the next
   5385  * element. The member index is increased by sizeof(xcb_screen_t)
   5386  */
   5387 
   5388 /*****************************************************************************
   5389  **
   5390  ** void xcb_screen_next
   5391  **
   5392  ** @param xcb_screen_iterator_t *i
   5393  ** @returns void
   5394  **
   5395  *****************************************************************************/
   5396 
   5397 void
   5398 xcb_screen_next (xcb_screen_iterator_t *i  /**< */);
   5399 
   5400 /**
   5401  * Return the iterator pointing to the last element
   5402  * @param i An xcb_screen_iterator_t
   5403  * @return  The iterator pointing to the last element
   5404  *
   5405  * Set the current element in the iterator to the last element.
   5406  * The member rem is set to 0. The member data points to the
   5407  * last element.
   5408  */
   5409 
   5410 /*****************************************************************************
   5411  **
   5412  ** xcb_generic_iterator_t xcb_screen_end
   5413  **
   5414  ** @param xcb_screen_iterator_t i
   5415  ** @returns xcb_generic_iterator_t
   5416  **
   5417  *****************************************************************************/
   5418 
   5419 xcb_generic_iterator_t
   5420 xcb_screen_end (xcb_screen_iterator_t i  /**< */);
   5421 
   5422 int
   5423 xcb_setup_request_sizeof (const void  *_buffer  /**< */);
   5424 
   5425 
   5426 /*****************************************************************************
   5427  **
   5428  ** char * xcb_setup_request_authorization_protocol_name
   5429  **
   5430  ** @param const xcb_setup_request_t *R
   5431  ** @returns char *
   5432  **
   5433  *****************************************************************************/
   5434 
   5435 char *
   5436 xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R  /**< */);
   5437 
   5438 
   5439 /*****************************************************************************
   5440  **
   5441  ** int xcb_setup_request_authorization_protocol_name_length
   5442  **
   5443  ** @param const xcb_setup_request_t *R
   5444  ** @returns int
   5445  **
   5446  *****************************************************************************/
   5447 
   5448 int
   5449 xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R  /**< */);
   5450 
   5451 
   5452 /*****************************************************************************
   5453  **
   5454  ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_name_end
   5455  **
   5456  ** @param const xcb_setup_request_t *R
   5457  ** @returns xcb_generic_iterator_t
   5458  **
   5459  *****************************************************************************/
   5460 
   5461 xcb_generic_iterator_t
   5462 xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R  /**< */);
   5463 
   5464 
   5465 /*****************************************************************************
   5466  **
   5467  ** char * xcb_setup_request_authorization_protocol_data
   5468  **
   5469  ** @param const xcb_setup_request_t *R
   5470  ** @returns char *
   5471  **
   5472  *****************************************************************************/
   5473 
   5474 char *
   5475 xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R  /**< */);
   5476 
   5477 
   5478 /*****************************************************************************
   5479  **
   5480  ** int xcb_setup_request_authorization_protocol_data_length
   5481  **
   5482  ** @param const xcb_setup_request_t *R
   5483  ** @returns int
   5484  **
   5485  *****************************************************************************/
   5486 
   5487 int
   5488 xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R  /**< */);
   5489 
   5490 
   5491 /*****************************************************************************
   5492  **
   5493  ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_data_end
   5494  **
   5495  ** @param const xcb_setup_request_t *R
   5496  ** @returns xcb_generic_iterator_t
   5497  **
   5498  *****************************************************************************/
   5499 
   5500 xcb_generic_iterator_t
   5501 xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R  /**< */);
   5502 
   5503 /**
   5504  * Get the next element of the iterator
   5505  * @param i Pointer to a xcb_setup_request_iterator_t
   5506  *
   5507  * Get the next element in the iterator. The member rem is
   5508  * decreased by one. The member data points to the next
   5509  * element. The member index is increased by sizeof(xcb_setup_request_t)
   5510  */
   5511 
   5512 /*****************************************************************************
   5513  **
   5514  ** void xcb_setup_request_next
   5515  **
   5516  ** @param xcb_setup_request_iterator_t *i
   5517  ** @returns void
   5518  **
   5519  *****************************************************************************/
   5520 
   5521 void
   5522 xcb_setup_request_next (xcb_setup_request_iterator_t *i  /**< */);
   5523 
   5524 /**
   5525  * Return the iterator pointing to the last element
   5526  * @param i An xcb_setup_request_iterator_t
   5527  * @return  The iterator pointing to the last element
   5528  *
   5529  * Set the current element in the iterator to the last element.
   5530  * The member rem is set to 0. The member data points to the
   5531  * last element.
   5532  */
   5533 
   5534 /*****************************************************************************
   5535  **
   5536  ** xcb_generic_iterator_t xcb_setup_request_end
   5537  **
   5538  ** @param xcb_setup_request_iterator_t i
   5539  ** @returns xcb_generic_iterator_t
   5540  **
   5541  *****************************************************************************/
   5542 
   5543 xcb_generic_iterator_t
   5544 xcb_setup_request_end (xcb_setup_request_iterator_t i  /**< */);
   5545 
   5546 int
   5547 xcb_setup_failed_sizeof (const void  *_buffer  /**< */);
   5548 
   5549 
   5550 /*****************************************************************************
   5551  **
   5552  ** char * xcb_setup_failed_reason
   5553  **
   5554  ** @param const xcb_setup_failed_t *R
   5555  ** @returns char *
   5556  **
   5557  *****************************************************************************/
   5558 
   5559 char *
   5560 xcb_setup_failed_reason (const xcb_setup_failed_t *R  /**< */);
   5561 
   5562 
   5563 /*****************************************************************************
   5564  **
   5565  ** int xcb_setup_failed_reason_length
   5566  **
   5567  ** @param const xcb_setup_failed_t *R
   5568  ** @returns int
   5569  **
   5570  *****************************************************************************/
   5571 
   5572 int
   5573 xcb_setup_failed_reason_length (const xcb_setup_failed_t *R  /**< */);
   5574 
   5575 
   5576 /*****************************************************************************
   5577  **
   5578  ** xcb_generic_iterator_t xcb_setup_failed_reason_end
   5579  **
   5580  ** @param const xcb_setup_failed_t *R
   5581  ** @returns xcb_generic_iterator_t
   5582  **
   5583  *****************************************************************************/
   5584 
   5585 xcb_generic_iterator_t
   5586 xcb_setup_failed_reason_end (const xcb_setup_failed_t *R  /**< */);
   5587 
   5588 /**
   5589  * Get the next element of the iterator
   5590  * @param i Pointer to a xcb_setup_failed_iterator_t
   5591  *
   5592  * Get the next element in the iterator. The member rem is
   5593  * decreased by one. The member data points to the next
   5594  * element. The member index is increased by sizeof(xcb_setup_failed_t)
   5595  */
   5596 
   5597 /*****************************************************************************
   5598  **
   5599  ** void xcb_setup_failed_next
   5600  **
   5601  ** @param xcb_setup_failed_iterator_t *i
   5602  ** @returns void
   5603  **
   5604  *****************************************************************************/
   5605 
   5606 void
   5607 xcb_setup_failed_next (xcb_setup_failed_iterator_t *i  /**< */);
   5608 
   5609 /**
   5610  * Return the iterator pointing to the last element
   5611  * @param i An xcb_setup_failed_iterator_t
   5612  * @return  The iterator pointing to the last element
   5613  *
   5614  * Set the current element in the iterator to the last element.
   5615  * The member rem is set to 0. The member data points to the
   5616  * last element.
   5617  */
   5618 
   5619 /*****************************************************************************
   5620  **
   5621  ** xcb_generic_iterator_t xcb_setup_failed_end
   5622  **
   5623  ** @param xcb_setup_failed_iterator_t i
   5624  ** @returns xcb_generic_iterator_t
   5625  **
   5626  *****************************************************************************/
   5627 
   5628 xcb_generic_iterator_t
   5629 xcb_setup_failed_end (xcb_setup_failed_iterator_t i  /**< */);
   5630 
   5631 int
   5632 xcb_setup_authenticate_sizeof (const void  *_buffer  /**< */);
   5633 
   5634 
   5635 /*****************************************************************************
   5636  **
   5637  ** char * xcb_setup_authenticate_reason
   5638  **
   5639  ** @param const xcb_setup_authenticate_t *R
   5640  ** @returns char *
   5641  **
   5642  *****************************************************************************/
   5643 
   5644 char *
   5645 xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R  /**< */);
   5646 
   5647 
   5648 /*****************************************************************************
   5649  **
   5650  ** int xcb_setup_authenticate_reason_length
   5651  **
   5652  ** @param const xcb_setup_authenticate_t *R
   5653  ** @returns int
   5654  **
   5655  *****************************************************************************/
   5656 
   5657 int
   5658 xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R  /**< */);
   5659 
   5660 
   5661 /*****************************************************************************
   5662  **
   5663  ** xcb_generic_iterator_t xcb_setup_authenticate_reason_end
   5664  **
   5665  ** @param const xcb_setup_authenticate_t *R
   5666  ** @returns xcb_generic_iterator_t
   5667  **
   5668  *****************************************************************************/
   5669 
   5670 xcb_generic_iterator_t
   5671 xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R  /**< */);
   5672 
   5673 /**
   5674  * Get the next element of the iterator
   5675  * @param i Pointer to a xcb_setup_authenticate_iterator_t
   5676  *
   5677  * Get the next element in the iterator. The member rem is
   5678  * decreased by one. The member data points to the next
   5679  * element. The member index is increased by sizeof(xcb_setup_authenticate_t)
   5680  */
   5681 
   5682 /*****************************************************************************
   5683  **
   5684  ** void xcb_setup_authenticate_next
   5685  **
   5686  ** @param xcb_setup_authenticate_iterator_t *i
   5687  ** @returns void
   5688  **
   5689  *****************************************************************************/
   5690 
   5691 void
   5692 xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i  /**< */);
   5693 
   5694 /**
   5695  * Return the iterator pointing to the last element
   5696  * @param i An xcb_setup_authenticate_iterator_t
   5697  * @return  The iterator pointing to the last element
   5698  *
   5699  * Set the current element in the iterator to the last element.
   5700  * The member rem is set to 0. The member data points to the
   5701  * last element.
   5702  */
   5703 
   5704 /*****************************************************************************
   5705  **
   5706  ** xcb_generic_iterator_t xcb_setup_authenticate_end
   5707  **
   5708  ** @param xcb_setup_authenticate_iterator_t i
   5709  ** @returns xcb_generic_iterator_t
   5710  **
   5711  *****************************************************************************/
   5712 
   5713 xcb_generic_iterator_t
   5714 xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i  /**< */);
   5715 
   5716 int
   5717 xcb_setup_sizeof (const void  *_buffer  /**< */);
   5718 
   5719 
   5720 /*****************************************************************************
   5721  **
   5722  ** char * xcb_setup_vendor
   5723  **
   5724  ** @param const xcb_setup_t *R
   5725  ** @returns char *
   5726  **
   5727  *****************************************************************************/
   5728 
   5729 char *
   5730 xcb_setup_vendor (const xcb_setup_t *R  /**< */);
   5731 
   5732 
   5733 /*****************************************************************************
   5734  **
   5735  ** int xcb_setup_vendor_length
   5736  **
   5737  ** @param const xcb_setup_t *R
   5738  ** @returns int
   5739  **
   5740  *****************************************************************************/
   5741 
   5742 int
   5743 xcb_setup_vendor_length (const xcb_setup_t *R  /**< */);
   5744 
   5745 
   5746 /*****************************************************************************
   5747  **
   5748  ** xcb_generic_iterator_t xcb_setup_vendor_end
   5749  **
   5750  ** @param const xcb_setup_t *R
   5751  ** @returns xcb_generic_iterator_t
   5752  **
   5753  *****************************************************************************/
   5754 
   5755 xcb_generic_iterator_t
   5756 xcb_setup_vendor_end (const xcb_setup_t *R  /**< */);
   5757 
   5758 
   5759 /*****************************************************************************
   5760  **
   5761  ** xcb_format_t * xcb_setup_pixmap_formats
   5762  **
   5763  ** @param const xcb_setup_t *R
   5764  ** @returns xcb_format_t *
   5765  **
   5766  *****************************************************************************/
   5767 
   5768 xcb_format_t *
   5769 xcb_setup_pixmap_formats (const xcb_setup_t *R  /**< */);
   5770 
   5771 
   5772 /*****************************************************************************
   5773  **
   5774  ** int xcb_setup_pixmap_formats_length
   5775  **
   5776  ** @param const xcb_setup_t *R
   5777  ** @returns int
   5778  **
   5779  *****************************************************************************/
   5780 
   5781 int
   5782 xcb_setup_pixmap_formats_length (const xcb_setup_t *R  /**< */);
   5783 
   5784 
   5785 /*****************************************************************************
   5786  **
   5787  ** xcb_format_iterator_t xcb_setup_pixmap_formats_iterator
   5788  **
   5789  ** @param const xcb_setup_t *R
   5790  ** @returns xcb_format_iterator_t
   5791  **
   5792  *****************************************************************************/
   5793 
   5794 xcb_format_iterator_t
   5795 xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R  /**< */);
   5796 
   5797 
   5798 /*****************************************************************************
   5799  **
   5800  ** int xcb_setup_roots_length
   5801  **
   5802  ** @param const xcb_setup_t *R
   5803  ** @returns int
   5804  **
   5805  *****************************************************************************/
   5806 
   5807 int
   5808 xcb_setup_roots_length (const xcb_setup_t *R  /**< */);
   5809 
   5810 
   5811 /*****************************************************************************
   5812  **
   5813  ** xcb_screen_iterator_t xcb_setup_roots_iterator
   5814  **
   5815  ** @param const xcb_setup_t *R
   5816  ** @returns xcb_screen_iterator_t
   5817  **
   5818  *****************************************************************************/
   5819 
   5820 xcb_screen_iterator_t
   5821 xcb_setup_roots_iterator (const xcb_setup_t *R  /**< */);
   5822 
   5823 /**
   5824  * Get the next element of the iterator
   5825  * @param i Pointer to a xcb_setup_iterator_t
   5826  *
   5827  * Get the next element in the iterator. The member rem is
   5828  * decreased by one. The member data points to the next
   5829  * element. The member index is increased by sizeof(xcb_setup_t)
   5830  */
   5831 
   5832 /*****************************************************************************
   5833  **
   5834  ** void xcb_setup_next
   5835  **
   5836  ** @param xcb_setup_iterator_t *i
   5837  ** @returns void
   5838  **
   5839  *****************************************************************************/
   5840 
   5841 void
   5842 xcb_setup_next (xcb_setup_iterator_t *i  /**< */);
   5843 
   5844 /**
   5845  * Return the iterator pointing to the last element
   5846  * @param i An xcb_setup_iterator_t
   5847  * @return  The iterator pointing to the last element
   5848  *
   5849  * Set the current element in the iterator to the last element.
   5850  * The member rem is set to 0. The member data points to the
   5851  * last element.
   5852  */
   5853 
   5854 /*****************************************************************************
   5855  **
   5856  ** xcb_generic_iterator_t xcb_setup_end
   5857  **
   5858  ** @param xcb_setup_iterator_t i
   5859  ** @returns xcb_generic_iterator_t
   5860  **
   5861  *****************************************************************************/
   5862 
   5863 xcb_generic_iterator_t
   5864 xcb_setup_end (xcb_setup_iterator_t i  /**< */);
   5865 
   5866 /**
   5867  * Get the next element of the iterator
   5868  * @param i Pointer to a xcb_client_message_data_iterator_t
   5869  *
   5870  * Get the next element in the iterator. The member rem is
   5871  * decreased by one. The member data points to the next
   5872  * element. The member index is increased by sizeof(xcb_client_message_data_t)
   5873  */
   5874 
   5875 /*****************************************************************************
   5876  **
   5877  ** void xcb_client_message_data_next
   5878  **
   5879  ** @param xcb_client_message_data_iterator_t *i
   5880  ** @returns void
   5881  **
   5882  *****************************************************************************/
   5883 
   5884 void
   5885 xcb_client_message_data_next (xcb_client_message_data_iterator_t *i  /**< */);
   5886 
   5887 /**
   5888  * Return the iterator pointing to the last element
   5889  * @param i An xcb_client_message_data_iterator_t
   5890  * @return  The iterator pointing to the last element
   5891  *
   5892  * Set the current element in the iterator to the last element.
   5893  * The member rem is set to 0. The member data points to the
   5894  * last element.
   5895  */
   5896 
   5897 /*****************************************************************************
   5898  **
   5899  ** xcb_generic_iterator_t xcb_client_message_data_end
   5900  **
   5901  ** @param xcb_client_message_data_iterator_t i
   5902  ** @returns xcb_generic_iterator_t
   5903  **
   5904  *****************************************************************************/
   5905 
   5906 xcb_generic_iterator_t
   5907 xcb_client_message_data_end (xcb_client_message_data_iterator_t i  /**< */);
   5908 
   5909 int
   5910 xcb_create_window_sizeof (const void  *_buffer  /**< */);
   5911 
   5912 /**
   5913  * Delivers a request to the X server
   5914  * @param c The connection
   5915  * @return A cookie
   5916  *
   5917  * Delivers a request to the X server.
   5918  *
   5919  * This form can be used only if the request will not cause
   5920  * a reply to be generated. Any returned error will be
   5921  * saved for handling by xcb_request_check().
   5922  */
   5923 
   5924 /*****************************************************************************
   5925  **
   5926  ** xcb_void_cookie_t xcb_create_window_checked
   5927  **
   5928  ** @param xcb_connection_t *c
   5929  ** @param uint8_t           depth
   5930  ** @param xcb_window_t      wid
   5931  ** @param xcb_window_t      parent
   5932  ** @param int16_t           x
   5933  ** @param int16_t           y
   5934  ** @param uint16_t          width
   5935  ** @param uint16_t          height
   5936  ** @param uint16_t          border_width
   5937  ** @param uint16_t          _class
   5938  ** @param xcb_visualid_t    visual
   5939  ** @param uint32_t          value_mask
   5940  ** @param const uint32_t   *value_list
   5941  ** @returns xcb_void_cookie_t
   5942  **
   5943  *****************************************************************************/
   5944 
   5945 xcb_void_cookie_t
   5946 xcb_create_window_checked (xcb_connection_t *c  /**< */,
   5947                            uint8_t           depth  /**< */,
   5948                            xcb_window_t      wid  /**< */,
   5949                            xcb_window_t      parent  /**< */,
   5950                            int16_t           x  /**< */,
   5951                            int16_t           y  /**< */,
   5952                            uint16_t          width  /**< */,
   5953                            uint16_t          height  /**< */,
   5954                            uint16_t          border_width  /**< */,
   5955                            uint16_t          _class  /**< */,
   5956                            xcb_visualid_t    visual  /**< */,
   5957                            uint32_t          value_mask  /**< */,
   5958                            const uint32_t   *value_list  /**< */);
   5959 
   5960 /**
   5961  * Delivers a request to the X server
   5962  * @param c The connection
   5963  * @return A cookie
   5964  *
   5965  * Delivers a request to the X server.
   5966  *
   5967  */
   5968 
   5969 /*****************************************************************************
   5970  **
   5971  ** xcb_void_cookie_t xcb_create_window
   5972  **
   5973  ** @param xcb_connection_t *c
   5974  ** @param uint8_t           depth
   5975  ** @param xcb_window_t      wid
   5976  ** @param xcb_window_t      parent
   5977  ** @param int16_t           x
   5978  ** @param int16_t           y
   5979  ** @param uint16_t          width
   5980  ** @param uint16_t          height
   5981  ** @param uint16_t          border_width
   5982  ** @param uint16_t          _class
   5983  ** @param xcb_visualid_t    visual
   5984  ** @param uint32_t          value_mask
   5985  ** @param const uint32_t   *value_list
   5986  ** @returns xcb_void_cookie_t
   5987  **
   5988  *****************************************************************************/
   5989 
   5990 xcb_void_cookie_t
   5991 xcb_create_window (xcb_connection_t *c  /**< */,
   5992                    uint8_t           depth  /**< */,
   5993                    xcb_window_t      wid  /**< */,
   5994                    xcb_window_t      parent  /**< */,
   5995                    int16_t           x  /**< */,
   5996                    int16_t           y  /**< */,
   5997                    uint16_t          width  /**< */,
   5998                    uint16_t          height  /**< */,
   5999                    uint16_t          border_width  /**< */,
   6000                    uint16_t          _class  /**< */,
   6001                    xcb_visualid_t    visual  /**< */,
   6002                    uint32_t          value_mask  /**< */,
   6003                    const uint32_t   *value_list  /**< */);
   6004 
   6005 int
   6006 xcb_change_window_attributes_sizeof (const void  *_buffer  /**< */);
   6007 
   6008 /**
   6009  * Delivers a request to the X server
   6010  * @param c The connection
   6011  * @return A cookie
   6012  *
   6013  * Delivers a request to the X server.
   6014  *
   6015  * This form can be used only if the request will not cause
   6016  * a reply to be generated. Any returned error will be
   6017  * saved for handling by xcb_request_check().
   6018  */
   6019 
   6020 /*****************************************************************************
   6021  **
   6022  ** xcb_void_cookie_t xcb_change_window_attributes_checked
   6023  **
   6024  ** @param xcb_connection_t *c
   6025  ** @param xcb_window_t      window
   6026  ** @param uint32_t          value_mask
   6027  ** @param const uint32_t   *value_list
   6028  ** @returns xcb_void_cookie_t
   6029  **
   6030  *****************************************************************************/
   6031 
   6032 xcb_void_cookie_t
   6033 xcb_change_window_attributes_checked (xcb_connection_t *c  /**< */,
   6034                                       xcb_window_t      window  /**< */,
   6035                                       uint32_t          value_mask  /**< */,
   6036                                       const uint32_t   *value_list  /**< */);
   6037 
   6038 /**
   6039  * Delivers a request to the X server
   6040  * @param c The connection
   6041  * @return A cookie
   6042  *
   6043  * Delivers a request to the X server.
   6044  *
   6045  */
   6046 
   6047 /*****************************************************************************
   6048  **
   6049  ** xcb_void_cookie_t xcb_change_window_attributes
   6050  **
   6051  ** @param xcb_connection_t *c
   6052  ** @param xcb_window_t      window
   6053  ** @param uint32_t          value_mask
   6054  ** @param const uint32_t   *value_list
   6055  ** @returns xcb_void_cookie_t
   6056  **
   6057  *****************************************************************************/
   6058 
   6059 xcb_void_cookie_t
   6060 xcb_change_window_attributes (xcb_connection_t *c  /**< */,
   6061                               xcb_window_t      window  /**< */,
   6062                               uint32_t          value_mask  /**< */,
   6063                               const uint32_t   *value_list  /**< */);
   6064 
   6065 /**
   6066  * Delivers a request to the X server
   6067  * @param c The connection
   6068  * @return A cookie
   6069  *
   6070  * Delivers a request to the X server.
   6071  *
   6072  */
   6073 
   6074 /*****************************************************************************
   6075  **
   6076  ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes
   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 (xcb_connection_t *c  /**< */,
   6086                            xcb_window_t      window  /**< */);
   6087 
   6088 /**
   6089  * Delivers a request to the X server
   6090  * @param c The connection
   6091  * @return A cookie
   6092  *
   6093  * Delivers a request to the X server.
   6094  *
   6095  * This form can be used only if the request will cause
   6096  * a reply to be generated. Any returned error will be
   6097  * placed in the event queue.
   6098  */
   6099 
   6100 /*****************************************************************************
   6101  **
   6102  ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked
   6103  **
   6104  ** @param xcb_connection_t *c
   6105  ** @param xcb_window_t      window
   6106  ** @returns xcb_get_window_attributes_cookie_t
   6107  **
   6108  *****************************************************************************/
   6109 
   6110 xcb_get_window_attributes_cookie_t
   6111 xcb_get_window_attributes_unchecked (xcb_connection_t *c  /**< */,
   6112                                      xcb_window_t      window  /**< */);
   6113 
   6114 /**
   6115  * Return the reply
   6116  * @param c      The connection
   6117  * @param cookie The cookie
   6118  * @param e      The xcb_generic_error_t supplied
   6119  *
   6120  * Returns the reply of the request asked by
   6121  *
   6122  * The parameter @p e supplied to this function must be NULL if
   6123  * xcb_get_window_attributes_unchecked(). is used.
   6124  * Otherwise, it stores the error if any.
   6125  *
   6126  * The returned value must be freed by the caller using free().
   6127  */
   6128 
   6129 /*****************************************************************************
   6130  **
   6131  ** xcb_get_window_attributes_reply_t * xcb_get_window_attributes_reply
   6132  **
   6133  ** @param xcb_connection_t                    *c
   6134  ** @param xcb_get_window_attributes_cookie_t   cookie
   6135  ** @param xcb_generic_error_t                **e
   6136  ** @returns xcb_get_window_attributes_reply_t *
   6137  **
   6138  *****************************************************************************/
   6139 
   6140 xcb_get_window_attributes_reply_t *
   6141 xcb_get_window_attributes_reply (xcb_connection_t                    *c  /**< */,
   6142                                  xcb_get_window_attributes_cookie_t   cookie  /**< */,
   6143                                  xcb_generic_error_t                **e  /**< */);
   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  * This form can be used only if the request will not cause
   6153  * a reply to be generated. Any returned error will be
   6154  * saved for handling by xcb_request_check().
   6155  */
   6156 
   6157 /*****************************************************************************
   6158  **
   6159  ** xcb_void_cookie_t xcb_destroy_window_checked
   6160  **
   6161  ** @param xcb_connection_t *c
   6162  ** @param xcb_window_t      window
   6163  ** @returns xcb_void_cookie_t
   6164  **
   6165  *****************************************************************************/
   6166 
   6167 xcb_void_cookie_t
   6168 xcb_destroy_window_checked (xcb_connection_t *c  /**< */,
   6169                             xcb_window_t      window  /**< */);
   6170 
   6171 /**
   6172  * Delivers a request to the X server
   6173  * @param c The connection
   6174  * @return A cookie
   6175  *
   6176  * Delivers a request to the X server.
   6177  *
   6178  */
   6179 
   6180 /*****************************************************************************
   6181  **
   6182  ** xcb_void_cookie_t xcb_destroy_window
   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_window (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  * This form can be used only if the request will not cause
   6202  * a reply to be generated. Any returned error will be
   6203  * saved for handling by xcb_request_check().
   6204  */
   6205 
   6206 /*****************************************************************************
   6207  **
   6208  ** xcb_void_cookie_t xcb_destroy_subwindows_checked
   6209  **
   6210  ** @param xcb_connection_t *c
   6211  ** @param xcb_window_t      window
   6212  ** @returns xcb_void_cookie_t
   6213  **
   6214  *****************************************************************************/
   6215 
   6216 xcb_void_cookie_t
   6217 xcb_destroy_subwindows_checked (xcb_connection_t *c  /**< */,
   6218                                 xcb_window_t      window  /**< */);
   6219 
   6220 /**
   6221  * Delivers a request to the X server
   6222  * @param c The connection
   6223  * @return A cookie
   6224  *
   6225  * Delivers a request to the X server.
   6226  *
   6227  */
   6228 
   6229 /*****************************************************************************
   6230  **
   6231  ** xcb_void_cookie_t xcb_destroy_subwindows
   6232  **
   6233  ** @param xcb_connection_t *c
   6234  ** @param xcb_window_t      window
   6235  ** @returns xcb_void_cookie_t
   6236  **
   6237  *****************************************************************************/
   6238 
   6239 xcb_void_cookie_t
   6240 xcb_destroy_subwindows (xcb_connection_t *c  /**< */,
   6241                         xcb_window_t      window  /**< */);
   6242 
   6243 /**
   6244  * Delivers a request to the X server
   6245  * @param c The connection
   6246  * @return A cookie
   6247  *
   6248  * Delivers a request to the X server.
   6249  *
   6250  * This form can be used only if the request will not cause
   6251  * a reply to be generated. Any returned error will be
   6252  * saved for handling by xcb_request_check().
   6253  */
   6254 
   6255 /*****************************************************************************
   6256  **
   6257  ** xcb_void_cookie_t xcb_change_save_set_checked
   6258  **
   6259  ** @param xcb_connection_t *c
   6260  ** @param uint8_t           mode
   6261  ** @param xcb_window_t      window
   6262  ** @returns xcb_void_cookie_t
   6263  **
   6264  *****************************************************************************/
   6265 
   6266 xcb_void_cookie_t
   6267 xcb_change_save_set_checked (xcb_connection_t *c  /**< */,
   6268                              uint8_t           mode  /**< */,
   6269                              xcb_window_t      window  /**< */);
   6270 
   6271 /**
   6272  * Delivers a request to the X server
   6273  * @param c The connection
   6274  * @return A cookie
   6275  *
   6276  * Delivers a request to the X server.
   6277  *
   6278  */
   6279 
   6280 /*****************************************************************************
   6281  **
   6282  ** xcb_void_cookie_t xcb_change_save_set
   6283  **
   6284  ** @param xcb_connection_t *c
   6285  ** @param uint8_t           mode
   6286  ** @param xcb_window_t      window
   6287  ** @returns xcb_void_cookie_t
   6288  **
   6289  *****************************************************************************/
   6290 
   6291 xcb_void_cookie_t
   6292 xcb_change_save_set (xcb_connection_t *c  /**< */,
   6293                      uint8_t           mode  /**< */,
   6294                      xcb_window_t      window  /**< */);
   6295 
   6296 /**
   6297  * Delivers a request to the X server
   6298  * @param c The connection
   6299  * @return A cookie
   6300  *
   6301  * Delivers a request to the X server.
   6302  *
   6303  * This form can be used only if the request will not cause
   6304  * a reply to be generated. Any returned error will be
   6305  * saved for handling by xcb_request_check().
   6306  */
   6307 
   6308 /*****************************************************************************
   6309  **
   6310  ** xcb_void_cookie_t xcb_reparent_window_checked
   6311  **
   6312  ** @param xcb_connection_t *c
   6313  ** @param xcb_window_t      window
   6314  ** @param xcb_window_t      parent
   6315  ** @param int16_t           x
   6316  ** @param int16_t           y
   6317  ** @returns xcb_void_cookie_t
   6318  **
   6319  *****************************************************************************/
   6320 
   6321 xcb_void_cookie_t
   6322 xcb_reparent_window_checked (xcb_connection_t *c  /**< */,
   6323                              xcb_window_t      window  /**< */,
   6324                              xcb_window_t      parent  /**< */,
   6325                              int16_t           x  /**< */,
   6326                              int16_t           y  /**< */);
   6327 
   6328 /**
   6329  * Delivers a request to the X server
   6330  * @param c The connection
   6331  * @return A cookie
   6332  *
   6333  * Delivers a request to the X server.
   6334  *
   6335  */
   6336 
   6337 /*****************************************************************************
   6338  **
   6339  ** xcb_void_cookie_t xcb_reparent_window
   6340  **
   6341  ** @param xcb_connection_t *c
   6342  ** @param xcb_window_t      window
   6343  ** @param xcb_window_t      parent
   6344  ** @param int16_t           x
   6345  ** @param int16_t           y
   6346  ** @returns xcb_void_cookie_t
   6347  **
   6348  *****************************************************************************/
   6349 
   6350 xcb_void_cookie_t
   6351 xcb_reparent_window (xcb_connection_t *c  /**< */,
   6352                      xcb_window_t      window  /**< */,
   6353                      xcb_window_t      parent  /**< */,
   6354                      int16_t           x  /**< */,
   6355                      int16_t           y  /**< */);
   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  * This form can be used only if the request will not cause
   6365  * a reply to be generated. Any returned error will be
   6366  * saved for handling by xcb_request_check().
   6367  */
   6368 
   6369 /*****************************************************************************
   6370  **
   6371  ** xcb_void_cookie_t xcb_map_window_checked
   6372  **
   6373  ** @param xcb_connection_t *c
   6374  ** @param xcb_window_t      window
   6375  ** @returns xcb_void_cookie_t
   6376  **
   6377  *****************************************************************************/
   6378 
   6379 xcb_void_cookie_t
   6380 xcb_map_window_checked (xcb_connection_t *c  /**< */,
   6381                         xcb_window_t      window  /**< */);
   6382 
   6383 /**
   6384  * Delivers a request to the X server
   6385  * @param c The connection
   6386  * @return A cookie
   6387  *
   6388  * Delivers a request to the X server.
   6389  *
   6390  */
   6391 
   6392 /*****************************************************************************
   6393  **
   6394  ** xcb_void_cookie_t xcb_map_window
   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_window (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  * This form can be used only if the request will not cause
   6414  * a reply to be generated. Any returned error will be
   6415  * saved for handling by xcb_request_check().
   6416  */
   6417 
   6418 /*****************************************************************************
   6419  **
   6420  ** xcb_void_cookie_t xcb_map_subwindows_checked
   6421  **
   6422  ** @param xcb_connection_t *c
   6423  ** @param xcb_window_t      window
   6424  ** @returns xcb_void_cookie_t
   6425  **
   6426  *****************************************************************************/
   6427 
   6428 xcb_void_cookie_t
   6429 xcb_map_subwindows_checked (xcb_connection_t *c  /**< */,
   6430                             xcb_window_t      window  /**< */);
   6431 
   6432 /**
   6433  * Delivers a request to the X server
   6434  * @param c The connection
   6435  * @return A cookie
   6436  *
   6437  * Delivers a request to the X server.
   6438  *
   6439  */
   6440 
   6441 /*****************************************************************************
   6442  **
   6443  ** xcb_void_cookie_t xcb_map_subwindows
   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_map_subwindows (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  * This form can be used only if the request will not cause
   6463  * a reply to be generated. Any returned error will be
   6464  * saved for handling by xcb_request_check().
   6465  */
   6466 
   6467 /*****************************************************************************
   6468  **
   6469  ** xcb_void_cookie_t xcb_unmap_window_checked
   6470  **
   6471  ** @param xcb_connection_t *c
   6472  ** @param xcb_window_t      window
   6473  ** @returns xcb_void_cookie_t
   6474  **
   6475  *****************************************************************************/
   6476 
   6477 xcb_void_cookie_t
   6478 xcb_unmap_window_checked (xcb_connection_t *c  /**< */,
   6479                           xcb_window_t      window  /**< */);
   6480 
   6481 /**
   6482  * Delivers a request to the X server
   6483  * @param c The connection
   6484  * @return A cookie
   6485  *
   6486  * Delivers a request to the X server.
   6487  *
   6488  */
   6489 
   6490 /*****************************************************************************
   6491  **
   6492  ** xcb_void_cookie_t xcb_unmap_window
   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_window (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  * This form can be used only if the request will not cause
   6512  * a reply to be generated. Any returned error will be
   6513  * saved for handling by xcb_request_check().
   6514  */
   6515 
   6516 /*****************************************************************************
   6517  **
   6518  ** xcb_void_cookie_t xcb_unmap_subwindows_checked
   6519  **
   6520  ** @param xcb_connection_t *c
   6521  ** @param xcb_window_t      window
   6522  ** @returns xcb_void_cookie_t
   6523  **
   6524  *****************************************************************************/
   6525 
   6526 xcb_void_cookie_t
   6527 xcb_unmap_subwindows_checked (xcb_connection_t *c  /**< */,
   6528                               xcb_window_t      window  /**< */);
   6529 
   6530 /**
   6531  * Delivers a request to the X server
   6532  * @param c The connection
   6533  * @return A cookie
   6534  *
   6535  * Delivers a request to the X server.
   6536  *
   6537  */
   6538 
   6539 /*****************************************************************************
   6540  **
   6541  ** xcb_void_cookie_t xcb_unmap_subwindows
   6542  **
   6543  ** @param xcb_connection_t *c
   6544  ** @param xcb_window_t      window
   6545  ** @returns xcb_void_cookie_t
   6546  **
   6547  *****************************************************************************/
   6548 
   6549 xcb_void_cookie_t
   6550 xcb_unmap_subwindows (xcb_connection_t *c  /**< */,
   6551                       xcb_window_t      window  /**< */);
   6552 
   6553 int
   6554 xcb_configure_window_sizeof (const void  *_buffer  /**< */);
   6555 
   6556 /**
   6557  * Delivers a request to the X server
   6558  * @param c The connection
   6559  * @return A cookie
   6560  *
   6561  * Delivers a request to the X server.
   6562  *
   6563  * This form can be used only if the request will not cause
   6564  * a reply to be generated. Any returned error will be
   6565  * saved for handling by xcb_request_check().
   6566  */
   6567 
   6568 /*****************************************************************************
   6569  **
   6570  ** xcb_void_cookie_t xcb_configure_window_checked
   6571  **
   6572  ** @param xcb_connection_t *c
   6573  ** @param xcb_window_t      window
   6574  ** @param uint16_t          value_mask
   6575  ** @param const uint32_t   *value_list
   6576  ** @returns xcb_void_cookie_t
   6577  **
   6578  *****************************************************************************/
   6579 
   6580 xcb_void_cookie_t
   6581 xcb_configure_window_checked (xcb_connection_t *c  /**< */,
   6582                               xcb_window_t      window  /**< */,
   6583                               uint16_t          value_mask  /**< */,
   6584                               const uint32_t   *value_list  /**< */);
   6585 
   6586 /**
   6587  * Delivers a request to the X server
   6588  * @param c The connection
   6589  * @return A cookie
   6590  *
   6591  * Delivers a request to the X server.
   6592  *
   6593  */
   6594 
   6595 /*****************************************************************************
   6596  **
   6597  ** xcb_void_cookie_t xcb_configure_window
   6598  **
   6599  ** @param xcb_connection_t *c
   6600  ** @param xcb_window_t      window
   6601  ** @param uint16_t          value_mask
   6602  ** @param const uint32_t   *value_list
   6603  ** @returns xcb_void_cookie_t
   6604  **
   6605  *****************************************************************************/
   6606 
   6607 xcb_void_cookie_t
   6608 xcb_configure_window (xcb_connection_t *c  /**< */,
   6609                       xcb_window_t      window  /**< */,
   6610                       uint16_t          value_mask  /**< */,
   6611                       const uint32_t   *value_list  /**< */);
   6612 
   6613 /**
   6614  * Delivers a request to the X server
   6615  * @param c The connection
   6616  * @return A cookie
   6617  *
   6618  * Delivers a request to the X server.
   6619  *
   6620  * This form can be used only if the request will not cause
   6621  * a reply to be generated. Any returned error will be
   6622  * saved for handling by xcb_request_check().
   6623  */
   6624 
   6625 /*****************************************************************************
   6626  **
   6627  ** xcb_void_cookie_t xcb_circulate_window_checked
   6628  **
   6629  ** @param xcb_connection_t *c
   6630  ** @param uint8_t           direction
   6631  ** @param xcb_window_t      window
   6632  ** @returns xcb_void_cookie_t
   6633  **
   6634  *****************************************************************************/
   6635 
   6636 xcb_void_cookie_t
   6637 xcb_circulate_window_checked (xcb_connection_t *c  /**< */,
   6638                               uint8_t           direction  /**< */,
   6639                               xcb_window_t      window  /**< */);
   6640 
   6641 /**
   6642  * Delivers a request to the X server
   6643  * @param c The connection
   6644  * @return A cookie
   6645  *
   6646  * Delivers a request to the X server.
   6647  *
   6648  */
   6649 
   6650 /*****************************************************************************
   6651  **
   6652  ** xcb_void_cookie_t xcb_circulate_window
   6653  **
   6654  ** @param xcb_connection_t *c
   6655  ** @param uint8_t           direction
   6656  ** @param xcb_window_t      window
   6657  ** @returns xcb_void_cookie_t
   6658  **
   6659  *****************************************************************************/
   6660 
   6661 xcb_void_cookie_t
   6662 xcb_circulate_window (xcb_connection_t *c  /**< */,
   6663                       uint8_t           direction  /**< */,
   6664                       xcb_window_t      window  /**< */);
   6665 
   6666 /**
   6667  * Delivers a request to the X server
   6668  * @param c The connection
   6669  * @return A cookie
   6670  *
   6671  * Delivers a request to the X server.
   6672  *
   6673  */
   6674 
   6675 /*****************************************************************************
   6676  **
   6677  ** xcb_get_geometry_cookie_t xcb_get_geometry
   6678  **
   6679  ** @param xcb_connection_t *c
   6680  ** @param xcb_drawable_t    drawable
   6681  ** @returns xcb_get_geometry_cookie_t
   6682  **
   6683  *****************************************************************************/
   6684 
   6685 xcb_get_geometry_cookie_t
   6686 xcb_get_geometry (xcb_connection_t *c  /**< */,
   6687                   xcb_drawable_t    drawable  /**< */);
   6688 
   6689 /**
   6690  * Delivers a request to the X server
   6691  * @param c The connection
   6692  * @return A cookie
   6693  *
   6694  * Delivers a request to the X server.
   6695  *
   6696  * This form can be used only if the request will cause
   6697  * a reply to be generated. Any returned error will be
   6698  * placed in the event queue.
   6699  */
   6700 
   6701 /*****************************************************************************
   6702  **
   6703  ** xcb_get_geometry_cookie_t xcb_get_geometry_unchecked
   6704  **
   6705  ** @param xcb_connection_t *c
   6706  ** @param xcb_drawable_t    drawable
   6707  ** @returns xcb_get_geometry_cookie_t
   6708  **
   6709  *****************************************************************************/
   6710 
   6711 xcb_get_geometry_cookie_t
   6712 xcb_get_geometry_unchecked (xcb_connection_t *c  /**< */,
   6713                             xcb_drawable_t    drawable  /**< */);
   6714 
   6715 /**
   6716  * Return the reply
   6717  * @param c      The connection
   6718  * @param cookie The cookie
   6719  * @param e      The xcb_generic_error_t supplied
   6720  *
   6721  * Returns the reply of the request asked by
   6722  *
   6723  * The parameter @p e supplied to this function must be NULL if
   6724  * xcb_get_geometry_unchecked(). is used.
   6725  * Otherwise, it stores the error if any.
   6726  *
   6727  * The returned value must be freed by the caller using free().
   6728  */
   6729 
   6730 /*****************************************************************************
   6731  **
   6732  ** xcb_get_geometry_reply_t * xcb_get_geometry_reply
   6733  **
   6734  ** @param xcb_connection_t           *c
   6735  ** @param xcb_get_geometry_cookie_t   cookie
   6736  ** @param xcb_generic_error_t       **e
   6737  ** @returns xcb_get_geometry_reply_t *
   6738  **
   6739  *****************************************************************************/
   6740 
   6741 xcb_get_geometry_reply_t *
   6742 xcb_get_geometry_reply (xcb_connection_t           *c  /**< */,
   6743                         xcb_get_geometry_cookie_t   cookie  /**< */,
   6744                         xcb_generic_error_t       **e  /**< */);
   6745 
   6746 int
   6747 xcb_query_tree_sizeof (const void  *_buffer  /**< */);
   6748 
   6749 /**
   6750  * Delivers a request to the X server
   6751  * @param c The connection
   6752  * @return A cookie
   6753  *
   6754  * Delivers a request to the X server.
   6755  *
   6756  */
   6757 
   6758 /*****************************************************************************
   6759  **
   6760  ** xcb_query_tree_cookie_t xcb_query_tree
   6761  **
   6762  ** @param xcb_connection_t *c
   6763  ** @param xcb_window_t      window
   6764  ** @returns xcb_query_tree_cookie_t
   6765  **
   6766  *****************************************************************************/
   6767 
   6768 xcb_query_tree_cookie_t
   6769 xcb_query_tree (xcb_connection_t *c  /**< */,
   6770                 xcb_window_t      window  /**< */);
   6771 
   6772 /**
   6773  * Delivers a request to the X server
   6774  * @param c The connection
   6775  * @return A cookie
   6776  *
   6777  * Delivers a request to the X server.
   6778  *
   6779  * This form can be used only if the request will cause
   6780  * a reply to be generated. Any returned error will be
   6781  * placed in the event queue.
   6782  */
   6783 
   6784 /*****************************************************************************
   6785  **
   6786  ** xcb_query_tree_cookie_t xcb_query_tree_unchecked
   6787  **
   6788  ** @param xcb_connection_t *c
   6789  ** @param xcb_window_t      window
   6790  ** @returns xcb_query_tree_cookie_t
   6791  **
   6792  *****************************************************************************/
   6793 
   6794 xcb_query_tree_cookie_t
   6795 xcb_query_tree_unchecked (xcb_connection_t *c  /**< */,
   6796                           xcb_window_t      window  /**< */);
   6797 
   6798 
   6799 /*****************************************************************************
   6800  **
   6801  ** xcb_window_t * xcb_query_tree_children
   6802  **
   6803  ** @param const xcb_query_tree_reply_t *R
   6804  ** @returns xcb_window_t *
   6805  **
   6806  *****************************************************************************/
   6807 
   6808 xcb_window_t *
   6809 xcb_query_tree_children (const xcb_query_tree_reply_t *R  /**< */);
   6810 
   6811 
   6812 /*****************************************************************************
   6813  **
   6814  ** int xcb_query_tree_children_length
   6815  **
   6816  ** @param const xcb_query_tree_reply_t *R
   6817  ** @returns int
   6818  **
   6819  *****************************************************************************/
   6820 
   6821 int
   6822 xcb_query_tree_children_length (const xcb_query_tree_reply_t *R  /**< */);
   6823 
   6824 
   6825 /*****************************************************************************
   6826  **
   6827  ** xcb_generic_iterator_t xcb_query_tree_children_end
   6828  **
   6829  ** @param const xcb_query_tree_reply_t *R
   6830  ** @returns xcb_generic_iterator_t
   6831  **
   6832  *****************************************************************************/
   6833 
   6834 xcb_generic_iterator_t
   6835 xcb_query_tree_children_end (const xcb_query_tree_reply_t *R  /**< */);
   6836 
   6837 /**
   6838  * Return the reply
   6839  * @param c      The connection
   6840  * @param cookie The cookie
   6841  * @param e      The xcb_generic_error_t supplied
   6842  *
   6843  * Returns the reply of the request asked by
   6844  *
   6845  * The parameter @p e supplied to this function must be NULL if
   6846  * xcb_query_tree_unchecked(). is used.
   6847  * Otherwise, it stores the error if any.
   6848  *
   6849  * The returned value must be freed by the caller using free().
   6850  */
   6851 
   6852 /*****************************************************************************
   6853  **
   6854  ** xcb_query_tree_reply_t * xcb_query_tree_reply
   6855  **
   6856  ** @param xcb_connection_t         *c
   6857  ** @param xcb_query_tree_cookie_t   cookie
   6858  ** @param xcb_generic_error_t     **e
   6859  ** @returns xcb_query_tree_reply_t *
   6860  **
   6861  *****************************************************************************/
   6862 
   6863 xcb_query_tree_reply_t *
   6864 xcb_query_tree_reply (xcb_connection_t         *c  /**< */,
   6865                       xcb_query_tree_cookie_t   cookie  /**< */,
   6866                       xcb_generic_error_t     **e  /**< */);
   6867 
   6868 int
   6869 xcb_intern_atom_sizeof (const void  *_buffer  /**< */);
   6870 
   6871 /**
   6872  * Delivers a request to the X server
   6873  * @param c The connection
   6874  * @return A cookie
   6875  *
   6876  * Delivers a request to the X server.
   6877  *
   6878  */
   6879 
   6880 /*****************************************************************************
   6881  **
   6882  ** xcb_intern_atom_cookie_t xcb_intern_atom
   6883  **
   6884  ** @param xcb_connection_t *c
   6885  ** @param uint8_t           only_if_exists
   6886  ** @param uint16_t          name_len
   6887  ** @param const char       *name
   6888  ** @returns xcb_intern_atom_cookie_t
   6889  **
   6890  *****************************************************************************/
   6891 
   6892 xcb_intern_atom_cookie_t
   6893 xcb_intern_atom (xcb_connection_t *c  /**< */,
   6894                  uint8_t           only_if_exists  /**< */,
   6895                  uint16_t          name_len  /**< */,
   6896                  const char       *name  /**< */);
   6897 
   6898 /**
   6899  * Delivers a request to the X server
   6900  * @param c The connection
   6901  * @return A cookie
   6902  *
   6903  * Delivers a request to the X server.
   6904  *
   6905  * This form can be used only if the request will cause
   6906  * a reply to be generated. Any returned error will be
   6907  * placed in the event queue.
   6908  */
   6909 
   6910 /*****************************************************************************
   6911  **
   6912  ** xcb_intern_atom_cookie_t xcb_intern_atom_unchecked
   6913  **
   6914  ** @param xcb_connection_t *c
   6915  ** @param uint8_t           only_if_exists
   6916  ** @param uint16_t          name_len
   6917  ** @param const char       *name
   6918  ** @returns xcb_intern_atom_cookie_t
   6919  **
   6920  *****************************************************************************/
   6921 
   6922 xcb_intern_atom_cookie_t
   6923 xcb_intern_atom_unchecked (xcb_connection_t *c  /**< */,
   6924                            uint8_t           only_if_exists  /**< */,
   6925                            uint16_t          name_len  /**< */,
   6926                            const char       *name  /**< */);
   6927 
   6928 /**
   6929  * Return the reply
   6930  * @param c      The connection
   6931  * @param cookie The cookie
   6932  * @param e      The xcb_generic_error_t supplied
   6933  *
   6934  * Returns the reply of the request asked by
   6935  *
   6936  * The parameter @p e supplied to this function must be NULL if
   6937  * xcb_intern_atom_unchecked(). is used.
   6938  * Otherwise, it stores the error if any.
   6939  *
   6940  * The returned value must be freed by the caller using free().
   6941  */
   6942 
   6943 /*****************************************************************************
   6944  **
   6945  ** xcb_intern_atom_reply_t * xcb_intern_atom_reply
   6946  **
   6947  ** @param xcb_connection_t          *c
   6948  ** @param xcb_intern_atom_cookie_t   cookie
   6949  ** @param xcb_generic_error_t      **e
   6950  ** @returns xcb_intern_atom_reply_t *
   6951  **
   6952  *****************************************************************************/
   6953 
   6954 xcb_intern_atom_reply_t *
   6955 xcb_intern_atom_reply (xcb_connection_t          *c  /**< */,
   6956                        xcb_intern_atom_cookie_t   cookie  /**< */,
   6957                        xcb_generic_error_t      **e  /**< */);
   6958 
   6959 int
   6960 xcb_get_atom_name_sizeof (const void  *_buffer  /**< */);
   6961 
   6962 /**
   6963  * Delivers a request to the X server
   6964  * @param c The connection
   6965  * @return A cookie
   6966  *
   6967  * Delivers a request to the X server.
   6968  *
   6969  */
   6970 
   6971 /*****************************************************************************
   6972  **
   6973  ** xcb_get_atom_name_cookie_t xcb_get_atom_name
   6974  **
   6975  ** @param xcb_connection_t *c
   6976  ** @param xcb_atom_t        atom
   6977  ** @returns xcb_get_atom_name_cookie_t
   6978  **
   6979  *****************************************************************************/
   6980 
   6981 xcb_get_atom_name_cookie_t
   6982 xcb_get_atom_name (xcb_connection_t *c  /**< */,
   6983                    xcb_atom_t        atom  /**< */);
   6984 
   6985 /**
   6986  * Delivers a request to the X server
   6987  * @param c The connection
   6988  * @return A cookie
   6989  *
   6990  * Delivers a request to the X server.
   6991  *
   6992  * This form can be used only if the request will cause
   6993  * a reply to be generated. Any returned error will be
   6994  * placed in the event queue.
   6995  */
   6996 
   6997 /*****************************************************************************
   6998  **
   6999  ** xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked
   7000  **
   7001  ** @param xcb_connection_t *c
   7002  ** @param xcb_atom_t        atom
   7003  ** @returns xcb_get_atom_name_cookie_t
   7004  **
   7005  *****************************************************************************/
   7006 
   7007 xcb_get_atom_name_cookie_t
   7008 xcb_get_atom_name_unchecked (xcb_connection_t *c  /**< */,
   7009                              xcb_atom_t        atom  /**< */);
   7010 
   7011 
   7012 /*****************************************************************************
   7013  **
   7014  ** char * xcb_get_atom_name_name
   7015  **
   7016  ** @param const xcb_get_atom_name_reply_t *R
   7017  ** @returns char *
   7018  **
   7019  *****************************************************************************/
   7020 
   7021 char *
   7022 xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R  /**< */);
   7023 
   7024 
   7025 /*****************************************************************************
   7026  **
   7027  ** int xcb_get_atom_name_name_length
   7028  **
   7029  ** @param const xcb_get_atom_name_reply_t *R
   7030  ** @returns int
   7031  **
   7032  *****************************************************************************/
   7033 
   7034 int
   7035 xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R  /**< */);
   7036 
   7037 
   7038 /*****************************************************************************
   7039  **
   7040  ** xcb_generic_iterator_t xcb_get_atom_name_name_end
   7041  **
   7042  ** @param const xcb_get_atom_name_reply_t *R
   7043  ** @returns xcb_generic_iterator_t
   7044  **
   7045  *****************************************************************************/
   7046 
   7047 xcb_generic_iterator_t
   7048 xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R  /**< */);
   7049 
   7050 /**
   7051  * Return the reply
   7052  * @param c      The connection
   7053  * @param cookie The cookie
   7054  * @param e      The xcb_generic_error_t supplied
   7055  *
   7056  * Returns the reply of the request asked by
   7057  *
   7058  * The parameter @p e supplied to this function must be NULL if
   7059  * xcb_get_atom_name_unchecked(). is used.
   7060  * Otherwise, it stores the error if any.
   7061  *
   7062  * The returned value must be freed by the caller using free().
   7063  */
   7064 
   7065 /*****************************************************************************
   7066  **
   7067  ** xcb_get_atom_name_reply_t * xcb_get_atom_name_reply
   7068  **
   7069  ** @param xcb_connection_t            *c
   7070  ** @param xcb_get_atom_name_cookie_t   cookie
   7071  ** @param xcb_generic_error_t        **e
   7072  ** @returns xcb_get_atom_name_reply_t *
   7073  **
   7074  *****************************************************************************/
   7075 
   7076 xcb_get_atom_name_reply_t *
   7077 xcb_get_atom_name_reply (xcb_connection_t            *c  /**< */,
   7078                          xcb_get_atom_name_cookie_t   cookie  /**< */,
   7079                          xcb_generic_error_t        **e  /**< */);
   7080 
   7081 int
   7082 xcb_change_property_sizeof (const void  *_buffer  /**< */);
   7083 
   7084 /**
   7085  * Delivers a request to the X server
   7086  * @param c The connection
   7087  * @return A cookie
   7088  *
   7089  * Delivers a request to the X server.
   7090  *
   7091  * This form can be used only if the request will not cause
   7092  * a reply to be generated. Any returned error will be
   7093  * saved for handling by xcb_request_check().
   7094  */
   7095 
   7096 /*****************************************************************************
   7097  **
   7098  ** xcb_void_cookie_t xcb_change_property_checked
   7099  **
   7100  ** @param xcb_connection_t *c
   7101  ** @param uint8_t           mode
   7102  ** @param xcb_window_t      window
   7103  ** @param xcb_atom_t        property
   7104  ** @param xcb_atom_t        type
   7105  ** @param uint8_t           format
   7106  ** @param uint32_t          data_len
   7107  ** @param const void       *data
   7108  ** @returns xcb_void_cookie_t
   7109  **
   7110  *****************************************************************************/
   7111 
   7112 xcb_void_cookie_t
   7113 xcb_change_property_checked (xcb_connection_t *c  /**< */,
   7114                              uint8_t           mode  /**< */,
   7115                              xcb_window_t      window  /**< */,
   7116                              xcb_atom_t        property  /**< */,
   7117                              xcb_atom_t        type  /**< */,
   7118                              uint8_t           format  /**< */,
   7119                              uint32_t          data_len  /**< */,
   7120                              const void       *data  /**< */);
   7121 
   7122 /**
   7123  * Delivers a request to the X server
   7124  * @param c The connection
   7125  * @return A cookie
   7126  *
   7127  * Delivers a request to the X server.
   7128  *
   7129  */
   7130 
   7131 /*****************************************************************************
   7132  **
   7133  ** xcb_void_cookie_t xcb_change_property
   7134  **
   7135  ** @param xcb_connection_t *c
   7136  ** @param uint8_t           mode
   7137  ** @param xcb_window_t      window
   7138  ** @param xcb_atom_t        property
   7139  ** @param xcb_atom_t        type
   7140  ** @param uint8_t           format
   7141  ** @param uint32_t          data_len
   7142  ** @param const void       *data
   7143  ** @returns xcb_void_cookie_t
   7144  **
   7145  *****************************************************************************/
   7146 
   7147 xcb_void_cookie_t
   7148 xcb_change_property (xcb_connection_t *c  /**< */,
   7149                      uint8_t           mode  /**< */,
   7150                      xcb_window_t      window  /**< */,
   7151                      xcb_atom_t        property  /**< */,
   7152                      xcb_atom_t        type  /**< */,
   7153                      uint8_t           format  /**< */,
   7154                      uint32_t          data_len  /**< */,
   7155                      const void       *data  /**< */);
   7156 
   7157 /**
   7158  * Delivers a request to the X server
   7159  * @param c The connection
   7160  * @return A cookie
   7161  *
   7162  * Delivers a request to the X server.
   7163  *
   7164  * This form can be used only if the request will not cause
   7165  * a reply to be generated. Any returned error will be
   7166  * saved for handling by xcb_request_check().
   7167  */
   7168 
   7169 /*****************************************************************************
   7170  **
   7171  ** xcb_void_cookie_t xcb_delete_property_checked
   7172  **
   7173  ** @param xcb_connection_t *c
   7174  ** @param xcb_window_t      window
   7175  ** @param xcb_atom_t        property
   7176  ** @returns xcb_void_cookie_t
   7177  **
   7178  *****************************************************************************/
   7179 
   7180 xcb_void_cookie_t
   7181 xcb_delete_property_checked (xcb_connection_t *c  /**< */,
   7182                              xcb_window_t      window  /**< */,
   7183                              xcb_atom_t        property  /**< */);
   7184 
   7185 /**
   7186  * Delivers a request to the X server
   7187  * @param c The connection
   7188  * @return A cookie
   7189  *
   7190  * Delivers a request to the X server.
   7191  *
   7192  */
   7193 
   7194 /*****************************************************************************
   7195  **
   7196  ** xcb_void_cookie_t xcb_delete_property
   7197  **
   7198  ** @param xcb_connection_t *c
   7199  ** @param xcb_window_t      window
   7200  ** @param xcb_atom_t        property
   7201  ** @returns xcb_void_cookie_t
   7202  **
   7203  *****************************************************************************/
   7204 
   7205 xcb_void_cookie_t
   7206 xcb_delete_property (xcb_connection_t *c  /**< */,
   7207                      xcb_window_t      window  /**< */,
   7208                      xcb_atom_t        property  /**< */);
   7209 
   7210 int
   7211 xcb_get_property_sizeof (const void  *_buffer  /**< */);
   7212 
   7213 /**
   7214  * Delivers a request to the X server
   7215  * @param c The connection
   7216  * @return A cookie
   7217  *
   7218  * Delivers a request to the X server.
   7219  *
   7220  */
   7221 
   7222 /*****************************************************************************
   7223  **
   7224  ** xcb_get_property_cookie_t xcb_get_property
   7225  **
   7226  ** @param xcb_connection_t *c
   7227  ** @param uint8_t           _delete
   7228  ** @param xcb_window_t      window
   7229  ** @param xcb_atom_t        property
   7230  ** @param xcb_atom_t        type
   7231  ** @param uint32_t          long_offset
   7232  ** @param uint32_t          long_length
   7233  ** @returns xcb_get_property_cookie_t
   7234  **
   7235  *****************************************************************************/
   7236 
   7237 xcb_get_property_cookie_t
   7238 xcb_get_property (xcb_connection_t *c  /**< */,
   7239                   uint8_t           _delete  /**< */,
   7240                   xcb_window_t      window  /**< */,
   7241                   xcb_atom_t        property  /**< */,
   7242                   xcb_atom_t        type  /**< */,
   7243                   uint32_t          long_offset  /**< */,
   7244                   uint32_t          long_length  /**< */);
   7245 
   7246 /**
   7247  * Delivers a request to the X server
   7248  * @param c The connection
   7249  * @return A cookie
   7250  *
   7251  * Delivers a request to the X server.
   7252  *
   7253  * This form can be used only if the request will cause
   7254  * a reply to be generated. Any returned error will be
   7255  * placed in the event queue.
   7256  */
   7257 
   7258 /*****************************************************************************
   7259  **
   7260  ** xcb_get_property_cookie_t xcb_get_property_unchecked
   7261  **
   7262  ** @param xcb_connection_t *c
   7263  ** @param uint8_t           _delete
   7264  ** @param xcb_window_t      window
   7265  ** @param xcb_atom_t        property
   7266  ** @param xcb_atom_t        type
   7267  ** @param uint32_t          long_offset
   7268  ** @param uint32_t          long_length
   7269  ** @returns xcb_get_property_cookie_t
   7270  **
   7271  *****************************************************************************/
   7272 
   7273 xcb_get_property_cookie_t
   7274 xcb_get_property_unchecked (xcb_connection_t *c  /**< */,
   7275                             uint8_t           _delete  /**< */,
   7276                             xcb_window_t      window  /**< */,
   7277                             xcb_atom_t        property  /**< */,
   7278                             xcb_atom_t        type  /**< */,
   7279                             uint32_t          long_offset  /**< */,
   7280                             uint32_t          long_length  /**< */);
   7281 
   7282 
   7283 /*****************************************************************************
   7284  **
   7285  ** void * xcb_get_property_value
   7286  **
   7287  ** @param const xcb_get_property_reply_t *R
   7288  ** @returns void *
   7289  **
   7290  *****************************************************************************/
   7291 
   7292 void *
   7293 xcb_get_property_value (const xcb_get_property_reply_t *R  /**< */);
   7294 
   7295 
   7296 /*****************************************************************************
   7297  **
   7298  ** int xcb_get_property_value_length
   7299  **
   7300  ** @param const xcb_get_property_reply_t *R
   7301  ** @returns int
   7302  **
   7303  *****************************************************************************/
   7304 
   7305 int
   7306 xcb_get_property_value_length (const xcb_get_property_reply_t *R  /**< */);
   7307 
   7308 
   7309 /*****************************************************************************
   7310  **
   7311  ** xcb_generic_iterator_t xcb_get_property_value_end
   7312  **
   7313  ** @param const xcb_get_property_reply_t *R
   7314  ** @returns xcb_generic_iterator_t
   7315  **
   7316  *****************************************************************************/
   7317 
   7318 xcb_generic_iterator_t
   7319 xcb_get_property_value_end (const xcb_get_property_reply_t *R  /**< */);
   7320 
   7321 /**
   7322  * Return the reply
   7323  * @param c      The connection
   7324  * @param cookie The cookie
   7325  * @param e      The xcb_generic_error_t supplied
   7326  *
   7327  * Returns the reply of the request asked by
   7328  *
   7329  * The parameter @p e supplied to this function must be NULL if
   7330  * xcb_get_property_unchecked(). is used.
   7331  * Otherwise, it stores the error if any.
   7332  *
   7333  * The returned value must be freed by the caller using free().
   7334  */
   7335 
   7336 /*****************************************************************************
   7337  **
   7338  ** xcb_get_property_reply_t * xcb_get_property_reply
   7339  **
   7340  ** @param xcb_connection_t           *c
   7341  ** @param xcb_get_property_cookie_t   cookie
   7342  ** @param xcb_generic_error_t       **e
   7343  ** @returns xcb_get_property_reply_t *
   7344  **
   7345  *****************************************************************************/
   7346 
   7347 xcb_get_property_reply_t *
   7348 xcb_get_property_reply (xcb_connection_t           *c  /**< */,
   7349                         xcb_get_property_cookie_t   cookie  /**< */,
   7350                         xcb_generic_error_t       **e  /**< */);
   7351 
   7352 int
   7353 xcb_list_properties_sizeof (const void  *_buffer  /**< */);
   7354 
   7355 /**
   7356  * Delivers a request to the X server
   7357  * @param c The connection
   7358  * @return A cookie
   7359  *
   7360  * Delivers a request to the X server.
   7361  *
   7362  */
   7363 
   7364 /*****************************************************************************
   7365  **
   7366  ** xcb_list_properties_cookie_t xcb_list_properties
   7367  **
   7368  ** @param xcb_connection_t *c
   7369  ** @param xcb_window_t      window
   7370  ** @returns xcb_list_properties_cookie_t
   7371  **
   7372  *****************************************************************************/
   7373 
   7374 xcb_list_properties_cookie_t
   7375 xcb_list_properties (xcb_connection_t *c  /**< */,
   7376                      xcb_window_t      window  /**< */);
   7377 
   7378 /**
   7379  * Delivers a request to the X server
   7380  * @param c The connection
   7381  * @return A cookie
   7382  *
   7383  * Delivers a request to the X server.
   7384  *
   7385  * This form can be used only if the request will cause
   7386  * a reply to be generated. Any returned error will be
   7387  * placed in the event queue.
   7388  */
   7389 
   7390 /*****************************************************************************
   7391  **
   7392  ** xcb_list_properties_cookie_t xcb_list_properties_unchecked
   7393  **
   7394  ** @param xcb_connection_t *c
   7395  ** @param xcb_window_t      window
   7396  ** @returns xcb_list_properties_cookie_t
   7397  **
   7398  *****************************************************************************/
   7399 
   7400 xcb_list_properties_cookie_t
   7401 xcb_list_properties_unchecked (xcb_connection_t *c  /**< */,
   7402                                xcb_window_t      window  /**< */);
   7403 
   7404 
   7405 /*****************************************************************************
   7406  **
   7407  ** xcb_atom_t * xcb_list_properties_atoms
   7408  **
   7409  ** @param const xcb_list_properties_reply_t *R
   7410  ** @returns xcb_atom_t *
   7411  **
   7412  *****************************************************************************/
   7413 
   7414 xcb_atom_t *
   7415 xcb_list_properties_atoms (const xcb_list_properties_reply_t *R  /**< */);
   7416 
   7417 
   7418 /*****************************************************************************
   7419  **
   7420  ** int xcb_list_properties_atoms_length
   7421  **
   7422  ** @param const xcb_list_properties_reply_t *R
   7423  ** @returns int
   7424  **
   7425  *****************************************************************************/
   7426 
   7427 int
   7428 xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R  /**< */);
   7429 
   7430 
   7431 /*****************************************************************************
   7432  **
   7433  ** xcb_generic_iterator_t xcb_list_properties_atoms_end
   7434  **
   7435  ** @param const xcb_list_properties_reply_t *R
   7436  ** @returns xcb_generic_iterator_t
   7437  **
   7438  *****************************************************************************/
   7439 
   7440 xcb_generic_iterator_t
   7441 xcb_list_properties_atoms_end (const xcb_list_properties_reply_t *R  /**< */);
   7442 
   7443 /**
   7444  * Return the reply
   7445  * @param c      The connection
   7446  * @param cookie The cookie
   7447  * @param e      The xcb_generic_error_t supplied
   7448  *
   7449  * Returns the reply of the request asked by
   7450  *
   7451  * The parameter @p e supplied to this function must be NULL if
   7452  * xcb_list_properties_unchecked(). is used.
   7453  * Otherwise, it stores the error if any.
   7454  *
   7455  * The returned value must be freed by the caller using free().
   7456  */
   7457 
   7458 /*****************************************************************************
   7459  **
   7460  ** xcb_list_properties_reply_t * xcb_list_properties_reply
   7461  **
   7462  ** @param xcb_connection_t              *c
   7463  ** @param xcb_list_properties_cookie_t   cookie
   7464  ** @param xcb_generic_error_t          **e
   7465  ** @returns xcb_list_properties_reply_t *
   7466  **
   7467  *****************************************************************************/
   7468 
   7469 xcb_list_properties_reply_t *
   7470 xcb_list_properties_reply (xcb_connection_t              *c  /**< */,
   7471                            xcb_list_properties_cookie_t   cookie  /**< */,
   7472                            xcb_generic_error_t          **e  /**< */);
   7473 
   7474 /**
   7475  * Delivers a request to the X server
   7476  * @param c The connection
   7477  * @return A cookie
   7478  *
   7479  * Delivers a request to the X server.
   7480  *
   7481  * This form can be used only if the request will not cause
   7482  * a reply to be generated. Any returned error will be
   7483  * saved for handling by xcb_request_check().
   7484  */
   7485 
   7486 /*****************************************************************************
   7487  **
   7488  ** xcb_void_cookie_t xcb_set_selection_owner_checked
   7489  **
   7490  ** @param xcb_connection_t *c
   7491  ** @param xcb_window_t      owner
   7492  ** @param xcb_atom_t        selection
   7493  ** @param xcb_timestamp_t   time
   7494  ** @returns xcb_void_cookie_t
   7495  **
   7496  *****************************************************************************/
   7497 
   7498 xcb_void_cookie_t
   7499 xcb_set_selection_owner_checked (xcb_connection_t *c  /**< */,
   7500                                  xcb_window_t      owner  /**< */,
   7501                                  xcb_atom_t        selection  /**< */,
   7502                                  xcb_timestamp_t   time  /**< */);
   7503 
   7504 /**
   7505  * Delivers a request to the X server
   7506  * @param c The connection
   7507  * @return A cookie
   7508  *
   7509  * Delivers a request to the X server.
   7510  *
   7511  */
   7512 
   7513 /*****************************************************************************
   7514  **
   7515  ** xcb_void_cookie_t xcb_set_selection_owner
   7516  **
   7517  ** @param xcb_connection_t *c
   7518  ** @param xcb_window_t      owner
   7519  ** @param xcb_atom_t        selection
   7520  ** @param xcb_timestamp_t   time
   7521  ** @returns xcb_void_cookie_t
   7522  **
   7523  *****************************************************************************/
   7524 
   7525 xcb_void_cookie_t
   7526 xcb_set_selection_owner (xcb_connection_t *c  /**< */,
   7527                          xcb_window_t      owner  /**< */,
   7528                          xcb_atom_t        selection  /**< */,
   7529                          xcb_timestamp_t   time  /**< */);
   7530 
   7531 /**
   7532  * Delivers a request to the X server
   7533  * @param c The connection
   7534  * @return A cookie
   7535  *
   7536  * Delivers a request to the X server.
   7537  *
   7538  */
   7539 
   7540 /*****************************************************************************
   7541  **
   7542  ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner
   7543  **
   7544  ** @param xcb_connection_t *c
   7545  ** @param xcb_atom_t        selection
   7546  ** @returns xcb_get_selection_owner_cookie_t
   7547  **
   7548  *****************************************************************************/
   7549 
   7550 xcb_get_selection_owner_cookie_t
   7551 xcb_get_selection_owner (xcb_connection_t *c  /**< */,
   7552                          xcb_atom_t        selection  /**< */);
   7553 
   7554 /**
   7555  * Delivers a request to the X server
   7556  * @param c The connection
   7557  * @return A cookie
   7558  *
   7559  * Delivers a request to the X server.
   7560  *
   7561  * This form can be used only if the request will cause
   7562  * a reply to be generated. Any returned error will be
   7563  * placed in the event queue.
   7564  */
   7565 
   7566 /*****************************************************************************
   7567  **
   7568  ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked
   7569  **
   7570  ** @param xcb_connection_t *c
   7571  ** @param xcb_atom_t        selection
   7572  ** @returns xcb_get_selection_owner_cookie_t
   7573  **
   7574  *****************************************************************************/
   7575 
   7576 xcb_get_selection_owner_cookie_t
   7577 xcb_get_selection_owner_unchecked (xcb_connection_t *c  /**< */,
   7578                                    xcb_atom_t        selection  /**< */);
   7579 
   7580 /**
   7581  * Return the reply
   7582  * @param c      The connection
   7583  * @param cookie The cookie
   7584  * @param e      The xcb_generic_error_t supplied
   7585  *
   7586  * Returns the reply of the request asked by
   7587  *
   7588  * The parameter @p e supplied to this function must be NULL if
   7589  * xcb_get_selection_owner_unchecked(). is used.
   7590  * Otherwise, it stores the error if any.
   7591  *
   7592  * The returned value must be freed by the caller using free().
   7593  */
   7594 
   7595 /*****************************************************************************
   7596  **
   7597  ** xcb_get_selection_owner_reply_t * xcb_get_selection_owner_reply
   7598  **
   7599  ** @param xcb_connection_t                  *c
   7600  ** @param xcb_get_selection_owner_cookie_t   cookie
   7601  ** @param xcb_generic_error_t              **e
   7602  ** @returns xcb_get_selection_owner_reply_t *
   7603  **
   7604  *****************************************************************************/
   7605 
   7606 xcb_get_selection_owner_reply_t *
   7607 xcb_get_selection_owner_reply (xcb_connection_t                  *c  /**< */,
   7608                                xcb_get_selection_owner_cookie_t   cookie  /**< */,
   7609                                xcb_generic_error_t              **e  /**< */);
   7610 
   7611 /**
   7612  * Delivers a request to the X server
   7613  * @param c The connection
   7614  * @return A cookie
   7615  *
   7616  * Delivers a request to the X server.
   7617  *
   7618  * This form can be used only if the request will not cause
   7619  * a reply to be generated. Any returned error will be
   7620  * saved for handling by xcb_request_check().
   7621  */
   7622 
   7623 /*****************************************************************************
   7624  **
   7625  ** xcb_void_cookie_t xcb_convert_selection_checked
   7626  **
   7627  ** @param xcb_connection_t *c
   7628  ** @param xcb_window_t      requestor
   7629  ** @param xcb_atom_t        selection
   7630  ** @param xcb_atom_t        target
   7631  ** @param xcb_atom_t        property
   7632  ** @param xcb_timestamp_t   time
   7633  ** @returns xcb_void_cookie_t
   7634  **
   7635  *****************************************************************************/
   7636 
   7637 xcb_void_cookie_t
   7638 xcb_convert_selection_checked (xcb_connection_t *c  /**< */,
   7639                                xcb_window_t      requestor  /**< */,
   7640                                xcb_atom_t        selection  /**< */,
   7641                                xcb_atom_t        target  /**< */,
   7642                                xcb_atom_t        property  /**< */,
   7643                                xcb_timestamp_t   time  /**< */);
   7644 
   7645 /**
   7646  * Delivers a request to the X server
   7647  * @param c The connection
   7648  * @return A cookie
   7649  *
   7650  * Delivers a request to the X server.
   7651  *
   7652  */
   7653 
   7654 /*****************************************************************************
   7655  **
   7656  ** xcb_void_cookie_t xcb_convert_selection
   7657  **
   7658  ** @param xcb_connection_t *c
   7659  ** @param xcb_window_t      requestor
   7660  ** @param xcb_atom_t        selection
   7661  ** @param xcb_atom_t        target
   7662  ** @param xcb_atom_t        property
   7663  ** @param xcb_timestamp_t   time
   7664  ** @returns xcb_void_cookie_t
   7665  **
   7666  *****************************************************************************/
   7667 
   7668 xcb_void_cookie_t
   7669 xcb_convert_selection (xcb_connection_t *c  /**< */,
   7670                        xcb_window_t      requestor  /**< */,
   7671                        xcb_atom_t        selection  /**< */,
   7672                        xcb_atom_t        target  /**< */,
   7673                        xcb_atom_t        property  /**< */,
   7674                        xcb_timestamp_t   time  /**< */);
   7675 
   7676 /**
   7677  * Delivers a request to the X server
   7678  * @param c The connection
   7679  * @return A cookie
   7680  *
   7681  * Delivers a request to the X server.
   7682  *
   7683  * This form can be used only if the request will not cause
   7684  * a reply to be generated. Any returned error will be
   7685  * saved for handling by xcb_request_check().
   7686  */
   7687 
   7688 /*****************************************************************************
   7689  **
   7690  ** xcb_void_cookie_t xcb_send_event_checked
   7691  **
   7692  ** @param xcb_connection_t *c
   7693  ** @param uint8_t           propagate
   7694  ** @param xcb_window_t      destination
   7695  ** @param uint32_t          event_mask
   7696  ** @param const char       *event
   7697  ** @returns xcb_void_cookie_t
   7698  **
   7699  *****************************************************************************/
   7700 
   7701 xcb_void_cookie_t
   7702 xcb_send_event_checked (xcb_connection_t *c  /**< */,
   7703                         uint8_t           propagate  /**< */,
   7704                         xcb_window_t      destination  /**< */,
   7705                         uint32_t          event_mask  /**< */,
   7706                         const char       *event  /**< */);
   7707 
   7708 /**
   7709  * Delivers a request to the X server
   7710  * @param c The connection
   7711  * @return A cookie
   7712  *
   7713  * Delivers a request to the X server.
   7714  *
   7715  */
   7716 
   7717 /*****************************************************************************
   7718  **
   7719  ** xcb_void_cookie_t xcb_send_event
   7720  **
   7721  ** @param xcb_connection_t *c
   7722  ** @param uint8_t           propagate
   7723  ** @param xcb_window_t      destination
   7724  ** @param uint32_t          event_mask
   7725  ** @param const char       *event
   7726  ** @returns xcb_void_cookie_t
   7727  **
   7728  *****************************************************************************/
   7729 
   7730 xcb_void_cookie_t
   7731 xcb_send_event (xcb_connection_t *c  /**< */,
   7732                 uint8_t           propagate  /**< */,
   7733                 xcb_window_t      destination  /**< */,
   7734                 uint32_t          event_mask  /**< */,
   7735                 const char       *event  /**< */);
   7736 
   7737 /**
   7738  * Delivers a request to the X server
   7739  * @param c The connection
   7740  * @return A cookie
   7741  *
   7742  * Delivers a request to the X server.
   7743  *
   7744  */
   7745 
   7746 /*****************************************************************************
   7747  **
   7748  ** xcb_grab_pointer_cookie_t xcb_grab_pointer
   7749  **
   7750  ** @param xcb_connection_t *c
   7751  ** @param uint8_t           owner_events
   7752  ** @param xcb_window_t      grab_window
   7753  ** @param uint16_t          event_mask
   7754  ** @param uint8_t           pointer_mode
   7755  ** @param uint8_t           keyboard_mode
   7756  ** @param xcb_window_t      confine_to
   7757  ** @param xcb_cursor_t      cursor
   7758  ** @param xcb_timestamp_t   time
   7759  ** @returns xcb_grab_pointer_cookie_t
   7760  **
   7761  *****************************************************************************/
   7762 
   7763 xcb_grab_pointer_cookie_t
   7764 xcb_grab_pointer (xcb_connection_t *c  /**< */,
   7765                   uint8_t           owner_events  /**< */,
   7766                   xcb_window_t      grab_window  /**< */,
   7767                   uint16_t          event_mask  /**< */,
   7768                   uint8_t           pointer_mode  /**< */,
   7769                   uint8_t           keyboard_mode  /**< */,
   7770                   xcb_window_t      confine_to  /**< */,
   7771                   xcb_cursor_t      cursor  /**< */,
   7772                   xcb_timestamp_t   time  /**< */);
   7773 
   7774 /**
   7775  * Delivers a request to the X server
   7776  * @param c The connection
   7777  * @return A cookie
   7778  *
   7779  * Delivers a request to the X server.
   7780  *
   7781  * This form can be used only if the request will cause
   7782  * a reply to be generated. Any returned error will be
   7783  * placed in the event queue.
   7784  */
   7785 
   7786 /*****************************************************************************
   7787  **
   7788  ** xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked
   7789  **
   7790  ** @param xcb_connection_t *c
   7791  ** @param uint8_t           owner_events
   7792  ** @param xcb_window_t      grab_window
   7793  ** @param uint16_t          event_mask
   7794  ** @param uint8_t           pointer_mode
   7795  ** @param uint8_t           keyboard_mode
   7796  ** @param xcb_window_t      confine_to
   7797  ** @param xcb_cursor_t      cursor
   7798  ** @param xcb_timestamp_t   time
   7799  ** @returns xcb_grab_pointer_cookie_t
   7800  **
   7801  *****************************************************************************/
   7802 
   7803 xcb_grab_pointer_cookie_t
   7804 xcb_grab_pointer_unchecked (xcb_connection_t *c  /**< */,
   7805                             uint8_t           owner_events  /**< */,
   7806                             xcb_window_t      grab_window  /**< */,
   7807                             uint16_t          event_mask  /**< */,
   7808                             uint8_t           pointer_mode  /**< */,
   7809                             uint8_t           keyboard_mode  /**< */,
   7810                             xcb_window_t      confine_to  /**< */,
   7811                             xcb_cursor_t      cursor  /**< */,
   7812                             xcb_timestamp_t   time  /**< */);
   7813 
   7814 /**
   7815  * Return the reply
   7816  * @param c      The connection
   7817  * @param cookie The cookie
   7818  * @param e      The xcb_generic_error_t supplied
   7819  *
   7820  * Returns the reply of the request asked by
   7821  *
   7822  * The parameter @p e supplied to this function must be NULL if
   7823  * xcb_grab_pointer_unchecked(). is used.
   7824  * Otherwise, it stores the error if any.
   7825  *
   7826  * The returned value must be freed by the caller using free().
   7827  */
   7828 
   7829 /*****************************************************************************
   7830  **
   7831  ** xcb_grab_pointer_reply_t * xcb_grab_pointer_reply
   7832  **
   7833  ** @param xcb_connection_t           *c
   7834  ** @param xcb_grab_pointer_cookie_t   cookie
   7835  ** @param xcb_generic_error_t       **e
   7836  ** @returns xcb_grab_pointer_reply_t *
   7837  **
   7838  *****************************************************************************/
   7839 
   7840 xcb_grab_pointer_reply_t *
   7841 xcb_grab_pointer_reply (xcb_connection_t           *c  /**< */,
   7842                         xcb_grab_pointer_cookie_t   cookie  /**< */,
   7843                         xcb_generic_error_t       **e  /**< */);
   7844 
   7845 /**
   7846  * Delivers a request to the X server
   7847  * @param c The connection
   7848  * @return A cookie
   7849  *
   7850  * Delivers a request to the X server.
   7851  *
   7852  * This form can be used only if the request will not cause
   7853  * a reply to be generated. Any returned error will be
   7854  * saved for handling by xcb_request_check().
   7855  */
   7856 
   7857 /*****************************************************************************
   7858  **
   7859  ** xcb_void_cookie_t xcb_ungrab_pointer_checked
   7860  **
   7861  ** @param xcb_connection_t *c
   7862  ** @param xcb_timestamp_t   time
   7863  ** @returns xcb_void_cookie_t
   7864  **
   7865  *****************************************************************************/
   7866 
   7867 xcb_void_cookie_t
   7868 xcb_ungrab_pointer_checked (xcb_connection_t *c  /**< */,
   7869                             xcb_timestamp_t   time  /**< */);
   7870 
   7871 /**
   7872  * Delivers a request to the X server
   7873  * @param c The connection
   7874  * @return A cookie
   7875  *
   7876  * Delivers a request to the X server.
   7877  *
   7878  */
   7879 
   7880 /*****************************************************************************
   7881  **
   7882  ** xcb_void_cookie_t xcb_ungrab_pointer
   7883  **
   7884  ** @param xcb_connection_t *c
   7885  ** @param xcb_timestamp_t   time
   7886  ** @returns xcb_void_cookie_t
   7887  **
   7888  *****************************************************************************/
   7889 
   7890 xcb_void_cookie_t
   7891 xcb_ungrab_pointer (xcb_connection_t *c  /**< */,
   7892                     xcb_timestamp_t   time  /**< */);
   7893 
   7894 /**
   7895  * Delivers a request to the X server
   7896  * @param c The connection
   7897  * @return A cookie
   7898  *
   7899  * Delivers a request to the X server.
   7900  *
   7901  * This form can be used only if the request will not cause
   7902  * a reply to be generated. Any returned error will be
   7903  * saved for handling by xcb_request_check().
   7904  */
   7905 
   7906 /*****************************************************************************
   7907  **
   7908  ** xcb_void_cookie_t xcb_grab_button_checked
   7909  **
   7910  ** @param xcb_connection_t *c
   7911  ** @param uint8_t           owner_events
   7912  ** @param xcb_window_t      grab_window
   7913  ** @param uint16_t          event_mask
   7914  ** @param uint8_t           pointer_mode
   7915  ** @param uint8_t           keyboard_mode
   7916  ** @param xcb_window_t      confine_to
   7917  ** @param xcb_cursor_t      cursor
   7918  ** @param uint8_t           button
   7919  ** @param uint16_t          modifiers
   7920  ** @returns xcb_void_cookie_t
   7921  **
   7922  *****************************************************************************/
   7923 
   7924 xcb_void_cookie_t
   7925 xcb_grab_button_checked (xcb_connection_t *c  /**< */,
   7926                          uint8_t           owner_events  /**< */,
   7927                          xcb_window_t      grab_window  /**< */,
   7928                          uint16_t          event_mask  /**< */,
   7929                          uint8_t           pointer_mode  /**< */,
   7930                          uint8_t           keyboard_mode  /**< */,
   7931                          xcb_window_t      confine_to  /**< */,
   7932                          xcb_cursor_t      cursor  /**< */,
   7933                          uint8_t           button  /**< */,
   7934                          uint16_t          modifiers  /**< */);
   7935 
   7936 /**
   7937  * Delivers a request to the X server
   7938  * @param c The connection
   7939  * @return A cookie
   7940  *
   7941  * Delivers a request to the X server.
   7942  *
   7943  */
   7944 
   7945 /*****************************************************************************
   7946  **
   7947  ** xcb_void_cookie_t xcb_grab_button
   7948  **
   7949  ** @param xcb_connection_t *c
   7950  ** @param uint8_t           owner_events
   7951  ** @param xcb_window_t      grab_window
   7952  ** @param uint16_t          event_mask
   7953  ** @param uint8_t           pointer_mode
   7954  ** @param uint8_t           keyboard_mode
   7955  ** @param xcb_window_t      confine_to
   7956  ** @param xcb_cursor_t      cursor
   7957  ** @param uint8_t           button
   7958  ** @param uint16_t          modifiers
   7959  ** @returns xcb_void_cookie_t
   7960  **
   7961  *****************************************************************************/
   7962 
   7963 xcb_void_cookie_t
   7964 xcb_grab_button (xcb_connection_t *c  /**< */,
   7965                  uint8_t           owner_events  /**< */,
   7966                  xcb_window_t      grab_window  /**< */,
   7967                  uint16_t          event_mask  /**< */,
   7968                  uint8_t           pointer_mode  /**< */,
   7969                  uint8_t           keyboard_mode  /**< */,
   7970                  xcb_window_t      confine_to  /**< */,
   7971                  xcb_cursor_t      cursor  /**< */,
   7972                  uint8_t           button  /**< */,
   7973                  uint16_t          modifiers  /**< */);
   7974 
   7975 /**
   7976  * Delivers a request to the X server
   7977  * @param c The connection
   7978  * @return A cookie
   7979  *
   7980  * Delivers a request to the X server.
   7981  *
   7982  * This form can be used only if the request will not cause
   7983  * a reply to be generated. Any returned error will be
   7984  * saved for handling by xcb_request_check().
   7985  */
   7986 
   7987 /*****************************************************************************
   7988  **
   7989  ** xcb_void_cookie_t xcb_ungrab_button_checked
   7990  **
   7991  ** @param xcb_connection_t *c
   7992  ** @param uint8_t           button
   7993  ** @param xcb_window_t      grab_window
   7994  ** @param uint16_t          modifiers
   7995  ** @returns xcb_void_cookie_t
   7996  **
   7997  *****************************************************************************/
   7998 
   7999 xcb_void_cookie_t
   8000 xcb_ungrab_button_checked (xcb_connection_t *c  /**< */,
   8001                            uint8_t           button  /**< */,
   8002                            xcb_window_t      grab_window  /**< */,
   8003                            uint16_t          modifiers  /**< */);
   8004 
   8005 /**
   8006  * Delivers a request to the X server
   8007  * @param c The connection
   8008  * @return A cookie
   8009  *
   8010  * Delivers a request to the X server.
   8011  *
   8012  */
   8013 
   8014 /*****************************************************************************
   8015  **
   8016  ** xcb_void_cookie_t xcb_ungrab_button
   8017  **
   8018  ** @param xcb_connection_t *c
   8019  ** @param uint8_t           button
   8020  ** @param xcb_window_t      grab_window
   8021  ** @param uint16_t          modifiers
   8022  ** @returns xcb_void_cookie_t
   8023  **
   8024  *****************************************************************************/
   8025 
   8026 xcb_void_cookie_t
   8027 xcb_ungrab_button (xcb_connection_t *c  /**< */,
   8028                    uint8_t           button  /**< */,
   8029                    xcb_window_t      grab_window  /**< */,
   8030                    uint16_t          modifiers  /**< */);
   8031 
   8032 /**
   8033  * Delivers a request to the X server
   8034  * @param c The connection
   8035  * @return A cookie
   8036  *
   8037  * Delivers a request to the X server.
   8038  *
   8039  * This form can be used only if the request will not cause
   8040  * a reply to be generated. Any returned error will be
   8041  * saved for handling by xcb_request_check().
   8042  */
   8043 
   8044 /*****************************************************************************
   8045  **
   8046  ** xcb_void_cookie_t xcb_change_active_pointer_grab_checked
   8047  **
   8048  ** @param xcb_connection_t *c
   8049  ** @param xcb_cursor_t      cursor
   8050  ** @param xcb_timestamp_t   time
   8051  ** @param uint16_t          event_mask
   8052  ** @returns xcb_void_cookie_t
   8053  **
   8054  *****************************************************************************/
   8055 
   8056 xcb_void_cookie_t
   8057 xcb_change_active_pointer_grab_checked (xcb_connection_t *c  /**< */,
   8058                                         xcb_cursor_t      cursor  /**< */,
   8059                                         xcb_timestamp_t   time  /**< */,
   8060                                         uint16_t          event_mask  /**< */);
   8061 
   8062 /**
   8063  * Delivers a request to the X server
   8064  * @param c The connection
   8065  * @return A cookie
   8066  *
   8067  * Delivers a request to the X server.
   8068  *
   8069  */
   8070 
   8071 /*****************************************************************************
   8072  **
   8073  ** xcb_void_cookie_t xcb_change_active_pointer_grab
   8074  **
   8075  ** @param xcb_connection_t *c
   8076  ** @param xcb_cursor_t      cursor
   8077  ** @param xcb_timestamp_t   time
   8078  ** @param uint16_t          event_mask
   8079  ** @returns xcb_void_cookie_t
   8080  **
   8081  *****************************************************************************/
   8082 
   8083 xcb_void_cookie_t
   8084 xcb_change_active_pointer_grab (xcb_connection_t *c  /**< */,
   8085                                 xcb_cursor_t      cursor  /**< */,
   8086                                 xcb_timestamp_t   time  /**< */,
   8087                                 uint16_t          event_mask  /**< */);
   8088 
   8089 /**
   8090  * Delivers a request to the X server
   8091  * @param c The connection
   8092  * @return A cookie
   8093  *
   8094  * Delivers a request to the X server.
   8095  *
   8096  */
   8097 
   8098 /*****************************************************************************
   8099  **
   8100  ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard
   8101  **
   8102  ** @param xcb_connection_t *c
   8103  ** @param uint8_t           owner_events
   8104  ** @param xcb_window_t      grab_window
   8105  ** @param xcb_timestamp_t   time
   8106  ** @param uint8_t           pointer_mode
   8107  ** @param uint8_t           keyboard_mode
   8108  ** @returns xcb_grab_keyboard_cookie_t
   8109  **
   8110  *****************************************************************************/
   8111 
   8112 xcb_grab_keyboard_cookie_t
   8113 xcb_grab_keyboard (xcb_connection_t *c  /**< */,
   8114                    uint8_t           owner_events  /**< */,
   8115                    xcb_window_t      grab_window  /**< */,
   8116                    xcb_timestamp_t   time  /**< */,
   8117                    uint8_t           pointer_mode  /**< */,
   8118                    uint8_t           keyboard_mode  /**< */);
   8119 
   8120 /**
   8121  * Delivers a request to the X server
   8122  * @param c The connection
   8123  * @return A cookie
   8124  *
   8125  * Delivers a request to the X server.
   8126  *
   8127  * This form can be used only if the request will cause
   8128  * a reply to be generated. Any returned error will be
   8129  * placed in the event queue.
   8130  */
   8131 
   8132 /*****************************************************************************
   8133  **
   8134  ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked
   8135  **
   8136  ** @param xcb_connection_t *c
   8137  ** @param uint8_t           owner_events
   8138  ** @param xcb_window_t      grab_window
   8139  ** @param xcb_timestamp_t   time
   8140  ** @param uint8_t           pointer_mode
   8141  ** @param uint8_t           keyboard_mode
   8142  ** @returns xcb_grab_keyboard_cookie_t
   8143  **
   8144  *****************************************************************************/
   8145 
   8146 xcb_grab_keyboard_cookie_t
   8147 xcb_grab_keyboard_unchecked (xcb_connection_t *c  /**< */,
   8148                              uint8_t           owner_events  /**< */,
   8149                              xcb_window_t      grab_window  /**< */,
   8150                              xcb_timestamp_t   time  /**< */,
   8151                              uint8_t           pointer_mode  /**< */,
   8152                              uint8_t           keyboard_mode  /**< */);
   8153 
   8154 /**
   8155  * Return the reply
   8156  * @param c      The connection
   8157  * @param cookie The cookie
   8158  * @param e      The xcb_generic_error_t supplied
   8159  *
   8160  * Returns the reply of the request asked by
   8161  *
   8162  * The parameter @p e supplied to this function must be NULL if
   8163  * xcb_grab_keyboard_unchecked(). is used.
   8164  * Otherwise, it stores the error if any.
   8165  *
   8166  * The returned value must be freed by the caller using free().
   8167  */
   8168 
   8169 /*****************************************************************************
   8170  **
   8171  ** xcb_grab_keyboard_reply_t * xcb_grab_keyboard_reply
   8172  **
   8173  ** @param xcb_connection_t            *c
   8174  ** @param xcb_grab_keyboard_cookie_t   cookie
   8175  ** @param xcb_generic_error_t        **e
   8176  ** @returns xcb_grab_keyboard_reply_t *
   8177  **
   8178  *****************************************************************************/
   8179 
   8180 xcb_grab_keyboard_reply_t *
   8181 xcb_grab_keyboard_reply (xcb_connection_t            *c  /**< */,
   8182                          xcb_grab_keyboard_cookie_t   cookie  /**< */,
   8183                          xcb_generic_error_t        **e  /**< */);
   8184 
   8185 /**
   8186  * Delivers a request to the X server
   8187  * @param c The connection
   8188  * @return A cookie
   8189  *
   8190  * Delivers a request to the X server.
   8191  *
   8192  * This form can be used only if the request will not cause
   8193  * a reply to be generated. Any returned error will be
   8194  * saved for handling by xcb_request_check().
   8195  */
   8196 
   8197 /*****************************************************************************
   8198  **
   8199  ** xcb_void_cookie_t xcb_ungrab_keyboard_checked
   8200  **
   8201  ** @param xcb_connection_t *c
   8202  ** @param xcb_timestamp_t   time
   8203  ** @returns xcb_void_cookie_t
   8204  **
   8205  *****************************************************************************/
   8206 
   8207 xcb_void_cookie_t
   8208 xcb_ungrab_keyboard_checked (xcb_connection_t *c  /**< */,
   8209                              xcb_timestamp_t   time  /**< */);
   8210 
   8211 /**
   8212  * Delivers a request to the X server
   8213  * @param c The connection
   8214  * @return A cookie
   8215  *
   8216  * Delivers a request to the X server.
   8217  *
   8218  */
   8219 
   8220 /*****************************************************************************
   8221  **
   8222  ** xcb_void_cookie_t xcb_ungrab_keyboard
   8223  **
   8224  ** @param xcb_connection_t *c
   8225  ** @param xcb_timestamp_t   time
   8226  ** @returns xcb_void_cookie_t
   8227  **
   8228  *****************************************************************************/
   8229 
   8230 xcb_void_cookie_t
   8231 xcb_ungrab_keyboard (xcb_connection_t *c  /**< */,
   8232                      xcb_timestamp_t   time  /**< */);
   8233 
   8234 /**
   8235  * Delivers a request to the X server
   8236  * @param c The connection
   8237  * @return A cookie
   8238  *
   8239  * Delivers a request to the X server.
   8240  *
   8241  * This form can be used only if the request will not cause
   8242  * a reply to be generated. Any returned error will be
   8243  * saved for handling by xcb_request_check().
   8244  */
   8245 
   8246 /*****************************************************************************
   8247  **
   8248  ** xcb_void_cookie_t xcb_grab_key_checked
   8249  **
   8250  ** @param xcb_connection_t *c
   8251  ** @param uint8_t           owner_events
   8252  ** @param xcb_window_t      grab_window
   8253  ** @param uint16_t          modifiers
   8254  ** @param xcb_keycode_t     key
   8255  ** @param uint8_t           pointer_mode
   8256  ** @param uint8_t           keyboard_mode
   8257  ** @returns xcb_void_cookie_t
   8258  **
   8259  *****************************************************************************/
   8260 
   8261 xcb_void_cookie_t
   8262 xcb_grab_key_checked (xcb_connection_t *c  /**< */,
   8263                       uint8_t           owner_events  /**< */,
   8264                       xcb_window_t      grab_window  /**< */,
   8265                       uint16_t          modifiers  /**< */,
   8266                       xcb_keycode_t     key  /**< */,
   8267                       uint8_t           pointer_mode  /**< */,
   8268                       uint8_t           keyboard_mode  /**< */);
   8269 
   8270 /**
   8271  * Delivers a request to the X server
   8272  * @param c The connection
   8273  * @return A cookie
   8274  *
   8275  * Delivers a request to the X server.
   8276  *
   8277  */
   8278 
   8279 /*****************************************************************************
   8280  **
   8281  ** xcb_void_cookie_t xcb_grab_key
   8282  **
   8283  ** @param xcb_connection_t *c
   8284  ** @param uint8_t           owner_events
   8285  ** @param xcb_window_t      grab_window
   8286  ** @param uint16_t          modifiers
   8287  ** @param xcb_keycode_t     key
   8288  ** @param uint8_t           pointer_mode
   8289  ** @param uint8_t           keyboard_mode
   8290  ** @returns xcb_void_cookie_t
   8291  **
   8292  *****************************************************************************/
   8293 
   8294 xcb_void_cookie_t
   8295 xcb_grab_key (xcb_connection_t *c  /**< */,
   8296               uint8_t           owner_events  /**< */,
   8297               xcb_window_t      grab_window  /**< */,
   8298               uint16_t          modifiers  /**< */,
   8299               xcb_keycode_t     key  /**< */,
   8300               uint8_t           pointer_mode  /**< */,
   8301               uint8_t           keyboard_mode  /**< */);
   8302 
   8303 /**
   8304  * Delivers a request to the X server
   8305  * @param c The connection
   8306  * @return A cookie
   8307  *
   8308  * Delivers a request to the X server.
   8309  *
   8310  * This form can be used only if the request will not cause
   8311  * a reply to be generated. Any returned error will be
   8312  * saved for handling by xcb_request_check().
   8313  */
   8314 
   8315 /*****************************************************************************
   8316  **
   8317  ** xcb_void_cookie_t xcb_ungrab_key_checked
   8318  **
   8319  ** @param xcb_connection_t *c
   8320  ** @param xcb_keycode_t     key
   8321  ** @param xcb_window_t      grab_window
   8322  ** @param uint16_t          modifiers
   8323  ** @returns xcb_void_cookie_t
   8324  **
   8325  *****************************************************************************/
   8326 
   8327 xcb_void_cookie_t
   8328 xcb_ungrab_key_checked (xcb_connection_t *c  /**< */,
   8329                         xcb_keycode_t     key  /**< */,
   8330                         xcb_window_t      grab_window  /**< */,
   8331                         uint16_t          modifiers  /**< */);
   8332 
   8333 /**
   8334  * Delivers a request to the X server
   8335  * @param c The connection
   8336  * @return A cookie
   8337  *
   8338  * Delivers a request to the X server.
   8339  *
   8340  */
   8341 
   8342 /*****************************************************************************
   8343  **
   8344  ** xcb_void_cookie_t xcb_ungrab_key
   8345  **
   8346  ** @param xcb_connection_t *c
   8347  ** @param xcb_keycode_t     key
   8348  ** @param xcb_window_t      grab_window
   8349  ** @param uint16_t          modifiers
   8350  ** @returns xcb_void_cookie_t
   8351  **
   8352  *****************************************************************************/
   8353 
   8354 xcb_void_cookie_t
   8355 xcb_ungrab_key (xcb_connection_t *c  /**< */,
   8356                 xcb_keycode_t     key  /**< */,
   8357                 xcb_window_t      grab_window  /**< */,
   8358                 uint16_t          modifiers  /**< */);
   8359 
   8360 /**
   8361  * Delivers a request to the X server
   8362  * @param c The connection
   8363  * @return A cookie
   8364  *
   8365  * Delivers a request to the X server.
   8366  *
   8367  * This form can be used only if the request will not cause
   8368  * a reply to be generated. Any returned error will be
   8369  * saved for handling by xcb_request_check().
   8370  */
   8371 
   8372 /*****************************************************************************
   8373  **
   8374  ** xcb_void_cookie_t xcb_allow_events_checked
   8375  **
   8376  ** @param xcb_connection_t *c
   8377  ** @param uint8_t           mode
   8378  ** @param xcb_timestamp_t   time
   8379  ** @returns xcb_void_cookie_t
   8380  **
   8381  *****************************************************************************/
   8382 
   8383 xcb_void_cookie_t
   8384 xcb_allow_events_checked (xcb_connection_t *c  /**< */,
   8385                           uint8_t           mode  /**< */,
   8386                           xcb_timestamp_t   time  /**< */);
   8387 
   8388 /**
   8389  * Delivers a request to the X server
   8390  * @param c The connection
   8391  * @return A cookie
   8392  *
   8393  * Delivers a request to the X server.
   8394  *
   8395  */
   8396 
   8397 /*****************************************************************************
   8398  **
   8399  ** xcb_void_cookie_t xcb_allow_events
   8400  **
   8401  ** @param xcb_connection_t *c
   8402  ** @param uint8_t           mode
   8403  ** @param xcb_timestamp_t   time
   8404  ** @returns xcb_void_cookie_t
   8405  **
   8406  *****************************************************************************/
   8407 
   8408 xcb_void_cookie_t
   8409 xcb_allow_events (xcb_connection_t *c  /**< */,
   8410                   uint8_t           mode  /**< */,
   8411                   xcb_timestamp_t   time  /**< */);
   8412 
   8413 /**
   8414  * Delivers a request to the X server
   8415  * @param c The connection
   8416  * @return A cookie
   8417  *
   8418  * Delivers a request to the X server.
   8419  *
   8420  * This form can be used only if the request will not cause
   8421  * a reply to be generated. Any returned error will be
   8422  * saved for handling by xcb_request_check().
   8423  */
   8424 
   8425 /*****************************************************************************
   8426  **
   8427  ** xcb_void_cookie_t xcb_grab_server_checked
   8428  **
   8429  ** @param xcb_connection_t *c
   8430  ** @returns xcb_void_cookie_t
   8431  **
   8432  *****************************************************************************/
   8433 
   8434 xcb_void_cookie_t
   8435 xcb_grab_server_checked (xcb_connection_t *c  /**< */);
   8436 
   8437 /**
   8438  * Delivers a request to the X server
   8439  * @param c The connection
   8440  * @return A cookie
   8441  *
   8442  * Delivers a request to the X server.
   8443  *
   8444  */
   8445 
   8446 /*****************************************************************************
   8447  **
   8448  ** xcb_void_cookie_t xcb_grab_server
   8449  **
   8450  ** @param xcb_connection_t *c
   8451  ** @returns xcb_void_cookie_t
   8452  **
   8453  *****************************************************************************/
   8454 
   8455 xcb_void_cookie_t
   8456 xcb_grab_server (xcb_connection_t *c  /**< */);
   8457 
   8458 /**
   8459  * Delivers a request to the X server
   8460  * @param c The connection
   8461  * @return A cookie
   8462  *
   8463  * Delivers a request to the X server.
   8464  *
   8465  * This form can be used only if the request will not cause
   8466  * a reply to be generated. Any returned error will be
   8467  * saved for handling by xcb_request_check().
   8468  */
   8469 
   8470 /*****************************************************************************
   8471  **
   8472  ** xcb_void_cookie_t xcb_ungrab_server_checked
   8473  **
   8474  ** @param xcb_connection_t *c
   8475  ** @returns xcb_void_cookie_t
   8476  **
   8477  *****************************************************************************/
   8478 
   8479 xcb_void_cookie_t
   8480 xcb_ungrab_server_checked (xcb_connection_t *c  /**< */);
   8481 
   8482 /**
   8483  * Delivers a request to the X server
   8484  * @param c The connection
   8485  * @return A cookie
   8486  *
   8487  * Delivers a request to the X server.
   8488  *
   8489  */
   8490 
   8491 /*****************************************************************************
   8492  **
   8493  ** xcb_void_cookie_t xcb_ungrab_server
   8494  **
   8495  ** @param xcb_connection_t *c
   8496  ** @returns xcb_void_cookie_t
   8497  **
   8498  *****************************************************************************/
   8499 
   8500 xcb_void_cookie_t
   8501 xcb_ungrab_server (xcb_connection_t *c  /**< */);
   8502 
   8503 /**
   8504  * Delivers a request to the X server
   8505  * @param c The connection
   8506  * @return A cookie
   8507  *
   8508  * Delivers a request to the X server.
   8509  *
   8510  */
   8511 
   8512 /*****************************************************************************
   8513  **
   8514  ** xcb_query_pointer_cookie_t xcb_query_pointer
   8515  **
   8516  ** @param xcb_connection_t *c
   8517  ** @param xcb_window_t      window
   8518  ** @returns xcb_query_pointer_cookie_t
   8519  **
   8520  *****************************************************************************/
   8521 
   8522 xcb_query_pointer_cookie_t
   8523 xcb_query_pointer (xcb_connection_t *c  /**< */,
   8524                    xcb_window_t      window  /**< */);
   8525 
   8526 /**
   8527  * Delivers a request to the X server
   8528  * @param c The connection
   8529  * @return A cookie
   8530  *
   8531  * Delivers a request to the X server.
   8532  *
   8533  * This form can be used only if the request will cause
   8534  * a reply to be generated. Any returned error will be
   8535  * placed in the event queue.
   8536  */
   8537 
   8538 /*****************************************************************************
   8539  **
   8540  ** xcb_query_pointer_cookie_t xcb_query_pointer_unchecked
   8541  **
   8542  ** @param xcb_connection_t *c
   8543  ** @param xcb_window_t      window
   8544  ** @returns xcb_query_pointer_cookie_t
   8545  **
   8546  *****************************************************************************/
   8547 
   8548 xcb_query_pointer_cookie_t
   8549 xcb_query_pointer_unchecked (xcb_connection_t *c  /**< */,
   8550                              xcb_window_t      window  /**< */);
   8551 
   8552 /**
   8553  * Return the reply
   8554  * @param c      The connection
   8555  * @param cookie The cookie
   8556  * @param e      The xcb_generic_error_t supplied
   8557  *
   8558  * Returns the reply of the request asked by
   8559  *
   8560  * The parameter @p e supplied to this function must be NULL if
   8561  * xcb_query_pointer_unchecked(). is used.
   8562  * Otherwise, it stores the error if any.
   8563  *
   8564  * The returned value must be freed by the caller using free().
   8565  */
   8566 
   8567 /*****************************************************************************
   8568  **
   8569  ** xcb_query_pointer_reply_t * xcb_query_pointer_reply
   8570  **
   8571  ** @param xcb_connection_t            *c
   8572  ** @param xcb_query_pointer_cookie_t   cookie
   8573  ** @param xcb_generic_error_t        **e
   8574  ** @returns xcb_query_pointer_reply_t *
   8575  **
   8576  *****************************************************************************/
   8577 
   8578 xcb_query_pointer_reply_t *
   8579 xcb_query_pointer_reply (xcb_connection_t            *c  /**< */,
   8580                          xcb_query_pointer_cookie_t   cookie  /**< */,
   8581                          xcb_generic_error_t        **e  /**< */);
   8582 
   8583 /**
   8584  * Get the next element of the iterator
   8585  * @param i Pointer to a xcb_timecoord_iterator_t
   8586  *
   8587  * Get the next element in the iterator. The member rem is
   8588  * decreased by one. The member data points to the next
   8589  * element. The member index is increased by sizeof(xcb_timecoord_t)
   8590  */
   8591 
   8592 /*****************************************************************************
   8593  **
   8594  ** void xcb_timecoord_next
   8595  **
   8596  ** @param xcb_timecoord_iterator_t *i
   8597  ** @returns void
   8598  **
   8599  *****************************************************************************/
   8600 
   8601 void
   8602 xcb_timecoord_next (xcb_timecoord_iterator_t *i  /**< */);
   8603 
   8604 /**
   8605  * Return the iterator pointing to the last element
   8606  * @param i An xcb_timecoord_iterator_t
   8607  * @return  The iterator pointing to the last element
   8608  *
   8609  * Set the current element in the iterator to the last element.
   8610  * The member rem is set to 0. The member data points to the
   8611  * last element.
   8612  */
   8613 
   8614 /*****************************************************************************
   8615  **
   8616  ** xcb_generic_iterator_t xcb_timecoord_end
   8617  **
   8618  ** @param xcb_timecoord_iterator_t i
   8619  ** @returns xcb_generic_iterator_t
   8620  **
   8621  *****************************************************************************/
   8622 
   8623 xcb_generic_iterator_t
   8624 xcb_timecoord_end (xcb_timecoord_iterator_t i  /**< */);
   8625 
   8626 int
   8627 xcb_get_motion_events_sizeof (const void  *_buffer  /**< */);
   8628 
   8629 /**
   8630  * Delivers a request to the X server
   8631  * @param c The connection
   8632  * @return A cookie
   8633  *
   8634  * Delivers a request to the X server.
   8635  *
   8636  */
   8637 
   8638 /*****************************************************************************
   8639  **
   8640  ** xcb_get_motion_events_cookie_t xcb_get_motion_events
   8641  **
   8642  ** @param xcb_connection_t *c
   8643  ** @param xcb_window_t      window
   8644  ** @param xcb_timestamp_t   start
   8645  ** @param xcb_timestamp_t   stop
   8646  ** @returns xcb_get_motion_events_cookie_t
   8647  **
   8648  *****************************************************************************/
   8649 
   8650 xcb_get_motion_events_cookie_t
   8651 xcb_get_motion_events (xcb_connection_t *c  /**< */,
   8652                        xcb_window_t      window  /**< */,
   8653                        xcb_timestamp_t   start  /**< */,
   8654                        xcb_timestamp_t   stop  /**< */);
   8655 
   8656 /**
   8657  * Delivers a request to the X server
   8658  * @param c The connection
   8659  * @return A cookie
   8660  *
   8661  * Delivers a request to the X server.
   8662  *
   8663  * This form can be used only if the request will cause
   8664  * a reply to be generated. Any returned error will be
   8665  * placed in the event queue.
   8666  */
   8667 
   8668 /*****************************************************************************
   8669  **
   8670  ** xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked
   8671  **
   8672  ** @param xcb_connection_t *c
   8673  ** @param xcb_window_t      window
   8674  ** @param xcb_timestamp_t   start
   8675  ** @param xcb_timestamp_t   stop
   8676  ** @returns xcb_get_motion_events_cookie_t
   8677  **
   8678  *****************************************************************************/
   8679 
   8680 xcb_get_motion_events_cookie_t
   8681 xcb_get_motion_events_unchecked (xcb_connection_t *c  /**< */,
   8682                                  xcb_window_t      window  /**< */,
   8683                                  xcb_timestamp_t   start  /**< */,
   8684                                  xcb_timestamp_t   stop  /**< */);
   8685 
   8686 
   8687 /*****************************************************************************
   8688  **
   8689  ** xcb_timecoord_t * xcb_get_motion_events_events
   8690  **
   8691  ** @param const xcb_get_motion_events_reply_t *R
   8692  ** @returns xcb_timecoord_t *
   8693  **
   8694  *****************************************************************************/
   8695 
   8696 xcb_timecoord_t *
   8697 xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R  /**< */);
   8698 
   8699 
   8700 /*****************************************************************************
   8701  **
   8702  ** int xcb_get_motion_events_events_length
   8703  **
   8704  ** @param const xcb_get_motion_events_reply_t *R
   8705  ** @returns int
   8706  **
   8707  *****************************************************************************/
   8708 
   8709 int
   8710 xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R  /**< */);
   8711 
   8712 
   8713 /*****************************************************************************
   8714  **
   8715  ** xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator
   8716  **
   8717  ** @param const xcb_get_motion_events_reply_t *R
   8718  ** @returns xcb_timecoord_iterator_t
   8719  **
   8720  *****************************************************************************/
   8721 
   8722 xcb_timecoord_iterator_t
   8723 xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R  /**< */);
   8724 
   8725 /**
   8726  * Return the reply
   8727  * @param c      The connection
   8728  * @param cookie The cookie
   8729  * @param e      The xcb_generic_error_t supplied
   8730  *
   8731  * Returns the reply of the request asked by
   8732  *
   8733  * The parameter @p e supplied to this function must be NULL if
   8734  * xcb_get_motion_events_unchecked(). is used.
   8735  * Otherwise, it stores the error if any.
   8736  *
   8737  * The returned value must be freed by the caller using free().
   8738  */
   8739 
   8740 /*****************************************************************************
   8741  **
   8742  ** xcb_get_motion_events_reply_t * xcb_get_motion_events_reply
   8743  **
   8744  ** @param xcb_connection_t                *c
   8745  ** @param xcb_get_motion_events_cookie_t   cookie
   8746  ** @param xcb_generic_error_t            **e
   8747  ** @returns xcb_get_motion_events_reply_t *
   8748  **
   8749  *****************************************************************************/
   8750 
   8751 xcb_get_motion_events_reply_t *
   8752 xcb_get_motion_events_reply (xcb_connection_t                *c  /**< */,
   8753                              xcb_get_motion_events_cookie_t   cookie  /**< */,
   8754                              xcb_generic_error_t            **e  /**< */);
   8755 
   8756 /**
   8757  * Delivers a request to the X server
   8758  * @param c The connection
   8759  * @return A cookie
   8760  *
   8761  * Delivers a request to the X server.
   8762  *
   8763  */
   8764 
   8765 /*****************************************************************************
   8766  **
   8767  ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates
   8768  **
   8769  ** @param xcb_connection_t *c
   8770  ** @param xcb_window_t      src_window
   8771  ** @param xcb_window_t      dst_window
   8772  ** @param int16_t           src_x
   8773  ** @param int16_t           src_y
   8774  ** @returns xcb_translate_coordinates_cookie_t
   8775  **
   8776  *****************************************************************************/
   8777 
   8778 xcb_translate_coordinates_cookie_t
   8779 xcb_translate_coordinates (xcb_connection_t *c  /**< */,
   8780                            xcb_window_t      src_window  /**< */,
   8781                            xcb_window_t      dst_window  /**< */,
   8782                            int16_t           src_x  /**< */,
   8783                            int16_t           src_y  /**< */);
   8784 
   8785 /**
   8786  * Delivers a request to the X server
   8787  * @param c The connection
   8788  * @return A cookie
   8789  *
   8790  * Delivers a request to the X server.
   8791  *
   8792  * This form can be used only if the request will cause
   8793  * a reply to be generated. Any returned error will be
   8794  * placed in the event queue.
   8795  */
   8796 
   8797 /*****************************************************************************
   8798  **
   8799  ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked
   8800  **
   8801  ** @param xcb_connection_t *c
   8802  ** @param xcb_window_t      src_window
   8803  ** @param xcb_window_t      dst_window
   8804  ** @param int16_t           src_x
   8805  ** @param int16_t           src_y
   8806  ** @returns xcb_translate_coordinates_cookie_t
   8807  **
   8808  *****************************************************************************/
   8809 
   8810 xcb_translate_coordinates_cookie_t
   8811 xcb_translate_coordinates_unchecked (xcb_connection_t *c  /**< */,
   8812                                      xcb_window_t      src_window  /**< */,
   8813                                      xcb_window_t      dst_window  /**< */,
   8814                                      int16_t           src_x  /**< */,
   8815                                      int16_t           src_y  /**< */);
   8816 
   8817 /**
   8818  * Return the reply
   8819  * @param c      The connection
   8820  * @param cookie The cookie
   8821  * @param e      The xcb_generic_error_t supplied
   8822  *
   8823  * Returns the reply of the request asked by
   8824  *
   8825  * The parameter @p e supplied to this function must be NULL if
   8826  * xcb_translate_coordinates_unchecked(). is used.
   8827  * Otherwise, it stores the error if any.
   8828  *
   8829  * The returned value must be freed by the caller using free().
   8830  */
   8831 
   8832 /*****************************************************************************
   8833  **
   8834  ** xcb_translate_coordinates_reply_t * xcb_translate_coordinates_reply
   8835  **
   8836  ** @param xcb_connection_t                    *c
   8837  ** @param xcb_translate_coordinates_cookie_t   cookie
   8838  ** @param xcb_generic_error_t                **e
   8839  ** @returns xcb_translate_coordinates_reply_t *
   8840  **
   8841  *****************************************************************************/
   8842 
   8843 xcb_translate_coordinates_reply_t *
   8844 xcb_translate_coordinates_reply (xcb_connection_t                    *c  /**< */,
   8845                                  xcb_translate_coordinates_cookie_t   cookie  /**< */,
   8846                                  xcb_generic_error_t                **e  /**< */);
   8847 
   8848 /**
   8849  * Delivers a request to the X server
   8850  * @param c The connection
   8851  * @return A cookie
   8852  *
   8853  * Delivers a request to the X server.
   8854  *
   8855  * This form can be used only if the request will not cause
   8856  * a reply to be generated. Any returned error will be
   8857  * saved for handling by xcb_request_check().
   8858  */
   8859 
   8860 /*****************************************************************************
   8861  **
   8862  ** xcb_void_cookie_t xcb_warp_pointer_checked
   8863  **
   8864  ** @param xcb_connection_t *c
   8865  ** @param xcb_window_t      src_window
   8866  ** @param xcb_window_t      dst_window
   8867  ** @param int16_t           src_x
   8868  ** @param int16_t           src_y
   8869  ** @param uint16_t          src_width
   8870  ** @param uint16_t          src_height
   8871  ** @param int16_t           dst_x
   8872  ** @param int16_t           dst_y
   8873  ** @returns xcb_void_cookie_t
   8874  **
   8875  *****************************************************************************/
   8876 
   8877 xcb_void_cookie_t
   8878 xcb_warp_pointer_checked (xcb_connection_t *c  /**< */,
   8879                           xcb_window_t      src_window  /**< */,
   8880                           xcb_window_t      dst_window  /**< */,
   8881                           int16_t           src_x  /**< */,
   8882                           int16_t           src_y  /**< */,
   8883                           uint16_t          src_width  /**< */,
   8884                           uint16_t          src_height  /**< */,
   8885                           int16_t           dst_x  /**< */,
   8886                           int16_t           dst_y  /**< */);
   8887 
   8888 /**
   8889  * Delivers a request to the X server
   8890  * @param c The connection
   8891  * @return A cookie
   8892  *
   8893  * Delivers a request to the X server.
   8894  *
   8895  */
   8896 
   8897 /*****************************************************************************
   8898  **
   8899  ** xcb_void_cookie_t xcb_warp_pointer
   8900  **
   8901  ** @param xcb_connection_t *c
   8902  ** @param xcb_window_t      src_window
   8903  ** @param xcb_window_t      dst_window
   8904  ** @param int16_t           src_x
   8905  ** @param int16_t           src_y
   8906  ** @param uint16_t          src_width
   8907  ** @param uint16_t          src_height
   8908  ** @param int16_t           dst_x
   8909  ** @param int16_t           dst_y
   8910  ** @returns xcb_void_cookie_t
   8911  **
   8912  *****************************************************************************/
   8913 
   8914 xcb_void_cookie_t
   8915 xcb_warp_pointer (xcb_connection_t *c  /**< */,
   8916                   xcb_window_t      src_window  /**< */,
   8917                   xcb_window_t      dst_window  /**< */,
   8918                   int16_t           src_x  /**< */,
   8919                   int16_t           src_y  /**< */,
   8920                   uint16_t          src_width  /**< */,
   8921                   uint16_t          src_height  /**< */,
   8922                   int16_t           dst_x  /**< */,
   8923                   int16_t           dst_y  /**< */);
   8924 
   8925 /**
   8926  * Delivers a request to the X server
   8927  * @param c The connection
   8928  * @return A cookie
   8929  *
   8930  * Delivers a request to the X server.
   8931  *
   8932  * This form can be used only if the request will not cause
   8933  * a reply to be generated. Any returned error will be
   8934  * saved for handling by xcb_request_check().
   8935  */
   8936 
   8937 /*****************************************************************************
   8938  **
   8939  ** xcb_void_cookie_t xcb_set_input_focus_checked
   8940  **
   8941  ** @param xcb_connection_t *c
   8942  ** @param uint8_t           revert_to
   8943  ** @param xcb_window_t      focus
   8944  ** @param xcb_timestamp_t   time
   8945  ** @returns xcb_void_cookie_t
   8946  **
   8947  *****************************************************************************/
   8948 
   8949 xcb_void_cookie_t
   8950 xcb_set_input_focus_checked (xcb_connection_t *c  /**< */,
   8951                              uint8_t           revert_to  /**< */,
   8952                              xcb_window_t      focus  /**< */,
   8953                              xcb_timestamp_t   time  /**< */);
   8954 
   8955 /**
   8956  * Delivers a request to the X server
   8957  * @param c The connection
   8958  * @return A cookie
   8959  *
   8960  * Delivers a request to the X server.
   8961  *
   8962  */
   8963 
   8964 /*****************************************************************************
   8965  **
   8966  ** xcb_void_cookie_t xcb_set_input_focus
   8967  **
   8968  ** @param xcb_connection_t *c
   8969  ** @param uint8_t           revert_to
   8970  ** @param xcb_window_t      focus
   8971  ** @param xcb_timestamp_t   time
   8972  ** @returns xcb_void_cookie_t
   8973  **
   8974  *****************************************************************************/
   8975 
   8976 xcb_void_cookie_t
   8977 xcb_set_input_focus (xcb_connection_t *c  /**< */,
   8978                      uint8_t           revert_to  /**< */,
   8979                      xcb_window_t      focus  /**< */,
   8980                      xcb_timestamp_t   time  /**< */);
   8981 
   8982 /**
   8983  * Delivers a request to the X server
   8984  * @param c The connection
   8985  * @return A cookie
   8986  *
   8987  * Delivers a request to the X server.
   8988  *
   8989  */
   8990 
   8991 /*****************************************************************************
   8992  **
   8993  ** xcb_get_input_focus_cookie_t xcb_get_input_focus
   8994  **
   8995  ** @param xcb_connection_t *c
   8996  ** @returns xcb_get_input_focus_cookie_t
   8997  **
   8998  *****************************************************************************/
   8999 
   9000 xcb_get_input_focus_cookie_t
   9001 xcb_get_input_focus (xcb_connection_t *c  /**< */);
   9002 
   9003 /**
   9004  * Delivers a request to the X server
   9005  * @param c The connection
   9006  * @return A cookie
   9007  *
   9008  * Delivers a request to the X server.
   9009  *
   9010  * This form can be used only if the request will cause
   9011  * a reply to be generated. Any returned error will be
   9012  * placed in the event queue.
   9013  */
   9014 
   9015 /*****************************************************************************
   9016  **
   9017  ** xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked
   9018  **
   9019  ** @param xcb_connection_t *c
   9020  ** @returns xcb_get_input_focus_cookie_t
   9021  **
   9022  *****************************************************************************/
   9023 
   9024 xcb_get_input_focus_cookie_t
   9025 xcb_get_input_focus_unchecked (xcb_connection_t *c  /**< */);
   9026 
   9027 /**
   9028  * Return the reply
   9029  * @param c      The connection
   9030  * @param cookie The cookie
   9031  * @param e      The xcb_generic_error_t supplied
   9032  *
   9033  * Returns the reply of the request asked by
   9034  *
   9035  * The parameter @p e supplied to this function must be NULL if
   9036  * xcb_get_input_focus_unchecked(). is used.
   9037  * Otherwise, it stores the error if any.
   9038  *
   9039  * The returned value must be freed by the caller using free().
   9040  */
   9041 
   9042 /*****************************************************************************
   9043  **
   9044  ** xcb_get_input_focus_reply_t * xcb_get_input_focus_reply
   9045  **
   9046  ** @param xcb_connection_t              *c
   9047  ** @param xcb_get_input_focus_cookie_t   cookie
   9048  ** @param xcb_generic_error_t          **e
   9049  ** @returns xcb_get_input_focus_reply_t *
   9050  **
   9051  *****************************************************************************/
   9052 
   9053 xcb_get_input_focus_reply_t *
   9054 xcb_get_input_focus_reply (xcb_connection_t              *c  /**< */,
   9055                            xcb_get_input_focus_cookie_t   cookie  /**< */,
   9056                            xcb_generic_error_t          **e  /**< */);
   9057 
   9058 /**
   9059  * Delivers a request to the X server
   9060  * @param c The connection
   9061  * @return A cookie
   9062  *
   9063  * Delivers a request to the X server.
   9064  *
   9065  */
   9066 
   9067 /*****************************************************************************
   9068  **
   9069  ** xcb_query_keymap_cookie_t xcb_query_keymap
   9070  **
   9071  ** @param xcb_connection_t *c
   9072  ** @returns xcb_query_keymap_cookie_t
   9073  **
   9074  *****************************************************************************/
   9075 
   9076 xcb_query_keymap_cookie_t
   9077 xcb_query_keymap (xcb_connection_t *c  /**< */);
   9078 
   9079 /**
   9080  * Delivers a request to the X server
   9081  * @param c The connection
   9082  * @return A cookie
   9083  *
   9084  * Delivers a request to the X server.
   9085  *
   9086  * This form can be used only if the request will cause
   9087  * a reply to be generated. Any returned error will be
   9088  * placed in the event queue.
   9089  */
   9090 
   9091 /*****************************************************************************
   9092  **
   9093  ** xcb_query_keymap_cookie_t xcb_query_keymap_unchecked
   9094  **
   9095  ** @param xcb_connection_t *c
   9096  ** @returns xcb_query_keymap_cookie_t
   9097  **
   9098  *****************************************************************************/
   9099 
   9100 xcb_query_keymap_cookie_t
   9101 xcb_query_keymap_unchecked (xcb_connection_t *c  /**< */);
   9102 
   9103 /**
   9104  * Return the reply
   9105  * @param c      The connection
   9106  * @param cookie The cookie
   9107  * @param e      The xcb_generic_error_t supplied
   9108  *
   9109  * Returns the reply of the request asked by
   9110  *
   9111  * The parameter @p e supplied to this function must be NULL if
   9112  * xcb_query_keymap_unchecked(). is used.
   9113  * Otherwise, it stores the error if any.
   9114  *
   9115  * The returned value must be freed by the caller using free().
   9116  */
   9117 
   9118 /*****************************************************************************
   9119  **
   9120  ** xcb_query_keymap_reply_t * xcb_query_keymap_reply
   9121  **
   9122  ** @param xcb_connection_t           *c
   9123  ** @param xcb_query_keymap_cookie_t   cookie
   9124  ** @param xcb_generic_error_t       **e
   9125  ** @returns xcb_query_keymap_reply_t *
   9126  **
   9127  *****************************************************************************/
   9128 
   9129 xcb_query_keymap_reply_t *
   9130 xcb_query_keymap_reply (xcb_connection_t           *c  /**< */,
   9131                         xcb_query_keymap_cookie_t   cookie  /**< */,
   9132                         xcb_generic_error_t       **e  /**< */);
   9133 
   9134 int
   9135 xcb_open_font_sizeof (const void  *_buffer  /**< */);
   9136 
   9137 /**
   9138  * Delivers a request to the X server
   9139  * @param c The connection
   9140  * @return A cookie
   9141  *
   9142  * Delivers a request to the X server.
   9143  *
   9144  * This form can be used only if the request will not cause
   9145  * a reply to be generated. Any returned error will be
   9146  * saved for handling by xcb_request_check().
   9147  */
   9148 
   9149 /*****************************************************************************
   9150  **
   9151  ** xcb_void_cookie_t xcb_open_font_checked
   9152  **
   9153  ** @param xcb_connection_t *c
   9154  ** @param xcb_font_t        fid
   9155  ** @param uint16_t          name_len
   9156  ** @param const char       *name
   9157  ** @returns xcb_void_cookie_t
   9158  **
   9159  *****************************************************************************/
   9160 
   9161 xcb_void_cookie_t
   9162 xcb_open_font_checked (xcb_connection_t *c  /**< */,
   9163                        xcb_font_t        fid  /**< */,
   9164                        uint16_t          name_len  /**< */,
   9165                        const char       *name  /**< */);
   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_open_font
   9179  **
   9180  ** @param xcb_connection_t *c
   9181  ** @param xcb_font_t        fid
   9182  ** @param uint16_t          name_len
   9183  ** @param const char       *name
   9184  ** @returns xcb_void_cookie_t
   9185  **
   9186  *****************************************************************************/
   9187 
   9188 xcb_void_cookie_t
   9189 xcb_open_font (xcb_connection_t *c  /**< */,
   9190                xcb_font_t        fid  /**< */,
   9191                uint16_t          name_len  /**< */,
   9192                const char       *name  /**< */);
   9193 
   9194 /**
   9195  * Delivers a request to the X server
   9196  * @param c The connection
   9197  * @return A cookie
   9198  *
   9199  * Delivers a request to the X server.
   9200  *
   9201  * This form can be used only if the request will not cause
   9202  * a reply to be generated. Any returned error will be
   9203  * saved for handling by xcb_request_check().
   9204  */
   9205 
   9206 /*****************************************************************************
   9207  **
   9208  ** xcb_void_cookie_t xcb_close_font_checked
   9209  **
   9210  ** @param xcb_connection_t *c
   9211  ** @param xcb_font_t        font
   9212  ** @returns xcb_void_cookie_t
   9213  **
   9214  *****************************************************************************/
   9215 
   9216 xcb_void_cookie_t
   9217 xcb_close_font_checked (xcb_connection_t *c  /**< */,
   9218                         xcb_font_t        font  /**< */);
   9219 
   9220 /**
   9221  * Delivers a request to the X server
   9222  * @param c The connection
   9223  * @return A cookie
   9224  *
   9225  * Delivers a request to the X server.
   9226  *
   9227  */
   9228 
   9229 /*****************************************************************************
   9230  **
   9231  ** xcb_void_cookie_t xcb_close_font
   9232  **
   9233  ** @param xcb_connection_t *c
   9234  ** @param xcb_font_t        font
   9235  ** @returns xcb_void_cookie_t
   9236  **
   9237  *****************************************************************************/
   9238 
   9239 xcb_void_cookie_t
   9240 xcb_close_font (xcb_connection_t *c  /**< */,
   9241                 xcb_font_t        font  /**< */);
   9242 
   9243 /**
   9244  * Get the next element of the iterator
   9245  * @param i Pointer to a xcb_fontprop_iterator_t
   9246  *
   9247  * Get the next element in the iterator. The member rem is
   9248  * decreased by one. The member data points to the next
   9249  * element. The member index is increased by sizeof(xcb_fontprop_t)
   9250  */
   9251 
   9252 /*****************************************************************************
   9253  **
   9254  ** void xcb_fontprop_next
   9255  **
   9256  ** @param xcb_fontprop_iterator_t *i
   9257  ** @returns void
   9258  **
   9259  *****************************************************************************/
   9260 
   9261 void
   9262 xcb_fontprop_next (xcb_fontprop_iterator_t *i  /**< */);
   9263 
   9264 /**
   9265  * Return the iterator pointing to the last element
   9266  * @param i An xcb_fontprop_iterator_t
   9267  * @return  The iterator pointing to the last element
   9268  *
   9269  * Set the current element in the iterator to the last element.
   9270  * The member rem is set to 0. The member data points to the
   9271  * last element.
   9272  */
   9273 
   9274 /*****************************************************************************
   9275  **
   9276  ** xcb_generic_iterator_t xcb_fontprop_end
   9277  **
   9278  ** @param xcb_fontprop_iterator_t i
   9279  ** @returns xcb_generic_iterator_t
   9280  **
   9281  *****************************************************************************/
   9282 
   9283 xcb_generic_iterator_t
   9284 xcb_fontprop_end (xcb_fontprop_iterator_t i  /**< */);
   9285 
   9286 /**
   9287  * Get the next element of the iterator
   9288  * @param i Pointer to a xcb_charinfo_iterator_t
   9289  *
   9290  * Get the next element in the iterator. The member rem is
   9291  * decreased by one. The member data points to the next
   9292  * element. The member index is increased by sizeof(xcb_charinfo_t)
   9293  */
   9294 
   9295 /*****************************************************************************
   9296  **
   9297  ** void xcb_charinfo_next
   9298  **
   9299  ** @param xcb_charinfo_iterator_t *i
   9300  ** @returns void
   9301  **
   9302  *****************************************************************************/
   9303 
   9304 void
   9305 xcb_charinfo_next (xcb_charinfo_iterator_t *i  /**< */);
   9306 
   9307 /**
   9308  * Return the iterator pointing to the last element
   9309  * @param i An xcb_charinfo_iterator_t
   9310  * @return  The iterator pointing to the last element
   9311  *
   9312  * Set the current element in the iterator to the last element.
   9313  * The member rem is set to 0. The member data points to the
   9314  * last element.
   9315  */
   9316 
   9317 /*****************************************************************************
   9318  **
   9319  ** xcb_generic_iterator_t xcb_charinfo_end
   9320  **
   9321  ** @param xcb_charinfo_iterator_t i
   9322  ** @returns xcb_generic_iterator_t
   9323  **
   9324  *****************************************************************************/
   9325 
   9326 xcb_generic_iterator_t
   9327 xcb_charinfo_end (xcb_charinfo_iterator_t i  /**< */);
   9328 
   9329 int
   9330 xcb_query_font_sizeof (const void  *_buffer  /**< */);
   9331 
   9332 /**
   9333  * Delivers a request to the X server
   9334  * @param c The connection
   9335  * @return A cookie
   9336  *
   9337  * Delivers a request to the X server.
   9338  *
   9339  */
   9340 
   9341 /*****************************************************************************
   9342  **
   9343  ** xcb_query_font_cookie_t xcb_query_font
   9344  **
   9345  ** @param xcb_connection_t *c
   9346  ** @param xcb_fontable_t    font
   9347  ** @returns xcb_query_font_cookie_t
   9348  **
   9349  *****************************************************************************/
   9350 
   9351 xcb_query_font_cookie_t
   9352 xcb_query_font (xcb_connection_t *c  /**< */,
   9353                 xcb_fontable_t    font  /**< */);
   9354 
   9355 /**
   9356  * Delivers a request to the X server
   9357  * @param c The connection
   9358  * @return A cookie
   9359  *
   9360  * Delivers a request to the X server.
   9361  *
   9362  * This form can be used only if the request will cause
   9363  * a reply to be generated. Any returned error will be
   9364  * placed in the event queue.
   9365  */
   9366 
   9367 /*****************************************************************************
   9368  **
   9369  ** xcb_query_font_cookie_t xcb_query_font_unchecked
   9370  **
   9371  ** @param xcb_connection_t *c
   9372  ** @param xcb_fontable_t    font
   9373  ** @returns xcb_query_font_cookie_t
   9374  **
   9375  *****************************************************************************/
   9376 
   9377 xcb_query_font_cookie_t
   9378 xcb_query_font_unchecked (xcb_connection_t *c  /**< */,
   9379                           xcb_fontable_t    font  /**< */);
   9380 
   9381 
   9382 /*****************************************************************************
   9383  **
   9384  ** xcb_fontprop_t * xcb_query_font_properties
   9385  **
   9386  ** @param const xcb_query_font_reply_t *R
   9387  ** @returns xcb_fontprop_t *
   9388  **
   9389  *****************************************************************************/
   9390 
   9391 xcb_fontprop_t *
   9392 xcb_query_font_properties (const xcb_query_font_reply_t *R  /**< */);
   9393 
   9394 
   9395 /*****************************************************************************
   9396  **
   9397  ** int xcb_query_font_properties_length
   9398  **
   9399  ** @param const xcb_query_font_reply_t *R
   9400  ** @returns int
   9401  **
   9402  *****************************************************************************/
   9403 
   9404 int
   9405 xcb_query_font_properties_length (const xcb_query_font_reply_t *R  /**< */);
   9406 
   9407 
   9408 /*****************************************************************************
   9409  **
   9410  ** xcb_fontprop_iterator_t xcb_query_font_properties_iterator
   9411  **
   9412  ** @param const xcb_query_font_reply_t *R
   9413  ** @returns xcb_fontprop_iterator_t
   9414  **
   9415  *****************************************************************************/
   9416 
   9417 xcb_fontprop_iterator_t
   9418 xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R  /**< */);
   9419 
   9420 
   9421 /*****************************************************************************
   9422  **
   9423  ** xcb_charinfo_t * xcb_query_font_char_infos
   9424  **
   9425  ** @param const xcb_query_font_reply_t *R
   9426  ** @returns xcb_charinfo_t *
   9427  **
   9428  *****************************************************************************/
   9429 
   9430 xcb_charinfo_t *
   9431 xcb_query_font_char_infos (const xcb_query_font_reply_t *R  /**< */);
   9432 
   9433 
   9434 /*****************************************************************************
   9435  **
   9436  ** int xcb_query_font_char_infos_length
   9437  **
   9438  ** @param const xcb_query_font_reply_t *R
   9439  ** @returns int
   9440  **
   9441  *****************************************************************************/
   9442 
   9443 int
   9444 xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R  /**< */);
   9445 
   9446 
   9447 /*****************************************************************************
   9448  **
   9449  ** xcb_charinfo_iterator_t xcb_query_font_char_infos_iterator
   9450  **
   9451  ** @param const xcb_query_font_reply_t *R
   9452  ** @returns xcb_charinfo_iterator_t
   9453  **
   9454  *****************************************************************************/
   9455 
   9456 xcb_charinfo_iterator_t
   9457 xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R  /**< */);
   9458 
   9459 /**
   9460  * Return the reply
   9461  * @param c      The connection
   9462  * @param cookie The cookie
   9463  * @param e      The xcb_generic_error_t supplied
   9464  *
   9465  * Returns the reply of the request asked by
   9466  *
   9467  * The parameter @p e supplied to this function must be NULL if
   9468  * xcb_query_font_unchecked(). is used.
   9469  * Otherwise, it stores the error if any.
   9470  *
   9471  * The returned value must be freed by the caller using free().
   9472  */
   9473 
   9474 /*****************************************************************************
   9475  **
   9476  ** xcb_query_font_reply_t * xcb_query_font_reply
   9477  **
   9478  ** @param xcb_connection_t         *c
   9479  ** @param xcb_query_font_cookie_t   cookie
   9480  ** @param xcb_generic_error_t     **e
   9481  ** @returns xcb_query_font_reply_t *
   9482  **
   9483  *****************************************************************************/
   9484 
   9485 xcb_query_font_reply_t *
   9486 xcb_query_font_reply (xcb_connection_t         *c  /**< */,
   9487                       xcb_query_font_cookie_t   cookie  /**< */,
   9488                       xcb_generic_error_t     **e  /**< */);
   9489 
   9490 int
   9491 xcb_query_text_extents_sizeof (const void  *_buffer  /**< */,
   9492                                uint32_t     string_len  /**< */);
   9493 
   9494 /**
   9495  * Delivers a request to the X server
   9496  * @param c The connection
   9497  * @return A cookie
   9498  *
   9499  * Delivers a request to the X server.
   9500  *
   9501  */
   9502 
   9503 /*****************************************************************************
   9504  **
   9505  ** xcb_query_text_extents_cookie_t xcb_query_text_extents
   9506  **
   9507  ** @param xcb_connection_t   *c
   9508  ** @param xcb_fontable_t      font
   9509  ** @param uint32_t            string_len
   9510  ** @param const xcb_char2b_t *string
   9511  ** @returns xcb_query_text_extents_cookie_t
   9512  **
   9513  *****************************************************************************/
   9514 
   9515 xcb_query_text_extents_cookie_t
   9516 xcb_query_text_extents (xcb_connection_t   *c  /**< */,
   9517                         xcb_fontable_t      font  /**< */,
   9518                         uint32_t            string_len  /**< */,
   9519                         const xcb_char2b_t *string  /**< */);
   9520 
   9521 /**
   9522  * Delivers a request to the X server
   9523  * @param c The connection
   9524  * @return A cookie
   9525  *
   9526  * Delivers a request to the X server.
   9527  *
   9528  * This form can be used only if the request will cause
   9529  * a reply to be generated. Any returned error will be
   9530  * placed in the event queue.
   9531  */
   9532 
   9533 /*****************************************************************************
   9534  **
   9535  ** xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked
   9536  **
   9537  ** @param xcb_connection_t   *c
   9538  ** @param xcb_fontable_t      font
   9539  ** @param uint32_t            string_len
   9540  ** @param const xcb_char2b_t *string
   9541  ** @returns xcb_query_text_extents_cookie_t
   9542  **
   9543  *****************************************************************************/
   9544 
   9545 xcb_query_text_extents_cookie_t
   9546 xcb_query_text_extents_unchecked (xcb_connection_t   *c  /**< */,
   9547                                   xcb_fontable_t      font  /**< */,
   9548                                   uint32_t            string_len  /**< */,
   9549                                   const xcb_char2b_t *string  /**< */);
   9550 
   9551 /**
   9552  * Return the reply
   9553  * @param c      The connection
   9554  * @param cookie The cookie
   9555  * @param e      The xcb_generic_error_t supplied
   9556  *
   9557  * Returns the reply of the request asked by
   9558  *
   9559  * The parameter @p e supplied to this function must be NULL if
   9560  * xcb_query_text_extents_unchecked(). is used.
   9561  * Otherwise, it stores the error if any.
   9562  *
   9563  * The returned value must be freed by the caller using free().
   9564  */
   9565 
   9566 /*****************************************************************************
   9567  **
   9568  ** xcb_query_text_extents_reply_t * xcb_query_text_extents_reply
   9569  **
   9570  ** @param xcb_connection_t                 *c
   9571  ** @param xcb_query_text_extents_cookie_t   cookie
   9572  ** @param xcb_generic_error_t             **e
   9573  ** @returns xcb_query_text_extents_reply_t *
   9574  **
   9575  *****************************************************************************/
   9576 
   9577 xcb_query_text_extents_reply_t *
   9578 xcb_query_text_extents_reply (xcb_connection_t                 *c  /**< */,
   9579                               xcb_query_text_extents_cookie_t   cookie  /**< */,
   9580                               xcb_generic_error_t             **e  /**< */);
   9581 
   9582 int
   9583 xcb_str_sizeof (const void  *_buffer  /**< */);
   9584 
   9585 
   9586 /*****************************************************************************
   9587  **
   9588  ** char * xcb_str_name
   9589  **
   9590  ** @param const xcb_str_t *R
   9591  ** @returns char *
   9592  **
   9593  *****************************************************************************/
   9594 
   9595 char *
   9596 xcb_str_name (const xcb_str_t *R  /**< */);
   9597 
   9598 
   9599 /*****************************************************************************
   9600  **
   9601  ** int xcb_str_name_length
   9602  **
   9603  ** @param const xcb_str_t *R
   9604  ** @returns int
   9605  **
   9606  *****************************************************************************/
   9607 
   9608 int
   9609 xcb_str_name_length (const xcb_str_t *R  /**< */);
   9610 
   9611 
   9612 /*****************************************************************************
   9613  **
   9614  ** xcb_generic_iterator_t xcb_str_name_end
   9615  **
   9616  ** @param const xcb_str_t *R
   9617  ** @returns xcb_generic_iterator_t
   9618  **
   9619  *****************************************************************************/
   9620 
   9621 xcb_generic_iterator_t
   9622 xcb_str_name_end (const xcb_str_t *R  /**< */);
   9623 
   9624 /**
   9625  * Get the next element of the iterator
   9626  * @param i Pointer to a xcb_str_iterator_t
   9627  *
   9628  * Get the next element in the iterator. The member rem is
   9629  * decreased by one. The member data points to the next
   9630  * element. The member index is increased by sizeof(xcb_str_t)
   9631  */
   9632 
   9633 /*****************************************************************************
   9634  **
   9635  ** void xcb_str_next
   9636  **
   9637  ** @param xcb_str_iterator_t *i
   9638  ** @returns void
   9639  **
   9640  *****************************************************************************/
   9641 
   9642 void
   9643 xcb_str_next (xcb_str_iterator_t *i  /**< */);
   9644 
   9645 /**
   9646  * Return the iterator pointing to the last element
   9647  * @param i An xcb_str_iterator_t
   9648  * @return  The iterator pointing to the last element
   9649  *
   9650  * Set the current element in the iterator to the last element.
   9651  * The member rem is set to 0. The member data points to the
   9652  * last element.
   9653  */
   9654 
   9655 /*****************************************************************************
   9656  **
   9657  ** xcb_generic_iterator_t xcb_str_end
   9658  **
   9659  ** @param xcb_str_iterator_t i
   9660  ** @returns xcb_generic_iterator_t
   9661  **
   9662  *****************************************************************************/
   9663 
   9664 xcb_generic_iterator_t
   9665 xcb_str_end (xcb_str_iterator_t i  /**< */);
   9666 
   9667 int
   9668 xcb_list_fonts_sizeof (const void  *_buffer  /**< */);
   9669 
   9670 /**
   9671  * Delivers a request to the X server
   9672  * @param c The connection
   9673  * @return A cookie
   9674  *
   9675  * Delivers a request to the X server.
   9676  *
   9677  */
   9678 
   9679 /*****************************************************************************
   9680  **
   9681  ** xcb_list_fonts_cookie_t xcb_list_fonts
   9682  **
   9683  ** @param xcb_connection_t *c
   9684  ** @param uint16_t          max_names
   9685  ** @param uint16_t          pattern_len
   9686  ** @param const char       *pattern
   9687  ** @returns xcb_list_fonts_cookie_t
   9688  **
   9689  *****************************************************************************/
   9690 
   9691 xcb_list_fonts_cookie_t
   9692 xcb_list_fonts (xcb_connection_t *c  /**< */,
   9693                 uint16_t          max_names  /**< */,
   9694                 uint16_t          pattern_len  /**< */,
   9695                 const char       *pattern  /**< */);
   9696 
   9697 /**
   9698  * Delivers a request to the X server
   9699  * @param c The connection
   9700  * @return A cookie
   9701  *
   9702  * Delivers a request to the X server.
   9703  *
   9704  * This form can be used only if the request will cause
   9705  * a reply to be generated. Any returned error will be
   9706  * placed in the event queue.
   9707  */
   9708 
   9709 /*****************************************************************************
   9710  **
   9711  ** xcb_list_fonts_cookie_t xcb_list_fonts_unchecked
   9712  **
   9713  ** @param xcb_connection_t *c
   9714  ** @param uint16_t          max_names
   9715  ** @param uint16_t          pattern_len
   9716  ** @param const char       *pattern
   9717  ** @returns xcb_list_fonts_cookie_t
   9718  **
   9719  *****************************************************************************/
   9720 
   9721 xcb_list_fonts_cookie_t
   9722 xcb_list_fonts_unchecked (xcb_connection_t *c  /**< */,
   9723                           uint16_t          max_names  /**< */,
   9724                           uint16_t          pattern_len  /**< */,
   9725                           const char       *pattern  /**< */);
   9726 
   9727 
   9728 /*****************************************************************************
   9729  **
   9730  ** int xcb_list_fonts_names_length
   9731  **
   9732  ** @param const xcb_list_fonts_reply_t *R
   9733  ** @returns int
   9734  **
   9735  *****************************************************************************/
   9736 
   9737 int
   9738 xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R  /**< */);
   9739 
   9740 
   9741 /*****************************************************************************
   9742  **
   9743  ** xcb_str_iterator_t xcb_list_fonts_names_iterator
   9744  **
   9745  ** @param const xcb_list_fonts_reply_t *R
   9746  ** @returns xcb_str_iterator_t
   9747  **
   9748  *****************************************************************************/
   9749 
   9750 xcb_str_iterator_t
   9751 xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R  /**< */);
   9752 
   9753 /**
   9754  * Return the reply
   9755  * @param c      The connection
   9756  * @param cookie The cookie
   9757  * @param e      The xcb_generic_error_t supplied
   9758  *
   9759  * Returns the reply of the request asked by
   9760  *
   9761  * The parameter @p e supplied to this function must be NULL if
   9762  * xcb_list_fonts_unchecked(). is used.
   9763  * Otherwise, it stores the error if any.
   9764  *
   9765  * The returned value must be freed by the caller using free().
   9766  */
   9767 
   9768 /*****************************************************************************
   9769  **
   9770  ** xcb_list_fonts_reply_t * xcb_list_fonts_reply
   9771  **
   9772  ** @param xcb_connection_t         *c
   9773  ** @param xcb_list_fonts_cookie_t   cookie
   9774  ** @param xcb_generic_error_t     **e
   9775  ** @returns xcb_list_fonts_reply_t *
   9776  **
   9777  *****************************************************************************/
   9778 
   9779 xcb_list_fonts_reply_t *
   9780 xcb_list_fonts_reply (xcb_connection_t         *c  /**< */,
   9781                       xcb_list_fonts_cookie_t   cookie  /**< */,
   9782                       xcb_generic_error_t     **e  /**< */);
   9783 
   9784 int
   9785 xcb_list_fonts_with_info_sizeof (const void  *_buffer  /**< */);
   9786 
   9787 /**
   9788  * Delivers a request to the X server
   9789  * @param c The connection
   9790  * @return A cookie
   9791  *
   9792  * Delivers a request to the X server.
   9793  *
   9794  */
   9795 
   9796 /*****************************************************************************
   9797  **
   9798  ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info
   9799  **
   9800  ** @param xcb_connection_t *c
   9801  ** @param uint16_t          max_names
   9802  ** @param uint16_t          pattern_len
   9803  ** @param const char       *pattern
   9804  ** @returns xcb_list_fonts_with_info_cookie_t
   9805  **
   9806  *****************************************************************************/
   9807 
   9808 xcb_list_fonts_with_info_cookie_t
   9809 xcb_list_fonts_with_info (xcb_connection_t *c  /**< */,
   9810                           uint16_t          max_names  /**< */,
   9811                           uint16_t          pattern_len  /**< */,
   9812                           const char       *pattern  /**< */);
   9813 
   9814 /**
   9815  * Delivers a request to the X server
   9816  * @param c The connection
   9817  * @return A cookie
   9818  *
   9819  * Delivers a request to the X server.
   9820  *
   9821  * This form can be used only if the request will cause
   9822  * a reply to be generated. Any returned error will be
   9823  * placed in the event queue.
   9824  */
   9825 
   9826 /*****************************************************************************
   9827  **
   9828  ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked
   9829  **
   9830  ** @param xcb_connection_t *c
   9831  ** @param uint16_t          max_names
   9832  ** @param uint16_t          pattern_len
   9833  ** @param const char       *pattern
   9834  ** @returns xcb_list_fonts_with_info_cookie_t
   9835  **
   9836  *****************************************************************************/
   9837 
   9838 xcb_list_fonts_with_info_cookie_t
   9839 xcb_list_fonts_with_info_unchecked (xcb_connection_t *c  /**< */,
   9840                                     uint16_t          max_names  /**< */,
   9841                                     uint16_t          pattern_len  /**< */,
   9842                                     const char       *pattern  /**< */);
   9843 
   9844 
   9845 /*****************************************************************************
   9846  **
   9847  ** xcb_fontprop_t * xcb_list_fonts_with_info_properties
   9848  **
   9849  ** @param const xcb_list_fonts_with_info_reply_t *R
   9850  ** @returns xcb_fontprop_t *
   9851  **
   9852  *****************************************************************************/
   9853 
   9854 xcb_fontprop_t *
   9855 xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9856 
   9857 
   9858 /*****************************************************************************
   9859  **
   9860  ** int xcb_list_fonts_with_info_properties_length
   9861  **
   9862  ** @param const xcb_list_fonts_with_info_reply_t *R
   9863  ** @returns int
   9864  **
   9865  *****************************************************************************/
   9866 
   9867 int
   9868 xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9869 
   9870 
   9871 /*****************************************************************************
   9872  **
   9873  ** xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator
   9874  **
   9875  ** @param const xcb_list_fonts_with_info_reply_t *R
   9876  ** @returns xcb_fontprop_iterator_t
   9877  **
   9878  *****************************************************************************/
   9879 
   9880 xcb_fontprop_iterator_t
   9881 xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9882 
   9883 
   9884 /*****************************************************************************
   9885  **
   9886  ** char * xcb_list_fonts_with_info_name
   9887  **
   9888  ** @param const xcb_list_fonts_with_info_reply_t *R
   9889  ** @returns char *
   9890  **
   9891  *****************************************************************************/
   9892 
   9893 char *
   9894 xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9895 
   9896 
   9897 /*****************************************************************************
   9898  **
   9899  ** int xcb_list_fonts_with_info_name_length
   9900  **
   9901  ** @param const xcb_list_fonts_with_info_reply_t *R
   9902  ** @returns int
   9903  **
   9904  *****************************************************************************/
   9905 
   9906 int
   9907 xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9908 
   9909 
   9910 /*****************************************************************************
   9911  **
   9912  ** xcb_generic_iterator_t xcb_list_fonts_with_info_name_end
   9913  **
   9914  ** @param const xcb_list_fonts_with_info_reply_t *R
   9915  ** @returns xcb_generic_iterator_t
   9916  **
   9917  *****************************************************************************/
   9918 
   9919 xcb_generic_iterator_t
   9920 xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R  /**< */);
   9921 
   9922 /**
   9923  * Return the reply
   9924  * @param c      The connection
   9925  * @param cookie The cookie
   9926  * @param e      The xcb_generic_error_t supplied
   9927  *
   9928  * Returns the reply of the request asked by
   9929  *
   9930  * The parameter @p e supplied to this function must be NULL if
   9931  * xcb_list_fonts_with_info_unchecked(). is used.
   9932  * Otherwise, it stores the error if any.
   9933  *
   9934  * The returned value must be freed by the caller using free().
   9935  */
   9936 
   9937 /*****************************************************************************
   9938  **
   9939  ** xcb_list_fonts_with_info_reply_t * xcb_list_fonts_with_info_reply
   9940  **
   9941  ** @param xcb_connection_t                   *c
   9942  ** @param xcb_list_fonts_with_info_cookie_t   cookie
   9943  ** @param xcb_generic_error_t               **e
   9944  ** @returns xcb_list_fonts_with_info_reply_t *
   9945  **
   9946  *****************************************************************************/
   9947 
   9948 xcb_list_fonts_with_info_reply_t *
   9949 xcb_list_fonts_with_info_reply (xcb_connection_t                   *c  /**< */,
   9950                                 xcb_list_fonts_with_info_cookie_t   cookie  /**< */,
   9951                                 xcb_generic_error_t               **e  /**< */);
   9952 
   9953 int
   9954 xcb_set_font_path_sizeof (const void  *_buffer  /**< */);
   9955 
   9956 /**
   9957  * Delivers a request to the X server
   9958  * @param c The connection
   9959  * @return A cookie
   9960  *
   9961  * Delivers a request to the X server.
   9962  *
   9963  * This form can be used only if the request will not cause
   9964  * a reply to be generated. Any returned error will be
   9965  * saved for handling by xcb_request_check().
   9966  */
   9967 
   9968 /*****************************************************************************
   9969  **
   9970  ** xcb_void_cookie_t xcb_set_font_path_checked
   9971  **
   9972  ** @param xcb_connection_t *c
   9973  ** @param uint16_t          font_qty
   9974  ** @param const xcb_str_t  *font
   9975  ** @returns xcb_void_cookie_t
   9976  **
   9977  *****************************************************************************/
   9978 
   9979 xcb_void_cookie_t
   9980 xcb_set_font_path_checked (xcb_connection_t *c  /**< */,
   9981                            uint16_t          font_qty  /**< */,
   9982                            const xcb_str_t  *font  /**< */);
   9983 
   9984 /**
   9985  * Delivers a request to the X server
   9986  * @param c The connection
   9987  * @return A cookie
   9988  *
   9989  * Delivers a request to the X server.
   9990  *
   9991  */
   9992 
   9993 /*****************************************************************************
   9994  **
   9995  ** xcb_void_cookie_t xcb_set_font_path
   9996  **
   9997  ** @param xcb_connection_t *c
   9998  ** @param uint16_t          font_qty
   9999  ** @param const xcb_str_t  *font
   10000  ** @returns xcb_void_cookie_t
   10001  **
   10002  *****************************************************************************/
   10003 
   10004 xcb_void_cookie_t
   10005 xcb_set_font_path (xcb_connection_t *c  /**< */,
   10006                    uint16_t          font_qty  /**< */,
   10007                    const xcb_str_t  *font  /**< */);
   10008 
   10009 int
   10010 xcb_get_font_path_sizeof (const void  *_buffer  /**< */);
   10011 
   10012 /**
   10013  * Delivers a request to the X server
   10014  * @param c The connection
   10015  * @return A cookie
   10016  *
   10017  * Delivers a request to the X server.
   10018  *
   10019  */
   10020 
   10021 /*****************************************************************************
   10022  **
   10023  ** xcb_get_font_path_cookie_t xcb_get_font_path
   10024  **
   10025  ** @param xcb_connection_t *c
   10026  ** @returns xcb_get_font_path_cookie_t
   10027  **
   10028  *****************************************************************************/
   10029 
   10030 xcb_get_font_path_cookie_t
   10031 xcb_get_font_path (xcb_connection_t *c  /**< */);
   10032 
   10033 /**
   10034  * Delivers a request to the X server
   10035  * @param c The connection
   10036  * @return A cookie
   10037  *
   10038  * Delivers a request to the X server.
   10039  *
   10040  * This form can be used only if the request will cause
   10041  * a reply to be generated. Any returned error will be
   10042  * placed in the event queue.
   10043  */
   10044 
   10045 /*****************************************************************************
   10046  **
   10047  ** xcb_get_font_path_cookie_t xcb_get_font_path_unchecked
   10048  **
   10049  ** @param xcb_connection_t *c
   10050  ** @returns xcb_get_font_path_cookie_t
   10051  **
   10052  *****************************************************************************/
   10053 
   10054 xcb_get_font_path_cookie_t
   10055 xcb_get_font_path_unchecked (xcb_connection_t *c  /**< */);
   10056 
   10057 
   10058 /*****************************************************************************
   10059  **
   10060  ** int xcb_get_font_path_path_length
   10061  **
   10062  ** @param const xcb_get_font_path_reply_t *R
   10063  ** @returns int
   10064  **
   10065  *****************************************************************************/
   10066 
   10067 int
   10068 xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R  /**< */);
   10069 
   10070 
   10071 /*****************************************************************************
   10072  **
   10073  ** xcb_str_iterator_t xcb_get_font_path_path_iterator
   10074  **
   10075  ** @param const xcb_get_font_path_reply_t *R
   10076  ** @returns xcb_str_iterator_t
   10077  **
   10078  *****************************************************************************/
   10079 
   10080 xcb_str_iterator_t
   10081 xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R  /**< */);
   10082 
   10083 /**
   10084  * Return the reply
   10085  * @param c      The connection
   10086  * @param cookie The cookie
   10087  * @param e      The xcb_generic_error_t supplied
   10088  *
   10089  * Returns the reply of the request asked by
   10090  *
   10091  * The parameter @p e supplied to this function must be NULL if
   10092  * xcb_get_font_path_unchecked(). is used.
   10093  * Otherwise, it stores the error if any.
   10094  *
   10095  * The returned value must be freed by the caller using free().
   10096  */
   10097 
   10098 /*****************************************************************************
   10099  **
   10100  ** xcb_get_font_path_reply_t * xcb_get_font_path_reply
   10101  **
   10102  ** @param xcb_connection_t            *c
   10103  ** @param xcb_get_font_path_cookie_t   cookie
   10104  ** @param xcb_generic_error_t        **e
   10105  ** @returns xcb_get_font_path_reply_t *
   10106  **
   10107  *****************************************************************************/
   10108 
   10109 xcb_get_font_path_reply_t *
   10110 xcb_get_font_path_reply (xcb_connection_t            *c  /**< */,
   10111                          xcb_get_font_path_cookie_t   cookie  /**< */,
   10112                          xcb_generic_error_t        **e  /**< */);
   10113 
   10114 /**
   10115  * Delivers a request to the X server
   10116  * @param c The connection
   10117  * @return A cookie
   10118  *
   10119  * Delivers a request to the X server.
   10120  *
   10121  * This form can be used only if the request will not cause
   10122  * a reply to be generated. Any returned error will be
   10123  * saved for handling by xcb_request_check().
   10124  */
   10125 
   10126 /*****************************************************************************
   10127  **
   10128  ** xcb_void_cookie_t xcb_create_pixmap_checked
   10129  **
   10130  ** @param xcb_connection_t *c
   10131  ** @param uint8_t           depth
   10132  ** @param xcb_pixmap_t      pid
   10133  ** @param xcb_drawable_t    drawable
   10134  ** @param uint16_t          width
   10135  ** @param uint16_t          height
   10136  ** @returns xcb_void_cookie_t
   10137  **
   10138  *****************************************************************************/
   10139 
   10140 xcb_void_cookie_t
   10141 xcb_create_pixmap_checked (xcb_connection_t *c  /**< */,
   10142                            uint8_t           depth  /**< */,
   10143                            xcb_pixmap_t      pid  /**< */,
   10144                            xcb_drawable_t    drawable  /**< */,
   10145                            uint16_t          width  /**< */,
   10146                            uint16_t          height  /**< */);
   10147 
   10148 /**
   10149  * Delivers a request to the X server
   10150  * @param c The connection
   10151  * @return A cookie
   10152  *
   10153  * Delivers a request to the X server.
   10154  *
   10155  */
   10156 
   10157 /*****************************************************************************
   10158  **
   10159  ** xcb_void_cookie_t xcb_create_pixmap
   10160  **
   10161  ** @param xcb_connection_t *c
   10162  ** @param uint8_t           depth
   10163  ** @param xcb_pixmap_t      pid
   10164  ** @param xcb_drawable_t    drawable
   10165  ** @param uint16_t          width
   10166  ** @param uint16_t          height
   10167  ** @returns xcb_void_cookie_t
   10168  **
   10169  *****************************************************************************/
   10170 
   10171 xcb_void_cookie_t
   10172 xcb_create_pixmap (xcb_connection_t *c  /**< */,
   10173                    uint8_t           depth  /**< */,
   10174                    xcb_pixmap_t      pid  /**< */,
   10175                    xcb_drawable_t    drawable  /**< */,
   10176                    uint16_t          width  /**< */,
   10177                    uint16_t          height  /**< */);
   10178 
   10179 /**
   10180  * Delivers a request to the X server
   10181  * @param c The connection
   10182  * @return A cookie
   10183  *
   10184  * Delivers a request to the X server.
   10185  *
   10186  * This form can be used only if the request will not cause
   10187  * a reply to be generated. Any returned error will be
   10188  * saved for handling by xcb_request_check().
   10189  */
   10190 
   10191 /*****************************************************************************
   10192  **
   10193  ** xcb_void_cookie_t xcb_free_pixmap_checked
   10194  **
   10195  ** @param xcb_connection_t *c
   10196  ** @param xcb_pixmap_t      pixmap
   10197  ** @returns xcb_void_cookie_t
   10198  **
   10199  *****************************************************************************/
   10200 
   10201 xcb_void_cookie_t
   10202 xcb_free_pixmap_checked (xcb_connection_t *c  /**< */,
   10203                          xcb_pixmap_t      pixmap  /**< */);
   10204 
   10205 /**
   10206  * Delivers a request to the X server
   10207  * @param c The connection
   10208  * @return A cookie
   10209  *
   10210  * Delivers a request to the X server.
   10211  *
   10212  */
   10213 
   10214 /*****************************************************************************
   10215  **
   10216  ** xcb_void_cookie_t xcb_free_pixmap
   10217  **
   10218  ** @param xcb_connection_t *c
   10219  ** @param xcb_pixmap_t      pixmap
   10220  ** @returns xcb_void_cookie_t
   10221  **
   10222  *****************************************************************************/
   10223 
   10224 xcb_void_cookie_t
   10225 xcb_free_pixmap (xcb_connection_t *c  /**< */,
   10226                  xcb_pixmap_t      pixmap  /**< */);
   10227 
   10228 int
   10229 xcb_create_gc_sizeof (const void  *_buffer  /**< */);
   10230 
   10231 /**
   10232  * Delivers a request to the X server
   10233  * @param c The connection
   10234  * @return A cookie
   10235  *
   10236  * Delivers a request to the X server.
   10237  *
   10238  * This form can be used only if the request will not cause
   10239  * a reply to be generated. Any returned error will be
   10240  * saved for handling by xcb_request_check().
   10241  */
   10242 
   10243 /*****************************************************************************
   10244  **
   10245  ** xcb_void_cookie_t xcb_create_gc_checked
   10246  **
   10247  ** @param xcb_connection_t *c
   10248  ** @param xcb_gcontext_t    cid
   10249  ** @param xcb_drawable_t    drawable
   10250  ** @param uint32_t          value_mask
   10251  ** @param const uint32_t   *value_list
   10252  ** @returns xcb_void_cookie_t
   10253  **
   10254  *****************************************************************************/
   10255 
   10256 xcb_void_cookie_t
   10257 xcb_create_gc_checked (xcb_connection_t *c  /**< */,
   10258                        xcb_gcontext_t    cid  /**< */,
   10259                        xcb_drawable_t    drawable  /**< */,
   10260                        uint32_t          value_mask  /**< */,
   10261                        const uint32_t   *value_list  /**< */);
   10262 
   10263 /**
   10264  * Delivers a request to the X server
   10265  * @param c The connection
   10266  * @return A cookie
   10267  *
   10268  * Delivers a request to the X server.
   10269  *
   10270  */
   10271 
   10272 /*****************************************************************************
   10273  **
   10274  ** xcb_void_cookie_t xcb_create_gc
   10275  **
   10276  ** @param xcb_connection_t *c
   10277  ** @param xcb_gcontext_t    cid
   10278  ** @param xcb_drawable_t    drawable
   10279  ** @param uint32_t          value_mask
   10280  ** @param const uint32_t   *value_list
   10281  ** @returns xcb_void_cookie_t
   10282  **
   10283  *****************************************************************************/
   10284 
   10285 xcb_void_cookie_t
   10286 xcb_create_gc (xcb_connection_t *c  /**< */,
   10287                xcb_gcontext_t    cid  /**< */,
   10288                xcb_drawable_t    drawable  /**< */,
   10289                uint32_t          value_mask  /**< */,
   10290                const uint32_t   *value_list  /**< */);
   10291 
   10292 int
   10293 xcb_change_gc_sizeof (const void  *_buffer  /**< */);
   10294 
   10295 /**
   10296  * Delivers a request to the X server
   10297  * @param c The connection
   10298  * @return A cookie
   10299  *
   10300  * Delivers a request to the X server.
   10301  *
   10302  * This form can be used only if the request will not cause
   10303  * a reply to be generated. Any returned error will be
   10304  * saved for handling by xcb_request_check().
   10305  */
   10306 
   10307 /*****************************************************************************
   10308  **
   10309  ** xcb_void_cookie_t xcb_change_gc_checked
   10310  **
   10311  ** @param xcb_connection_t *c
   10312  ** @param xcb_gcontext_t    gc
   10313  ** @param uint32_t          value_mask
   10314  ** @param const uint32_t   *value_list
   10315  ** @returns xcb_void_cookie_t
   10316  **
   10317  *****************************************************************************/
   10318 
   10319 xcb_void_cookie_t
   10320 xcb_change_gc_checked (xcb_connection_t *c  /**< */,
   10321                        xcb_gcontext_t    gc  /**< */,
   10322                        uint32_t          value_mask  /**< */,
   10323                        const uint32_t   *value_list  /**< */);
   10324 
   10325 /**
   10326  * Delivers a request to the X server
   10327  * @param c The connection
   10328  * @return A cookie
   10329  *
   10330  * Delivers a request to the X server.
   10331  *
   10332  */
   10333 
   10334 /*****************************************************************************
   10335  **
   10336  ** xcb_void_cookie_t xcb_change_gc
   10337  **
   10338  ** @param xcb_connection_t *c
   10339  ** @param xcb_gcontext_t    gc
   10340  ** @param uint32_t          value_mask
   10341  ** @param const uint32_t   *value_list
   10342  ** @returns xcb_void_cookie_t
   10343  **
   10344  *****************************************************************************/
   10345 
   10346 xcb_void_cookie_t
   10347 xcb_change_gc (xcb_connection_t *c  /**< */,
   10348                xcb_gcontext_t    gc  /**< */,
   10349                uint32_t          value_mask  /**< */,
   10350                const uint32_t   *value_list  /**< */);
   10351 
   10352 /**
   10353  * Delivers a request to the X server
   10354  * @param c The connection
   10355  * @return A cookie
   10356  *
   10357  * Delivers a request to the X server.
   10358  *
   10359  * This form can be used only if the request will not cause
   10360  * a reply to be generated. Any returned error will be
   10361  * saved for handling by xcb_request_check().
   10362  */
   10363 
   10364 /*****************************************************************************
   10365  **
   10366  ** xcb_void_cookie_t xcb_copy_gc_checked
   10367  **
   10368  ** @param xcb_connection_t *c
   10369  ** @param xcb_gcontext_t    src_gc
   10370  ** @param xcb_gcontext_t    dst_gc
   10371  ** @param uint32_t          value_mask
   10372  ** @returns xcb_void_cookie_t
   10373  **
   10374  *****************************************************************************/
   10375 
   10376 xcb_void_cookie_t
   10377 xcb_copy_gc_checked (xcb_connection_t *c  /**< */,
   10378                      xcb_gcontext_t    src_gc  /**< */,
   10379                      xcb_gcontext_t    dst_gc  /**< */,
   10380                      uint32_t          value_mask  /**< */);
   10381 
   10382 /**
   10383  * Delivers a request to the X server
   10384  * @param c The connection
   10385  * @return A cookie
   10386  *
   10387  * Delivers a request to the X server.
   10388  *
   10389  */
   10390 
   10391 /*****************************************************************************
   10392  **
   10393  ** xcb_void_cookie_t xcb_copy_gc
   10394  **
   10395  ** @param xcb_connection_t *c
   10396  ** @param xcb_gcontext_t    src_gc
   10397  ** @param xcb_gcontext_t    dst_gc
   10398  ** @param uint32_t          value_mask
   10399  ** @returns xcb_void_cookie_t
   10400  **
   10401  *****************************************************************************/
   10402 
   10403 xcb_void_cookie_t
   10404 xcb_copy_gc (xcb_connection_t *c  /**< */,
   10405              xcb_gcontext_t    src_gc  /**< */,
   10406              xcb_gcontext_t    dst_gc  /**< */,
   10407              uint32_t          value_mask  /**< */);
   10408 
   10409 int
   10410 xcb_set_dashes_sizeof (const void  *_buffer  /**< */);
   10411 
   10412 /**
   10413  * Delivers a request to the X server
   10414  * @param c The connection
   10415  * @return A cookie
   10416  *
   10417  * Delivers a request to the X server.
   10418  *
   10419  * This form can be used only if the request will not cause
   10420  * a reply to be generated. Any returned error will be
   10421  * saved for handling by xcb_request_check().
   10422  */
   10423 
   10424 /*****************************************************************************
   10425  **
   10426  ** xcb_void_cookie_t xcb_set_dashes_checked
   10427  **
   10428  ** @param xcb_connection_t *c
   10429  ** @param xcb_gcontext_t    gc
   10430  ** @param uint16_t          dash_offset
   10431  ** @param uint16_t          dashes_len
   10432  ** @param const uint8_t    *dashes
   10433  ** @returns xcb_void_cookie_t
   10434  **
   10435  *****************************************************************************/
   10436 
   10437 xcb_void_cookie_t
   10438 xcb_set_dashes_checked (xcb_connection_t *c  /**< */,
   10439                         xcb_gcontext_t    gc  /**< */,
   10440                         uint16_t          dash_offset  /**< */,
   10441                         uint16_t          dashes_len  /**< */,
   10442                         const uint8_t    *dashes  /**< */);
   10443 
   10444 /**
   10445  * Delivers a request to the X server
   10446  * @param c The connection
   10447  * @return A cookie
   10448  *
   10449  * Delivers a request to the X server.
   10450  *
   10451  */
   10452 
   10453 /*****************************************************************************
   10454  **
   10455  ** xcb_void_cookie_t xcb_set_dashes
   10456  **
   10457  ** @param xcb_connection_t *c
   10458  ** @param xcb_gcontext_t    gc
   10459  ** @param uint16_t          dash_offset
   10460  ** @param uint16_t          dashes_len
   10461  ** @param const uint8_t    *dashes
   10462  ** @returns xcb_void_cookie_t
   10463  **
   10464  *****************************************************************************/
   10465 
   10466 xcb_void_cookie_t
   10467 xcb_set_dashes (xcb_connection_t *c  /**< */,
   10468                 xcb_gcontext_t    gc  /**< */,
   10469                 uint16_t          dash_offset  /**< */,
   10470                 uint16_t          dashes_len  /**< */,
   10471                 const uint8_t    *dashes  /**< */);
   10472 
   10473 int
   10474 xcb_set_clip_rectangles_sizeof (const void  *_buffer  /**< */,
   10475                                 uint32_t     rectangles_len  /**< */);
   10476 
   10477 /**
   10478  * Delivers a request to the X server
   10479  * @param c The connection
   10480  * @return A cookie
   10481  *
   10482  * Delivers a request to the X server.
   10483  *
   10484  * This form can be used only if the request will not cause
   10485  * a reply to be generated. Any returned error will be
   10486  * saved for handling by xcb_request_check().
   10487  */
   10488 
   10489 /*****************************************************************************
   10490  **
   10491  ** xcb_void_cookie_t xcb_set_clip_rectangles_checked
   10492  **
   10493  ** @param xcb_connection_t      *c
   10494  ** @param uint8_t                ordering
   10495  ** @param xcb_gcontext_t         gc
   10496  ** @param int16_t                clip_x_origin
   10497  ** @param int16_t                clip_y_origin
   10498  ** @param uint32_t               rectangles_len
   10499  ** @param const xcb_rectangle_t *rectangles
   10500  ** @returns xcb_void_cookie_t
   10501  **
   10502  *****************************************************************************/
   10503 
   10504 xcb_void_cookie_t
   10505 xcb_set_clip_rectangles_checked (xcb_connection_t      *c  /**< */,
   10506                                  uint8_t                ordering  /**< */,
   10507                                  xcb_gcontext_t         gc  /**< */,
   10508                                  int16_t                clip_x_origin  /**< */,
   10509                                  int16_t                clip_y_origin  /**< */,
   10510                                  uint32_t               rectangles_len  /**< */,
   10511                                  const xcb_rectangle_t *rectangles  /**< */);
   10512 
   10513 /**
   10514  * Delivers a request to the X server
   10515  * @param c The connection
   10516  * @return A cookie
   10517  *
   10518  * Delivers a request to the X server.
   10519  *
   10520  */
   10521 
   10522 /*****************************************************************************
   10523  **
   10524  ** xcb_void_cookie_t xcb_set_clip_rectangles
   10525  **
   10526  ** @param xcb_connection_t      *c
   10527  ** @param uint8_t                ordering
   10528  ** @param xcb_gcontext_t         gc
   10529  ** @param int16_t                clip_x_origin
   10530  ** @param int16_t                clip_y_origin
   10531  ** @param uint32_t               rectangles_len
   10532  ** @param const xcb_rectangle_t *rectangles
   10533  ** @returns xcb_void_cookie_t
   10534  **
   10535  *****************************************************************************/
   10536 
   10537 xcb_void_cookie_t
   10538 xcb_set_clip_rectangles (xcb_connection_t      *c  /**< */,
   10539                          uint8_t                ordering  /**< */,
   10540                          xcb_gcontext_t         gc  /**< */,
   10541                          int16_t                clip_x_origin  /**< */,
   10542                          int16_t                clip_y_origin  /**< */,
   10543                          uint32_t               rectangles_len  /**< */,
   10544                          const xcb_rectangle_t *rectangles  /**< */);
   10545 
   10546 /**
   10547  * Delivers a request to the X server
   10548  * @param c The connection
   10549  * @return A cookie
   10550  *
   10551  * Delivers a request to the X server.
   10552  *
   10553  * This form can be used only if the request will not cause
   10554  * a reply to be generated. Any returned error will be
   10555  * saved for handling by xcb_request_check().
   10556  */
   10557 
   10558 /*****************************************************************************
   10559  **
   10560  ** xcb_void_cookie_t xcb_free_gc_checked
   10561  **
   10562  ** @param xcb_connection_t *c
   10563  ** @param xcb_gcontext_t    gc
   10564  ** @returns xcb_void_cookie_t
   10565  **
   10566  *****************************************************************************/
   10567 
   10568 xcb_void_cookie_t
   10569 xcb_free_gc_checked (xcb_connection_t *c  /**< */,
   10570                      xcb_gcontext_t    gc  /**< */);
   10571 
   10572 /**
   10573  * Delivers a request to the X server
   10574  * @param c The connection
   10575  * @return A cookie
   10576  *
   10577  * Delivers a request to the X server.
   10578  *
   10579  */
   10580 
   10581 /*****************************************************************************
   10582  **
   10583  ** xcb_void_cookie_t xcb_free_gc
   10584  **
   10585  ** @param xcb_connection_t *c
   10586  ** @param xcb_gcontext_t    gc
   10587  ** @returns xcb_void_cookie_t
   10588  **
   10589  *****************************************************************************/
   10590 
   10591 xcb_void_cookie_t
   10592 xcb_free_gc (xcb_connection_t *c  /**< */,
   10593              xcb_gcontext_t    gc  /**< */);
   10594 
   10595 /**
   10596  * Delivers a request to the X server
   10597  * @param c The connection
   10598  * @return A cookie
   10599  *
   10600  * Delivers a request to the X server.
   10601  *
   10602  * This form can be used only if the request will not cause
   10603  * a reply to be generated. Any returned error will be
   10604  * saved for handling by xcb_request_check().
   10605  */
   10606 
   10607 /*****************************************************************************
   10608  **
   10609  ** xcb_void_cookie_t xcb_clear_area_checked
   10610  **
   10611  ** @param xcb_connection_t *c
   10612  ** @param uint8_t           exposures
   10613  ** @param xcb_window_t      window
   10614  ** @param int16_t           x
   10615  ** @param int16_t           y
   10616  ** @param uint16_t          width
   10617  ** @param uint16_t          height
   10618  ** @returns xcb_void_cookie_t
   10619  **
   10620  *****************************************************************************/
   10621 
   10622 xcb_void_cookie_t
   10623 xcb_clear_area_checked (xcb_connection_t *c  /**< */,
   10624                         uint8_t           exposures  /**< */,
   10625                         xcb_window_t      window  /**< */,
   10626                         int16_t           x  /**< */,
   10627                         int16_t           y  /**< */,
   10628                         uint16_t          width  /**< */,
   10629                         uint16_t          height  /**< */);
   10630 
   10631 /**
   10632  * Delivers a request to the X server
   10633  * @param c The connection
   10634  * @return A cookie
   10635  *
   10636  * Delivers a request to the X server.
   10637  *
   10638  */
   10639 
   10640 /*****************************************************************************
   10641  **
   10642  ** xcb_void_cookie_t xcb_clear_area
   10643  **
   10644  ** @param xcb_connection_t *c
   10645  ** @param uint8_t           exposures
   10646  ** @param xcb_window_t      window
   10647  ** @param int16_t           x
   10648  ** @param int16_t           y
   10649  ** @param uint16_t          width
   10650  ** @param uint16_t          height
   10651  ** @returns xcb_void_cookie_t
   10652  **
   10653  *****************************************************************************/
   10654 
   10655 xcb_void_cookie_t
   10656 xcb_clear_area (xcb_connection_t *c  /**< */,
   10657                 uint8_t           exposures  /**< */,
   10658                 xcb_window_t      window  /**< */,
   10659                 int16_t           x  /**< */,
   10660                 int16_t           y  /**< */,
   10661                 uint16_t          width  /**< */,
   10662                 uint16_t          height  /**< */);
   10663 
   10664 /**
   10665  * Delivers a request to the X server
   10666  * @param c The connection
   10667  * @return A cookie
   10668  *
   10669  * Delivers a request to the X server.
   10670  *
   10671  * This form can be used only if the request will not cause
   10672  * a reply to be generated. Any returned error will be
   10673  * saved for handling by xcb_request_check().
   10674  */
   10675 
   10676 /*****************************************************************************
   10677  **
   10678  ** xcb_void_cookie_t xcb_copy_area_checked
   10679  **
   10680  ** @param xcb_connection_t *c
   10681  ** @param xcb_drawable_t    src_drawable
   10682  ** @param xcb_drawable_t    dst_drawable
   10683  ** @param xcb_gcontext_t    gc
   10684  ** @param int16_t           src_x
   10685  ** @param int16_t           src_y
   10686  ** @param int16_t           dst_x
   10687  ** @param int16_t           dst_y
   10688  ** @param uint16_t          width
   10689  ** @param uint16_t          height
   10690  ** @returns xcb_void_cookie_t
   10691  **
   10692  *****************************************************************************/
   10693 
   10694 xcb_void_cookie_t
   10695 xcb_copy_area_checked (xcb_connection_t *c  /**< */,
   10696                        xcb_drawable_t    src_drawable  /**< */,
   10697                        xcb_drawable_t    dst_drawable  /**< */,
   10698                        xcb_gcontext_t    gc  /**< */,
   10699                        int16_t           src_x  /**< */,
   10700                        int16_t           src_y  /**< */,
   10701                        int16_t           dst_x  /**< */,
   10702                        int16_t           dst_y  /**< */,
   10703                        uint16_t          width  /**< */,
   10704                        uint16_t          height  /**< */);
   10705 
   10706 /**
   10707  * Delivers a request to the X server
   10708  * @param c The connection
   10709  * @return A cookie
   10710  *
   10711  * Delivers a request to the X server.
   10712  *
   10713  */
   10714 
   10715 /*****************************************************************************
   10716  **
   10717  ** xcb_void_cookie_t xcb_copy_area
   10718  **
   10719  ** @param xcb_connection_t *c
   10720  ** @param xcb_drawable_t    src_drawable
   10721  ** @param xcb_drawable_t    dst_drawable
   10722  ** @param xcb_gcontext_t    gc
   10723  ** @param int16_t           src_x
   10724  ** @param int16_t           src_y
   10725  ** @param int16_t           dst_x
   10726  ** @param int16_t           dst_y
   10727  ** @param uint16_t          width
   10728  ** @param uint16_t          height
   10729  ** @returns xcb_void_cookie_t
   10730  **
   10731  *****************************************************************************/
   10732 
   10733 xcb_void_cookie_t
   10734 xcb_copy_area (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 
   10745 /**
   10746  * Delivers a request to the X server
   10747  * @param c The connection
   10748  * @return A cookie
   10749  *
   10750  * Delivers a request to the X server.
   10751  *
   10752  * This form can be used only if the request will not cause
   10753  * a reply to be generated. Any returned error will be
   10754  * saved for handling by xcb_request_check().
   10755  */
   10756 
   10757 /*****************************************************************************
   10758  **
   10759  ** xcb_void_cookie_t xcb_copy_plane_checked
   10760  **
   10761  ** @param xcb_connection_t *c
   10762  ** @param xcb_drawable_t    src_drawable
   10763  ** @param xcb_drawable_t    dst_drawable
   10764  ** @param xcb_gcontext_t    gc
   10765  ** @param int16_t           src_x
   10766  ** @param int16_t           src_y
   10767  ** @param int16_t           dst_x
   10768  ** @param int16_t           dst_y
   10769  ** @param uint16_t          width
   10770  ** @param uint16_t          height
   10771  ** @param uint32_t          bit_plane
   10772  ** @returns xcb_void_cookie_t
   10773  **
   10774  *****************************************************************************/
   10775 
   10776 xcb_void_cookie_t
   10777 xcb_copy_plane_checked (xcb_connection_t *c  /**< */,
   10778                         xcb_drawable_t    src_drawable  /**< */,
   10779                         xcb_drawable_t    dst_drawable  /**< */,
   10780                         xcb_gcontext_t    gc  /**< */,
   10781                         int16_t           src_x  /**< */,
   10782                         int16_t           src_y  /**< */,
   10783                         int16_t           dst_x  /**< */,
   10784                         int16_t           dst_y  /**< */,
   10785                         uint16_t          width  /**< */,
   10786                         uint16_t          height  /**< */,
   10787                         uint32_t          bit_plane  /**< */);
   10788 
   10789 /**
   10790  * Delivers a request to the X server
   10791  * @param c The connection
   10792  * @return A cookie
   10793  *
   10794  * Delivers a request to the X server.
   10795  *
   10796  */
   10797 
   10798 /*****************************************************************************
   10799  **
   10800  ** xcb_void_cookie_t xcb_copy_plane
   10801  **
   10802  ** @param xcb_connection_t *c
   10803  ** @param xcb_drawable_t    src_drawable
   10804  ** @param xcb_drawable_t    dst_drawable
   10805  ** @param xcb_gcontext_t    gc
   10806  ** @param int16_t           src_x
   10807  ** @param int16_t           src_y
   10808  ** @param int16_t           dst_x
   10809  ** @param int16_t           dst_y
   10810  ** @param uint16_t          width
   10811  ** @param uint16_t          height
   10812  ** @param uint32_t          bit_plane
   10813  ** @returns xcb_void_cookie_t
   10814  **
   10815  *****************************************************************************/
   10816 
   10817 xcb_void_cookie_t
   10818 xcb_copy_plane (xcb_connection_t *c  /**< */,
   10819                 xcb_drawable_t    src_drawable  /**< */,
   10820                 xcb_drawable_t    dst_drawable  /**< */,
   10821                 xcb_gcontext_t    gc  /**< */,
   10822                 int16_t           src_x  /**< */,
   10823                 int16_t           src_y  /**< */,
   10824                 int16_t           dst_x  /**< */,
   10825                 int16_t           dst_y  /**< */,
   10826                 uint16_t          width  /**< */,
   10827                 uint16_t          height  /**< */,
   10828                 uint32_t          bit_plane  /**< */);
   10829 
   10830 int
   10831 xcb_poly_point_sizeof (const void  *_buffer  /**< */,
   10832                        uint32_t     points_len  /**< */);
   10833 
   10834 /**
   10835  * Delivers a request to the X server
   10836  * @param c The connection
   10837  * @return A cookie
   10838  *
   10839  * Delivers a request to the X server.
   10840  *
   10841  * This form can be used only if the request will not cause
   10842  * a reply to be generated. Any returned error will be
   10843  * saved for handling by xcb_request_check().
   10844  */
   10845 
   10846 /*****************************************************************************
   10847  **
   10848  ** xcb_void_cookie_t xcb_poly_point_checked
   10849  **
   10850  ** @param xcb_connection_t  *c
   10851  ** @param uint8_t            coordinate_mode
   10852  ** @param xcb_drawable_t     drawable
   10853  ** @param xcb_gcontext_t     gc
   10854  ** @param uint32_t           points_len
   10855  ** @param const xcb_point_t *points
   10856  ** @returns xcb_void_cookie_t
   10857  **
   10858  *****************************************************************************/
   10859 
   10860 xcb_void_cookie_t
   10861 xcb_poly_point_checked (xcb_connection_t  *c  /**< */,
   10862                         uint8_t            coordinate_mode  /**< */,
   10863                         xcb_drawable_t     drawable  /**< */,
   10864                         xcb_gcontext_t     gc  /**< */,
   10865                         uint32_t           points_len  /**< */,
   10866                         const xcb_point_t *points  /**< */);
   10867 
   10868 /**
   10869  * Delivers a request to the X server
   10870  * @param c The connection
   10871  * @return A cookie
   10872  *
   10873  * Delivers a request to the X server.
   10874  *
   10875  */
   10876 
   10877 /*****************************************************************************
   10878  **
   10879  ** xcb_void_cookie_t xcb_poly_point
   10880  **
   10881  ** @param xcb_connection_t  *c
   10882  ** @param uint8_t            coordinate_mode
   10883  ** @param xcb_drawable_t     drawable
   10884  ** @param xcb_gcontext_t     gc
   10885  ** @param uint32_t           points_len
   10886  ** @param const xcb_point_t *points
   10887  ** @returns xcb_void_cookie_t
   10888  **
   10889  *****************************************************************************/
   10890 
   10891 xcb_void_cookie_t
   10892 xcb_poly_point (xcb_connection_t  *c  /**< */,
   10893                 uint8_t            coordinate_mode  /**< */,
   10894                 xcb_drawable_t     drawable  /**< */,
   10895                 xcb_gcontext_t     gc  /**< */,
   10896                 uint32_t           points_len  /**< */,
   10897                 const xcb_point_t *points  /**< */);
   10898 
   10899 int
   10900 xcb_poly_line_sizeof (const void  *_buffer  /**< */,
   10901                       uint32_t     points_len  /**< */);
   10902 
   10903 /**
   10904  * Delivers a request to the X server
   10905  * @param c The connection
   10906  * @return A cookie
   10907  *
   10908  * Delivers a request to the X server.
   10909  *
   10910  * This form can be used only if the request will not cause
   10911  * a reply to be generated. Any returned error will be
   10912  * saved for handling by xcb_request_check().
   10913  */
   10914 
   10915 /*****************************************************************************
   10916  **
   10917  ** xcb_void_cookie_t xcb_poly_line_checked
   10918  **
   10919  ** @param xcb_connection_t  *c
   10920  ** @param uint8_t            coordinate_mode
   10921  ** @param xcb_drawable_t     drawable
   10922  ** @param xcb_gcontext_t     gc
   10923  ** @param uint32_t           points_len
   10924  ** @param const xcb_point_t *points
   10925  ** @returns xcb_void_cookie_t
   10926  **
   10927  *****************************************************************************/
   10928 
   10929 xcb_void_cookie_t
   10930 xcb_poly_line_checked (xcb_connection_t  *c  /**< */,
   10931                        uint8_t            coordinate_mode  /**< */,
   10932                        xcb_drawable_t     drawable  /**< */,
   10933                        xcb_gcontext_t     gc  /**< */,
   10934                        uint32_t           points_len  /**< */,
   10935                        const xcb_point_t *points  /**< */);
   10936 
   10937 /**
   10938  * Delivers a request to the X server
   10939  * @param c The connection
   10940  * @return A cookie
   10941  *
   10942  * Delivers a request to the X server.
   10943  *
   10944  */
   10945 
   10946 /*****************************************************************************
   10947  **
   10948  ** xcb_void_cookie_t xcb_poly_line
   10949  **
   10950  ** @param xcb_connection_t  *c
   10951  ** @param uint8_t            coordinate_mode
   10952  ** @param xcb_drawable_t     drawable
   10953  ** @param xcb_gcontext_t     gc
   10954  ** @param uint32_t           points_len
   10955  ** @param const xcb_point_t *points
   10956  ** @returns xcb_void_cookie_t
   10957  **
   10958  *****************************************************************************/
   10959 
   10960 xcb_void_cookie_t
   10961 xcb_poly_line (xcb_connection_t  *c  /**< */,
   10962                uint8_t            coordinate_mode  /**< */,
   10963                xcb_drawable_t     drawable  /**< */,
   10964                xcb_gcontext_t     gc  /**< */,
   10965                uint32_t           points_len  /**< */,
   10966                const xcb_point_t *points  /**< */);
   10967 
   10968 /**
   10969  * Get the next element of the iterator
   10970  * @param i Pointer to a xcb_segment_iterator_t
   10971  *
   10972  * Get the next element in the iterator. The member rem is
   10973  * decreased by one. The member data points to the next
   10974  * element. The member index is increased by sizeof(xcb_segment_t)
   10975  */
   10976 
   10977 /*****************************************************************************
   10978  **
   10979  ** void xcb_segment_next
   10980  **
   10981  ** @param xcb_segment_iterator_t *i
   10982  ** @returns void
   10983  **
   10984  *****************************************************************************/
   10985 
   10986 void
   10987 xcb_segment_next (xcb_segment_iterator_t *i  /**< */);
   10988 
   10989 /**
   10990  * Return the iterator pointing to the last element
   10991  * @param i An xcb_segment_iterator_t
   10992  * @return  The iterator pointing to the last element
   10993  *
   10994  * Set the current element in the iterator to the last element.
   10995  * The member rem is set to 0. The member data points to the
   10996  * last element.
   10997  */
   10998 
   10999 /*****************************************************************************
   11000  **
   11001  ** xcb_generic_iterator_t xcb_segment_end
   11002  **
   11003  ** @param xcb_segment_iterator_t i
   11004  ** @returns xcb_generic_iterator_t
   11005  **
   11006  *****************************************************************************/
   11007 
   11008 xcb_generic_iterator_t
   11009 xcb_segment_end (xcb_segment_iterator_t i  /**< */);
   11010 
   11011 int
   11012 xcb_poly_segment_sizeof (const void  *_buffer  /**< */,
   11013                          uint32_t     segments_len  /**< */);
   11014 
   11015 /**
   11016  * Delivers a request to the X server
   11017  * @param c The connection
   11018  * @return A cookie
   11019  *
   11020  * Delivers a request to the X server.
   11021  *
   11022  * This form can be used only if the request will not cause
   11023  * a reply to be generated. Any returned error will be
   11024  * saved for handling by xcb_request_check().
   11025  */
   11026 
   11027 /*****************************************************************************
   11028  **
   11029  ** xcb_void_cookie_t xcb_poly_segment_checked
   11030  **
   11031  ** @param xcb_connection_t    *c
   11032  ** @param xcb_drawable_t       drawable
   11033  ** @param xcb_gcontext_t       gc
   11034  ** @param uint32_t             segments_len
   11035  ** @param const xcb_segment_t *segments
   11036  ** @returns xcb_void_cookie_t
   11037  **
   11038  *****************************************************************************/
   11039 
   11040 xcb_void_cookie_t
   11041 xcb_poly_segment_checked (xcb_connection_t    *c  /**< */,
   11042                           xcb_drawable_t       drawable  /**< */,
   11043                           xcb_gcontext_t       gc  /**< */,
   11044                           uint32_t             segments_len  /**< */,
   11045                           const xcb_segment_t *segments  /**< */);
   11046 
   11047 /**
   11048  * Delivers a request to the X server
   11049  * @param c The connection
   11050  * @return A cookie
   11051  *
   11052  * Delivers a request to the X server.
   11053  *
   11054  */
   11055 
   11056 /*****************************************************************************
   11057  **
   11058  ** xcb_void_cookie_t xcb_poly_segment
   11059  **
   11060  ** @param xcb_connection_t    *c
   11061  ** @param xcb_drawable_t       drawable
   11062  ** @param xcb_gcontext_t       gc
   11063  ** @param uint32_t             segments_len
   11064  ** @param const xcb_segment_t *segments
   11065  ** @returns xcb_void_cookie_t
   11066  **
   11067  *****************************************************************************/
   11068 
   11069 xcb_void_cookie_t
   11070 xcb_poly_segment (xcb_connection_t    *c  /**< */,
   11071                   xcb_drawable_t       drawable  /**< */,
   11072                   xcb_gcontext_t       gc  /**< */,
   11073                   uint32_t             segments_len  /**< */,
   11074                   const xcb_segment_t *segments  /**< */);
   11075 
   11076 int
   11077 xcb_poly_rectangle_sizeof (const void  *_buffer  /**< */,
   11078                            uint32_t     rectangles_len  /**< */);
   11079 
   11080 /**
   11081  * Delivers a request to the X server
   11082  * @param c The connection
   11083  * @return A cookie
   11084  *
   11085  * Delivers a request to the X server.
   11086  *
   11087  * This form can be used only if the request will not cause
   11088  * a reply to be generated. Any returned error will be
   11089  * saved for handling by xcb_request_check().
   11090  */
   11091 
   11092 /*****************************************************************************
   11093  **
   11094  ** xcb_void_cookie_t xcb_poly_rectangle_checked
   11095  **
   11096  ** @param xcb_connection_t      *c
   11097  ** @param xcb_drawable_t         drawable
   11098  ** @param xcb_gcontext_t         gc
   11099  ** @param uint32_t               rectangles_len
   11100  ** @param const xcb_rectangle_t *rectangles
   11101  ** @returns xcb_void_cookie_t
   11102  **
   11103  *****************************************************************************/
   11104 
   11105 xcb_void_cookie_t
   11106 xcb_poly_rectangle_checked (xcb_connection_t      *c  /**< */,
   11107                             xcb_drawable_t         drawable  /**< */,
   11108                             xcb_gcontext_t         gc  /**< */,
   11109                             uint32_t               rectangles_len  /**< */,
   11110                             const xcb_rectangle_t *rectangles  /**< */);
   11111 
   11112 /**
   11113  * Delivers a request to the X server
   11114  * @param c The connection
   11115  * @return A cookie
   11116  *
   11117  * Delivers a request to the X server.
   11118  *
   11119  */
   11120 
   11121 /*****************************************************************************
   11122  **
   11123  ** xcb_void_cookie_t xcb_poly_rectangle
   11124  **
   11125  ** @param xcb_connection_t      *c
   11126  ** @param xcb_drawable_t         drawable
   11127  ** @param xcb_gcontext_t         gc
   11128  ** @param uint32_t               rectangles_len
   11129  ** @param const xcb_rectangle_t *rectangles
   11130  ** @returns xcb_void_cookie_t
   11131  **
   11132  *****************************************************************************/
   11133 
   11134 xcb_void_cookie_t
   11135 xcb_poly_rectangle (xcb_connection_t      *c  /**< */,
   11136                     xcb_drawable_t         drawable  /**< */,
   11137                     xcb_gcontext_t         gc  /**< */,
   11138                     uint32_t               rectangles_len  /**< */,
   11139                     const xcb_rectangle_t *rectangles  /**< */);
   11140 
   11141 int
   11142 xcb_poly_arc_sizeof (const void  *_buffer  /**< */,
   11143                      uint32_t     arcs_len  /**< */);
   11144 
   11145 /**
   11146  * Delivers a request to the X server
   11147  * @param c The connection
   11148  * @return A cookie
   11149  *
   11150  * Delivers a request to the X server.
   11151  *
   11152  * This form can be used only if the request will not cause
   11153  * a reply to be generated. Any returned error will be
   11154  * saved for handling by xcb_request_check().
   11155  */
   11156 
   11157 /*****************************************************************************
   11158  **
   11159  ** xcb_void_cookie_t xcb_poly_arc_checked
   11160  **
   11161  ** @param xcb_connection_t *c
   11162  ** @param xcb_drawable_t    drawable
   11163  ** @param xcb_gcontext_t    gc
   11164  ** @param uint32_t          arcs_len
   11165  ** @param const xcb_arc_t  *arcs
   11166  ** @returns xcb_void_cookie_t
   11167  **
   11168  *****************************************************************************/
   11169 
   11170 xcb_void_cookie_t
   11171 xcb_poly_arc_checked (xcb_connection_t *c  /**< */,
   11172                       xcb_drawable_t    drawable  /**< */,
   11173                       xcb_gcontext_t    gc  /**< */,
   11174                       uint32_t          arcs_len  /**< */,
   11175                       const xcb_arc_t  *arcs  /**< */);
   11176 
   11177 /**
   11178  * Delivers a request to the X server
   11179  * @param c The connection
   11180  * @return A cookie
   11181  *
   11182  * Delivers a request to the X server.
   11183  *
   11184  */
   11185 
   11186 /*****************************************************************************
   11187  **
   11188  ** xcb_void_cookie_t xcb_poly_arc
   11189  **
   11190  ** @param xcb_connection_t *c
   11191  ** @param xcb_drawable_t    drawable
   11192  ** @param xcb_gcontext_t    gc
   11193  ** @param uint32_t          arcs_len
   11194  ** @param const xcb_arc_t  *arcs
   11195  ** @returns xcb_void_cookie_t
   11196  **
   11197  *****************************************************************************/
   11198 
   11199 xcb_void_cookie_t
   11200 xcb_poly_arc (xcb_connection_t *c  /**< */,
   11201               xcb_drawable_t    drawable  /**< */,
   11202               xcb_gcontext_t    gc  /**< */,
   11203               uint32_t          arcs_len  /**< */,
   11204               const xcb_arc_t  *arcs  /**< */);
   11205 
   11206 int
   11207 xcb_fill_poly_sizeof (const void  *_buffer  /**< */,
   11208                       uint32_t     points_len  /**< */);
   11209 
   11210 /**
   11211  * Delivers a request to the X server
   11212  * @param c The connection
   11213  * @return A cookie
   11214  *
   11215  * Delivers a request to the X server.
   11216  *
   11217  * This form can be used only if the request will not cause
   11218  * a reply to be generated. Any returned error will be
   11219  * saved for handling by xcb_request_check().
   11220  */
   11221 
   11222 /*****************************************************************************
   11223  **
   11224  ** xcb_void_cookie_t xcb_fill_poly_checked
   11225  **
   11226  ** @param xcb_connection_t  *c
   11227  ** @param xcb_drawable_t     drawable
   11228  ** @param xcb_gcontext_t     gc
   11229  ** @param uint8_t            shape
   11230  ** @param uint8_t            coordinate_mode
   11231  ** @param uint32_t           points_len
   11232  ** @param const xcb_point_t *points
   11233  ** @returns xcb_void_cookie_t
   11234  **
   11235  *****************************************************************************/
   11236 
   11237 xcb_void_cookie_t
   11238 xcb_fill_poly_checked (xcb_connection_t  *c  /**< */,
   11239                        xcb_drawable_t     drawable  /**< */,
   11240                        xcb_gcontext_t     gc  /**< */,
   11241                        uint8_t            shape  /**< */,
   11242                        uint8_t            coordinate_mode  /**< */,
   11243                        uint32_t           points_len  /**< */,
   11244                        const xcb_point_t *points  /**< */);
   11245 
   11246 /**
   11247  * Delivers a request to the X server
   11248  * @param c The connection
   11249  * @return A cookie
   11250  *
   11251  * Delivers a request to the X server.
   11252  *
   11253  */
   11254 
   11255 /*****************************************************************************
   11256  **
   11257  ** xcb_void_cookie_t xcb_fill_poly
   11258  **
   11259  ** @param xcb_connection_t  *c
   11260  ** @param xcb_drawable_t     drawable
   11261  ** @param xcb_gcontext_t     gc
   11262  ** @param uint8_t            shape
   11263  ** @param uint8_t            coordinate_mode
   11264  ** @param uint32_t           points_len
   11265  ** @param const xcb_point_t *points
   11266  ** @returns xcb_void_cookie_t
   11267  **
   11268  *****************************************************************************/
   11269 
   11270 xcb_void_cookie_t
   11271 xcb_fill_poly (xcb_connection_t  *c  /**< */,
   11272                xcb_drawable_t     drawable  /**< */,
   11273                xcb_gcontext_t     gc  /**< */,
   11274                uint8_t            shape  /**< */,
   11275                uint8_t            coordinate_mode  /**< */,
   11276                uint32_t           points_len  /**< */,
   11277                const xcb_point_t *points  /**< */);
   11278 
   11279 int
   11280 xcb_poly_fill_rectangle_sizeof (const void  *_buffer  /**< */,
   11281                                 uint32_t     rectangles_len  /**< */);
   11282 
   11283 /**
   11284  * Delivers a request to the X server
   11285  * @param c The connection
   11286  * @return A cookie
   11287  *
   11288  * Delivers a request to the X server.
   11289  *
   11290  * This form can be used only if the request will not cause
   11291  * a reply to be generated. Any returned error will be
   11292  * saved for handling by xcb_request_check().
   11293  */
   11294 
   11295 /*****************************************************************************
   11296  **
   11297  ** xcb_void_cookie_t xcb_poly_fill_rectangle_checked
   11298  **
   11299  ** @param xcb_connection_t      *c
   11300  ** @param xcb_drawable_t         drawable
   11301  ** @param xcb_gcontext_t         gc
   11302  ** @param uint32_t               rectangles_len
   11303  ** @param const xcb_rectangle_t *rectangles
   11304  ** @returns xcb_void_cookie_t
   11305  **
   11306  *****************************************************************************/
   11307 
   11308 xcb_void_cookie_t
   11309 xcb_poly_fill_rectangle_checked (xcb_connection_t      *c  /**< */,
   11310                                  xcb_drawable_t         drawable  /**< */,
   11311                                  xcb_gcontext_t         gc  /**< */,
   11312                                  uint32_t               rectangles_len  /**< */,
   11313                                  const xcb_rectangle_t *rectangles  /**< */);
   11314 
   11315 /**
   11316  * Delivers a request to the X server
   11317  * @param c The connection
   11318  * @return A cookie
   11319  *
   11320  * Delivers a request to the X server.
   11321  *
   11322  */
   11323 
   11324 /*****************************************************************************
   11325  **
   11326  ** xcb_void_cookie_t xcb_poly_fill_rectangle
   11327  **
   11328  ** @param xcb_connection_t      *c
   11329  ** @param xcb_drawable_t         drawable
   11330  ** @param xcb_gcontext_t         gc
   11331  ** @param uint32_t               rectangles_len
   11332  ** @param const xcb_rectangle_t *rectangles
   11333  ** @returns xcb_void_cookie_t
   11334  **
   11335  *****************************************************************************/
   11336 
   11337 xcb_void_cookie_t
   11338 xcb_poly_fill_rectangle (xcb_connection_t      *c  /**< */,
   11339                          xcb_drawable_t         drawable  /**< */,
   11340                          xcb_gcontext_t         gc  /**< */,
   11341                          uint32_t               rectangles_len  /**< */,
   11342                          const xcb_rectangle_t *rectangles  /**< */);
   11343 
   11344 int
   11345 xcb_poly_fill_arc_sizeof (const void  *_buffer  /**< */,
   11346                           uint32_t     arcs_len  /**< */);
   11347 
   11348 /**
   11349  * Delivers a request to the X server
   11350  * @param c The connection
   11351  * @return A cookie
   11352  *
   11353  * Delivers a request to the X server.
   11354  *
   11355  * This form can be used only if the request will not cause
   11356  * a reply to be generated. Any returned error will be
   11357  * saved for handling by xcb_request_check().
   11358  */
   11359 
   11360 /*****************************************************************************
   11361  **
   11362  ** xcb_void_cookie_t xcb_poly_fill_arc_checked
   11363  **
   11364  ** @param xcb_connection_t *c
   11365  ** @param xcb_drawable_t    drawable
   11366  ** @param xcb_gcontext_t    gc
   11367  ** @param uint32_t          arcs_len
   11368  ** @param const xcb_arc_t  *arcs
   11369  ** @returns xcb_void_cookie_t
   11370  **
   11371  *****************************************************************************/
   11372 
   11373 xcb_void_cookie_t
   11374 xcb_poly_fill_arc_checked (xcb_connection_t *c  /**< */,
   11375                            xcb_drawable_t    drawable  /**< */,
   11376                            xcb_gcontext_t    gc  /**< */,
   11377                            uint32_t          arcs_len  /**< */,
   11378                            const xcb_arc_t  *arcs  /**< */);
   11379 
   11380 /**
   11381  * Delivers a request to the X server
   11382  * @param c The connection
   11383  * @return A cookie
   11384  *
   11385  * Delivers a request to the X server.
   11386  *
   11387  */
   11388 
   11389 /*****************************************************************************
   11390  **
   11391  ** xcb_void_cookie_t xcb_poly_fill_arc
   11392  **
   11393  ** @param xcb_connection_t *c
   11394  ** @param xcb_drawable_t    drawable
   11395  ** @param xcb_gcontext_t    gc
   11396  ** @param uint32_t          arcs_len
   11397  ** @param const xcb_arc_t  *arcs
   11398  ** @returns xcb_void_cookie_t
   11399  **
   11400  *****************************************************************************/
   11401 
   11402 xcb_void_cookie_t
   11403 xcb_poly_fill_arc (xcb_connection_t *c  /**< */,
   11404                    xcb_drawable_t    drawable  /**< */,
   11405                    xcb_gcontext_t    gc  /**< */,
   11406                    uint32_t          arcs_len  /**< */,
   11407                    const xcb_arc_t  *arcs  /**< */);
   11408 
   11409 int
   11410 xcb_put_image_sizeof (const void  *_buffer  /**< */,
   11411                       uint32_t     data_len  /**< */);
   11412 
   11413 /**
   11414  * Delivers a request to the X server
   11415  * @param c The connection
   11416  * @return A cookie
   11417  *
   11418  * Delivers a request to the X server.
   11419  *
   11420  * This form can be used only if the request will not cause
   11421  * a reply to be generated. Any returned error will be
   11422  * saved for handling by xcb_request_check().
   11423  */
   11424 
   11425 /*****************************************************************************
   11426  **
   11427  ** xcb_void_cookie_t xcb_put_image_checked
   11428  **
   11429  ** @param xcb_connection_t *c
   11430  ** @param uint8_t           format
   11431  ** @param xcb_drawable_t    drawable
   11432  ** @param xcb_gcontext_t    gc
   11433  ** @param uint16_t          width
   11434  ** @param uint16_t          height
   11435  ** @param int16_t           dst_x
   11436  ** @param int16_t           dst_y
   11437  ** @param uint8_t           left_pad
   11438  ** @param uint8_t           depth
   11439  ** @param uint32_t          data_len
   11440  ** @param const uint8_t    *data
   11441  ** @returns xcb_void_cookie_t
   11442  **
   11443  *****************************************************************************/
   11444 
   11445 xcb_void_cookie_t
   11446 xcb_put_image_checked (xcb_connection_t *c  /**< */,
   11447                        uint8_t           format  /**< */,
   11448                        xcb_drawable_t    drawable  /**< */,
   11449                        xcb_gcontext_t    gc  /**< */,
   11450                        uint16_t          width  /**< */,
   11451                        uint16_t          height  /**< */,
   11452                        int16_t           dst_x  /**< */,
   11453                        int16_t           dst_y  /**< */,
   11454                        uint8_t           left_pad  /**< */,
   11455                        uint8_t           depth  /**< */,
   11456                        uint32_t          data_len  /**< */,
   11457                        const uint8_t    *data  /**< */);
   11458 
   11459 /**
   11460  * Delivers a request to the X server
   11461  * @param c The connection
   11462  * @return A cookie
   11463  *
   11464  * Delivers a request to the X server.
   11465  *
   11466  */
   11467 
   11468 /*****************************************************************************
   11469  **
   11470  ** xcb_void_cookie_t xcb_put_image
   11471  **
   11472  ** @param xcb_connection_t *c
   11473  ** @param uint8_t           format
   11474  ** @param xcb_drawable_t    drawable
   11475  ** @param xcb_gcontext_t    gc
   11476  ** @param uint16_t          width
   11477  ** @param uint16_t          height
   11478  ** @param int16_t           dst_x
   11479  ** @param int16_t           dst_y
   11480  ** @param uint8_t           left_pad
   11481  ** @param uint8_t           depth
   11482  ** @param uint32_t          data_len
   11483  ** @param const uint8_t    *data
   11484  ** @returns xcb_void_cookie_t
   11485  **
   11486  *****************************************************************************/
   11487 
   11488 xcb_void_cookie_t
   11489 xcb_put_image (xcb_connection_t *c  /**< */,
   11490                uint8_t           format  /**< */,
   11491                xcb_drawable_t    drawable  /**< */,
   11492                xcb_gcontext_t    gc  /**< */,
   11493                uint16_t          width  /**< */,
   11494                uint16_t          height  /**< */,
   11495                int16_t           dst_x  /**< */,
   11496                int16_t           dst_y  /**< */,
   11497                uint8_t           left_pad  /**< */,
   11498                uint8_t           depth  /**< */,
   11499                uint32_t          data_len  /**< */,
   11500                const uint8_t    *data  /**< */);
   11501 
   11502 int
   11503 xcb_get_image_sizeof (const void  *_buffer  /**< */);
   11504 
   11505 /**
   11506  * Delivers a request to the X server
   11507  * @param c The connection
   11508  * @return A cookie
   11509  *
   11510  * Delivers a request to the X server.
   11511  *
   11512  */
   11513 
   11514 /*****************************************************************************
   11515  **
   11516  ** xcb_get_image_cookie_t xcb_get_image
   11517  **
   11518  ** @param xcb_connection_t *c
   11519  ** @param uint8_t           format
   11520  ** @param xcb_drawable_t    drawable
   11521  ** @param int16_t           x
   11522  ** @param int16_t           y
   11523  ** @param uint16_t          width
   11524  ** @param uint16_t          height
   11525  ** @param uint32_t          plane_mask
   11526  ** @returns xcb_get_image_cookie_t
   11527  **
   11528  *****************************************************************************/
   11529 
   11530 xcb_get_image_cookie_t
   11531 xcb_get_image (xcb_connection_t *c  /**< */,
   11532                uint8_t           format  /**< */,
   11533                xcb_drawable_t    drawable  /**< */,
   11534                int16_t           x  /**< */,
   11535                int16_t           y  /**< */,
   11536                uint16_t          width  /**< */,
   11537                uint16_t          height  /**< */,
   11538                uint32_t          plane_mask  /**< */);
   11539 
   11540 /**
   11541  * Delivers a request to the X server
   11542  * @param c The connection
   11543  * @return A cookie
   11544  *
   11545  * Delivers a request to the X server.
   11546  *
   11547  * This form can be used only if the request will cause
   11548  * a reply to be generated. Any returned error will be
   11549  * placed in the event queue.
   11550  */
   11551 
   11552 /*****************************************************************************
   11553  **
   11554  ** xcb_get_image_cookie_t xcb_get_image_unchecked
   11555  **
   11556  ** @param xcb_connection_t *c
   11557  ** @param uint8_t           format
   11558  ** @param xcb_drawable_t    drawable
   11559  ** @param int16_t           x
   11560  ** @param int16_t           y
   11561  ** @param uint16_t          width
   11562  ** @param uint16_t          height
   11563  ** @param uint32_t          plane_mask
   11564  ** @returns xcb_get_image_cookie_t
   11565  **
   11566  *****************************************************************************/
   11567 
   11568 xcb_get_image_cookie_t
   11569 xcb_get_image_unchecked (xcb_connection_t *c  /**< */,
   11570                          uint8_t           format  /**< */,
   11571                          xcb_drawable_t    drawable  /**< */,
   11572                          int16_t           x  /**< */,
   11573                          int16_t           y  /**< */,
   11574                          uint16_t          width  /**< */,
   11575                          uint16_t          height  /**< */,
   11576                          uint32_t          plane_mask  /**< */);
   11577 
   11578 
   11579 /*****************************************************************************
   11580  **
   11581  ** uint8_t * xcb_get_image_data
   11582  **
   11583  ** @param const xcb_get_image_reply_t *R
   11584  ** @returns uint8_t *
   11585  **
   11586  *****************************************************************************/
   11587 
   11588 uint8_t *
   11589 xcb_get_image_data (const xcb_get_image_reply_t *R  /**< */);
   11590 
   11591 
   11592 /*****************************************************************************
   11593  **
   11594  ** int xcb_get_image_data_length
   11595  **
   11596  ** @param const xcb_get_image_reply_t *R
   11597  ** @returns int
   11598  **
   11599  *****************************************************************************/
   11600 
   11601 int
   11602 xcb_get_image_data_length (const xcb_get_image_reply_t *R  /**< */);
   11603 
   11604 
   11605 /*****************************************************************************
   11606  **
   11607  ** xcb_generic_iterator_t xcb_get_image_data_end
   11608  **
   11609  ** @param const xcb_get_image_reply_t *R
   11610  ** @returns xcb_generic_iterator_t
   11611  **
   11612  *****************************************************************************/
   11613 
   11614 xcb_generic_iterator_t
   11615 xcb_get_image_data_end (const xcb_get_image_reply_t *R  /**< */);
   11616 
   11617 /**
   11618  * Return the reply
   11619  * @param c      The connection
   11620  * @param cookie The cookie
   11621  * @param e      The xcb_generic_error_t supplied
   11622  *
   11623  * Returns the reply of the request asked by
   11624  *
   11625  * The parameter @p e supplied to this function must be NULL if
   11626  * xcb_get_image_unchecked(). is used.
   11627  * Otherwise, it stores the error if any.
   11628  *
   11629  * The returned value must be freed by the caller using free().
   11630  */
   11631 
   11632 /*****************************************************************************
   11633  **
   11634  ** xcb_get_image_reply_t * xcb_get_image_reply
   11635  **
   11636  ** @param xcb_connection_t        *c
   11637  ** @param xcb_get_image_cookie_t   cookie
   11638  ** @param xcb_generic_error_t    **e
   11639  ** @returns xcb_get_image_reply_t *
   11640  **
   11641  *****************************************************************************/
   11642 
   11643 xcb_get_image_reply_t *
   11644 xcb_get_image_reply (xcb_connection_t        *c  /**< */,
   11645                      xcb_get_image_cookie_t   cookie  /**< */,
   11646                      xcb_generic_error_t    **e  /**< */);
   11647 
   11648 int
   11649 xcb_poly_text_8_sizeof (const void  *_buffer  /**< */,
   11650                         uint32_t     items_len  /**< */);
   11651 
   11652 /**
   11653  * Delivers a request to the X server
   11654  * @param c The connection
   11655  * @return A cookie
   11656  *
   11657  * Delivers a request to the X server.
   11658  *
   11659  * This form can be used only if the request will not cause
   11660  * a reply to be generated. Any returned error will be
   11661  * saved for handling by xcb_request_check().
   11662  */
   11663 
   11664 /*****************************************************************************
   11665  **
   11666  ** xcb_void_cookie_t xcb_poly_text_8_checked
   11667  **
   11668  ** @param xcb_connection_t *c
   11669  ** @param xcb_drawable_t    drawable
   11670  ** @param xcb_gcontext_t    gc
   11671  ** @param int16_t           x
   11672  ** @param int16_t           y
   11673  ** @param uint32_t          items_len
   11674  ** @param const uint8_t    *items
   11675  ** @returns xcb_void_cookie_t
   11676  **
   11677  *****************************************************************************/
   11678 
   11679 xcb_void_cookie_t
   11680 xcb_poly_text_8_checked (xcb_connection_t *c  /**< */,
   11681                          xcb_drawable_t    drawable  /**< */,
   11682                          xcb_gcontext_t    gc  /**< */,
   11683                          int16_t           x  /**< */,
   11684                          int16_t           y  /**< */,
   11685                          uint32_t          items_len  /**< */,
   11686                          const uint8_t    *items  /**< */);
   11687 
   11688 /**
   11689  * Delivers a request to the X server
   11690  * @param c The connection
   11691  * @return A cookie
   11692  *
   11693  * Delivers a request to the X server.
   11694  *
   11695  */
   11696 
   11697 /*****************************************************************************
   11698  **
   11699  ** xcb_void_cookie_t xcb_poly_text_8
   11700  **
   11701  ** @param xcb_connection_t *c
   11702  ** @param xcb_drawable_t    drawable
   11703  ** @param xcb_gcontext_t    gc
   11704  ** @param int16_t           x
   11705  ** @param int16_t           y
   11706  ** @param uint32_t          items_len
   11707  ** @param const uint8_t    *items
   11708  ** @returns xcb_void_cookie_t
   11709  **
   11710  *****************************************************************************/
   11711 
   11712 xcb_void_cookie_t
   11713 xcb_poly_text_8 (xcb_connection_t *c  /**< */,
   11714                  xcb_drawable_t    drawable  /**< */,
   11715                  xcb_gcontext_t    gc  /**< */,
   11716                  int16_t           x  /**< */,
   11717                  int16_t           y  /**< */,
   11718                  uint32_t          items_len  /**< */,
   11719                  const uint8_t    *items  /**< */);
   11720 
   11721 int
   11722 xcb_poly_text_16_sizeof (const void  *_buffer  /**< */,
   11723                          uint32_t     items_len  /**< */);
   11724 
   11725 /**
   11726  * Delivers a request to the X server
   11727  * @param c The connection
   11728  * @return A cookie
   11729  *
   11730  * Delivers a request to the X server.
   11731  *
   11732  * This form can be used only if the request will not cause
   11733  * a reply to be generated. Any returned error will be
   11734  * saved for handling by xcb_request_check().
   11735  */
   11736 
   11737 /*****************************************************************************
   11738  **
   11739  ** xcb_void_cookie_t xcb_poly_text_16_checked
   11740  **
   11741  ** @param xcb_connection_t *c
   11742  ** @param xcb_drawable_t    drawable
   11743  ** @param xcb_gcontext_t    gc
   11744  ** @param int16_t           x
   11745  ** @param int16_t           y
   11746  ** @param uint32_t          items_len
   11747  ** @param const uint8_t    *items
   11748  ** @returns xcb_void_cookie_t
   11749  **
   11750  *****************************************************************************/
   11751 
   11752 xcb_void_cookie_t
   11753 xcb_poly_text_16_checked (xcb_connection_t *c  /**< */,
   11754                           xcb_drawable_t    drawable  /**< */,
   11755                           xcb_gcontext_t    gc  /**< */,
   11756                           int16_t           x  /**< */,
   11757                           int16_t           y  /**< */,
   11758                           uint32_t          items_len  /**< */,
   11759                           const uint8_t    *items  /**< */);
   11760 
   11761 /**
   11762  * Delivers a request to the X server
   11763  * @param c The connection
   11764  * @return A cookie
   11765  *
   11766  * Delivers a request to the X server.
   11767  *
   11768  */
   11769 
   11770 /*****************************************************************************
   11771  **
   11772  ** xcb_void_cookie_t xcb_poly_text_16
   11773  **
   11774  ** @param xcb_connection_t *c
   11775  ** @param xcb_drawable_t    drawable
   11776  ** @param xcb_gcontext_t    gc
   11777  ** @param int16_t           x
   11778  ** @param int16_t           y
   11779  ** @param uint32_t          items_len
   11780  ** @param const uint8_t    *items
   11781  ** @returns xcb_void_cookie_t
   11782  **
   11783  *****************************************************************************/
   11784 
   11785 xcb_void_cookie_t
   11786 xcb_poly_text_16 (xcb_connection_t *c  /**< */,
   11787                   xcb_drawable_t    drawable  /**< */,
   11788                   xcb_gcontext_t    gc  /**< */,
   11789                   int16_t           x  /**< */,
   11790                   int16_t           y  /**< */,
   11791                   uint32_t          items_len  /**< */,
   11792                   const uint8_t    *items  /**< */);
   11793 
   11794 int
   11795 xcb_image_text_8_sizeof (const void  *_buffer  /**< */);
   11796 
   11797 /**
   11798  * Delivers a request to the X server
   11799  * @param c The connection
   11800  * @return A cookie
   11801  *
   11802  * Delivers a request to the X server.
   11803  *
   11804  * This form can be used only if the request will not cause
   11805  * a reply to be generated. Any returned error will be
   11806  * saved for handling by xcb_request_check().
   11807  */
   11808 
   11809 /*****************************************************************************
   11810  **
   11811  ** xcb_void_cookie_t xcb_image_text_8_checked
   11812  **
   11813  ** @param xcb_connection_t *c
   11814  ** @param uint8_t           string_len
   11815  ** @param xcb_drawable_t    drawable
   11816  ** @param xcb_gcontext_t    gc
   11817  ** @param int16_t           x
   11818  ** @param int16_t           y
   11819  ** @param const char       *string
   11820  ** @returns xcb_void_cookie_t
   11821  **
   11822  *****************************************************************************/
   11823 
   11824 xcb_void_cookie_t
   11825 xcb_image_text_8_checked (xcb_connection_t *c  /**< */,
   11826                           uint8_t           string_len  /**< */,
   11827                           xcb_drawable_t    drawable  /**< */,
   11828                           xcb_gcontext_t    gc  /**< */,
   11829                           int16_t           x  /**< */,
   11830                           int16_t           y  /**< */,
   11831                           const char       *string  /**< */);
   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_image_text_8
   11845  **
   11846  ** @param xcb_connection_t *c
   11847  ** @param uint8_t           string_len
   11848  ** @param xcb_drawable_t    drawable
   11849  ** @param xcb_gcontext_t    gc
   11850  ** @param int16_t           x
   11851  ** @param int16_t           y
   11852  ** @param const char       *string
   11853  ** @returns xcb_void_cookie_t
   11854  **
   11855  *****************************************************************************/
   11856 
   11857 xcb_void_cookie_t
   11858 xcb_image_text_8 (xcb_connection_t *c  /**< */,
   11859                   uint8_t           string_len  /**< */,
   11860                   xcb_drawable_t    drawable  /**< */,
   11861                   xcb_gcontext_t    gc  /**< */,
   11862                   int16_t           x  /**< */,
   11863                   int16_t           y  /**< */,
   11864                   const char       *string  /**< */);
   11865 
   11866 int
   11867 xcb_image_text_16_sizeof (const void  *_buffer  /**< */);
   11868 
   11869 /**
   11870  * Delivers a request to the X server
   11871  * @param c The connection
   11872  * @return A cookie
   11873  *
   11874  * Delivers a request to the X server.
   11875  *
   11876  * This form can be used only if the request will not cause
   11877  * a reply to be generated. Any returned error will be
   11878  * saved for handling by xcb_request_check().
   11879  */
   11880 
   11881 /*****************************************************************************
   11882  **
   11883  ** xcb_void_cookie_t xcb_image_text_16_checked
   11884  **
   11885  ** @param xcb_connection_t   *c
   11886  ** @param uint8_t             string_len
   11887  ** @param xcb_drawable_t      drawable
   11888  ** @param xcb_gcontext_t      gc
   11889  ** @param int16_t             x
   11890  ** @param int16_t             y
   11891  ** @param const xcb_char2b_t *string
   11892  ** @returns xcb_void_cookie_t
   11893  **
   11894  *****************************************************************************/
   11895 
   11896 xcb_void_cookie_t
   11897 xcb_image_text_16_checked (xcb_connection_t   *c  /**< */,
   11898                            uint8_t             string_len  /**< */,
   11899                            xcb_drawable_t      drawable  /**< */,
   11900                            xcb_gcontext_t      gc  /**< */,
   11901                            int16_t             x  /**< */,
   11902                            int16_t             y  /**< */,
   11903                            const xcb_char2b_t *string  /**< */);
   11904 
   11905 /**
   11906  * Delivers a request to the X server
   11907  * @param c The connection
   11908  * @return A cookie
   11909  *
   11910  * Delivers a request to the X server.
   11911  *
   11912  */
   11913 
   11914 /*****************************************************************************
   11915  **
   11916  ** xcb_void_cookie_t xcb_image_text_16
   11917  **
   11918  ** @param xcb_connection_t   *c
   11919  ** @param uint8_t             string_len
   11920  ** @param xcb_drawable_t      drawable
   11921  ** @param xcb_gcontext_t      gc
   11922  ** @param int16_t             x
   11923  ** @param int16_t             y
   11924  ** @param const xcb_char2b_t *string
   11925  ** @returns xcb_void_cookie_t
   11926  **
   11927  *****************************************************************************/
   11928 
   11929 xcb_void_cookie_t
   11930 xcb_image_text_16 (xcb_connection_t   *c  /**< */,
   11931                    uint8_t             string_len  /**< */,
   11932                    xcb_drawable_t      drawable  /**< */,
   11933                    xcb_gcontext_t      gc  /**< */,
   11934                    int16_t             x  /**< */,
   11935                    int16_t             y  /**< */,
   11936                    const xcb_char2b_t *string  /**< */);
   11937 
   11938 /**
   11939  * Delivers a request to the X server
   11940  * @param c The connection
   11941  * @return A cookie
   11942  *
   11943  * Delivers a request to the X server.
   11944  *
   11945  * This form can be used only if the request will not cause
   11946  * a reply to be generated. Any returned error will be
   11947  * saved for handling by xcb_request_check().
   11948  */
   11949 
   11950 /*****************************************************************************
   11951  **
   11952  ** xcb_void_cookie_t xcb_create_colormap_checked
   11953  **
   11954  ** @param xcb_connection_t *c
   11955  ** @param uint8_t           alloc
   11956  ** @param xcb_colormap_t    mid
   11957  ** @param xcb_window_t      window
   11958  ** @param xcb_visualid_t    visual
   11959  ** @returns xcb_void_cookie_t
   11960  **
   11961  *****************************************************************************/
   11962 
   11963 xcb_void_cookie_t
   11964 xcb_create_colormap_checked (xcb_connection_t *c  /**< */,
   11965                              uint8_t           alloc  /**< */,
   11966                              xcb_colormap_t    mid  /**< */,
   11967                              xcb_window_t      window  /**< */,
   11968                              xcb_visualid_t    visual  /**< */);
   11969 
   11970 /**
   11971  * Delivers a request to the X server
   11972  * @param c The connection
   11973  * @return A cookie
   11974  *
   11975  * Delivers a request to the X server.
   11976  *
   11977  */
   11978 
   11979 /*****************************************************************************
   11980  **
   11981  ** xcb_void_cookie_t xcb_create_colormap
   11982  **
   11983  ** @param xcb_connection_t *c
   11984  ** @param uint8_t           alloc
   11985  ** @param xcb_colormap_t    mid
   11986  ** @param xcb_window_t      window
   11987  ** @param xcb_visualid_t    visual
   11988  ** @returns xcb_void_cookie_t
   11989  **
   11990  *****************************************************************************/
   11991 
   11992 xcb_void_cookie_t
   11993 xcb_create_colormap (xcb_connection_t *c  /**< */,
   11994                      uint8_t           alloc  /**< */,
   11995                      xcb_colormap_t    mid  /**< */,
   11996                      xcb_window_t      window  /**< */,
   11997                      xcb_visualid_t    visual  /**< */);
   11998 
   11999 /**
   12000  * Delivers a request to the X server
   12001  * @param c The connection
   12002  * @return A cookie
   12003  *
   12004  * Delivers a request to the X server.
   12005  *
   12006  * This form can be used only if the request will not cause
   12007  * a reply to be generated. Any returned error will be
   12008  * saved for handling by xcb_request_check().
   12009  */
   12010 
   12011 /*****************************************************************************
   12012  **
   12013  ** xcb_void_cookie_t xcb_free_colormap_checked
   12014  **
   12015  ** @param xcb_connection_t *c
   12016  ** @param xcb_colormap_t    cmap
   12017  ** @returns xcb_void_cookie_t
   12018  **
   12019  *****************************************************************************/
   12020 
   12021 xcb_void_cookie_t
   12022 xcb_free_colormap_checked (xcb_connection_t *c  /**< */,
   12023                            xcb_colormap_t    cmap  /**< */);
   12024 
   12025 /**
   12026  * Delivers a request to the X server
   12027  * @param c The connection
   12028  * @return A cookie
   12029  *
   12030  * Delivers a request to the X server.
   12031  *
   12032  */
   12033 
   12034 /*****************************************************************************
   12035  **
   12036  ** xcb_void_cookie_t xcb_free_colormap
   12037  **
   12038  ** @param xcb_connection_t *c
   12039  ** @param xcb_colormap_t    cmap
   12040  ** @returns xcb_void_cookie_t
   12041  **
   12042  *****************************************************************************/
   12043 
   12044 xcb_void_cookie_t
   12045 xcb_free_colormap (xcb_connection_t *c  /**< */,
   12046                    xcb_colormap_t    cmap  /**< */);
   12047 
   12048 /**
   12049  * Delivers a request to the X server
   12050  * @param c The connection
   12051  * @return A cookie
   12052  *
   12053  * Delivers a request to the X server.
   12054  *
   12055  * This form can be used only if the request will not cause
   12056  * a reply to be generated. Any returned error will be
   12057  * saved for handling by xcb_request_check().
   12058  */
   12059 
   12060 /*****************************************************************************
   12061  **
   12062  ** xcb_void_cookie_t xcb_copy_colormap_and_free_checked
   12063  **
   12064  ** @param xcb_connection_t *c
   12065  ** @param xcb_colormap_t    mid
   12066  ** @param xcb_colormap_t    src_cmap
   12067  ** @returns xcb_void_cookie_t
   12068  **
   12069  *****************************************************************************/
   12070 
   12071 xcb_void_cookie_t
   12072 xcb_copy_colormap_and_free_checked (xcb_connection_t *c  /**< */,
   12073                                     xcb_colormap_t    mid  /**< */,
   12074                                     xcb_colormap_t    src_cmap  /**< */);
   12075 
   12076 /**
   12077  * Delivers a request to the X server
   12078  * @param c The connection
   12079  * @return A cookie
   12080  *
   12081  * Delivers a request to the X server.
   12082  *
   12083  */
   12084 
   12085 /*****************************************************************************
   12086  **
   12087  ** xcb_void_cookie_t xcb_copy_colormap_and_free
   12088  **
   12089  ** @param xcb_connection_t *c
   12090  ** @param xcb_colormap_t    mid
   12091  ** @param xcb_colormap_t    src_cmap
   12092  ** @returns xcb_void_cookie_t
   12093  **
   12094  *****************************************************************************/
   12095 
   12096 xcb_void_cookie_t
   12097 xcb_copy_colormap_and_free (xcb_connection_t *c  /**< */,
   12098                             xcb_colormap_t    mid  /**< */,
   12099                             xcb_colormap_t    src_cmap  /**< */);
   12100 
   12101 /**
   12102  * Delivers a request to the X server
   12103  * @param c The connection
   12104  * @return A cookie
   12105  *
   12106  * Delivers a request to the X server.
   12107  *
   12108  * This form can be used only if the request will not cause
   12109  * a reply to be generated. Any returned error will be
   12110  * saved for handling by xcb_request_check().
   12111  */
   12112 
   12113 /*****************************************************************************
   12114  **
   12115  ** xcb_void_cookie_t xcb_install_colormap_checked
   12116  **
   12117  ** @param xcb_connection_t *c
   12118  ** @param xcb_colormap_t    cmap
   12119  ** @returns xcb_void_cookie_t
   12120  **
   12121  *****************************************************************************/
   12122 
   12123 xcb_void_cookie_t
   12124 xcb_install_colormap_checked (xcb_connection_t *c  /**< */,
   12125                               xcb_colormap_t    cmap  /**< */);
   12126 
   12127 /**
   12128  * Delivers a request to the X server
   12129  * @param c The connection
   12130  * @return A cookie
   12131  *
   12132  * Delivers a request to the X server.
   12133  *
   12134  */
   12135 
   12136 /*****************************************************************************
   12137  **
   12138  ** xcb_void_cookie_t xcb_install_colormap
   12139  **
   12140  ** @param xcb_connection_t *c
   12141  ** @param xcb_colormap_t    cmap
   12142  ** @returns xcb_void_cookie_t
   12143  **
   12144  *****************************************************************************/
   12145 
   12146 xcb_void_cookie_t
   12147 xcb_install_colormap (xcb_connection_t *c  /**< */,
   12148                       xcb_colormap_t    cmap  /**< */);
   12149 
   12150 /**
   12151  * Delivers a request to the X server
   12152  * @param c The connection
   12153  * @return A cookie
   12154  *
   12155  * Delivers a request to the X server.
   12156  *
   12157  * This form can be used only if the request will not cause
   12158  * a reply to be generated. Any returned error will be
   12159  * saved for handling by xcb_request_check().
   12160  */
   12161 
   12162 /*****************************************************************************
   12163  **
   12164  ** xcb_void_cookie_t xcb_uninstall_colormap_checked
   12165  **
   12166  ** @param xcb_connection_t *c
   12167  ** @param xcb_colormap_t    cmap
   12168  ** @returns xcb_void_cookie_t
   12169  **
   12170  *****************************************************************************/
   12171 
   12172 xcb_void_cookie_t
   12173 xcb_uninstall_colormap_checked (xcb_connection_t *c  /**< */,
   12174                                 xcb_colormap_t    cmap  /**< */);
   12175 
   12176 /**
   12177  * Delivers a request to the X server
   12178  * @param c The connection
   12179  * @return A cookie
   12180  *
   12181  * Delivers a request to the X server.
   12182  *
   12183  */
   12184 
   12185 /*****************************************************************************
   12186  **
   12187  ** xcb_void_cookie_t xcb_uninstall_colormap
   12188  **
   12189  ** @param xcb_connection_t *c
   12190  ** @param xcb_colormap_t    cmap
   12191  ** @returns xcb_void_cookie_t
   12192  **
   12193  *****************************************************************************/
   12194 
   12195 xcb_void_cookie_t
   12196 xcb_uninstall_colormap (xcb_connection_t *c  /**< */,
   12197                         xcb_colormap_t    cmap  /**< */);
   12198 
   12199 int
   12200 xcb_list_installed_colormaps_sizeof (const void  *_buffer  /**< */);
   12201 
   12202 /**
   12203  * Delivers a request to the X server
   12204  * @param c The connection
   12205  * @return A cookie
   12206  *
   12207  * Delivers a request to the X server.
   12208  *
   12209  */
   12210 
   12211 /*****************************************************************************
   12212  **
   12213  ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps
   12214  **
   12215  ** @param xcb_connection_t *c
   12216  ** @param xcb_window_t      window
   12217  ** @returns xcb_list_installed_colormaps_cookie_t
   12218  **
   12219  *****************************************************************************/
   12220 
   12221 xcb_list_installed_colormaps_cookie_t
   12222 xcb_list_installed_colormaps (xcb_connection_t *c  /**< */,
   12223                               xcb_window_t      window  /**< */);
   12224 
   12225 /**
   12226  * Delivers a request to the X server
   12227  * @param c The connection
   12228  * @return A cookie
   12229  *
   12230  * Delivers a request to the X server.
   12231  *
   12232  * This form can be used only if the request will cause
   12233  * a reply to be generated. Any returned error will be
   12234  * placed in the event queue.
   12235  */
   12236 
   12237 /*****************************************************************************
   12238  **
   12239  ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked
   12240  **
   12241  ** @param xcb_connection_t *c
   12242  ** @param xcb_window_t      window
   12243  ** @returns xcb_list_installed_colormaps_cookie_t
   12244  **
   12245  *****************************************************************************/
   12246 
   12247 xcb_list_installed_colormaps_cookie_t
   12248 xcb_list_installed_colormaps_unchecked (xcb_connection_t *c  /**< */,
   12249                                         xcb_window_t      window  /**< */);
   12250 
   12251 
   12252 /*****************************************************************************
   12253  **
   12254  ** xcb_colormap_t * xcb_list_installed_colormaps_cmaps
   12255  **
   12256  ** @param const xcb_list_installed_colormaps_reply_t *R
   12257  ** @returns xcb_colormap_t *
   12258  **
   12259  *****************************************************************************/
   12260 
   12261 xcb_colormap_t *
   12262 xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R  /**< */);
   12263 
   12264 
   12265 /*****************************************************************************
   12266  **
   12267  ** int xcb_list_installed_colormaps_cmaps_length
   12268  **
   12269  ** @param const xcb_list_installed_colormaps_reply_t *R
   12270  ** @returns int
   12271  **
   12272  *****************************************************************************/
   12273 
   12274 int
   12275 xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R  /**< */);
   12276 
   12277 
   12278 /*****************************************************************************
   12279  **
   12280  ** xcb_generic_iterator_t xcb_list_installed_colormaps_cmaps_end
   12281  **
   12282  ** @param const xcb_list_installed_colormaps_reply_t *R
   12283  ** @returns xcb_generic_iterator_t
   12284  **
   12285  *****************************************************************************/
   12286 
   12287 xcb_generic_iterator_t
   12288 xcb_list_installed_colormaps_cmaps_end (const xcb_list_installed_colormaps_reply_t *R  /**< */);
   12289 
   12290 /**
   12291  * Return the reply
   12292  * @param c      The connection
   12293  * @param cookie The cookie
   12294  * @param e      The xcb_generic_error_t supplied
   12295  *
   12296  * Returns the reply of the request asked by
   12297  *
   12298  * The parameter @p e supplied to this function must be NULL if
   12299  * xcb_list_installed_colormaps_unchecked(). is used.
   12300  * Otherwise, it stores the error if any.
   12301  *
   12302  * The returned value must be freed by the caller using free().
   12303  */
   12304 
   12305 /*****************************************************************************
   12306  **
   12307  ** xcb_list_installed_colormaps_reply_t * xcb_list_installed_colormaps_reply
   12308  **
   12309  ** @param xcb_connection_t                       *c
   12310  ** @param xcb_list_installed_colormaps_cookie_t   cookie
   12311  ** @param xcb_generic_error_t                   **e
   12312  ** @returns xcb_list_installed_colormaps_reply_t *
   12313  **
   12314  *****************************************************************************/
   12315 
   12316 xcb_list_installed_colormaps_reply_t *
   12317 xcb_list_installed_colormaps_reply (xcb_connection_t                       *c  /**< */,
   12318                                     xcb_list_installed_colormaps_cookie_t   cookie  /**< */,
   12319                                     xcb_generic_error_t                   **e  /**< */);
   12320 
   12321 /**
   12322  * Delivers a request to the X server
   12323  * @param c The connection
   12324  * @return A cookie
   12325  *
   12326  * Delivers a request to the X server.
   12327  *
   12328  */
   12329 
   12330 /*****************************************************************************
   12331  **
   12332  ** xcb_alloc_color_cookie_t xcb_alloc_color
   12333  **
   12334  ** @param xcb_connection_t *c
   12335  ** @param xcb_colormap_t    cmap
   12336  ** @param uint16_t          red
   12337  ** @param uint16_t          green
   12338  ** @param uint16_t          blue
   12339  ** @returns xcb_alloc_color_cookie_t
   12340  **
   12341  *****************************************************************************/
   12342 
   12343 xcb_alloc_color_cookie_t
   12344 xcb_alloc_color (xcb_connection_t *c  /**< */,
   12345                  xcb_colormap_t    cmap  /**< */,
   12346                  uint16_t          red  /**< */,
   12347                  uint16_t          green  /**< */,
   12348                  uint16_t          blue  /**< */);
   12349 
   12350 /**
   12351  * Delivers a request to the X server
   12352  * @param c The connection
   12353  * @return A cookie
   12354  *
   12355  * Delivers a request to the X server.
   12356  *
   12357  * This form can be used only if the request will cause
   12358  * a reply to be generated. Any returned error will be
   12359  * placed in the event queue.
   12360  */
   12361 
   12362 /*****************************************************************************
   12363  **
   12364  ** xcb_alloc_color_cookie_t xcb_alloc_color_unchecked
   12365  **
   12366  ** @param xcb_connection_t *c
   12367  ** @param xcb_colormap_t    cmap
   12368  ** @param uint16_t          red
   12369  ** @param uint16_t          green
   12370  ** @param uint16_t          blue
   12371  ** @returns xcb_alloc_color_cookie_t
   12372  **
   12373  *****************************************************************************/
   12374 
   12375 xcb_alloc_color_cookie_t
   12376 xcb_alloc_color_unchecked (xcb_connection_t *c  /**< */,
   12377                            xcb_colormap_t    cmap  /**< */,
   12378                            uint16_t          red  /**< */,
   12379                            uint16_t          green  /**< */,
   12380                            uint16_t          blue  /**< */);
   12381 
   12382 /**
   12383  * Return the reply
   12384  * @param c      The connection
   12385  * @param cookie The cookie
   12386  * @param e      The xcb_generic_error_t supplied
   12387  *
   12388  * Returns the reply of the request asked by
   12389  *
   12390  * The parameter @p e supplied to this function must be NULL if
   12391  * xcb_alloc_color_unchecked(). is used.
   12392  * Otherwise, it stores the error if any.
   12393  *
   12394  * The returned value must be freed by the caller using free().
   12395  */
   12396 
   12397 /*****************************************************************************
   12398  **
   12399  ** xcb_alloc_color_reply_t * xcb_alloc_color_reply
   12400  **
   12401  ** @param xcb_connection_t          *c
   12402  ** @param xcb_alloc_color_cookie_t   cookie
   12403  ** @param xcb_generic_error_t      **e
   12404  ** @returns xcb_alloc_color_reply_t *
   12405  **
   12406  *****************************************************************************/
   12407 
   12408 xcb_alloc_color_reply_t *
   12409 xcb_alloc_color_reply (xcb_connection_t          *c  /**< */,
   12410                        xcb_alloc_color_cookie_t   cookie  /**< */,
   12411                        xcb_generic_error_t      **e  /**< */);
   12412 
   12413 int
   12414 xcb_alloc_named_color_sizeof (const void  *_buffer  /**< */);
   12415 
   12416 /**
   12417  * Delivers a request to the X server
   12418  * @param c The connection
   12419  * @return A cookie
   12420  *
   12421  * Delivers a request to the X server.
   12422  *
   12423  */
   12424 
   12425 /*****************************************************************************
   12426  **
   12427  ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color
   12428  **
   12429  ** @param xcb_connection_t *c
   12430  ** @param xcb_colormap_t    cmap
   12431  ** @param uint16_t          name_len
   12432  ** @param const char       *name
   12433  ** @returns xcb_alloc_named_color_cookie_t
   12434  **
   12435  *****************************************************************************/
   12436 
   12437 xcb_alloc_named_color_cookie_t
   12438 xcb_alloc_named_color (xcb_connection_t *c  /**< */,
   12439                        xcb_colormap_t    cmap  /**< */,
   12440                        uint16_t          name_len  /**< */,
   12441                        const char       *name  /**< */);
   12442 
   12443 /**
   12444  * Delivers a request to the X server
   12445  * @param c The connection
   12446  * @return A cookie
   12447  *
   12448  * Delivers a request to the X server.
   12449  *
   12450  * This form can be used only if the request will cause
   12451  * a reply to be generated. Any returned error will be
   12452  * placed in the event queue.
   12453  */
   12454 
   12455 /*****************************************************************************
   12456  **
   12457  ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked
   12458  **
   12459  ** @param xcb_connection_t *c
   12460  ** @param xcb_colormap_t    cmap
   12461  ** @param uint16_t          name_len
   12462  ** @param const char       *name
   12463  ** @returns xcb_alloc_named_color_cookie_t
   12464  **
   12465  *****************************************************************************/
   12466 
   12467 xcb_alloc_named_color_cookie_t
   12468 xcb_alloc_named_color_unchecked (xcb_connection_t *c  /**< */,
   12469                                  xcb_colormap_t    cmap  /**< */,
   12470                                  uint16_t          name_len  /**< */,
   12471                                  const char       *name  /**< */);
   12472 
   12473 /**
   12474  * Return the reply
   12475  * @param c      The connection
   12476  * @param cookie The cookie
   12477  * @param e      The xcb_generic_error_t supplied
   12478  *
   12479  * Returns the reply of the request asked by
   12480  *
   12481  * The parameter @p e supplied to this function must be NULL if
   12482  * xcb_alloc_named_color_unchecked(). is used.
   12483  * Otherwise, it stores the error if any.
   12484  *
   12485  * The returned value must be freed by the caller using free().
   12486  */
   12487 
   12488 /*****************************************************************************
   12489  **
   12490  ** xcb_alloc_named_color_reply_t * xcb_alloc_named_color_reply
   12491  **
   12492  ** @param xcb_connection_t                *c
   12493  ** @param xcb_alloc_named_color_cookie_t   cookie
   12494  ** @param xcb_generic_error_t            **e
   12495  ** @returns xcb_alloc_named_color_reply_t *
   12496  **
   12497  *****************************************************************************/
   12498 
   12499 xcb_alloc_named_color_reply_t *
   12500 xcb_alloc_named_color_reply (xcb_connection_t                *c  /**< */,
   12501                              xcb_alloc_named_color_cookie_t   cookie  /**< */,
   12502                              xcb_generic_error_t            **e  /**< */);
   12503 
   12504 int
   12505 xcb_alloc_color_cells_sizeof (const void  *_buffer  /**< */);
   12506 
   12507 /**
   12508  * Delivers a request to the X server
   12509  * @param c The connection
   12510  * @return A cookie
   12511  *
   12512  * Delivers a request to the X server.
   12513  *
   12514  */
   12515 
   12516 /*****************************************************************************
   12517  **
   12518  ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells
   12519  **
   12520  ** @param xcb_connection_t *c
   12521  ** @param uint8_t           contiguous
   12522  ** @param xcb_colormap_t    cmap
   12523  ** @param uint16_t          colors
   12524  ** @param uint16_t          planes
   12525  ** @returns xcb_alloc_color_cells_cookie_t
   12526  **
   12527  *****************************************************************************/
   12528 
   12529 xcb_alloc_color_cells_cookie_t
   12530 xcb_alloc_color_cells (xcb_connection_t *c  /**< */,
   12531                        uint8_t           contiguous  /**< */,
   12532                        xcb_colormap_t    cmap  /**< */,
   12533                        uint16_t          colors  /**< */,
   12534                        uint16_t          planes  /**< */);
   12535 
   12536 /**
   12537  * Delivers a request to the X server
   12538  * @param c The connection
   12539  * @return A cookie
   12540  *
   12541  * Delivers a request to the X server.
   12542  *
   12543  * This form can be used only if the request will cause
   12544  * a reply to be generated. Any returned error will be
   12545  * placed in the event queue.
   12546  */
   12547 
   12548 /*****************************************************************************
   12549  **
   12550  ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked
   12551  **
   12552  ** @param xcb_connection_t *c
   12553  ** @param uint8_t           contiguous
   12554  ** @param xcb_colormap_t    cmap
   12555  ** @param uint16_t          colors
   12556  ** @param uint16_t          planes
   12557  ** @returns xcb_alloc_color_cells_cookie_t
   12558  **
   12559  *****************************************************************************/
   12560 
   12561 xcb_alloc_color_cells_cookie_t
   12562 xcb_alloc_color_cells_unchecked (xcb_connection_t *c  /**< */,
   12563                                  uint8_t           contiguous  /**< */,
   12564                                  xcb_colormap_t    cmap  /**< */,
   12565                                  uint16_t          colors  /**< */,
   12566                                  uint16_t          planes  /**< */);
   12567 
   12568 
   12569 /*****************************************************************************
   12570  **
   12571  ** uint32_t * xcb_alloc_color_cells_pixels
   12572  **
   12573  ** @param const xcb_alloc_color_cells_reply_t *R
   12574  ** @returns uint32_t *
   12575  **
   12576  *****************************************************************************/
   12577 
   12578 uint32_t *
   12579 xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12580 
   12581 
   12582 /*****************************************************************************
   12583  **
   12584  ** int xcb_alloc_color_cells_pixels_length
   12585  **
   12586  ** @param const xcb_alloc_color_cells_reply_t *R
   12587  ** @returns int
   12588  **
   12589  *****************************************************************************/
   12590 
   12591 int
   12592 xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12593 
   12594 
   12595 /*****************************************************************************
   12596  **
   12597  ** xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end
   12598  **
   12599  ** @param const xcb_alloc_color_cells_reply_t *R
   12600  ** @returns xcb_generic_iterator_t
   12601  **
   12602  *****************************************************************************/
   12603 
   12604 xcb_generic_iterator_t
   12605 xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12606 
   12607 
   12608 /*****************************************************************************
   12609  **
   12610  ** uint32_t * xcb_alloc_color_cells_masks
   12611  **
   12612  ** @param const xcb_alloc_color_cells_reply_t *R
   12613  ** @returns uint32_t *
   12614  **
   12615  *****************************************************************************/
   12616 
   12617 uint32_t *
   12618 xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12619 
   12620 
   12621 /*****************************************************************************
   12622  **
   12623  ** int xcb_alloc_color_cells_masks_length
   12624  **
   12625  ** @param const xcb_alloc_color_cells_reply_t *R
   12626  ** @returns int
   12627  **
   12628  *****************************************************************************/
   12629 
   12630 int
   12631 xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12632 
   12633 
   12634 /*****************************************************************************
   12635  **
   12636  ** xcb_generic_iterator_t xcb_alloc_color_cells_masks_end
   12637  **
   12638  ** @param const xcb_alloc_color_cells_reply_t *R
   12639  ** @returns xcb_generic_iterator_t
   12640  **
   12641  *****************************************************************************/
   12642 
   12643 xcb_generic_iterator_t
   12644 xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R  /**< */);
   12645 
   12646 /**
   12647  * Return the reply
   12648  * @param c      The connection
   12649  * @param cookie The cookie
   12650  * @param e      The xcb_generic_error_t supplied
   12651  *
   12652  * Returns the reply of the request asked by
   12653  *
   12654  * The parameter @p e supplied to this function must be NULL if
   12655  * xcb_alloc_color_cells_unchecked(). is used.
   12656  * Otherwise, it stores the error if any.
   12657  *
   12658  * The returned value must be freed by the caller using free().
   12659  */
   12660 
   12661 /*****************************************************************************
   12662  **
   12663  ** xcb_alloc_color_cells_reply_t * xcb_alloc_color_cells_reply
   12664  **
   12665  ** @param xcb_connection_t                *c
   12666  ** @param xcb_alloc_color_cells_cookie_t   cookie
   12667  ** @param xcb_generic_error_t            **e
   12668  ** @returns xcb_alloc_color_cells_reply_t *
   12669  **
   12670  *****************************************************************************/
   12671 
   12672 xcb_alloc_color_cells_reply_t *
   12673 xcb_alloc_color_cells_reply (xcb_connection_t                *c  /**< */,
   12674                              xcb_alloc_color_cells_cookie_t   cookie  /**< */,
   12675                              xcb_generic_error_t            **e  /**< */);
   12676 
   12677 int
   12678 xcb_alloc_color_planes_sizeof (const void  *_buffer  /**< */);
   12679 
   12680 /**
   12681  * Delivers a request to the X server
   12682  * @param c The connection
   12683  * @return A cookie
   12684  *
   12685  * Delivers a request to the X server.
   12686  *
   12687  */
   12688 
   12689 /*****************************************************************************
   12690  **
   12691  ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes
   12692  **
   12693  ** @param xcb_connection_t *c
   12694  ** @param uint8_t           contiguous
   12695  ** @param xcb_colormap_t    cmap
   12696  ** @param uint16_t          colors
   12697  ** @param uint16_t          reds
   12698  ** @param uint16_t          greens
   12699  ** @param uint16_t          blues
   12700  ** @returns xcb_alloc_color_planes_cookie_t
   12701  **
   12702  *****************************************************************************/
   12703 
   12704 xcb_alloc_color_planes_cookie_t
   12705 xcb_alloc_color_planes (xcb_connection_t *c  /**< */,
   12706                         uint8_t           contiguous  /**< */,
   12707                         xcb_colormap_t    cmap  /**< */,
   12708                         uint16_t          colors  /**< */,
   12709                         uint16_t          reds  /**< */,
   12710                         uint16_t          greens  /**< */,
   12711                         uint16_t          blues  /**< */);
   12712 
   12713 /**
   12714  * Delivers a request to the X server
   12715  * @param c The connection
   12716  * @return A cookie
   12717  *
   12718  * Delivers a request to the X server.
   12719  *
   12720  * This form can be used only if the request will cause
   12721  * a reply to be generated. Any returned error will be
   12722  * placed in the event queue.
   12723  */
   12724 
   12725 /*****************************************************************************
   12726  **
   12727  ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked
   12728  **
   12729  ** @param xcb_connection_t *c
   12730  ** @param uint8_t           contiguous
   12731  ** @param xcb_colormap_t    cmap
   12732  ** @param uint16_t          colors
   12733  ** @param uint16_t          reds
   12734  ** @param uint16_t          greens
   12735  ** @param uint16_t          blues
   12736  ** @returns xcb_alloc_color_planes_cookie_t
   12737  **
   12738  *****************************************************************************/
   12739 
   12740 xcb_alloc_color_planes_cookie_t
   12741 xcb_alloc_color_planes_unchecked (xcb_connection_t *c  /**< */,
   12742                                   uint8_t           contiguous  /**< */,
   12743                                   xcb_colormap_t    cmap  /**< */,
   12744                                   uint16_t          colors  /**< */,
   12745                                   uint16_t          reds  /**< */,
   12746                                   uint16_t          greens  /**< */,
   12747                                   uint16_t          blues  /**< */);
   12748 
   12749 
   12750 /*****************************************************************************
   12751  **
   12752  ** uint32_t * xcb_alloc_color_planes_pixels
   12753  **
   12754  ** @param const xcb_alloc_color_planes_reply_t *R
   12755  ** @returns uint32_t *
   12756  **
   12757  *****************************************************************************/
   12758 
   12759 uint32_t *
   12760 xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R  /**< */);
   12761 
   12762 
   12763 /*****************************************************************************
   12764  **
   12765  ** int xcb_alloc_color_planes_pixels_length
   12766  **
   12767  ** @param const xcb_alloc_color_planes_reply_t *R
   12768  ** @returns int
   12769  **
   12770  *****************************************************************************/
   12771 
   12772 int
   12773 xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R  /**< */);
   12774 
   12775 
   12776 /*****************************************************************************
   12777  **
   12778  ** xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end
   12779  **
   12780  ** @param const xcb_alloc_color_planes_reply_t *R
   12781  ** @returns xcb_generic_iterator_t
   12782  **
   12783  *****************************************************************************/
   12784 
   12785 xcb_generic_iterator_t
   12786 xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R  /**< */);
   12787 
   12788 /**
   12789  * Return the reply
   12790  * @param c      The connection
   12791  * @param cookie The cookie
   12792  * @param e      The xcb_generic_error_t supplied
   12793  *
   12794  * Returns the reply of the request asked by
   12795  *
   12796  * The parameter @p e supplied to this function must be NULL if
   12797  * xcb_alloc_color_planes_unchecked(). is used.
   12798  * Otherwise, it stores the error if any.
   12799  *
   12800  * The returned value must be freed by the caller using free().
   12801  */
   12802 
   12803 /*****************************************************************************
   12804  **
   12805  ** xcb_alloc_color_planes_reply_t * xcb_alloc_color_planes_reply
   12806  **
   12807  ** @param xcb_connection_t                 *c
   12808  ** @param xcb_alloc_color_planes_cookie_t   cookie
   12809  ** @param xcb_generic_error_t             **e
   12810  ** @returns xcb_alloc_color_planes_reply_t *
   12811  **
   12812  *****************************************************************************/
   12813 
   12814 xcb_alloc_color_planes_reply_t *
   12815 xcb_alloc_color_planes_reply (xcb_connection_t                 *c  /**< */,
   12816                               xcb_alloc_color_planes_cookie_t   cookie  /**< */,
   12817                               xcb_generic_error_t             **e  /**< */);
   12818 
   12819 int
   12820 xcb_free_colors_sizeof (const void  *_buffer  /**< */,
   12821                         uint32_t     pixels_len  /**< */);
   12822 
   12823 /**
   12824  * Delivers a request to the X server
   12825  * @param c The connection
   12826  * @return A cookie
   12827  *
   12828  * Delivers a request to the X server.
   12829  *
   12830  * This form can be used only if the request will not cause
   12831  * a reply to be generated. Any returned error will be
   12832  * saved for handling by xcb_request_check().
   12833  */
   12834 
   12835 /*****************************************************************************
   12836  **
   12837  ** xcb_void_cookie_t xcb_free_colors_checked
   12838  **
   12839  ** @param xcb_connection_t *c
   12840  ** @param xcb_colormap_t    cmap
   12841  ** @param uint32_t          plane_mask
   12842  ** @param uint32_t          pixels_len
   12843  ** @param const uint32_t   *pixels
   12844  ** @returns xcb_void_cookie_t
   12845  **
   12846  *****************************************************************************/
   12847 
   12848 xcb_void_cookie_t
   12849 xcb_free_colors_checked (xcb_connection_t *c  /**< */,
   12850                          xcb_colormap_t    cmap  /**< */,
   12851                          uint32_t          plane_mask  /**< */,
   12852                          uint32_t          pixels_len  /**< */,
   12853                          const uint32_t   *pixels  /**< */);
   12854 
   12855 /**
   12856  * Delivers a request to the X server
   12857  * @param c The connection
   12858  * @return A cookie
   12859  *
   12860  * Delivers a request to the X server.
   12861  *
   12862  */
   12863 
   12864 /*****************************************************************************
   12865  **
   12866  ** xcb_void_cookie_t xcb_free_colors
   12867  **
   12868  ** @param xcb_connection_t *c
   12869  ** @param xcb_colormap_t    cmap
   12870  ** @param uint32_t          plane_mask
   12871  ** @param uint32_t          pixels_len
   12872  ** @param const uint32_t   *pixels
   12873  ** @returns xcb_void_cookie_t
   12874  **
   12875  *****************************************************************************/
   12876 
   12877 xcb_void_cookie_t
   12878 xcb_free_colors (xcb_connection_t *c  /**< */,
   12879                  xcb_colormap_t    cmap  /**< */,
   12880                  uint32_t          plane_mask  /**< */,
   12881                  uint32_t          pixels_len  /**< */,
   12882                  const uint32_t   *pixels  /**< */);
   12883 
   12884 /**
   12885  * Get the next element of the iterator
   12886  * @param i Pointer to a xcb_coloritem_iterator_t
   12887  *
   12888  * Get the next element in the iterator. The member rem is
   12889  * decreased by one. The member data points to the next
   12890  * element. The member index is increased by sizeof(xcb_coloritem_t)
   12891  */
   12892 
   12893 /*****************************************************************************
   12894  **
   12895  ** void xcb_coloritem_next
   12896  **
   12897  ** @param xcb_coloritem_iterator_t *i
   12898  ** @returns void
   12899  **
   12900  *****************************************************************************/
   12901 
   12902 void
   12903 xcb_coloritem_next (xcb_coloritem_iterator_t *i  /**< */);
   12904 
   12905 /**
   12906  * Return the iterator pointing to the last element
   12907  * @param i An xcb_coloritem_iterator_t
   12908  * @return  The iterator pointing to the last element
   12909  *
   12910  * Set the current element in the iterator to the last element.
   12911  * The member rem is set to 0. The member data points to the
   12912  * last element.
   12913  */
   12914 
   12915 /*****************************************************************************
   12916  **
   12917  ** xcb_generic_iterator_t xcb_coloritem_end
   12918  **
   12919  ** @param xcb_coloritem_iterator_t i
   12920  ** @returns xcb_generic_iterator_t
   12921  **
   12922  *****************************************************************************/
   12923 
   12924 xcb_generic_iterator_t
   12925 xcb_coloritem_end (xcb_coloritem_iterator_t i  /**< */);
   12926 
   12927 int
   12928 xcb_store_colors_sizeof (const void  *_buffer  /**< */,
   12929                          uint32_t     items_len  /**< */);
   12930 
   12931 /**
   12932  * Delivers a request to the X server
   12933  * @param c The connection
   12934  * @return A cookie
   12935  *
   12936  * Delivers a request to the X server.
   12937  *
   12938  * This form can be used only if the request will not cause
   12939  * a reply to be generated. Any returned error will be
   12940  * saved for handling by xcb_request_check().
   12941  */
   12942 
   12943 /*****************************************************************************
   12944  **
   12945  ** xcb_void_cookie_t xcb_store_colors_checked
   12946  **
   12947  ** @param xcb_connection_t      *c
   12948  ** @param xcb_colormap_t         cmap
   12949  ** @param uint32_t               items_len
   12950  ** @param const xcb_coloritem_t *items
   12951  ** @returns xcb_void_cookie_t
   12952  **
   12953  *****************************************************************************/
   12954 
   12955 xcb_void_cookie_t
   12956 xcb_store_colors_checked (xcb_connection_t      *c  /**< */,
   12957                           xcb_colormap_t         cmap  /**< */,
   12958                           uint32_t               items_len  /**< */,
   12959                           const xcb_coloritem_t *items  /**< */);
   12960 
   12961 /**
   12962  * Delivers a request to the X server
   12963  * @param c The connection
   12964  * @return A cookie
   12965  *
   12966  * Delivers a request to the X server.
   12967  *
   12968  */
   12969 
   12970 /*****************************************************************************
   12971  **
   12972  ** xcb_void_cookie_t xcb_store_colors
   12973  **
   12974  ** @param xcb_connection_t      *c
   12975  ** @param xcb_colormap_t         cmap
   12976  ** @param uint32_t               items_len
   12977  ** @param const xcb_coloritem_t *items
   12978  ** @returns xcb_void_cookie_t
   12979  **
   12980  *****************************************************************************/
   12981 
   12982 xcb_void_cookie_t
   12983 xcb_store_colors (xcb_connection_t      *c  /**< */,
   12984                   xcb_colormap_t         cmap  /**< */,
   12985                   uint32_t               items_len  /**< */,
   12986                   const xcb_coloritem_t *items  /**< */);
   12987 
   12988 int
   12989 xcb_store_named_color_sizeof (const void  *_buffer  /**< */);
   12990 
   12991 /**
   12992  * Delivers a request to the X server
   12993  * @param c The connection
   12994  * @return A cookie
   12995  *
   12996  * Delivers a request to the X server.
   12997  *
   12998  * This form can be used only if the request will not cause
   12999  * a reply to be generated. Any returned error will be
   13000  * saved for handling by xcb_request_check().
   13001  */
   13002 
   13003 /*****************************************************************************
   13004  **
   13005  ** xcb_void_cookie_t xcb_store_named_color_checked
   13006  **
   13007  ** @param xcb_connection_t *c
   13008  ** @param uint8_t           flags
   13009  ** @param xcb_colormap_t    cmap
   13010  ** @param uint32_t          pixel
   13011  ** @param uint16_t          name_len
   13012  ** @param const char       *name
   13013  ** @returns xcb_void_cookie_t
   13014  **
   13015  *****************************************************************************/
   13016 
   13017 xcb_void_cookie_t
   13018 xcb_store_named_color_checked (xcb_connection_t *c  /**< */,
   13019                                uint8_t           flags  /**< */,
   13020                                xcb_colormap_t    cmap  /**< */,
   13021                                uint32_t          pixel  /**< */,
   13022                                uint16_t          name_len  /**< */,
   13023                                const char       *name  /**< */);
   13024 
   13025 /**
   13026  * Delivers a request to the X server
   13027  * @param c The connection
   13028  * @return A cookie
   13029  *
   13030  * Delivers a request to the X server.
   13031  *
   13032  */
   13033 
   13034 /*****************************************************************************
   13035  **
   13036  ** xcb_void_cookie_t xcb_store_named_color
   13037  **
   13038  ** @param xcb_connection_t *c
   13039  ** @param uint8_t           flags
   13040  ** @param xcb_colormap_t    cmap
   13041  ** @param uint32_t          pixel
   13042  ** @param uint16_t          name_len
   13043  ** @param const char       *name
   13044  ** @returns xcb_void_cookie_t
   13045  **
   13046  *****************************************************************************/
   13047 
   13048 xcb_void_cookie_t
   13049 xcb_store_named_color (xcb_connection_t *c  /**< */,
   13050                        uint8_t           flags  /**< */,
   13051                        xcb_colormap_t    cmap  /**< */,
   13052                        uint32_t          pixel  /**< */,
   13053                        uint16_t          name_len  /**< */,
   13054                        const char       *name  /**< */);
   13055 
   13056 /**
   13057  * Get the next element of the iterator
   13058  * @param i Pointer to a xcb_rgb_iterator_t
   13059  *
   13060  * Get the next element in the iterator. The member rem is
   13061  * decreased by one. The member data points to the next
   13062  * element. The member index is increased by sizeof(xcb_rgb_t)
   13063  */
   13064 
   13065 /*****************************************************************************
   13066  **
   13067  ** void xcb_rgb_next
   13068  **
   13069  ** @param xcb_rgb_iterator_t *i
   13070  ** @returns void
   13071  **
   13072  *****************************************************************************/
   13073 
   13074 void
   13075 xcb_rgb_next (xcb_rgb_iterator_t *i  /**< */);
   13076 
   13077 /**
   13078  * Return the iterator pointing to the last element
   13079  * @param i An xcb_rgb_iterator_t
   13080  * @return  The iterator pointing to the last element
   13081  *
   13082  * Set the current element in the iterator to the last element.
   13083  * The member rem is set to 0. The member data points to the
   13084  * last element.
   13085  */
   13086 
   13087 /*****************************************************************************
   13088  **
   13089  ** xcb_generic_iterator_t xcb_rgb_end
   13090  **
   13091  ** @param xcb_rgb_iterator_t i
   13092  ** @returns xcb_generic_iterator_t
   13093  **
   13094  *****************************************************************************/
   13095 
   13096 xcb_generic_iterator_t
   13097 xcb_rgb_end (xcb_rgb_iterator_t i  /**< */);
   13098 
   13099 int
   13100 xcb_query_colors_sizeof (const void  *_buffer  /**< */,
   13101                          uint32_t     pixels_len  /**< */);
   13102 
   13103 /**
   13104  * Delivers a request to the X server
   13105  * @param c The connection
   13106  * @return A cookie
   13107  *
   13108  * Delivers a request to the X server.
   13109  *
   13110  */
   13111 
   13112 /*****************************************************************************
   13113  **
   13114  ** xcb_query_colors_cookie_t xcb_query_colors
   13115  **
   13116  ** @param xcb_connection_t *c
   13117  ** @param xcb_colormap_t    cmap
   13118  ** @param uint32_t          pixels_len
   13119  ** @param const uint32_t   *pixels
   13120  ** @returns xcb_query_colors_cookie_t
   13121  **
   13122  *****************************************************************************/
   13123 
   13124 xcb_query_colors_cookie_t
   13125 xcb_query_colors (xcb_connection_t *c  /**< */,
   13126                   xcb_colormap_t    cmap  /**< */,
   13127                   uint32_t          pixels_len  /**< */,
   13128                   const uint32_t   *pixels  /**< */);
   13129 
   13130 /**
   13131  * Delivers a request to the X server
   13132  * @param c The connection
   13133  * @return A cookie
   13134  *
   13135  * Delivers a request to the X server.
   13136  *
   13137  * This form can be used only if the request will cause
   13138  * a reply to be generated. Any returned error will be
   13139  * placed in the event queue.
   13140  */
   13141 
   13142 /*****************************************************************************
   13143  **
   13144  ** xcb_query_colors_cookie_t xcb_query_colors_unchecked
   13145  **
   13146  ** @param xcb_connection_t *c
   13147  ** @param xcb_colormap_t    cmap
   13148  ** @param uint32_t          pixels_len
   13149  ** @param const uint32_t   *pixels
   13150  ** @returns xcb_query_colors_cookie_t
   13151  **
   13152  *****************************************************************************/
   13153 
   13154 xcb_query_colors_cookie_t
   13155 xcb_query_colors_unchecked (xcb_connection_t *c  /**< */,
   13156                             xcb_colormap_t    cmap  /**< */,
   13157                             uint32_t          pixels_len  /**< */,
   13158                             const uint32_t   *pixels  /**< */);
   13159 
   13160 
   13161 /*****************************************************************************
   13162  **
   13163  ** xcb_rgb_t * xcb_query_colors_colors
   13164  **
   13165  ** @param const xcb_query_colors_reply_t *R
   13166  ** @returns xcb_rgb_t *
   13167  **
   13168  *****************************************************************************/
   13169 
   13170 xcb_rgb_t *
   13171 xcb_query_colors_colors (const xcb_query_colors_reply_t *R  /**< */);
   13172 
   13173 
   13174 /*****************************************************************************
   13175  **
   13176  ** int xcb_query_colors_colors_length
   13177  **
   13178  ** @param const xcb_query_colors_reply_t *R
   13179  ** @returns int
   13180  **
   13181  *****************************************************************************/
   13182 
   13183 int
   13184 xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R  /**< */);
   13185 
   13186 
   13187 /*****************************************************************************
   13188  **
   13189  ** xcb_rgb_iterator_t xcb_query_colors_colors_iterator
   13190  **
   13191  ** @param const xcb_query_colors_reply_t *R
   13192  ** @returns xcb_rgb_iterator_t
   13193  **
   13194  *****************************************************************************/
   13195 
   13196 xcb_rgb_iterator_t
   13197 xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R  /**< */);
   13198 
   13199 /**
   13200  * Return the reply
   13201  * @param c      The connection
   13202  * @param cookie The cookie
   13203  * @param e      The xcb_generic_error_t supplied
   13204  *
   13205  * Returns the reply of the request asked by
   13206  *
   13207  * The parameter @p e supplied to this function must be NULL if
   13208  * xcb_query_colors_unchecked(). is used.
   13209  * Otherwise, it stores the error if any.
   13210  *
   13211  * The returned value must be freed by the caller using free().
   13212  */
   13213 
   13214 /*****************************************************************************
   13215  **
   13216  ** xcb_query_colors_reply_t * xcb_query_colors_reply
   13217  **
   13218  ** @param xcb_connection_t           *c
   13219  ** @param xcb_query_colors_cookie_t   cookie
   13220  ** @param xcb_generic_error_t       **e
   13221  ** @returns xcb_query_colors_reply_t *
   13222  **
   13223  *****************************************************************************/
   13224 
   13225 xcb_query_colors_reply_t *
   13226 xcb_query_colors_reply (xcb_connection_t           *c  /**< */,
   13227                         xcb_query_colors_cookie_t   cookie  /**< */,
   13228                         xcb_generic_error_t       **e  /**< */);
   13229 
   13230 int
   13231 xcb_lookup_color_sizeof (const void  *_buffer  /**< */);
   13232 
   13233 /**
   13234  * Delivers a request to the X server
   13235  * @param c The connection
   13236  * @return A cookie
   13237  *
   13238  * Delivers a request to the X server.
   13239  *
   13240  */
   13241 
   13242 /*****************************************************************************
   13243  **
   13244  ** xcb_lookup_color_cookie_t xcb_lookup_color
   13245  **
   13246  ** @param xcb_connection_t *c
   13247  ** @param xcb_colormap_t    cmap
   13248  ** @param uint16_t          name_len
   13249  ** @param const char       *name
   13250  ** @returns xcb_lookup_color_cookie_t
   13251  **
   13252  *****************************************************************************/
   13253 
   13254 xcb_lookup_color_cookie_t
   13255 xcb_lookup_color (xcb_connection_t *c  /**< */,
   13256                   xcb_colormap_t    cmap  /**< */,
   13257                   uint16_t          name_len  /**< */,
   13258                   const char       *name  /**< */);
   13259 
   13260 /**
   13261  * Delivers a request to the X server
   13262  * @param c The connection
   13263  * @return A cookie
   13264  *
   13265  * Delivers a request to the X server.
   13266  *
   13267  * This form can be used only if the request will cause
   13268  * a reply to be generated. Any returned error will be
   13269  * placed in the event queue.
   13270  */
   13271 
   13272 /*****************************************************************************
   13273  **
   13274  ** xcb_lookup_color_cookie_t xcb_lookup_color_unchecked
   13275  **
   13276  ** @param xcb_connection_t *c
   13277  ** @param xcb_colormap_t    cmap
   13278  ** @param uint16_t          name_len
   13279  ** @param const char       *name
   13280  ** @returns xcb_lookup_color_cookie_t
   13281  **
   13282  *****************************************************************************/
   13283 
   13284 xcb_lookup_color_cookie_t
   13285 xcb_lookup_color_unchecked (xcb_connection_t *c  /**< */,
   13286                             xcb_colormap_t    cmap  /**< */,
   13287                             uint16_t          name_len  /**< */,
   13288                             const char       *name  /**< */);
   13289 
   13290 /**
   13291  * Return the reply
   13292  * @param c      The connection
   13293  * @param cookie The cookie
   13294  * @param e      The xcb_generic_error_t supplied
   13295  *
   13296  * Returns the reply of the request asked by
   13297  *
   13298  * The parameter @p e supplied to this function must be NULL if
   13299  * xcb_lookup_color_unchecked(). is used.
   13300  * Otherwise, it stores the error if any.
   13301  *
   13302  * The returned value must be freed by the caller using free().
   13303  */
   13304 
   13305 /*****************************************************************************
   13306  **
   13307  ** xcb_lookup_color_reply_t * xcb_lookup_color_reply
   13308  **
   13309  ** @param xcb_connection_t           *c
   13310  ** @param xcb_lookup_color_cookie_t   cookie
   13311  ** @param xcb_generic_error_t       **e
   13312  ** @returns xcb_lookup_color_reply_t *
   13313  **
   13314  *****************************************************************************/
   13315 
   13316 xcb_lookup_color_reply_t *
   13317 xcb_lookup_color_reply (xcb_connection_t           *c  /**< */,
   13318                         xcb_lookup_color_cookie_t   cookie  /**< */,
   13319                         xcb_generic_error_t       **e  /**< */);
   13320 
   13321 /**
   13322  * Delivers a request to the X server
   13323  * @param c The connection
   13324  * @return A cookie
   13325  *
   13326  * Delivers a request to the X server.
   13327  *
   13328  * This form can be used only if the request will not cause
   13329  * a reply to be generated. Any returned error will be
   13330  * saved for handling by xcb_request_check().
   13331  */
   13332 
   13333 /*****************************************************************************
   13334  **
   13335  ** xcb_void_cookie_t xcb_create_cursor_checked
   13336  **
   13337  ** @param xcb_connection_t *c
   13338  ** @param xcb_cursor_t      cid
   13339  ** @param xcb_pixmap_t      source
   13340  ** @param xcb_pixmap_t      mask
   13341  ** @param uint16_t          fore_red
   13342  ** @param uint16_t          fore_green
   13343  ** @param uint16_t          fore_blue
   13344  ** @param uint16_t          back_red
   13345  ** @param uint16_t          back_green
   13346  ** @param uint16_t          back_blue
   13347  ** @param uint16_t          x
   13348  ** @param uint16_t          y
   13349  ** @returns xcb_void_cookie_t
   13350  **
   13351  *****************************************************************************/
   13352 
   13353 xcb_void_cookie_t
   13354 xcb_create_cursor_checked (xcb_connection_t *c  /**< */,
   13355                            xcb_cursor_t      cid  /**< */,
   13356                            xcb_pixmap_t      source  /**< */,
   13357                            xcb_pixmap_t      mask  /**< */,
   13358                            uint16_t          fore_red  /**< */,
   13359                            uint16_t          fore_green  /**< */,
   13360                            uint16_t          fore_blue  /**< */,
   13361                            uint16_t          back_red  /**< */,
   13362                            uint16_t          back_green  /**< */,
   13363                            uint16_t          back_blue  /**< */,
   13364                            uint16_t          x  /**< */,
   13365                            uint16_t          y  /**< */);
   13366 
   13367 /**
   13368  * Delivers a request to the X server
   13369  * @param c The connection
   13370  * @return A cookie
   13371  *
   13372  * Delivers a request to the X server.
   13373  *
   13374  */
   13375 
   13376 /*****************************************************************************
   13377  **
   13378  ** xcb_void_cookie_t xcb_create_cursor
   13379  **
   13380  ** @param xcb_connection_t *c
   13381  ** @param xcb_cursor_t      cid
   13382  ** @param xcb_pixmap_t      source
   13383  ** @param xcb_pixmap_t      mask
   13384  ** @param uint16_t          fore_red
   13385  ** @param uint16_t          fore_green
   13386  ** @param uint16_t          fore_blue
   13387  ** @param uint16_t          back_red
   13388  ** @param uint16_t          back_green
   13389  ** @param uint16_t          back_blue
   13390  ** @param uint16_t          x
   13391  ** @param uint16_t          y
   13392  ** @returns xcb_void_cookie_t
   13393  **
   13394  *****************************************************************************/
   13395 
   13396 xcb_void_cookie_t
   13397 xcb_create_cursor (xcb_connection_t *c  /**< */,
   13398                    xcb_cursor_t      cid  /**< */,
   13399                    xcb_pixmap_t      source  /**< */,
   13400                    xcb_pixmap_t      mask  /**< */,
   13401                    uint16_t          fore_red  /**< */,
   13402                    uint16_t          fore_green  /**< */,
   13403                    uint16_t          fore_blue  /**< */,
   13404                    uint16_t          back_red  /**< */,
   13405                    uint16_t          back_green  /**< */,
   13406                    uint16_t          back_blue  /**< */,
   13407                    uint16_t          x  /**< */,
   13408                    uint16_t          y  /**< */);
   13409 
   13410 /**
   13411  * Delivers a request to the X server
   13412  * @param c The connection
   13413  * @return A cookie
   13414  *
   13415  * Delivers a request to the X server.
   13416  *
   13417  * This form can be used only if the request will not cause
   13418  * a reply to be generated. Any returned error will be
   13419  * saved for handling by xcb_request_check().
   13420  */
   13421 
   13422 /*****************************************************************************
   13423  **
   13424  ** xcb_void_cookie_t xcb_create_glyph_cursor_checked
   13425  **
   13426  ** @param xcb_connection_t *c
   13427  ** @param xcb_cursor_t      cid
   13428  ** @param xcb_font_t        source_font
   13429  ** @param xcb_font_t        mask_font
   13430  ** @param uint16_t          source_char
   13431  ** @param uint16_t          mask_char
   13432  ** @param uint16_t          fore_red
   13433  ** @param uint16_t          fore_green
   13434  ** @param uint16_t          fore_blue
   13435  ** @param uint16_t          back_red
   13436  ** @param uint16_t          back_green
   13437  ** @param uint16_t          back_blue
   13438  ** @returns xcb_void_cookie_t
   13439  **
   13440  *****************************************************************************/
   13441 
   13442 xcb_void_cookie_t
   13443 xcb_create_glyph_cursor_checked (xcb_connection_t *c  /**< */,
   13444                                  xcb_cursor_t      cid  /**< */,
   13445                                  xcb_font_t        source_font  /**< */,
   13446                                  xcb_font_t        mask_font  /**< */,
   13447                                  uint16_t          source_char  /**< */,
   13448                                  uint16_t          mask_char  /**< */,
   13449                                  uint16_t          fore_red  /**< */,
   13450                                  uint16_t          fore_green  /**< */,
   13451                                  uint16_t          fore_blue  /**< */,
   13452                                  uint16_t          back_red  /**< */,
   13453                                  uint16_t          back_green  /**< */,
   13454                                  uint16_t          back_blue  /**< */);
   13455 
   13456 /**
   13457  * Delivers a request to the X server
   13458  * @param c The connection
   13459  * @return A cookie
   13460  *
   13461  * Delivers a request to the X server.
   13462  *
   13463  */
   13464 
   13465 /*****************************************************************************
   13466  **
   13467  ** xcb_void_cookie_t xcb_create_glyph_cursor
   13468  **
   13469  ** @param xcb_connection_t *c
   13470  ** @param xcb_cursor_t      cid
   13471  ** @param xcb_font_t        source_font
   13472  ** @param xcb_font_t        mask_font
   13473  ** @param uint16_t          source_char
   13474  ** @param uint16_t          mask_char
   13475  ** @param uint16_t          fore_red
   13476  ** @param uint16_t          fore_green
   13477  ** @param uint16_t          fore_blue
   13478  ** @param uint16_t          back_red
   13479  ** @param uint16_t          back_green
   13480  ** @param uint16_t          back_blue
   13481  ** @returns xcb_void_cookie_t
   13482  **
   13483  *****************************************************************************/
   13484 
   13485 xcb_void_cookie_t
   13486 xcb_create_glyph_cursor (xcb_connection_t *c  /**< */,
   13487                          xcb_cursor_t      cid  /**< */,
   13488                          xcb_font_t        source_font  /**< */,
   13489                          xcb_font_t        mask_font  /**< */,
   13490                          uint16_t          source_char  /**< */,
   13491                          uint16_t          mask_char  /**< */,
   13492                          uint16_t          fore_red  /**< */,
   13493                          uint16_t          fore_green  /**< */,
   13494                          uint16_t          fore_blue  /**< */,
   13495                          uint16_t          back_red  /**< */,
   13496                          uint16_t          back_green  /**< */,
   13497                          uint16_t          back_blue  /**< */);
   13498 
   13499 /**
   13500  * Delivers a request to the X server
   13501  * @param c The connection
   13502  * @return A cookie
   13503  *
   13504  * Delivers a request to the X server.
   13505  *
   13506  * This form can be used only if the request will not cause
   13507  * a reply to be generated. Any returned error will be
   13508  * saved for handling by xcb_request_check().
   13509  */
   13510 
   13511 /*****************************************************************************
   13512  **
   13513  ** xcb_void_cookie_t xcb_free_cursor_checked
   13514  **
   13515  ** @param xcb_connection_t *c
   13516  ** @param xcb_cursor_t      cursor
   13517  ** @returns xcb_void_cookie_t
   13518  **
   13519  *****************************************************************************/
   13520 
   13521 xcb_void_cookie_t
   13522 xcb_free_cursor_checked (xcb_connection_t *c  /**< */,
   13523                          xcb_cursor_t      cursor  /**< */);
   13524 
   13525 /**
   13526  * Delivers a request to the X server
   13527  * @param c The connection
   13528  * @return A cookie
   13529  *
   13530  * Delivers a request to the X server.
   13531  *
   13532  */
   13533 
   13534 /*****************************************************************************
   13535  **
   13536  ** xcb_void_cookie_t xcb_free_cursor
   13537  **
   13538  ** @param xcb_connection_t *c
   13539  ** @param xcb_cursor_t      cursor
   13540  ** @returns xcb_void_cookie_t
   13541  **
   13542  *****************************************************************************/
   13543 
   13544 xcb_void_cookie_t
   13545 xcb_free_cursor (xcb_connection_t *c  /**< */,
   13546                  xcb_cursor_t      cursor  /**< */);
   13547 
   13548 /**
   13549  * Delivers a request to the X server
   13550  * @param c The connection
   13551  * @return A cookie
   13552  *
   13553  * Delivers a request to the X server.
   13554  *
   13555  * This form can be used only if the request will not cause
   13556  * a reply to be generated. Any returned error will be
   13557  * saved for handling by xcb_request_check().
   13558  */
   13559 
   13560 /*****************************************************************************
   13561  **
   13562  ** xcb_void_cookie_t xcb_recolor_cursor_checked
   13563  **
   13564  ** @param xcb_connection_t *c
   13565  ** @param xcb_cursor_t      cursor
   13566  ** @param uint16_t          fore_red
   13567  ** @param uint16_t          fore_green
   13568  ** @param uint16_t          fore_blue
   13569  ** @param uint16_t          back_red
   13570  ** @param uint16_t          back_green
   13571  ** @param uint16_t          back_blue
   13572  ** @returns xcb_void_cookie_t
   13573  **
   13574  *****************************************************************************/
   13575 
   13576 xcb_void_cookie_t
   13577 xcb_recolor_cursor_checked (xcb_connection_t *c  /**< */,
   13578                             xcb_cursor_t      cursor  /**< */,
   13579                             uint16_t          fore_red  /**< */,
   13580                             uint16_t          fore_green  /**< */,
   13581                             uint16_t          fore_blue  /**< */,
   13582                             uint16_t          back_red  /**< */,
   13583                             uint16_t          back_green  /**< */,
   13584                             uint16_t          back_blue  /**< */);
   13585 
   13586 /**
   13587  * Delivers a request to the X server
   13588  * @param c The connection
   13589  * @return A cookie
   13590  *
   13591  * Delivers a request to the X server.
   13592  *
   13593  */
   13594 
   13595 /*****************************************************************************
   13596  **
   13597  ** xcb_void_cookie_t xcb_recolor_cursor
   13598  **
   13599  ** @param xcb_connection_t *c
   13600  ** @param xcb_cursor_t      cursor
   13601  ** @param uint16_t          fore_red
   13602  ** @param uint16_t          fore_green
   13603  ** @param uint16_t          fore_blue
   13604  ** @param uint16_t          back_red
   13605  ** @param uint16_t          back_green
   13606  ** @param uint16_t          back_blue
   13607  ** @returns xcb_void_cookie_t
   13608  **
   13609  *****************************************************************************/
   13610 
   13611 xcb_void_cookie_t
   13612 xcb_recolor_cursor (xcb_connection_t *c  /**< */,
   13613                     xcb_cursor_t      cursor  /**< */,
   13614                     uint16_t          fore_red  /**< */,
   13615                     uint16_t          fore_green  /**< */,
   13616                     uint16_t          fore_blue  /**< */,
   13617                     uint16_t          back_red  /**< */,
   13618                     uint16_t          back_green  /**< */,
   13619                     uint16_t          back_blue  /**< */);
   13620 
   13621 /**
   13622  * Delivers a request to the X server
   13623  * @param c The connection
   13624  * @return A cookie
   13625  *
   13626  * Delivers a request to the X server.
   13627  *
   13628  */
   13629 
   13630 /*****************************************************************************
   13631  **
   13632  ** xcb_query_best_size_cookie_t xcb_query_best_size
   13633  **
   13634  ** @param xcb_connection_t *c
   13635  ** @param uint8_t           _class
   13636  ** @param xcb_drawable_t    drawable
   13637  ** @param uint16_t          width
   13638  ** @param uint16_t          height
   13639  ** @returns xcb_query_best_size_cookie_t
   13640  **
   13641  *****************************************************************************/
   13642 
   13643 xcb_query_best_size_cookie_t
   13644 xcb_query_best_size (xcb_connection_t *c  /**< */,
   13645                      uint8_t           _class  /**< */,
   13646                      xcb_drawable_t    drawable  /**< */,
   13647                      uint16_t          width  /**< */,
   13648                      uint16_t          height  /**< */);
   13649 
   13650 /**
   13651  * Delivers a request to the X server
   13652  * @param c The connection
   13653  * @return A cookie
   13654  *
   13655  * Delivers a request to the X server.
   13656  *
   13657  * This form can be used only if the request will cause
   13658  * a reply to be generated. Any returned error will be
   13659  * placed in the event queue.
   13660  */
   13661 
   13662 /*****************************************************************************
   13663  **
   13664  ** xcb_query_best_size_cookie_t xcb_query_best_size_unchecked
   13665  **
   13666  ** @param xcb_connection_t *c
   13667  ** @param uint8_t           _class
   13668  ** @param xcb_drawable_t    drawable
   13669  ** @param uint16_t          width
   13670  ** @param uint16_t          height
   13671  ** @returns xcb_query_best_size_cookie_t
   13672  **
   13673  *****************************************************************************/
   13674 
   13675 xcb_query_best_size_cookie_t
   13676 xcb_query_best_size_unchecked (xcb_connection_t *c  /**< */,
   13677                                uint8_t           _class  /**< */,
   13678                                xcb_drawable_t    drawable  /**< */,
   13679                                uint16_t          width  /**< */,
   13680                                uint16_t          height  /**< */);
   13681 
   13682 /**
   13683  * Return the reply
   13684  * @param c      The connection
   13685  * @param cookie The cookie
   13686  * @param e      The xcb_generic_error_t supplied
   13687  *
   13688  * Returns the reply of the request asked by
   13689  *
   13690  * The parameter @p e supplied to this function must be NULL if
   13691  * xcb_query_best_size_unchecked(). is used.
   13692  * Otherwise, it stores the error if any.
   13693  *
   13694  * The returned value must be freed by the caller using free().
   13695  */
   13696 
   13697 /*****************************************************************************
   13698  **
   13699  ** xcb_query_best_size_reply_t * xcb_query_best_size_reply
   13700  **
   13701  ** @param xcb_connection_t              *c
   13702  ** @param xcb_query_best_size_cookie_t   cookie
   13703  ** @param xcb_generic_error_t          **e
   13704  ** @returns xcb_query_best_size_reply_t *
   13705  **
   13706  *****************************************************************************/
   13707 
   13708 xcb_query_best_size_reply_t *
   13709 xcb_query_best_size_reply (xcb_connection_t              *c  /**< */,
   13710                            xcb_query_best_size_cookie_t   cookie  /**< */,
   13711                            xcb_generic_error_t          **e  /**< */);
   13712 
   13713 int
   13714 xcb_query_extension_sizeof (const void  *_buffer  /**< */);
   13715 
   13716 /**
   13717  * Delivers a request to the X server
   13718  * @param c The connection
   13719  * @return A cookie
   13720  *
   13721  * Delivers a request to the X server.
   13722  *
   13723  */
   13724 
   13725 /*****************************************************************************
   13726  **
   13727  ** xcb_query_extension_cookie_t xcb_query_extension
   13728  **
   13729  ** @param xcb_connection_t *c
   13730  ** @param uint16_t          name_len
   13731  ** @param const char       *name
   13732  ** @returns xcb_query_extension_cookie_t
   13733  **
   13734  *****************************************************************************/
   13735 
   13736 xcb_query_extension_cookie_t
   13737 xcb_query_extension (xcb_connection_t *c  /**< */,
   13738                      uint16_t          name_len  /**< */,
   13739                      const char       *name  /**< */);
   13740 
   13741 /**
   13742  * Delivers a request to the X server
   13743  * @param c The connection
   13744  * @return A cookie
   13745  *
   13746  * Delivers a request to the X server.
   13747  *
   13748  * This form can be used only if the request will cause
   13749  * a reply to be generated. Any returned error will be
   13750  * placed in the event queue.
   13751  */
   13752 
   13753 /*****************************************************************************
   13754  **
   13755  ** xcb_query_extension_cookie_t xcb_query_extension_unchecked
   13756  **
   13757  ** @param xcb_connection_t *c
   13758  ** @param uint16_t          name_len
   13759  ** @param const char       *name
   13760  ** @returns xcb_query_extension_cookie_t
   13761  **
   13762  *****************************************************************************/
   13763 
   13764 xcb_query_extension_cookie_t
   13765 xcb_query_extension_unchecked (xcb_connection_t *c  /**< */,
   13766                                uint16_t          name_len  /**< */,
   13767                                const char       *name  /**< */);
   13768 
   13769 /**
   13770  * Return the reply
   13771  * @param c      The connection
   13772  * @param cookie The cookie
   13773  * @param e      The xcb_generic_error_t supplied
   13774  *
   13775  * Returns the reply of the request asked by
   13776  *
   13777  * The parameter @p e supplied to this function must be NULL if
   13778  * xcb_query_extension_unchecked(). is used.
   13779  * Otherwise, it stores the error if any.
   13780  *
   13781  * The returned value must be freed by the caller using free().
   13782  */
   13783 
   13784 /*****************************************************************************
   13785  **
   13786  ** xcb_query_extension_reply_t * xcb_query_extension_reply
   13787  **
   13788  ** @param xcb_connection_t              *c
   13789  ** @param xcb_query_extension_cookie_t   cookie
   13790  ** @param xcb_generic_error_t          **e
   13791  ** @returns xcb_query_extension_reply_t *
   13792  **
   13793  *****************************************************************************/
   13794 
   13795 xcb_query_extension_reply_t *
   13796 xcb_query_extension_reply (xcb_connection_t              *c  /**< */,
   13797                            xcb_query_extension_cookie_t   cookie  /**< */,
   13798                            xcb_generic_error_t          **e  /**< */);
   13799 
   13800 int
   13801 xcb_list_extensions_sizeof (const void  *_buffer  /**< */);
   13802 
   13803 /**
   13804  * Delivers a request to the X server
   13805  * @param c The connection
   13806  * @return A cookie
   13807  *
   13808  * Delivers a request to the X server.
   13809  *
   13810  */
   13811 
   13812 /*****************************************************************************
   13813  **
   13814  ** xcb_list_extensions_cookie_t xcb_list_extensions
   13815  **
   13816  ** @param xcb_connection_t *c
   13817  ** @returns xcb_list_extensions_cookie_t
   13818  **
   13819  *****************************************************************************/
   13820 
   13821 xcb_list_extensions_cookie_t
   13822 xcb_list_extensions (xcb_connection_t *c  /**< */);
   13823 
   13824 /**
   13825  * Delivers a request to the X server
   13826  * @param c The connection
   13827  * @return A cookie
   13828  *
   13829  * Delivers a request to the X server.
   13830  *
   13831  * This form can be used only if the request will cause
   13832  * a reply to be generated. Any returned error will be
   13833  * placed in the event queue.
   13834  */
   13835 
   13836 /*****************************************************************************
   13837  **
   13838  ** xcb_list_extensions_cookie_t xcb_list_extensions_unchecked
   13839  **
   13840  ** @param xcb_connection_t *c
   13841  ** @returns xcb_list_extensions_cookie_t
   13842  **
   13843  *****************************************************************************/
   13844 
   13845 xcb_list_extensions_cookie_t
   13846 xcb_list_extensions_unchecked (xcb_connection_t *c  /**< */);
   13847 
   13848 
   13849 /*****************************************************************************
   13850  **
   13851  ** int xcb_list_extensions_names_length
   13852  **
   13853  ** @param const xcb_list_extensions_reply_t *R
   13854  ** @returns int
   13855  **
   13856  *****************************************************************************/
   13857 
   13858 int
   13859 xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R  /**< */);
   13860 
   13861 
   13862 /*****************************************************************************
   13863  **
   13864  ** xcb_str_iterator_t xcb_list_extensions_names_iterator
   13865  **
   13866  ** @param const xcb_list_extensions_reply_t *R
   13867  ** @returns xcb_str_iterator_t
   13868  **
   13869  *****************************************************************************/
   13870 
   13871 xcb_str_iterator_t
   13872 xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R  /**< */);
   13873 
   13874 /**
   13875  * Return the reply
   13876  * @param c      The connection
   13877  * @param cookie The cookie
   13878  * @param e      The xcb_generic_error_t supplied
   13879  *
   13880  * Returns the reply of the request asked by
   13881  *
   13882  * The parameter @p e supplied to this function must be NULL if
   13883  * xcb_list_extensions_unchecked(). is used.
   13884  * Otherwise, it stores the error if any.
   13885  *
   13886  * The returned value must be freed by the caller using free().
   13887  */
   13888 
   13889 /*****************************************************************************
   13890  **
   13891  ** xcb_list_extensions_reply_t * xcb_list_extensions_reply
   13892  **
   13893  ** @param xcb_connection_t              *c
   13894  ** @param xcb_list_extensions_cookie_t   cookie
   13895  ** @param xcb_generic_error_t          **e
   13896  ** @returns xcb_list_extensions_reply_t *
   13897  **
   13898  *****************************************************************************/
   13899 
   13900 xcb_list_extensions_reply_t *
   13901 xcb_list_extensions_reply (xcb_connection_t              *c  /**< */,
   13902                            xcb_list_extensions_cookie_t   cookie  /**< */,
   13903                            xcb_generic_error_t          **e  /**< */);
   13904 
   13905 int
   13906 xcb_change_keyboard_mapping_sizeof (const void  *_buffer  /**< */);
   13907 
   13908 /**
   13909  * Delivers a request to the X server
   13910  * @param c The connection
   13911  * @return A cookie
   13912  *
   13913  * Delivers a request to the X server.
   13914  *
   13915  * This form can be used only if the request will not cause
   13916  * a reply to be generated. Any returned error will be
   13917  * saved for handling by xcb_request_check().
   13918  */
   13919 
   13920 /*****************************************************************************
   13921  **
   13922  ** xcb_void_cookie_t xcb_change_keyboard_mapping_checked
   13923  **
   13924  ** @param xcb_connection_t   *c
   13925  ** @param uint8_t             keycode_count
   13926  ** @param xcb_keycode_t       first_keycode
   13927  ** @param uint8_t             keysyms_per_keycode
   13928  ** @param const xcb_keysym_t *keysyms
   13929  ** @returns xcb_void_cookie_t
   13930  **
   13931  *****************************************************************************/
   13932 
   13933 xcb_void_cookie_t
   13934 xcb_change_keyboard_mapping_checked (xcb_connection_t   *c  /**< */,
   13935                                      uint8_t             keycode_count  /**< */,
   13936                                      xcb_keycode_t       first_keycode  /**< */,
   13937                                      uint8_t             keysyms_per_keycode  /**< */,
   13938                                      const xcb_keysym_t *keysyms  /**< */);
   13939 
   13940 /**
   13941  * Delivers a request to the X server
   13942  * @param c The connection
   13943  * @return A cookie
   13944  *
   13945  * Delivers a request to the X server.
   13946  *
   13947  */
   13948 
   13949 /*****************************************************************************
   13950  **
   13951  ** xcb_void_cookie_t xcb_change_keyboard_mapping
   13952  **
   13953  ** @param xcb_connection_t   *c
   13954  ** @param uint8_t             keycode_count
   13955  ** @param xcb_keycode_t       first_keycode
   13956  ** @param uint8_t             keysyms_per_keycode
   13957  ** @param const xcb_keysym_t *keysyms
   13958  ** @returns xcb_void_cookie_t
   13959  **
   13960  *****************************************************************************/
   13961 
   13962 xcb_void_cookie_t
   13963 xcb_change_keyboard_mapping (xcb_connection_t   *c  /**< */,
   13964                              uint8_t             keycode_count  /**< */,
   13965                              xcb_keycode_t       first_keycode  /**< */,
   13966                              uint8_t             keysyms_per_keycode  /**< */,
   13967                              const xcb_keysym_t *keysyms  /**< */);
   13968 
   13969 int
   13970 xcb_get_keyboard_mapping_sizeof (const void  *_buffer  /**< */);
   13971 
   13972 /**
   13973  * Delivers a request to the X server
   13974  * @param c The connection
   13975  * @return A cookie
   13976  *
   13977  * Delivers a request to the X server.
   13978  *
   13979  */
   13980 
   13981 /*****************************************************************************
   13982  **
   13983  ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping
   13984  **
   13985  ** @param xcb_connection_t *c
   13986  ** @param xcb_keycode_t     first_keycode
   13987  ** @param uint8_t           count
   13988  ** @returns xcb_get_keyboard_mapping_cookie_t
   13989  **
   13990  *****************************************************************************/
   13991 
   13992 xcb_get_keyboard_mapping_cookie_t
   13993 xcb_get_keyboard_mapping (xcb_connection_t *c  /**< */,
   13994                           xcb_keycode_t     first_keycode  /**< */,
   13995                           uint8_t           count  /**< */);
   13996 
   13997 /**
   13998  * Delivers a request to the X server
   13999  * @param c The connection
   14000  * @return A cookie
   14001  *
   14002  * Delivers a request to the X server.
   14003  *
   14004  * This form can be used only if the request will cause
   14005  * a reply to be generated. Any returned error will be
   14006  * placed in the event queue.
   14007  */
   14008 
   14009 /*****************************************************************************
   14010  **
   14011  ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked
   14012  **
   14013  ** @param xcb_connection_t *c
   14014  ** @param xcb_keycode_t     first_keycode
   14015  ** @param uint8_t           count
   14016  ** @returns xcb_get_keyboard_mapping_cookie_t
   14017  **
   14018  *****************************************************************************/
   14019 
   14020 xcb_get_keyboard_mapping_cookie_t
   14021 xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c  /**< */,
   14022                                     xcb_keycode_t     first_keycode  /**< */,
   14023                                     uint8_t           count  /**< */);
   14024 
   14025 
   14026 /*****************************************************************************
   14027  **
   14028  ** xcb_keysym_t * xcb_get_keyboard_mapping_keysyms
   14029  **
   14030  ** @param const xcb_get_keyboard_mapping_reply_t *R
   14031  ** @returns xcb_keysym_t *
   14032  **
   14033  *****************************************************************************/
   14034 
   14035 xcb_keysym_t *
   14036 xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
   14037 
   14038 
   14039 /*****************************************************************************
   14040  **
   14041  ** int xcb_get_keyboard_mapping_keysyms_length
   14042  **
   14043  ** @param const xcb_get_keyboard_mapping_reply_t *R
   14044  ** @returns int
   14045  **
   14046  *****************************************************************************/
   14047 
   14048 int
   14049 xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
   14050 
   14051 
   14052 /*****************************************************************************
   14053  **
   14054  ** xcb_generic_iterator_t xcb_get_keyboard_mapping_keysyms_end
   14055  **
   14056  ** @param const xcb_get_keyboard_mapping_reply_t *R
   14057  ** @returns xcb_generic_iterator_t
   14058  **
   14059  *****************************************************************************/
   14060 
   14061 xcb_generic_iterator_t
   14062 xcb_get_keyboard_mapping_keysyms_end (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
   14063 
   14064 /**
   14065  * Return the reply
   14066  * @param c      The connection
   14067  * @param cookie The cookie
   14068  * @param e      The xcb_generic_error_t supplied
   14069  *
   14070  * Returns the reply of the request asked by
   14071  *
   14072  * The parameter @p e supplied to this function must be NULL if
   14073  * xcb_get_keyboard_mapping_unchecked(). is used.
   14074  * Otherwise, it stores the error if any.
   14075  *
   14076  * The returned value must be freed by the caller using free().
   14077  */
   14078 
   14079 /*****************************************************************************
   14080  **
   14081  ** xcb_get_keyboard_mapping_reply_t * xcb_get_keyboard_mapping_reply
   14082  **
   14083  ** @param xcb_connection_t                   *c
   14084  ** @param xcb_get_keyboard_mapping_cookie_t   cookie
   14085  ** @param xcb_generic_error_t               **e
   14086  ** @returns xcb_get_keyboard_mapping_reply_t *
   14087  **
   14088  *****************************************************************************/
   14089 
   14090 xcb_get_keyboard_mapping_reply_t *
   14091 xcb_get_keyboard_mapping_reply (xcb_connection_t                   *c  /**< */,
   14092                                 xcb_get_keyboard_mapping_cookie_t   cookie  /**< */,
   14093                                 xcb_generic_error_t               **e  /**< */);
   14094 
   14095 int
   14096 xcb_change_keyboard_control_sizeof (const void  *_buffer  /**< */);
   14097 
   14098 /**
   14099  * Delivers a request to the X server
   14100  * @param c The connection
   14101  * @return A cookie
   14102  *
   14103  * Delivers a request to the X server.
   14104  *
   14105  * This form can be used only if the request will not cause
   14106  * a reply to be generated. Any returned error will be
   14107  * saved for handling by xcb_request_check().
   14108  */
   14109 
   14110 /*****************************************************************************
   14111  **
   14112  ** xcb_void_cookie_t xcb_change_keyboard_control_checked
   14113  **
   14114  ** @param xcb_connection_t *c
   14115  ** @param uint32_t          value_mask
   14116  ** @param const uint32_t   *value_list
   14117  ** @returns xcb_void_cookie_t
   14118  **
   14119  *****************************************************************************/
   14120 
   14121 xcb_void_cookie_t
   14122 xcb_change_keyboard_control_checked (xcb_connection_t *c  /**< */,
   14123                                      uint32_t          value_mask  /**< */,
   14124                                      const uint32_t   *value_list  /**< */);
   14125 
   14126 /**
   14127  * Delivers a request to the X server
   14128  * @param c The connection
   14129  * @return A cookie
   14130  *
   14131  * Delivers a request to the X server.
   14132  *
   14133  */
   14134 
   14135 /*****************************************************************************
   14136  **
   14137  ** xcb_void_cookie_t xcb_change_keyboard_control
   14138  **
   14139  ** @param xcb_connection_t *c
   14140  ** @param uint32_t          value_mask
   14141  ** @param const uint32_t   *value_list
   14142  ** @returns xcb_void_cookie_t
   14143  **
   14144  *****************************************************************************/
   14145 
   14146 xcb_void_cookie_t
   14147 xcb_change_keyboard_control (xcb_connection_t *c  /**< */,
   14148                              uint32_t          value_mask  /**< */,
   14149                              const uint32_t   *value_list  /**< */);
   14150 
   14151 /**
   14152  * Delivers a request to the X server
   14153  * @param c The connection
   14154  * @return A cookie
   14155  *
   14156  * Delivers a request to the X server.
   14157  *
   14158  */
   14159 
   14160 /*****************************************************************************
   14161  **
   14162  ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control
   14163  **
   14164  ** @param xcb_connection_t *c
   14165  ** @returns xcb_get_keyboard_control_cookie_t
   14166  **
   14167  *****************************************************************************/
   14168 
   14169 xcb_get_keyboard_control_cookie_t
   14170 xcb_get_keyboard_control (xcb_connection_t *c  /**< */);
   14171 
   14172 /**
   14173  * Delivers a request to the X server
   14174  * @param c The connection
   14175  * @return A cookie
   14176  *
   14177  * Delivers a request to the X server.
   14178  *
   14179  * This form can be used only if the request will cause
   14180  * a reply to be generated. Any returned error will be
   14181  * placed in the event queue.
   14182  */
   14183 
   14184 /*****************************************************************************
   14185  **
   14186  ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked
   14187  **
   14188  ** @param xcb_connection_t *c
   14189  ** @returns xcb_get_keyboard_control_cookie_t
   14190  **
   14191  *****************************************************************************/
   14192 
   14193 xcb_get_keyboard_control_cookie_t
   14194 xcb_get_keyboard_control_unchecked (xcb_connection_t *c  /**< */);
   14195 
   14196 /**
   14197  * Return the reply
   14198  * @param c      The connection
   14199  * @param cookie The cookie
   14200  * @param e      The xcb_generic_error_t supplied
   14201  *
   14202  * Returns the reply of the request asked by
   14203  *
   14204  * The parameter @p e supplied to this function must be NULL if
   14205  * xcb_get_keyboard_control_unchecked(). is used.
   14206  * Otherwise, it stores the error if any.
   14207  *
   14208  * The returned value must be freed by the caller using free().
   14209  */
   14210 
   14211 /*****************************************************************************
   14212  **
   14213  ** xcb_get_keyboard_control_reply_t * xcb_get_keyboard_control_reply
   14214  **
   14215  ** @param xcb_connection_t                   *c
   14216  ** @param xcb_get_keyboard_control_cookie_t   cookie
   14217  ** @param xcb_generic_error_t               **e
   14218  ** @returns xcb_get_keyboard_control_reply_t *
   14219  **
   14220  *****************************************************************************/
   14221 
   14222 xcb_get_keyboard_control_reply_t *
   14223 xcb_get_keyboard_control_reply (xcb_connection_t                   *c  /**< */,
   14224                                 xcb_get_keyboard_control_cookie_t   cookie  /**< */,
   14225                                 xcb_generic_error_t               **e  /**< */);
   14226 
   14227 /**
   14228  * Delivers a request to the X server
   14229  * @param c The connection
   14230  * @return A cookie
   14231  *
   14232  * Delivers a request to the X server.
   14233  *
   14234  * This form can be used only if the request will not cause
   14235  * a reply to be generated. Any returned error will be
   14236  * saved for handling by xcb_request_check().
   14237  */
   14238 
   14239 /*****************************************************************************
   14240  **
   14241  ** xcb_void_cookie_t xcb_bell_checked
   14242  **
   14243  ** @param xcb_connection_t *c
   14244  ** @param int8_t            percent
   14245  ** @returns xcb_void_cookie_t
   14246  **
   14247  *****************************************************************************/
   14248 
   14249 xcb_void_cookie_t
   14250 xcb_bell_checked (xcb_connection_t *c  /**< */,
   14251                   int8_t            percent  /**< */);
   14252 
   14253 /**
   14254  * Delivers a request to the X server
   14255  * @param c The connection
   14256  * @return A cookie
   14257  *
   14258  * Delivers a request to the X server.
   14259  *
   14260  */
   14261 
   14262 /*****************************************************************************
   14263  **
   14264  ** xcb_void_cookie_t xcb_bell
   14265  **
   14266  ** @param xcb_connection_t *c
   14267  ** @param int8_t            percent
   14268  ** @returns xcb_void_cookie_t
   14269  **
   14270  *****************************************************************************/
   14271 
   14272 xcb_void_cookie_t
   14273 xcb_bell (xcb_connection_t *c  /**< */,
   14274           int8_t            percent  /**< */);
   14275 
   14276 /**
   14277  * Delivers a request to the X server
   14278  * @param c The connection
   14279  * @return A cookie
   14280  *
   14281  * Delivers a request to the X server.
   14282  *
   14283  * This form can be used only if the request will not cause
   14284  * a reply to be generated. Any returned error will be
   14285  * saved for handling by xcb_request_check().
   14286  */
   14287 
   14288 /*****************************************************************************
   14289  **
   14290  ** xcb_void_cookie_t xcb_change_pointer_control_checked
   14291  **
   14292  ** @param xcb_connection_t *c
   14293  ** @param int16_t           acceleration_numerator
   14294  ** @param int16_t           acceleration_denominator
   14295  ** @param int16_t           threshold
   14296  ** @param uint8_t           do_acceleration
   14297  ** @param uint8_t           do_threshold
   14298  ** @returns xcb_void_cookie_t
   14299  **
   14300  *****************************************************************************/
   14301 
   14302 xcb_void_cookie_t
   14303 xcb_change_pointer_control_checked (xcb_connection_t *c  /**< */,
   14304                                     int16_t           acceleration_numerator  /**< */,
   14305                                     int16_t           acceleration_denominator  /**< */,
   14306                                     int16_t           threshold  /**< */,
   14307                                     uint8_t           do_acceleration  /**< */,
   14308                                     uint8_t           do_threshold  /**< */);
   14309 
   14310 /**
   14311  * Delivers a request to the X server
   14312  * @param c The connection
   14313  * @return A cookie
   14314  *
   14315  * Delivers a request to the X server.
   14316  *
   14317  */
   14318 
   14319 /*****************************************************************************
   14320  **
   14321  ** xcb_void_cookie_t xcb_change_pointer_control
   14322  **
   14323  ** @param xcb_connection_t *c
   14324  ** @param int16_t           acceleration_numerator
   14325  ** @param int16_t           acceleration_denominator
   14326  ** @param int16_t           threshold
   14327  ** @param uint8_t           do_acceleration
   14328  ** @param uint8_t           do_threshold
   14329  ** @returns xcb_void_cookie_t
   14330  **
   14331  *****************************************************************************/
   14332 
   14333 xcb_void_cookie_t
   14334 xcb_change_pointer_control (xcb_connection_t *c  /**< */,
   14335                             int16_t           acceleration_numerator  /**< */,
   14336                             int16_t           acceleration_denominator  /**< */,
   14337                             int16_t           threshold  /**< */,
   14338                             uint8_t           do_acceleration  /**< */,
   14339                             uint8_t           do_threshold  /**< */);
   14340 
   14341 /**
   14342  * Delivers a request to the X server
   14343  * @param c The connection
   14344  * @return A cookie
   14345  *
   14346  * Delivers a request to the X server.
   14347  *
   14348  */
   14349 
   14350 /*****************************************************************************
   14351  **
   14352  ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control
   14353  **
   14354  ** @param xcb_connection_t *c
   14355  ** @returns xcb_get_pointer_control_cookie_t
   14356  **
   14357  *****************************************************************************/
   14358 
   14359 xcb_get_pointer_control_cookie_t
   14360 xcb_get_pointer_control (xcb_connection_t *c  /**< */);
   14361 
   14362 /**
   14363  * Delivers a request to the X server
   14364  * @param c The connection
   14365  * @return A cookie
   14366  *
   14367  * Delivers a request to the X server.
   14368  *
   14369  * This form can be used only if the request will cause
   14370  * a reply to be generated. Any returned error will be
   14371  * placed in the event queue.
   14372  */
   14373 
   14374 /*****************************************************************************
   14375  **
   14376  ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked
   14377  **
   14378  ** @param xcb_connection_t *c
   14379  ** @returns xcb_get_pointer_control_cookie_t
   14380  **
   14381  *****************************************************************************/
   14382 
   14383 xcb_get_pointer_control_cookie_t
   14384 xcb_get_pointer_control_unchecked (xcb_connection_t *c  /**< */);
   14385 
   14386 /**
   14387  * Return the reply
   14388  * @param c      The connection
   14389  * @param cookie The cookie
   14390  * @param e      The xcb_generic_error_t supplied
   14391  *
   14392  * Returns the reply of the request asked by
   14393  *
   14394  * The parameter @p e supplied to this function must be NULL if
   14395  * xcb_get_pointer_control_unchecked(). is used.
   14396  * Otherwise, it stores the error if any.
   14397  *
   14398  * The returned value must be freed by the caller using free().
   14399  */
   14400 
   14401 /*****************************************************************************
   14402  **
   14403  ** xcb_get_pointer_control_reply_t * xcb_get_pointer_control_reply
   14404  **
   14405  ** @param xcb_connection_t                  *c
   14406  ** @param xcb_get_pointer_control_cookie_t   cookie
   14407  ** @param xcb_generic_error_t              **e
   14408  ** @returns xcb_get_pointer_control_reply_t *
   14409  **
   14410  *****************************************************************************/
   14411 
   14412 xcb_get_pointer_control_reply_t *
   14413 xcb_get_pointer_control_reply (xcb_connection_t                  *c  /**< */,
   14414                                xcb_get_pointer_control_cookie_t   cookie  /**< */,
   14415                                xcb_generic_error_t              **e  /**< */);
   14416 
   14417 /**
   14418  * Delivers a request to the X server
   14419  * @param c The connection
   14420  * @return A cookie
   14421  *
   14422  * Delivers a request to the X server.
   14423  *
   14424  * This form can be used only if the request will not cause
   14425  * a reply to be generated. Any returned error will be
   14426  * saved for handling by xcb_request_check().
   14427  */
   14428 
   14429 /*****************************************************************************
   14430  **
   14431  ** xcb_void_cookie_t xcb_set_screen_saver_checked
   14432  **
   14433  ** @param xcb_connection_t *c
   14434  ** @param int16_t           timeout
   14435  ** @param int16_t           interval
   14436  ** @param uint8_t           prefer_blanking
   14437  ** @param uint8_t           allow_exposures
   14438  ** @returns xcb_void_cookie_t
   14439  **
   14440  *****************************************************************************/
   14441 
   14442 xcb_void_cookie_t
   14443 xcb_set_screen_saver_checked (xcb_connection_t *c  /**< */,
   14444                               int16_t           timeout  /**< */,
   14445                               int16_t           interval  /**< */,
   14446                               uint8_t           prefer_blanking  /**< */,
   14447                               uint8_t           allow_exposures  /**< */);
   14448 
   14449 /**
   14450  * Delivers a request to the X server
   14451  * @param c The connection
   14452  * @return A cookie
   14453  *
   14454  * Delivers a request to the X server.
   14455  *
   14456  */
   14457 
   14458 /*****************************************************************************
   14459  **
   14460  ** xcb_void_cookie_t xcb_set_screen_saver
   14461  **
   14462  ** @param xcb_connection_t *c
   14463  ** @param int16_t           timeout
   14464  ** @param int16_t           interval
   14465  ** @param uint8_t           prefer_blanking
   14466  ** @param uint8_t           allow_exposures
   14467  ** @returns xcb_void_cookie_t
   14468  **
   14469  *****************************************************************************/
   14470 
   14471 xcb_void_cookie_t
   14472 xcb_set_screen_saver (xcb_connection_t *c  /**< */,
   14473                       int16_t           timeout  /**< */,
   14474                       int16_t           interval  /**< */,
   14475                       uint8_t           prefer_blanking  /**< */,
   14476                       uint8_t           allow_exposures  /**< */);
   14477 
   14478 /**
   14479  * Delivers a request to the X server
   14480  * @param c The connection
   14481  * @return A cookie
   14482  *
   14483  * Delivers a request to the X server.
   14484  *
   14485  */
   14486 
   14487 /*****************************************************************************
   14488  **
   14489  ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver
   14490  **
   14491  ** @param xcb_connection_t *c
   14492  ** @returns xcb_get_screen_saver_cookie_t
   14493  **
   14494  *****************************************************************************/
   14495 
   14496 xcb_get_screen_saver_cookie_t
   14497 xcb_get_screen_saver (xcb_connection_t *c  /**< */);
   14498 
   14499 /**
   14500  * Delivers a request to the X server
   14501  * @param c The connection
   14502  * @return A cookie
   14503  *
   14504  * Delivers a request to the X server.
   14505  *
   14506  * This form can be used only if the request will cause
   14507  * a reply to be generated. Any returned error will be
   14508  * placed in the event queue.
   14509  */
   14510 
   14511 /*****************************************************************************
   14512  **
   14513  ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked
   14514  **
   14515  ** @param xcb_connection_t *c
   14516  ** @returns xcb_get_screen_saver_cookie_t
   14517  **
   14518  *****************************************************************************/
   14519 
   14520 xcb_get_screen_saver_cookie_t
   14521 xcb_get_screen_saver_unchecked (xcb_connection_t *c  /**< */);
   14522 
   14523 /**
   14524  * Return the reply
   14525  * @param c      The connection
   14526  * @param cookie The cookie
   14527  * @param e      The xcb_generic_error_t supplied
   14528  *
   14529  * Returns the reply of the request asked by
   14530  *
   14531  * The parameter @p e supplied to this function must be NULL if
   14532  * xcb_get_screen_saver_unchecked(). is used.
   14533  * Otherwise, it stores the error if any.
   14534  *
   14535  * The returned value must be freed by the caller using free().
   14536  */
   14537 
   14538 /*****************************************************************************
   14539  **
   14540  ** xcb_get_screen_saver_reply_t * xcb_get_screen_saver_reply
   14541  **
   14542  ** @param xcb_connection_t               *c
   14543  ** @param xcb_get_screen_saver_cookie_t   cookie
   14544  ** @param xcb_generic_error_t           **e
   14545  ** @returns xcb_get_screen_saver_reply_t *
   14546  **
   14547  *****************************************************************************/
   14548 
   14549 xcb_get_screen_saver_reply_t *
   14550 xcb_get_screen_saver_reply (xcb_connection_t               *c  /**< */,
   14551                             xcb_get_screen_saver_cookie_t   cookie  /**< */,
   14552                             xcb_generic_error_t           **e  /**< */);
   14553 
   14554 int
   14555 xcb_change_hosts_sizeof (const void  *_buffer  /**< */);
   14556 
   14557 /**
   14558  * Delivers a request to the X server
   14559  * @param c The connection
   14560  * @return A cookie
   14561  *
   14562  * Delivers a request to the X server.
   14563  *
   14564  * This form can be used only if the request will not cause
   14565  * a reply to be generated. Any returned error will be
   14566  * saved for handling by xcb_request_check().
   14567  */
   14568 
   14569 /*****************************************************************************
   14570  **
   14571  ** xcb_void_cookie_t xcb_change_hosts_checked
   14572  **
   14573  ** @param xcb_connection_t *c
   14574  ** @param uint8_t           mode
   14575  ** @param uint8_t           family
   14576  ** @param uint16_t          address_len
   14577  ** @param const uint8_t    *address
   14578  ** @returns xcb_void_cookie_t
   14579  **
   14580  *****************************************************************************/
   14581 
   14582 xcb_void_cookie_t
   14583 xcb_change_hosts_checked (xcb_connection_t *c  /**< */,
   14584                           uint8_t           mode  /**< */,
   14585                           uint8_t           family  /**< */,
   14586                           uint16_t          address_len  /**< */,
   14587                           const uint8_t    *address  /**< */);
   14588 
   14589 /**
   14590  * Delivers a request to the X server
   14591  * @param c The connection
   14592  * @return A cookie
   14593  *
   14594  * Delivers a request to the X server.
   14595  *
   14596  */
   14597 
   14598 /*****************************************************************************
   14599  **
   14600  ** xcb_void_cookie_t xcb_change_hosts
   14601  **
   14602  ** @param xcb_connection_t *c
   14603  ** @param uint8_t           mode
   14604  ** @param uint8_t           family
   14605  ** @param uint16_t          address_len
   14606  ** @param const uint8_t    *address
   14607  ** @returns xcb_void_cookie_t
   14608  **
   14609  *****************************************************************************/
   14610 
   14611 xcb_void_cookie_t
   14612 xcb_change_hosts (xcb_connection_t *c  /**< */,
   14613                   uint8_t           mode  /**< */,
   14614                   uint8_t           family  /**< */,
   14615                   uint16_t          address_len  /**< */,
   14616                   const uint8_t    *address  /**< */);
   14617 
   14618 int
   14619 xcb_host_sizeof (const void  *_buffer  /**< */);
   14620 
   14621 
   14622 /*****************************************************************************
   14623  **
   14624  ** uint8_t * xcb_host_address
   14625  **
   14626  ** @param const xcb_host_t *R
   14627  ** @returns uint8_t *
   14628  **
   14629  *****************************************************************************/
   14630 
   14631 uint8_t *
   14632 xcb_host_address (const xcb_host_t *R  /**< */);
   14633 
   14634 
   14635 /*****************************************************************************
   14636  **
   14637  ** int xcb_host_address_length
   14638  **
   14639  ** @param const xcb_host_t *R
   14640  ** @returns int
   14641  **
   14642  *****************************************************************************/
   14643 
   14644 int
   14645 xcb_host_address_length (const xcb_host_t *R  /**< */);
   14646 
   14647 
   14648 /*****************************************************************************
   14649  **
   14650  ** xcb_generic_iterator_t xcb_host_address_end
   14651  **
   14652  ** @param const xcb_host_t *R
   14653  ** @returns xcb_generic_iterator_t
   14654  **
   14655  *****************************************************************************/
   14656 
   14657 xcb_generic_iterator_t
   14658 xcb_host_address_end (const xcb_host_t *R  /**< */);
   14659 
   14660 /**
   14661  * Get the next element of the iterator
   14662  * @param i Pointer to a xcb_host_iterator_t
   14663  *
   14664  * Get the next element in the iterator. The member rem is
   14665  * decreased by one. The member data points to the next
   14666  * element. The member index is increased by sizeof(xcb_host_t)
   14667  */
   14668 
   14669 /*****************************************************************************
   14670  **
   14671  ** void xcb_host_next
   14672  **
   14673  ** @param xcb_host_iterator_t *i
   14674  ** @returns void
   14675  **
   14676  *****************************************************************************/
   14677 
   14678 void
   14679 xcb_host_next (xcb_host_iterator_t *i  /**< */);
   14680 
   14681 /**
   14682  * Return the iterator pointing to the last element
   14683  * @param i An xcb_host_iterator_t
   14684  * @return  The iterator pointing to the last element
   14685  *
   14686  * Set the current element in the iterator to the last element.
   14687  * The member rem is set to 0. The member data points to the
   14688  * last element.
   14689  */
   14690 
   14691 /*****************************************************************************
   14692  **
   14693  ** xcb_generic_iterator_t xcb_host_end
   14694  **
   14695  ** @param xcb_host_iterator_t i
   14696  ** @returns xcb_generic_iterator_t
   14697  **
   14698  *****************************************************************************/
   14699 
   14700 xcb_generic_iterator_t
   14701 xcb_host_end (xcb_host_iterator_t i  /**< */);
   14702 
   14703 int
   14704 xcb_list_hosts_sizeof (const void  *_buffer  /**< */);
   14705 
   14706 /**
   14707  * Delivers a request to the X server
   14708  * @param c The connection
   14709  * @return A cookie
   14710  *
   14711  * Delivers a request to the X server.
   14712  *
   14713  */
   14714 
   14715 /*****************************************************************************
   14716  **
   14717  ** xcb_list_hosts_cookie_t xcb_list_hosts
   14718  **
   14719  ** @param xcb_connection_t *c
   14720  ** @returns xcb_list_hosts_cookie_t
   14721  **
   14722  *****************************************************************************/
   14723 
   14724 xcb_list_hosts_cookie_t
   14725 xcb_list_hosts (xcb_connection_t *c  /**< */);
   14726 
   14727 /**
   14728  * Delivers a request to the X server
   14729  * @param c The connection
   14730  * @return A cookie
   14731  *
   14732  * Delivers a request to the X server.
   14733  *
   14734  * This form can be used only if the request will cause
   14735  * a reply to be generated. Any returned error will be
   14736  * placed in the event queue.
   14737  */
   14738 
   14739 /*****************************************************************************
   14740  **
   14741  ** xcb_list_hosts_cookie_t xcb_list_hosts_unchecked
   14742  **
   14743  ** @param xcb_connection_t *c
   14744  ** @returns xcb_list_hosts_cookie_t
   14745  **
   14746  *****************************************************************************/
   14747 
   14748 xcb_list_hosts_cookie_t
   14749 xcb_list_hosts_unchecked (xcb_connection_t *c  /**< */);
   14750 
   14751 
   14752 /*****************************************************************************
   14753  **
   14754  ** int xcb_list_hosts_hosts_length
   14755  **
   14756  ** @param const xcb_list_hosts_reply_t *R
   14757  ** @returns int
   14758  **
   14759  *****************************************************************************/
   14760 
   14761 int
   14762 xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R  /**< */);
   14763 
   14764 
   14765 /*****************************************************************************
   14766  **
   14767  ** xcb_host_iterator_t xcb_list_hosts_hosts_iterator
   14768  **
   14769  ** @param const xcb_list_hosts_reply_t *R
   14770  ** @returns xcb_host_iterator_t
   14771  **
   14772  *****************************************************************************/
   14773 
   14774 xcb_host_iterator_t
   14775 xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R  /**< */);
   14776 
   14777 /**
   14778  * Return the reply
   14779  * @param c      The connection
   14780  * @param cookie The cookie
   14781  * @param e      The xcb_generic_error_t supplied
   14782  *
   14783  * Returns the reply of the request asked by
   14784  *
   14785  * The parameter @p e supplied to this function must be NULL if
   14786  * xcb_list_hosts_unchecked(). is used.
   14787  * Otherwise, it stores the error if any.
   14788  *
   14789  * The returned value must be freed by the caller using free().
   14790  */
   14791 
   14792 /*****************************************************************************
   14793  **
   14794  ** xcb_list_hosts_reply_t * xcb_list_hosts_reply
   14795  **
   14796  ** @param xcb_connection_t         *c
   14797  ** @param xcb_list_hosts_cookie_t   cookie
   14798  ** @param xcb_generic_error_t     **e
   14799  ** @returns xcb_list_hosts_reply_t *
   14800  **
   14801  *****************************************************************************/
   14802 
   14803 xcb_list_hosts_reply_t *
   14804 xcb_list_hosts_reply (xcb_connection_t         *c  /**< */,
   14805                       xcb_list_hosts_cookie_t   cookie  /**< */,
   14806                       xcb_generic_error_t     **e  /**< */);
   14807 
   14808 /**
   14809  * Delivers a request to the X server
   14810  * @param c The connection
   14811  * @return A cookie
   14812  *
   14813  * Delivers a request to the X server.
   14814  *
   14815  * This form can be used only if the request will not cause
   14816  * a reply to be generated. Any returned error will be
   14817  * saved for handling by xcb_request_check().
   14818  */
   14819 
   14820 /*****************************************************************************
   14821  **
   14822  ** xcb_void_cookie_t xcb_set_access_control_checked
   14823  **
   14824  ** @param xcb_connection_t *c
   14825  ** @param uint8_t           mode
   14826  ** @returns xcb_void_cookie_t
   14827  **
   14828  *****************************************************************************/
   14829 
   14830 xcb_void_cookie_t
   14831 xcb_set_access_control_checked (xcb_connection_t *c  /**< */,
   14832                                 uint8_t           mode  /**< */);
   14833 
   14834 /**
   14835  * Delivers a request to the X server
   14836  * @param c The connection
   14837  * @return A cookie
   14838  *
   14839  * Delivers a request to the X server.
   14840  *
   14841  */
   14842 
   14843 /*****************************************************************************
   14844  **
   14845  ** xcb_void_cookie_t xcb_set_access_control
   14846  **
   14847  ** @param xcb_connection_t *c
   14848  ** @param uint8_t           mode
   14849  ** @returns xcb_void_cookie_t
   14850  **
   14851  *****************************************************************************/
   14852 
   14853 xcb_void_cookie_t
   14854 xcb_set_access_control (xcb_connection_t *c  /**< */,
   14855                         uint8_t           mode  /**< */);
   14856 
   14857 /**
   14858  * Delivers a request to the X server
   14859  * @param c The connection
   14860  * @return A cookie
   14861  *
   14862  * Delivers a request to the X server.
   14863  *
   14864  * This form can be used only if the request will not cause
   14865  * a reply to be generated. Any returned error will be
   14866  * saved for handling by xcb_request_check().
   14867  */
   14868 
   14869 /*****************************************************************************
   14870  **
   14871  ** xcb_void_cookie_t xcb_set_close_down_mode_checked
   14872  **
   14873  ** @param xcb_connection_t *c
   14874  ** @param uint8_t           mode
   14875  ** @returns xcb_void_cookie_t
   14876  **
   14877  *****************************************************************************/
   14878 
   14879 xcb_void_cookie_t
   14880 xcb_set_close_down_mode_checked (xcb_connection_t *c  /**< */,
   14881                                  uint8_t           mode  /**< */);
   14882 
   14883 /**
   14884  * Delivers a request to the X server
   14885  * @param c The connection
   14886  * @return A cookie
   14887  *
   14888  * Delivers a request to the X server.
   14889  *
   14890  */
   14891 
   14892 /*****************************************************************************
   14893  **
   14894  ** xcb_void_cookie_t xcb_set_close_down_mode
   14895  **
   14896  ** @param xcb_connection_t *c
   14897  ** @param uint8_t           mode
   14898  ** @returns xcb_void_cookie_t
   14899  **
   14900  *****************************************************************************/
   14901 
   14902 xcb_void_cookie_t
   14903 xcb_set_close_down_mode (xcb_connection_t *c  /**< */,
   14904                          uint8_t           mode  /**< */);
   14905 
   14906 /**
   14907  * Delivers a request to the X server
   14908  * @param c The connection
   14909  * @return A cookie
   14910  *
   14911  * Delivers a request to the X server.
   14912  *
   14913  * This form can be used only if the request will not cause
   14914  * a reply to be generated. Any returned error will be
   14915  * saved for handling by xcb_request_check().
   14916  */
   14917 
   14918 /*****************************************************************************
   14919  **
   14920  ** xcb_void_cookie_t xcb_kill_client_checked
   14921  **
   14922  ** @param xcb_connection_t *c
   14923  ** @param uint32_t          resource
   14924  ** @returns xcb_void_cookie_t
   14925  **
   14926  *****************************************************************************/
   14927 
   14928 xcb_void_cookie_t
   14929 xcb_kill_client_checked (xcb_connection_t *c  /**< */,
   14930                          uint32_t          resource  /**< */);
   14931 
   14932 /**
   14933  * Delivers a request to the X server
   14934  * @param c The connection
   14935  * @return A cookie
   14936  *
   14937  * Delivers a request to the X server.
   14938  *
   14939  */
   14940 
   14941 /*****************************************************************************
   14942  **
   14943  ** xcb_void_cookie_t xcb_kill_client
   14944  **
   14945  ** @param xcb_connection_t *c
   14946  ** @param uint32_t          resource
   14947  ** @returns xcb_void_cookie_t
   14948  **
   14949  *****************************************************************************/
   14950 
   14951 xcb_void_cookie_t
   14952 xcb_kill_client (xcb_connection_t *c  /**< */,
   14953                  uint32_t          resource  /**< */);
   14954 
   14955 int
   14956 xcb_rotate_properties_sizeof (const void  *_buffer  /**< */);
   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  * This form can be used only if the request will not cause
   14966  * a reply to be generated. Any returned error will be
   14967  * saved for handling by xcb_request_check().
   14968  */
   14969 
   14970 /*****************************************************************************
   14971  **
   14972  ** xcb_void_cookie_t xcb_rotate_properties_checked
   14973  **
   14974  ** @param xcb_connection_t *c
   14975  ** @param xcb_window_t      window
   14976  ** @param uint16_t          atoms_len
   14977  ** @param int16_t           delta
   14978  ** @param const xcb_atom_t *atoms
   14979  ** @returns xcb_void_cookie_t
   14980  **
   14981  *****************************************************************************/
   14982 
   14983 xcb_void_cookie_t
   14984 xcb_rotate_properties_checked (xcb_connection_t *c  /**< */,
   14985                                xcb_window_t      window  /**< */,
   14986                                uint16_t          atoms_len  /**< */,
   14987                                int16_t           delta  /**< */,
   14988                                const xcb_atom_t *atoms  /**< */);
   14989 
   14990 /**
   14991  * Delivers a request to the X server
   14992  * @param c The connection
   14993  * @return A cookie
   14994  *
   14995  * Delivers a request to the X server.
   14996  *
   14997  */
   14998 
   14999 /*****************************************************************************
   15000  **
   15001  ** xcb_void_cookie_t xcb_rotate_properties
   15002  **
   15003  ** @param xcb_connection_t *c
   15004  ** @param xcb_window_t      window
   15005  ** @param uint16_t          atoms_len
   15006  ** @param int16_t           delta
   15007  ** @param const xcb_atom_t *atoms
   15008  ** @returns xcb_void_cookie_t
   15009  **
   15010  *****************************************************************************/
   15011 
   15012 xcb_void_cookie_t
   15013 xcb_rotate_properties (xcb_connection_t *c  /**< */,
   15014                        xcb_window_t      window  /**< */,
   15015                        uint16_t          atoms_len  /**< */,
   15016                        int16_t           delta  /**< */,
   15017                        const xcb_atom_t *atoms  /**< */);
   15018 
   15019 /**
   15020  * Delivers a request to the X server
   15021  * @param c The connection
   15022  * @return A cookie
   15023  *
   15024  * Delivers a request to the X server.
   15025  *
   15026  * This form can be used only if the request will not cause
   15027  * a reply to be generated. Any returned error will be
   15028  * saved for handling by xcb_request_check().
   15029  */
   15030 
   15031 /*****************************************************************************
   15032  **
   15033  ** xcb_void_cookie_t xcb_force_screen_saver_checked
   15034  **
   15035  ** @param xcb_connection_t *c
   15036  ** @param uint8_t           mode
   15037  ** @returns xcb_void_cookie_t
   15038  **
   15039  *****************************************************************************/
   15040 
   15041 xcb_void_cookie_t
   15042 xcb_force_screen_saver_checked (xcb_connection_t *c  /**< */,
   15043                                 uint8_t           mode  /**< */);
   15044 
   15045 /**
   15046  * Delivers a request to the X server
   15047  * @param c The connection
   15048  * @return A cookie
   15049  *
   15050  * Delivers a request to the X server.
   15051  *
   15052  */
   15053 
   15054 /*****************************************************************************
   15055  **
   15056  ** xcb_void_cookie_t xcb_force_screen_saver
   15057  **
   15058  ** @param xcb_connection_t *c
   15059  ** @param uint8_t           mode
   15060  ** @returns xcb_void_cookie_t
   15061  **
   15062  *****************************************************************************/
   15063 
   15064 xcb_void_cookie_t
   15065 xcb_force_screen_saver (xcb_connection_t *c  /**< */,
   15066                         uint8_t           mode  /**< */);
   15067 
   15068 int
   15069 xcb_set_pointer_mapping_sizeof (const void  *_buffer  /**< */);
   15070 
   15071 /**
   15072  * Delivers a request to the X server
   15073  * @param c The connection
   15074  * @return A cookie
   15075  *
   15076  * Delivers a request to the X server.
   15077  *
   15078  */
   15079 
   15080 /*****************************************************************************
   15081  **
   15082  ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping
   15083  **
   15084  ** @param xcb_connection_t *c
   15085  ** @param uint8_t           map_len
   15086  ** @param const uint8_t    *map
   15087  ** @returns xcb_set_pointer_mapping_cookie_t
   15088  **
   15089  *****************************************************************************/
   15090 
   15091 xcb_set_pointer_mapping_cookie_t
   15092 xcb_set_pointer_mapping (xcb_connection_t *c  /**< */,
   15093                          uint8_t           map_len  /**< */,
   15094                          const uint8_t    *map  /**< */);
   15095 
   15096 /**
   15097  * Delivers a request to the X server
   15098  * @param c The connection
   15099  * @return A cookie
   15100  *
   15101  * Delivers a request to the X server.
   15102  *
   15103  * This form can be used only if the request will cause
   15104  * a reply to be generated. Any returned error will be
   15105  * placed in the event queue.
   15106  */
   15107 
   15108 /*****************************************************************************
   15109  **
   15110  ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked
   15111  **
   15112  ** @param xcb_connection_t *c
   15113  ** @param uint8_t           map_len
   15114  ** @param const uint8_t    *map
   15115  ** @returns xcb_set_pointer_mapping_cookie_t
   15116  **
   15117  *****************************************************************************/
   15118 
   15119 xcb_set_pointer_mapping_cookie_t
   15120 xcb_set_pointer_mapping_unchecked (xcb_connection_t *c  /**< */,
   15121                                    uint8_t           map_len  /**< */,
   15122                                    const uint8_t    *map  /**< */);
   15123 
   15124 /**
   15125  * Return the reply
   15126  * @param c      The connection
   15127  * @param cookie The cookie
   15128  * @param e      The xcb_generic_error_t supplied
   15129  *
   15130  * Returns the reply of the request asked by
   15131  *
   15132  * The parameter @p e supplied to this function must be NULL if
   15133  * xcb_set_pointer_mapping_unchecked(). is used.
   15134  * Otherwise, it stores the error if any.
   15135  *
   15136  * The returned value must be freed by the caller using free().
   15137  */
   15138 
   15139 /*****************************************************************************
   15140  **
   15141  ** xcb_set_pointer_mapping_reply_t * xcb_set_pointer_mapping_reply
   15142  **
   15143  ** @param xcb_connection_t                  *c
   15144  ** @param xcb_set_pointer_mapping_cookie_t   cookie
   15145  ** @param xcb_generic_error_t              **e
   15146  ** @returns xcb_set_pointer_mapping_reply_t *
   15147  **
   15148  *****************************************************************************/
   15149 
   15150 xcb_set_pointer_mapping_reply_t *
   15151 xcb_set_pointer_mapping_reply (xcb_connection_t                  *c  /**< */,
   15152                                xcb_set_pointer_mapping_cookie_t   cookie  /**< */,
   15153                                xcb_generic_error_t              **e  /**< */);
   15154 
   15155 int
   15156 xcb_get_pointer_mapping_sizeof (const void  *_buffer  /**< */);
   15157 
   15158 /**
   15159  * Delivers a request to the X server
   15160  * @param c The connection
   15161  * @return A cookie
   15162  *
   15163  * Delivers a request to the X server.
   15164  *
   15165  */
   15166 
   15167 /*****************************************************************************
   15168  **
   15169  ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping
   15170  **
   15171  ** @param xcb_connection_t *c
   15172  ** @returns xcb_get_pointer_mapping_cookie_t
   15173  **
   15174  *****************************************************************************/
   15175 
   15176 xcb_get_pointer_mapping_cookie_t
   15177 xcb_get_pointer_mapping (xcb_connection_t *c  /**< */);
   15178 
   15179 /**
   15180  * Delivers a request to the X server
   15181  * @param c The connection
   15182  * @return A cookie
   15183  *
   15184  * Delivers a request to the X server.
   15185  *
   15186  * This form can be used only if the request will cause
   15187  * a reply to be generated. Any returned error will be
   15188  * placed in the event queue.
   15189  */
   15190 
   15191 /*****************************************************************************
   15192  **
   15193  ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked
   15194  **
   15195  ** @param xcb_connection_t *c
   15196  ** @returns xcb_get_pointer_mapping_cookie_t
   15197  **
   15198  *****************************************************************************/
   15199 
   15200 xcb_get_pointer_mapping_cookie_t
   15201 xcb_get_pointer_mapping_unchecked (xcb_connection_t *c  /**< */);
   15202 
   15203 
   15204 /*****************************************************************************
   15205  **
   15206  ** uint8_t * xcb_get_pointer_mapping_map
   15207  **
   15208  ** @param const xcb_get_pointer_mapping_reply_t *R
   15209  ** @returns uint8_t *
   15210  **
   15211  *****************************************************************************/
   15212 
   15213 uint8_t *
   15214 xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R  /**< */);
   15215 
   15216 
   15217 /*****************************************************************************
   15218  **
   15219  ** int xcb_get_pointer_mapping_map_length
   15220  **
   15221  ** @param const xcb_get_pointer_mapping_reply_t *R
   15222  ** @returns int
   15223  **
   15224  *****************************************************************************/
   15225 
   15226 int
   15227 xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R  /**< */);
   15228 
   15229 
   15230 /*****************************************************************************
   15231  **
   15232  ** xcb_generic_iterator_t xcb_get_pointer_mapping_map_end
   15233  **
   15234  ** @param const xcb_get_pointer_mapping_reply_t *R
   15235  ** @returns xcb_generic_iterator_t
   15236  **
   15237  *****************************************************************************/
   15238 
   15239 xcb_generic_iterator_t
   15240 xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R  /**< */);
   15241 
   15242 /**
   15243  * Return the reply
   15244  * @param c      The connection
   15245  * @param cookie The cookie
   15246  * @param e      The xcb_generic_error_t supplied
   15247  *
   15248  * Returns the reply of the request asked by
   15249  *
   15250  * The parameter @p e supplied to this function must be NULL if
   15251  * xcb_get_pointer_mapping_unchecked(). is used.
   15252  * Otherwise, it stores the error if any.
   15253  *
   15254  * The returned value must be freed by the caller using free().
   15255  */
   15256 
   15257 /*****************************************************************************
   15258  **
   15259  ** xcb_get_pointer_mapping_reply_t * xcb_get_pointer_mapping_reply
   15260  **
   15261  ** @param xcb_connection_t                  *c
   15262  ** @param xcb_get_pointer_mapping_cookie_t   cookie
   15263  ** @param xcb_generic_error_t              **e
   15264  ** @returns xcb_get_pointer_mapping_reply_t *
   15265  **
   15266  *****************************************************************************/
   15267 
   15268 xcb_get_pointer_mapping_reply_t *
   15269 xcb_get_pointer_mapping_reply (xcb_connection_t                  *c  /**< */,
   15270                                xcb_get_pointer_mapping_cookie_t   cookie  /**< */,
   15271                                xcb_generic_error_t              **e  /**< */);
   15272 
   15273 int
   15274 xcb_set_modifier_mapping_sizeof (const void  *_buffer  /**< */);
   15275 
   15276 /**
   15277  * Delivers a request to the X server
   15278  * @param c The connection
   15279  * @return A cookie
   15280  *
   15281  * Delivers a request to the X server.
   15282  *
   15283  */
   15284 
   15285 /*****************************************************************************
   15286  **
   15287  ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping
   15288  **
   15289  ** @param xcb_connection_t    *c
   15290  ** @param uint8_t              keycodes_per_modifier
   15291  ** @param const xcb_keycode_t *keycodes
   15292  ** @returns xcb_set_modifier_mapping_cookie_t
   15293  **
   15294  *****************************************************************************/
   15295 
   15296 xcb_set_modifier_mapping_cookie_t
   15297 xcb_set_modifier_mapping (xcb_connection_t    *c  /**< */,
   15298                           uint8_t              keycodes_per_modifier  /**< */,
   15299                           const xcb_keycode_t *keycodes  /**< */);
   15300 
   15301 /**
   15302  * Delivers a request to the X server
   15303  * @param c The connection
   15304  * @return A cookie
   15305  *
   15306  * Delivers a request to the X server.
   15307  *
   15308  * This form can be used only if the request will cause
   15309  * a reply to be generated. Any returned error will be
   15310  * placed in the event queue.
   15311  */
   15312 
   15313 /*****************************************************************************
   15314  **
   15315  ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked
   15316  **
   15317  ** @param xcb_connection_t    *c
   15318  ** @param uint8_t              keycodes_per_modifier
   15319  ** @param const xcb_keycode_t *keycodes
   15320  ** @returns xcb_set_modifier_mapping_cookie_t
   15321  **
   15322  *****************************************************************************/
   15323 
   15324 xcb_set_modifier_mapping_cookie_t
   15325 xcb_set_modifier_mapping_unchecked (xcb_connection_t    *c  /**< */,
   15326                                     uint8_t              keycodes_per_modifier  /**< */,
   15327                                     const xcb_keycode_t *keycodes  /**< */);
   15328 
   15329 /**
   15330  * Return the reply
   15331  * @param c      The connection
   15332  * @param cookie The cookie
   15333  * @param e      The xcb_generic_error_t supplied
   15334  *
   15335  * Returns the reply of the request asked by
   15336  *
   15337  * The parameter @p e supplied to this function must be NULL if
   15338  * xcb_set_modifier_mapping_unchecked(). is used.
   15339  * Otherwise, it stores the error if any.
   15340  *
   15341  * The returned value must be freed by the caller using free().
   15342  */
   15343 
   15344 /*****************************************************************************
   15345  **
   15346  ** xcb_set_modifier_mapping_reply_t * xcb_set_modifier_mapping_reply
   15347  **
   15348  ** @param xcb_connection_t                   *c
   15349  ** @param xcb_set_modifier_mapping_cookie_t   cookie
   15350  ** @param xcb_generic_error_t               **e
   15351  ** @returns xcb_set_modifier_mapping_reply_t *
   15352  **
   15353  *****************************************************************************/
   15354 
   15355 xcb_set_modifier_mapping_reply_t *
   15356 xcb_set_modifier_mapping_reply (xcb_connection_t                   *c  /**< */,
   15357                                 xcb_set_modifier_mapping_cookie_t   cookie  /**< */,
   15358                                 xcb_generic_error_t               **e  /**< */);
   15359 
   15360 int
   15361 xcb_get_modifier_mapping_sizeof (const void  *_buffer  /**< */);
   15362 
   15363 /**
   15364  * Delivers a request to the X server
   15365  * @param c The connection
   15366  * @return A cookie
   15367  *
   15368  * Delivers a request to the X server.
   15369  *
   15370  */
   15371 
   15372 /*****************************************************************************
   15373  **
   15374  ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping
   15375  **
   15376  ** @param xcb_connection_t *c
   15377  ** @returns xcb_get_modifier_mapping_cookie_t
   15378  **
   15379  *****************************************************************************/
   15380 
   15381 xcb_get_modifier_mapping_cookie_t
   15382 xcb_get_modifier_mapping (xcb_connection_t *c  /**< */);
   15383 
   15384 /**
   15385  * Delivers a request to the X server
   15386  * @param c The connection
   15387  * @return A cookie
   15388  *
   15389  * Delivers a request to the X server.
   15390  *
   15391  * This form can be used only if the request will cause
   15392  * a reply to be generated. Any returned error will be
   15393  * placed in the event queue.
   15394  */
   15395 
   15396 /*****************************************************************************
   15397  **
   15398  ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked
   15399  **
   15400  ** @param xcb_connection_t *c
   15401  ** @returns xcb_get_modifier_mapping_cookie_t
   15402  **
   15403  *****************************************************************************/
   15404 
   15405 xcb_get_modifier_mapping_cookie_t
   15406 xcb_get_modifier_mapping_unchecked (xcb_connection_t *c  /**< */);
   15407 
   15408 
   15409 /*****************************************************************************
   15410  **
   15411  ** xcb_keycode_t * xcb_get_modifier_mapping_keycodes
   15412  **
   15413  ** @param const xcb_get_modifier_mapping_reply_t *R
   15414  ** @returns xcb_keycode_t *
   15415  **
   15416  *****************************************************************************/
   15417 
   15418 xcb_keycode_t *
   15419 xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R  /**< */);
   15420 
   15421 
   15422 /*****************************************************************************
   15423  **
   15424  ** int xcb_get_modifier_mapping_keycodes_length
   15425  **
   15426  ** @param const xcb_get_modifier_mapping_reply_t *R
   15427  ** @returns int
   15428  **
   15429  *****************************************************************************/
   15430 
   15431 int
   15432 xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R  /**< */);
   15433 
   15434 
   15435 /*****************************************************************************
   15436  **
   15437  ** xcb_generic_iterator_t xcb_get_modifier_mapping_keycodes_end
   15438  **
   15439  ** @param const xcb_get_modifier_mapping_reply_t *R
   15440  ** @returns xcb_generic_iterator_t
   15441  **
   15442  *****************************************************************************/
   15443 
   15444 xcb_generic_iterator_t
   15445 xcb_get_modifier_mapping_keycodes_end (const xcb_get_modifier_mapping_reply_t *R  /**< */);
   15446 
   15447 /**
   15448  * Return the reply
   15449  * @param c      The connection
   15450  * @param cookie The cookie
   15451  * @param e      The xcb_generic_error_t supplied
   15452  *
   15453  * Returns the reply of the request asked by
   15454  *
   15455  * The parameter @p e supplied to this function must be NULL if
   15456  * xcb_get_modifier_mapping_unchecked(). is used.
   15457  * Otherwise, it stores the error if any.
   15458  *
   15459  * The returned value must be freed by the caller using free().
   15460  */
   15461 
   15462 /*****************************************************************************
   15463  **
   15464  ** xcb_get_modifier_mapping_reply_t * xcb_get_modifier_mapping_reply
   15465  **
   15466  ** @param xcb_connection_t                   *c
   15467  ** @param xcb_get_modifier_mapping_cookie_t   cookie
   15468  ** @param xcb_generic_error_t               **e
   15469  ** @returns xcb_get_modifier_mapping_reply_t *
   15470  **
   15471  *****************************************************************************/
   15472 
   15473 xcb_get_modifier_mapping_reply_t *
   15474 xcb_get_modifier_mapping_reply (xcb_connection_t                   *c  /**< */,
   15475                                 xcb_get_modifier_mapping_cookie_t   cookie  /**< */,
   15476                                 xcb_generic_error_t               **e  /**< */);
   15477 
   15478 /**
   15479  * Delivers a request to the X server
   15480  * @param c The connection
   15481  * @return A cookie
   15482  *
   15483  * Delivers a request to the X server.
   15484  *
   15485  * This form can be used only if the request will not cause
   15486  * a reply to be generated. Any returned error will be
   15487  * saved for handling by xcb_request_check().
   15488  */
   15489 
   15490 /*****************************************************************************
   15491  **
   15492  ** xcb_void_cookie_t xcb_no_operation_checked
   15493  **
   15494  ** @param xcb_connection_t *c
   15495  ** @returns xcb_void_cookie_t
   15496  **
   15497  *****************************************************************************/
   15498 
   15499 xcb_void_cookie_t
   15500 xcb_no_operation_checked (xcb_connection_t *c  /**< */);
   15501 
   15502 /**
   15503  * Delivers a request to the X server
   15504  * @param c The connection
   15505  * @return A cookie
   15506  *
   15507  * Delivers a request to the X server.
   15508  *
   15509  */
   15510 
   15511 /*****************************************************************************
   15512  **
   15513  ** xcb_void_cookie_t xcb_no_operation
   15514  **
   15515  ** @param xcb_connection_t *c
   15516  ** @returns xcb_void_cookie_t
   15517  **
   15518  *****************************************************************************/
   15519 
   15520 xcb_void_cookie_t
   15521 xcb_no_operation (xcb_connection_t *c  /**< */);
   15522 
   15523 
   15524 #ifdef __cplusplus
   15525 }
   15526 #endif
   15527 
   15528 #endif
   15529 
   15530 /**
   15531  * @}
   15532  */
   15533