home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / xcb / xproto.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  439.5 KB  |  15,084 lines

  1. /*
  2.  * This file generated automatically from xproto.xml by c-client.xsl using XSLT.
  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. /**
  18.  * @brief xcb_char2b_t
  19.  **/
  20. typedef struct xcb_char2b_t {
  21.     uint8_t byte1; /**<  */
  22.     uint8_t byte2; /**<  */
  23. } xcb_char2b_t;
  24.  
  25. /**
  26.  * @brief xcb_char2b_iterator_t
  27.  **/
  28. typedef struct xcb_char2b_iterator_t {
  29.     xcb_char2b_t *data; /**<  */
  30.     int           rem; /**<  */
  31.     int           index; /**<  */
  32. } xcb_char2b_iterator_t;
  33.  
  34. typedef uint32_t xcb_window_t;
  35.  
  36. /**
  37.  * @brief xcb_window_iterator_t
  38.  **/
  39. typedef struct xcb_window_iterator_t {
  40.     xcb_window_t *data; /**<  */
  41.     int           rem; /**<  */
  42.     int           index; /**<  */
  43. } xcb_window_iterator_t;
  44.  
  45. typedef uint32_t xcb_pixmap_t;
  46.  
  47. /**
  48.  * @brief xcb_pixmap_iterator_t
  49.  **/
  50. typedef struct xcb_pixmap_iterator_t {
  51.     xcb_pixmap_t *data; /**<  */
  52.     int           rem; /**<  */
  53.     int           index; /**<  */
  54. } xcb_pixmap_iterator_t;
  55.  
  56. typedef uint32_t xcb_cursor_t;
  57.  
  58. /**
  59.  * @brief xcb_cursor_iterator_t
  60.  **/
  61. typedef struct xcb_cursor_iterator_t {
  62.     xcb_cursor_t *data; /**<  */
  63.     int           rem; /**<  */
  64.     int           index; /**<  */
  65. } xcb_cursor_iterator_t;
  66.  
  67. typedef uint32_t xcb_font_t;
  68.  
  69. /**
  70.  * @brief xcb_font_iterator_t
  71.  **/
  72. typedef struct xcb_font_iterator_t {
  73.     xcb_font_t *data; /**<  */
  74.     int         rem; /**<  */
  75.     int         index; /**<  */
  76. } xcb_font_iterator_t;
  77.  
  78. typedef uint32_t xcb_gcontext_t;
  79.  
  80. /**
  81.  * @brief xcb_gcontext_iterator_t
  82.  **/
  83. typedef struct xcb_gcontext_iterator_t {
  84.     xcb_gcontext_t *data; /**<  */
  85.     int             rem; /**<  */
  86.     int             index; /**<  */
  87. } xcb_gcontext_iterator_t;
  88.  
  89. typedef uint32_t xcb_colormap_t;
  90.  
  91. /**
  92.  * @brief xcb_colormap_iterator_t
  93.  **/
  94. typedef struct xcb_colormap_iterator_t {
  95.     xcb_colormap_t *data; /**<  */
  96.     int             rem; /**<  */
  97.     int             index; /**<  */
  98. } xcb_colormap_iterator_t;
  99.  
  100. typedef uint32_t xcb_atom_t;
  101.  
  102. /**
  103.  * @brief xcb_atom_iterator_t
  104.  **/
  105. typedef struct xcb_atom_iterator_t {
  106.     xcb_atom_t *data; /**<  */
  107.     int         rem; /**<  */
  108.     int         index; /**<  */
  109. } xcb_atom_iterator_t;
  110.  
  111. typedef uint32_t xcb_drawable_t;
  112.  
  113. /**
  114.  * @brief xcb_drawable_iterator_t
  115.  **/
  116. typedef struct xcb_drawable_iterator_t {
  117.     xcb_drawable_t *data; /**<  */
  118.     int             rem; /**<  */
  119.     int             index; /**<  */
  120. } xcb_drawable_iterator_t;
  121.  
  122. typedef uint32_t xcb_fontable_t;
  123.  
  124. /**
  125.  * @brief xcb_fontable_iterator_t
  126.  **/
  127. typedef struct xcb_fontable_iterator_t {
  128.     xcb_fontable_t *data; /**<  */
  129.     int             rem; /**<  */
  130.     int             index; /**<  */
  131. } xcb_fontable_iterator_t;
  132.  
  133. typedef uint32_t xcb_visualid_t;
  134.  
  135. /**
  136.  * @brief xcb_visualid_iterator_t
  137.  **/
  138. typedef struct xcb_visualid_iterator_t {
  139.     xcb_visualid_t *data; /**<  */
  140.     int             rem; /**<  */
  141.     int             index; /**<  */
  142. } xcb_visualid_iterator_t;
  143.  
  144. typedef uint32_t xcb_timestamp_t;
  145.  
  146. /**
  147.  * @brief xcb_timestamp_iterator_t
  148.  **/
  149. typedef struct xcb_timestamp_iterator_t {
  150.     xcb_timestamp_t *data; /**<  */
  151.     int              rem; /**<  */
  152.     int              index; /**<  */
  153. } xcb_timestamp_iterator_t;
  154.  
  155. typedef uint32_t xcb_keysym_t;
  156.  
  157. /**
  158.  * @brief xcb_keysym_iterator_t
  159.  **/
  160. typedef struct xcb_keysym_iterator_t {
  161.     xcb_keysym_t *data; /**<  */
  162.     int           rem; /**<  */
  163.     int           index; /**<  */
  164. } xcb_keysym_iterator_t;
  165.  
  166. typedef uint8_t xcb_keycode_t;
  167.  
  168. /**
  169.  * @brief xcb_keycode_iterator_t
  170.  **/
  171. typedef struct xcb_keycode_iterator_t {
  172.     xcb_keycode_t *data; /**<  */
  173.     int            rem; /**<  */
  174.     int            index; /**<  */
  175. } xcb_keycode_iterator_t;
  176.  
  177. typedef uint8_t xcb_button_t;
  178.  
  179. /**
  180.  * @brief xcb_button_iterator_t
  181.  **/
  182. typedef struct xcb_button_iterator_t {
  183.     xcb_button_t *data; /**<  */
  184.     int           rem; /**<  */
  185.     int           index; /**<  */
  186. } xcb_button_iterator_t;
  187.  
  188. /**
  189.  * @brief xcb_point_t
  190.  **/
  191. typedef struct xcb_point_t {
  192.     int16_t x; /**<  */
  193.     int16_t y; /**<  */
  194. } xcb_point_t;
  195.  
  196. /**
  197.  * @brief xcb_point_iterator_t
  198.  **/
  199. typedef struct xcb_point_iterator_t {
  200.     xcb_point_t *data; /**<  */
  201.     int          rem; /**<  */
  202.     int          index; /**<  */
  203. } xcb_point_iterator_t;
  204.  
  205. /**
  206.  * @brief xcb_rectangle_t
  207.  **/
  208. typedef struct xcb_rectangle_t {
  209.     int16_t  x; /**<  */
  210.     int16_t  y; /**<  */
  211.     uint16_t width; /**<  */
  212.     uint16_t height; /**<  */
  213. } xcb_rectangle_t;
  214.  
  215. /**
  216.  * @brief xcb_rectangle_iterator_t
  217.  **/
  218. typedef struct xcb_rectangle_iterator_t {
  219.     xcb_rectangle_t *data; /**<  */
  220.     int              rem; /**<  */
  221.     int              index; /**<  */
  222. } xcb_rectangle_iterator_t;
  223.  
  224. /**
  225.  * @brief xcb_arc_t
  226.  **/
  227. typedef struct xcb_arc_t {
  228.     int16_t  x; /**<  */
  229.     int16_t  y; /**<  */
  230.     uint16_t width; /**<  */
  231.     uint16_t height; /**<  */
  232.     int16_t  angle1; /**<  */
  233.     int16_t  angle2; /**<  */
  234. } xcb_arc_t;
  235.  
  236. /**
  237.  * @brief xcb_arc_iterator_t
  238.  **/
  239. typedef struct xcb_arc_iterator_t {
  240.     xcb_arc_t *data; /**<  */
  241.     int        rem; /**<  */
  242.     int        index; /**<  */
  243. } xcb_arc_iterator_t;
  244.  
  245. /**
  246.  * @brief xcb_format_t
  247.  **/
  248. typedef struct xcb_format_t {
  249.     uint8_t depth; /**<  */
  250.     uint8_t bits_per_pixel; /**<  */
  251.     uint8_t scanline_pad; /**<  */
  252.     uint8_t pad0[5]; /**<  */
  253. } xcb_format_t;
  254.  
  255. /**
  256.  * @brief xcb_format_iterator_t
  257.  **/
  258. typedef struct xcb_format_iterator_t {
  259.     xcb_format_t *data; /**<  */
  260.     int           rem; /**<  */
  261.     int           index; /**<  */
  262. } xcb_format_iterator_t;
  263.  
  264. typedef enum xcb_visual_class_t {
  265.     XCB_VISUAL_CLASS_STATIC_GRAY = 0,
  266.     XCB_VISUAL_CLASS_GRAY_SCALE = 1,
  267.     XCB_VISUAL_CLASS_STATIC_COLOR = 2,
  268.     XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
  269.     XCB_VISUAL_CLASS_TRUE_COLOR = 4,
  270.     XCB_VISUAL_CLASS_DIRECT_COLOR = 5
  271. } xcb_visual_class_t;
  272.  
  273. /**
  274.  * @brief xcb_visualtype_t
  275.  **/
  276. typedef struct xcb_visualtype_t {
  277.     xcb_visualid_t visual_id; /**<  */
  278.     uint8_t        _class; /**<  */
  279.     uint8_t        bits_per_rgb_value; /**<  */
  280.     uint16_t       colormap_entries; /**<  */
  281.     uint32_t       red_mask; /**<  */
  282.     uint32_t       green_mask; /**<  */
  283.     uint32_t       blue_mask; /**<  */
  284.     uint8_t        pad0[4]; /**<  */
  285. } xcb_visualtype_t;
  286.  
  287. /**
  288.  * @brief xcb_visualtype_iterator_t
  289.  **/
  290. typedef struct xcb_visualtype_iterator_t {
  291.     xcb_visualtype_t *data; /**<  */
  292.     int               rem; /**<  */
  293.     int               index; /**<  */
  294. } xcb_visualtype_iterator_t;
  295.  
  296. /**
  297.  * @brief xcb_depth_t
  298.  **/
  299. typedef struct xcb_depth_t {
  300.     uint8_t  depth; /**<  */
  301.     uint8_t  pad0; /**<  */
  302.     uint16_t visuals_len; /**<  */
  303.     uint8_t  pad1[4]; /**<  */
  304. } xcb_depth_t;
  305.  
  306. /**
  307.  * @brief xcb_depth_iterator_t
  308.  **/
  309. typedef struct xcb_depth_iterator_t {
  310.     xcb_depth_t *data; /**<  */
  311.     int          rem; /**<  */
  312.     int          index; /**<  */
  313. } xcb_depth_iterator_t;
  314.  
  315. /**
  316.  * @brief xcb_screen_t
  317.  **/
  318. typedef struct xcb_screen_t {
  319.     xcb_window_t   root; /**<  */
  320.     xcb_colormap_t default_colormap; /**<  */
  321.     uint32_t       white_pixel; /**<  */
  322.     uint32_t       black_pixel; /**<  */
  323.     uint32_t       current_input_masks; /**<  */
  324.     uint16_t       width_in_pixels; /**<  */
  325.     uint16_t       height_in_pixels; /**<  */
  326.     uint16_t       width_in_millimeters; /**<  */
  327.     uint16_t       height_in_millimeters; /**<  */
  328.     uint16_t       min_installed_maps; /**<  */
  329.     uint16_t       max_installed_maps; /**<  */
  330.     xcb_visualid_t root_visual; /**<  */
  331.     uint8_t        backing_stores; /**<  */
  332.     uint8_t        save_unders; /**<  */
  333.     uint8_t        root_depth; /**<  */
  334.     uint8_t        allowed_depths_len; /**<  */
  335. } xcb_screen_t;
  336.  
  337. /**
  338.  * @brief xcb_screen_iterator_t
  339.  **/
  340. typedef struct xcb_screen_iterator_t {
  341.     xcb_screen_t *data; /**<  */
  342.     int           rem; /**<  */
  343.     int           index; /**<  */
  344. } xcb_screen_iterator_t;
  345.  
  346. /**
  347.  * @brief xcb_setup_request_t
  348.  **/
  349. typedef struct xcb_setup_request_t {
  350.     uint8_t  byte_order; /**<  */
  351.     uint8_t  pad0; /**<  */
  352.     uint16_t protocol_major_version; /**<  */
  353.     uint16_t protocol_minor_version; /**<  */
  354.     uint16_t authorization_protocol_name_len; /**<  */
  355.     uint16_t authorization_protocol_data_len; /**<  */
  356. } xcb_setup_request_t;
  357.  
  358. /**
  359.  * @brief xcb_setup_request_iterator_t
  360.  **/
  361. typedef struct xcb_setup_request_iterator_t {
  362.     xcb_setup_request_t *data; /**<  */
  363.     int                  rem; /**<  */
  364.     int                  index; /**<  */
  365. } xcb_setup_request_iterator_t;
  366.  
  367. /**
  368.  * @brief xcb_setup_failed_t
  369.  **/
  370. typedef struct xcb_setup_failed_t {
  371.     uint8_t  status; /**<  */
  372.     uint8_t  reason_len; /**<  */
  373.     uint16_t protocol_major_version; /**<  */
  374.     uint16_t protocol_minor_version; /**<  */
  375.     uint16_t length; /**<  */
  376. } xcb_setup_failed_t;
  377.  
  378. /**
  379.  * @brief xcb_setup_failed_iterator_t
  380.  **/
  381. typedef struct xcb_setup_failed_iterator_t {
  382.     xcb_setup_failed_t *data; /**<  */
  383.     int                 rem; /**<  */
  384.     int                 index; /**<  */
  385. } xcb_setup_failed_iterator_t;
  386.  
  387. /**
  388.  * @brief xcb_setup_authenticate_t
  389.  **/
  390. typedef struct xcb_setup_authenticate_t {
  391.     uint8_t  status; /**<  */
  392.     uint8_t  pad0[5]; /**<  */
  393.     uint16_t length; /**<  */
  394. } xcb_setup_authenticate_t;
  395.  
  396. /**
  397.  * @brief xcb_setup_authenticate_iterator_t
  398.  **/
  399. typedef struct xcb_setup_authenticate_iterator_t {
  400.     xcb_setup_authenticate_t *data; /**<  */
  401.     int                       rem; /**<  */
  402.     int                       index; /**<  */
  403. } xcb_setup_authenticate_iterator_t;
  404.  
  405. typedef enum xcb_image_order_t {
  406.     XCB_IMAGE_ORDER_LSB_FIRST = 0,
  407.     XCB_IMAGE_ORDER_MSB_FIRST = 1
  408. } xcb_image_order_t;
  409.  
  410. /**
  411.  * @brief xcb_setup_t
  412.  **/
  413. typedef struct xcb_setup_t {
  414.     uint8_t       status; /**<  */
  415.     uint8_t       pad0; /**<  */
  416.     uint16_t      protocol_major_version; /**<  */
  417.     uint16_t      protocol_minor_version; /**<  */
  418.     uint16_t      length; /**<  */
  419.     uint32_t      release_number; /**<  */
  420.     uint32_t      resource_id_base; /**<  */
  421.     uint32_t      resource_id_mask; /**<  */
  422.     uint32_t      motion_buffer_size; /**<  */
  423.     uint16_t      vendor_len; /**<  */
  424.     uint16_t      maximum_request_length; /**<  */
  425.     uint8_t       roots_len; /**<  */
  426.     uint8_t       pixmap_formats_len; /**<  */
  427.     uint8_t       image_byte_order; /**<  */
  428.     uint8_t       bitmap_format_bit_order; /**<  */
  429.     uint8_t       bitmap_format_scanline_unit; /**<  */
  430.     uint8_t       bitmap_format_scanline_pad; /**<  */
  431.     xcb_keycode_t min_keycode; /**<  */
  432.     xcb_keycode_t max_keycode; /**<  */
  433.     uint8_t       pad1[4]; /**<  */
  434. } xcb_setup_t;
  435.  
  436. /**
  437.  * @brief xcb_setup_iterator_t
  438.  **/
  439. typedef struct xcb_setup_iterator_t {
  440.     xcb_setup_t *data; /**<  */
  441.     int          rem; /**<  */
  442.     int          index; /**<  */
  443. } xcb_setup_iterator_t;
  444.  
  445. typedef enum xcb_mod_mask_t {
  446.     XCB_MOD_MASK_SHIFT = (1 << 0),
  447.     XCB_MOD_MASK_LOCK = (1 << 1),
  448.     XCB_MOD_MASK_CONTROL = (1 << 2),
  449.     XCB_MOD_MASK_1 = (1 << 3),
  450.     XCB_MOD_MASK_2 = (1 << 4),
  451.     XCB_MOD_MASK_3 = (1 << 5),
  452.     XCB_MOD_MASK_4 = (1 << 6),
  453.     XCB_MOD_MASK_5 = (1 << 7)
  454. } xcb_mod_mask_t;
  455.  
  456. /** Opcode for xcb_key_press. */
  457. #define XCB_KEY_PRESS 2
  458.  
  459. /**
  460.  * @brief xcb_key_press_event_t
  461.  **/
  462. typedef struct xcb_key_press_event_t {
  463.     uint8_t         response_type; /**<  */
  464.     xcb_keycode_t   detail; /**<  */
  465.     uint16_t        sequence; /**<  */
  466.     xcb_timestamp_t time; /**<  */
  467.     xcb_window_t    root; /**<  */
  468.     xcb_window_t    event; /**<  */
  469.     xcb_window_t    child; /**<  */
  470.     int16_t         root_x; /**<  */
  471.     int16_t         root_y; /**<  */
  472.     int16_t         event_x; /**<  */
  473.     int16_t         event_y; /**<  */
  474.     uint16_t        state; /**<  */
  475.     uint8_t         same_screen; /**<  */
  476. } xcb_key_press_event_t;
  477.  
  478. /** Opcode for xcb_key_release. */
  479. #define XCB_KEY_RELEASE 3
  480.  
  481. typedef xcb_key_press_event_t xcb_key_release_event_t;
  482.  
  483. typedef enum xcb_button_mask_t {
  484.     XCB_BUTTON_MASK_1 = (1 << 8),
  485.     XCB_BUTTON_MASK_2 = (1 << 9),
  486.     XCB_BUTTON_MASK_3 = (1 << 10),
  487.     XCB_BUTTON_MASK_4 = (1 << 11),
  488.     XCB_BUTTON_MASK_5 = (1 << 12),
  489.     XCB_BUTTON_MASK_ANY = (1 << 15)
  490. } xcb_button_mask_t;
  491.  
  492. /** Opcode for xcb_button_press. */
  493. #define XCB_BUTTON_PRESS 4
  494.  
  495. /**
  496.  * @brief xcb_button_press_event_t
  497.  **/
  498. typedef struct xcb_button_press_event_t {
  499.     uint8_t         response_type; /**<  */
  500.     xcb_button_t    detail; /**<  */
  501.     uint16_t        sequence; /**<  */
  502.     xcb_timestamp_t time; /**<  */
  503.     xcb_window_t    root; /**<  */
  504.     xcb_window_t    event; /**<  */
  505.     xcb_window_t    child; /**<  */
  506.     int16_t         root_x; /**<  */
  507.     int16_t         root_y; /**<  */
  508.     int16_t         event_x; /**<  */
  509.     int16_t         event_y; /**<  */
  510.     uint16_t        state; /**<  */
  511.     uint8_t         same_screen; /**<  */
  512. } xcb_button_press_event_t;
  513.  
  514. /** Opcode for xcb_button_release. */
  515. #define XCB_BUTTON_RELEASE 5
  516.  
  517. typedef xcb_button_press_event_t xcb_button_release_event_t;
  518.  
  519. typedef enum xcb_motion_t {
  520.     XCB_MOTION_NORMAL = 0,
  521.     XCB_MOTION_HINT = 1
  522. } xcb_motion_t;
  523.  
  524. /** Opcode for xcb_motion_notify. */
  525. #define XCB_MOTION_NOTIFY 6
  526.  
  527. /**
  528.  * @brief xcb_motion_notify_event_t
  529.  **/
  530. typedef struct xcb_motion_notify_event_t {
  531.     uint8_t         response_type; /**<  */
  532.     uint8_t         detail; /**<  */
  533.     uint16_t        sequence; /**<  */
  534.     xcb_timestamp_t time; /**<  */
  535.     xcb_window_t    root; /**<  */
  536.     xcb_window_t    event; /**<  */
  537.     xcb_window_t    child; /**<  */
  538.     int16_t         root_x; /**<  */
  539.     int16_t         root_y; /**<  */
  540.     int16_t         event_x; /**<  */
  541.     int16_t         event_y; /**<  */
  542.     uint16_t        state; /**<  */
  543.     uint8_t         same_screen; /**<  */
  544. } xcb_motion_notify_event_t;
  545.  
  546. typedef enum xcb_notify_detail_t {
  547.     XCB_NOTIFY_DETAIL_ANCESTOR = 0,
  548.     XCB_NOTIFY_DETAIL_VIRTUAL = 1,
  549.     XCB_NOTIFY_DETAIL_INFERIOR = 2,
  550.     XCB_NOTIFY_DETAIL_NONLINEAR = 3,
  551.     XCB_NOTIFY_DETAIL_NONLINEAR_VIRTUAL = 4,
  552.     XCB_NOTIFY_DETAIL_POINTER = 5,
  553.     XCB_NOTIFY_DETAIL_POINTER_ROOT = 6,
  554.     XCB_NOTIFY_DETAIL_NONE = 7
  555. } xcb_notify_detail_t;
  556.  
  557. typedef enum xcb_notify_mode_t {
  558.     XCB_NOTIFY_MODE_NORMAL = 0,
  559.     XCB_NOTIFY_MODE_GRAB = 1,
  560.     XCB_NOTIFY_MODE_UNGRAB = 2,
  561.     XCB_NOTIFY_MODE_WHILE_GRABBED = 3
  562. } xcb_notify_mode_t;
  563.  
  564. /** Opcode for xcb_enter_notify. */
  565. #define XCB_ENTER_NOTIFY 7
  566.  
  567. /**
  568.  * @brief xcb_enter_notify_event_t
  569.  **/
  570. typedef struct xcb_enter_notify_event_t {
  571.     uint8_t         response_type; /**<  */
  572.     uint8_t         detail; /**<  */
  573.     uint16_t        sequence; /**<  */
  574.     xcb_timestamp_t time; /**<  */
  575.     xcb_window_t    root; /**<  */
  576.     xcb_window_t    event; /**<  */
  577.     xcb_window_t    child; /**<  */
  578.     int16_t         root_x; /**<  */
  579.     int16_t         root_y; /**<  */
  580.     int16_t         event_x; /**<  */
  581.     int16_t         event_y; /**<  */
  582.     uint16_t        state; /**<  */
  583.     uint8_t         mode; /**<  */
  584.     uint8_t         same_screen_focus; /**<  */
  585. } xcb_enter_notify_event_t;
  586.  
  587. /** Opcode for xcb_leave_notify. */
  588. #define XCB_LEAVE_NOTIFY 8
  589.  
  590. typedef xcb_enter_notify_event_t xcb_leave_notify_event_t;
  591.  
  592. /** Opcode for xcb_focus_in. */
  593. #define XCB_FOCUS_IN 9
  594.  
  595. /**
  596.  * @brief xcb_focus_in_event_t
  597.  **/
  598. typedef struct xcb_focus_in_event_t {
  599.     uint8_t      response_type; /**<  */
  600.     uint8_t      detail; /**<  */
  601.     uint16_t     sequence; /**<  */
  602.     xcb_window_t event; /**<  */
  603.     uint8_t      mode; /**<  */
  604. } xcb_focus_in_event_t;
  605.  
  606. /** Opcode for xcb_focus_out. */
  607. #define XCB_FOCUS_OUT 10
  608.  
  609. typedef xcb_focus_in_event_t xcb_focus_out_event_t;
  610.  
  611. /** Opcode for xcb_keymap_notify. */
  612. #define XCB_KEYMAP_NOTIFY 11
  613.  
  614. /**
  615.  * @brief xcb_keymap_notify_event_t
  616.  **/
  617. typedef struct xcb_keymap_notify_event_t {
  618.     uint8_t response_type; /**<  */
  619.     uint8_t keys[31]; /**<  */
  620. } xcb_keymap_notify_event_t;
  621.  
  622. /** Opcode for xcb_expose. */
  623. #define XCB_EXPOSE 12
  624.  
  625. /**
  626.  * @brief xcb_expose_event_t
  627.  **/
  628. typedef struct xcb_expose_event_t {
  629.     uint8_t      response_type; /**<  */
  630.     uint8_t      pad0; /**<  */
  631.     uint16_t     sequence; /**<  */
  632.     xcb_window_t window; /**<  */
  633.     uint16_t     x; /**<  */
  634.     uint16_t     y; /**<  */
  635.     uint16_t     width; /**<  */
  636.     uint16_t     height; /**<  */
  637.     uint16_t     count; /**<  */
  638. } xcb_expose_event_t;
  639.  
  640. /** Opcode for xcb_graphics_exposure. */
  641. #define XCB_GRAPHICS_EXPOSURE 13
  642.  
  643. /**
  644.  * @brief xcb_graphics_exposure_event_t
  645.  **/
  646. typedef struct xcb_graphics_exposure_event_t {
  647.     uint8_t        response_type; /**<  */
  648.     uint8_t        pad0; /**<  */
  649.     uint16_t       sequence; /**<  */
  650.     xcb_drawable_t drawable; /**<  */
  651.     uint16_t       x; /**<  */
  652.     uint16_t       y; /**<  */
  653.     uint16_t       width; /**<  */
  654.     uint16_t       height; /**<  */
  655.     uint16_t       minor_opcode; /**<  */
  656.     uint16_t       count; /**<  */
  657.     uint8_t        major_opcode; /**<  */
  658. } xcb_graphics_exposure_event_t;
  659.  
  660. /** Opcode for xcb_no_exposure. */
  661. #define XCB_NO_EXPOSURE 14
  662.  
  663. /**
  664.  * @brief xcb_no_exposure_event_t
  665.  **/
  666. typedef struct xcb_no_exposure_event_t {
  667.     uint8_t        response_type; /**<  */
  668.     uint8_t        pad0; /**<  */
  669.     uint16_t       sequence; /**<  */
  670.     xcb_drawable_t drawable; /**<  */
  671.     uint16_t       minor_opcode; /**<  */
  672.     uint8_t        major_opcode; /**<  */
  673. } xcb_no_exposure_event_t;
  674.  
  675. typedef enum xcb_visibility_t {
  676.     XCB_VISIBILITY_UNOBSCURED = 0,
  677.     XCB_VISIBILITY_PARTIALLY_OBSCURED = 1,
  678.     XCB_VISIBILITY_FULLY_OBSCURED = 2
  679. } xcb_visibility_t;
  680.  
  681. /** Opcode for xcb_visibility_notify. */
  682. #define XCB_VISIBILITY_NOTIFY 15
  683.  
  684. /**
  685.  * @brief xcb_visibility_notify_event_t
  686.  **/
  687. typedef struct xcb_visibility_notify_event_t {
  688.     uint8_t      response_type; /**<  */
  689.     uint8_t      pad0; /**<  */
  690.     uint16_t     sequence; /**<  */
  691.     xcb_window_t window; /**<  */
  692.     uint8_t      state; /**<  */
  693. } xcb_visibility_notify_event_t;
  694.  
  695. /** Opcode for xcb_create_notify. */
  696. #define XCB_CREATE_NOTIFY 16
  697.  
  698. /**
  699.  * @brief xcb_create_notify_event_t
  700.  **/
  701. typedef struct xcb_create_notify_event_t {
  702.     uint8_t      response_type; /**<  */
  703.     uint8_t      pad0; /**<  */
  704.     uint16_t     sequence; /**<  */
  705.     xcb_window_t parent; /**<  */
  706.     xcb_window_t window; /**<  */
  707.     int16_t      x; /**<  */
  708.     int16_t      y; /**<  */
  709.     uint16_t     width; /**<  */
  710.     uint16_t     height; /**<  */
  711.     uint16_t     border_width; /**<  */
  712.     uint8_t      override_redirect; /**<  */
  713. } xcb_create_notify_event_t;
  714.  
  715. /** Opcode for xcb_destroy_notify. */
  716. #define XCB_DESTROY_NOTIFY 17
  717.  
  718. /**
  719.  * @brief xcb_destroy_notify_event_t
  720.  **/
  721. typedef struct xcb_destroy_notify_event_t {
  722.     uint8_t      response_type; /**<  */
  723.     uint8_t      pad0; /**<  */
  724.     uint16_t     sequence; /**<  */
  725.     xcb_window_t event; /**<  */
  726.     xcb_window_t window; /**<  */
  727. } xcb_destroy_notify_event_t;
  728.  
  729. /** Opcode for xcb_unmap_notify. */
  730. #define XCB_UNMAP_NOTIFY 18
  731.  
  732. /**
  733.  * @brief xcb_unmap_notify_event_t
  734.  **/
  735. typedef struct xcb_unmap_notify_event_t {
  736.     uint8_t      response_type; /**<  */
  737.     uint8_t      pad0; /**<  */
  738.     uint16_t     sequence; /**<  */
  739.     xcb_window_t event; /**<  */
  740.     xcb_window_t window; /**<  */
  741.     uint8_t      from_configure; /**<  */
  742. } xcb_unmap_notify_event_t;
  743.  
  744. /** Opcode for xcb_map_notify. */
  745. #define XCB_MAP_NOTIFY 19
  746.  
  747. /**
  748.  * @brief xcb_map_notify_event_t
  749.  **/
  750. typedef struct xcb_map_notify_event_t {
  751.     uint8_t      response_type; /**<  */
  752.     uint8_t      pad0; /**<  */
  753.     uint16_t     sequence; /**<  */
  754.     xcb_window_t event; /**<  */
  755.     xcb_window_t window; /**<  */
  756.     uint8_t      override_redirect; /**<  */
  757. } xcb_map_notify_event_t;
  758.  
  759. /** Opcode for xcb_map_request. */
  760. #define XCB_MAP_REQUEST 20
  761.  
  762. /**
  763.  * @brief xcb_map_request_event_t
  764.  **/
  765. typedef struct xcb_map_request_event_t {
  766.     uint8_t      response_type; /**<  */
  767.     uint8_t      pad0; /**<  */
  768.     uint16_t     sequence; /**<  */
  769.     xcb_window_t parent; /**<  */
  770.     xcb_window_t window; /**<  */
  771. } xcb_map_request_event_t;
  772.  
  773. /** Opcode for xcb_reparent_notify. */
  774. #define XCB_REPARENT_NOTIFY 21
  775.  
  776. /**
  777.  * @brief xcb_reparent_notify_event_t
  778.  **/
  779. typedef struct xcb_reparent_notify_event_t {
  780.     uint8_t      response_type; /**<  */
  781.     uint8_t      pad0; /**<  */
  782.     uint16_t     sequence; /**<  */
  783.     xcb_window_t event; /**<  */
  784.     xcb_window_t window; /**<  */
  785.     xcb_window_t parent; /**<  */
  786.     int16_t      x; /**<  */
  787.     int16_t      y; /**<  */
  788.     uint8_t      override_redirect; /**<  */
  789. } xcb_reparent_notify_event_t;
  790.  
  791. /** Opcode for xcb_configure_notify. */
  792. #define XCB_CONFIGURE_NOTIFY 22
  793.  
  794. /**
  795.  * @brief xcb_configure_notify_event_t
  796.  **/
  797. typedef struct xcb_configure_notify_event_t {
  798.     uint8_t      response_type; /**<  */
  799.     uint8_t      pad0; /**<  */
  800.     uint16_t     sequence; /**<  */
  801.     xcb_window_t event; /**<  */
  802.     xcb_window_t window; /**<  */
  803.     xcb_window_t above_sibling; /**<  */
  804.     int16_t      x; /**<  */
  805.     int16_t      y; /**<  */
  806.     uint16_t     width; /**<  */
  807.     uint16_t     height; /**<  */
  808.     uint16_t     border_width; /**<  */
  809.     uint8_t      override_redirect; /**<  */
  810. } xcb_configure_notify_event_t;
  811.  
  812. /** Opcode for xcb_configure_request. */
  813. #define XCB_CONFIGURE_REQUEST 23
  814.  
  815. /**
  816.  * @brief xcb_configure_request_event_t
  817.  **/
  818. typedef struct xcb_configure_request_event_t {
  819.     uint8_t      response_type; /**<  */
  820.     uint8_t      stack_mode; /**<  */
  821.     uint16_t     sequence; /**<  */
  822.     xcb_window_t parent; /**<  */
  823.     xcb_window_t window; /**<  */
  824.     xcb_window_t sibling; /**<  */
  825.     int16_t      x; /**<  */
  826.     int16_t      y; /**<  */
  827.     uint16_t     width; /**<  */
  828.     uint16_t     height; /**<  */
  829.     uint16_t     border_width; /**<  */
  830.     uint16_t     value_mask; /**<  */
  831. } xcb_configure_request_event_t;
  832.  
  833. /** Opcode for xcb_gravity_notify. */
  834. #define XCB_GRAVITY_NOTIFY 24
  835.  
  836. /**
  837.  * @brief xcb_gravity_notify_event_t
  838.  **/
  839. typedef struct xcb_gravity_notify_event_t {
  840.     uint8_t      response_type; /**<  */
  841.     uint8_t      pad0; /**<  */
  842.     uint16_t     sequence; /**<  */
  843.     xcb_window_t event; /**<  */
  844.     xcb_window_t window; /**<  */
  845.     int16_t      x; /**<  */
  846.     int16_t      y; /**<  */
  847. } xcb_gravity_notify_event_t;
  848.  
  849. /** Opcode for xcb_resize_request. */
  850. #define XCB_RESIZE_REQUEST 25
  851.  
  852. /**
  853.  * @brief xcb_resize_request_event_t
  854.  **/
  855. typedef struct xcb_resize_request_event_t {
  856.     uint8_t      response_type; /**<  */
  857.     uint8_t      pad0; /**<  */
  858.     uint16_t     sequence; /**<  */
  859.     xcb_window_t window; /**<  */
  860.     uint16_t     width; /**<  */
  861.     uint16_t     height; /**<  */
  862. } xcb_resize_request_event_t;
  863.  
  864. typedef enum xcb_place_t {
  865.     XCB_PLACE_ON_TOP = 0,
  866.     XCB_PLACE_ON_BOTTOM = 1
  867. } xcb_place_t;
  868.  
  869. /** Opcode for xcb_circulate_notify. */
  870. #define XCB_CIRCULATE_NOTIFY 26
  871.  
  872. /**
  873.  * @brief xcb_circulate_notify_event_t
  874.  **/
  875. typedef struct xcb_circulate_notify_event_t {
  876.     uint8_t      response_type; /**<  */
  877.     uint8_t      pad0; /**<  */
  878.     uint16_t     sequence; /**<  */
  879.     xcb_window_t event; /**<  */
  880.     xcb_window_t window; /**<  */
  881.     uint8_t      pad1[4]; /**<  */
  882.     uint8_t      place; /**<  */
  883. } xcb_circulate_notify_event_t;
  884.  
  885. /** Opcode for xcb_circulate_request. */
  886. #define XCB_CIRCULATE_REQUEST 27
  887.  
  888. typedef xcb_circulate_notify_event_t xcb_circulate_request_event_t;
  889.  
  890. typedef enum xcb_property_t {
  891.     XCB_PROPERTY_NEW_VALUE = 0,
  892.     XCB_PROPERTY_DELETE = 1
  893. } xcb_property_t;
  894.  
  895. /** Opcode for xcb_property_notify. */
  896. #define XCB_PROPERTY_NOTIFY 28
  897.  
  898. /**
  899.  * @brief xcb_property_notify_event_t
  900.  **/
  901. typedef struct xcb_property_notify_event_t {
  902.     uint8_t         response_type; /**<  */
  903.     uint8_t         pad0; /**<  */
  904.     uint16_t        sequence; /**<  */
  905.     xcb_window_t    window; /**<  */
  906.     xcb_atom_t      atom; /**<  */
  907.     xcb_timestamp_t time; /**<  */
  908.     uint8_t         state; /**<  */
  909. } xcb_property_notify_event_t;
  910.  
  911. /** Opcode for xcb_selection_clear. */
  912. #define XCB_SELECTION_CLEAR 29
  913.  
  914. /**
  915.  * @brief xcb_selection_clear_event_t
  916.  **/
  917. typedef struct xcb_selection_clear_event_t {
  918.     uint8_t         response_type; /**<  */
  919.     uint8_t         pad0; /**<  */
  920.     uint16_t        sequence; /**<  */
  921.     xcb_timestamp_t time; /**<  */
  922.     xcb_window_t    owner; /**<  */
  923.     xcb_atom_t      selection; /**<  */
  924. } xcb_selection_clear_event_t;
  925.  
  926. /** Opcode for xcb_selection_request. */
  927. #define XCB_SELECTION_REQUEST 30
  928.  
  929. /**
  930.  * @brief xcb_selection_request_event_t
  931.  **/
  932. typedef struct xcb_selection_request_event_t {
  933.     uint8_t         response_type; /**<  */
  934.     uint8_t         pad0; /**<  */
  935.     uint16_t        sequence; /**<  */
  936.     xcb_timestamp_t time; /**<  */
  937.     xcb_window_t    owner; /**<  */
  938.     xcb_window_t    requestor; /**<  */
  939.     xcb_atom_t      selection; /**<  */
  940.     xcb_atom_t      target; /**<  */
  941.     xcb_atom_t      property; /**<  */
  942. } xcb_selection_request_event_t;
  943.  
  944. /** Opcode for xcb_selection_notify. */
  945. #define XCB_SELECTION_NOTIFY 31
  946.  
  947. /**
  948.  * @brief xcb_selection_notify_event_t
  949.  **/
  950. typedef struct xcb_selection_notify_event_t {
  951.     uint8_t         response_type; /**<  */
  952.     uint8_t         pad0; /**<  */
  953.     uint16_t        sequence; /**<  */
  954.     xcb_timestamp_t time; /**<  */
  955.     xcb_window_t    requestor; /**<  */
  956.     xcb_atom_t      selection; /**<  */
  957.     xcb_atom_t      target; /**<  */
  958.     xcb_atom_t      property; /**<  */
  959. } xcb_selection_notify_event_t;
  960.  
  961. typedef enum xcb_colormap_state_t {
  962.     XCB_COLORMAP_STATE_UNINSTALLED = 0,
  963.     XCB_COLORMAP_STATE_INSTALLED = 1
  964. } xcb_colormap_state_t;
  965.  
  966. /** Opcode for xcb_colormap_notify. */
  967. #define XCB_COLORMAP_NOTIFY 32
  968.  
  969. /**
  970.  * @brief xcb_colormap_notify_event_t
  971.  **/
  972. typedef struct xcb_colormap_notify_event_t {
  973.     uint8_t        response_type; /**<  */
  974.     uint8_t        pad0; /**<  */
  975.     uint16_t       sequence; /**<  */
  976.     xcb_window_t   window; /**<  */
  977.     xcb_colormap_t colormap; /**<  */
  978.     uint8_t        _new; /**<  */
  979.     uint8_t        state; /**<  */
  980. } xcb_colormap_notify_event_t;
  981.  
  982. /**
  983.  * @brief xcb_client_message_data_t
  984.  **/
  985. typedef union xcb_client_message_data_t {
  986.     uint8_t data8[20]; /**<  */
  987.     uint16_t data16[10]; /**<  */
  988.     uint32_t data32[5]; /**<  */
  989. } xcb_client_message_data_t;
  990.  
  991. /**
  992.  * @brief xcb_client_message_data_iterator_t
  993.  **/
  994. typedef struct xcb_client_message_data_iterator_t {
  995.     xcb_client_message_data_t *data; /**<  */
  996.     int                        rem; /**<  */
  997.     int                        index; /**<  */
  998. } xcb_client_message_data_iterator_t;
  999.  
  1000. /** Opcode for xcb_client_message. */
  1001. #define XCB_CLIENT_MESSAGE 33
  1002.  
  1003. /**
  1004.  * @brief xcb_client_message_event_t
  1005.  **/
  1006. typedef struct xcb_client_message_event_t {
  1007.     uint8_t                   response_type; /**<  */
  1008.     uint8_t                   format; /**<  */
  1009.     uint16_t                  sequence; /**<  */
  1010.     xcb_window_t              window; /**<  */
  1011.     xcb_atom_t                type; /**<  */
  1012.     xcb_client_message_data_t data; /**<  */
  1013. } xcb_client_message_event_t;
  1014.  
  1015. typedef enum xcb_mapping_t {
  1016.     XCB_MAPPING_MODIFIER = 0,
  1017.     XCB_MAPPING_KEYBOARD = 1,
  1018.     XCB_MAPPING_POINTER = 2
  1019. } xcb_mapping_t;
  1020.  
  1021. /** Opcode for xcb_mapping_notify. */
  1022. #define XCB_MAPPING_NOTIFY 34
  1023.  
  1024. /**
  1025.  * @brief xcb_mapping_notify_event_t
  1026.  **/
  1027. typedef struct xcb_mapping_notify_event_t {
  1028.     uint8_t       response_type; /**<  */
  1029.     uint8_t       pad0; /**<  */
  1030.     uint16_t      sequence; /**<  */
  1031.     uint8_t       request; /**<  */
  1032.     xcb_keycode_t first_keycode; /**<  */
  1033.     uint8_t       count; /**<  */
  1034. } xcb_mapping_notify_event_t;
  1035.  
  1036. /** Opcode for xcb_request. */
  1037. #define XCB_REQUEST 1
  1038.  
  1039. /**
  1040.  * @brief xcb_request_error_t
  1041.  **/
  1042. typedef struct xcb_request_error_t {
  1043.     uint8_t  response_type; /**<  */
  1044.     uint8_t  error_code; /**<  */
  1045.     uint16_t sequence; /**<  */
  1046.     uint32_t bad_value; /**<  */
  1047.     uint16_t minor_opcode; /**<  */
  1048.     uint8_t  major_opcode; /**<  */
  1049. } xcb_request_error_t;
  1050.  
  1051. /** Opcode for xcb_value. */
  1052. #define XCB_VALUE 2
  1053.  
  1054. /**
  1055.  * @brief xcb_value_error_t
  1056.  **/
  1057. typedef struct xcb_value_error_t {
  1058.     uint8_t  response_type; /**<  */
  1059.     uint8_t  error_code; /**<  */
  1060.     uint16_t sequence; /**<  */
  1061.     uint32_t bad_value; /**<  */
  1062.     uint16_t minor_opcode; /**<  */
  1063.     uint8_t  major_opcode; /**<  */
  1064. } xcb_value_error_t;
  1065.  
  1066. /** Opcode for xcb_window. */
  1067. #define XCB_WINDOW 3
  1068.  
  1069. typedef xcb_value_error_t xcb_window_error_t;
  1070.  
  1071. /** Opcode for xcb_pixmap. */
  1072. #define XCB_PIXMAP 4
  1073.  
  1074. typedef xcb_value_error_t xcb_pixmap_error_t;
  1075.  
  1076. /** Opcode for xcb_atom. */
  1077. #define XCB_ATOM 5
  1078.  
  1079. typedef xcb_value_error_t xcb_atom_error_t;
  1080.  
  1081. /** Opcode for xcb_cursor. */
  1082. #define XCB_CURSOR 6
  1083.  
  1084. typedef xcb_value_error_t xcb_cursor_error_t;
  1085.  
  1086. /** Opcode for xcb_font. */
  1087. #define XCB_FONT 7
  1088.  
  1089. typedef xcb_value_error_t xcb_font_error_t;
  1090.  
  1091. /** Opcode for xcb_match. */
  1092. #define XCB_MATCH 8
  1093.  
  1094. typedef xcb_request_error_t xcb_match_error_t;
  1095.  
  1096. /** Opcode for xcb_drawable. */
  1097. #define XCB_DRAWABLE 9
  1098.  
  1099. typedef xcb_value_error_t xcb_drawable_error_t;
  1100.  
  1101. /** Opcode for xcb_access. */
  1102. #define XCB_ACCESS 10
  1103.  
  1104. typedef xcb_request_error_t xcb_access_error_t;
  1105.  
  1106. /** Opcode for xcb_alloc. */
  1107. #define XCB_ALLOC 11
  1108.  
  1109. typedef xcb_request_error_t xcb_alloc_error_t;
  1110.  
  1111. /** Opcode for xcb_colormap. */
  1112. #define XCB_COLORMAP 12
  1113.  
  1114. typedef xcb_value_error_t xcb_colormap_error_t;
  1115.  
  1116. /** Opcode for xcb_g_context. */
  1117. #define XCB_G_CONTEXT 13
  1118.  
  1119. typedef xcb_value_error_t xcb_g_context_error_t;
  1120.  
  1121. /** Opcode for xcb_id_choice. */
  1122. #define XCB_ID_CHOICE 14
  1123.  
  1124. typedef xcb_value_error_t xcb_id_choice_error_t;
  1125.  
  1126. /** Opcode for xcb_name. */
  1127. #define XCB_NAME 15
  1128.  
  1129. typedef xcb_request_error_t xcb_name_error_t;
  1130.  
  1131. /** Opcode for xcb_length. */
  1132. #define XCB_LENGTH 16
  1133.  
  1134. typedef xcb_request_error_t xcb_length_error_t;
  1135.  
  1136. /** Opcode for xcb_implementation. */
  1137. #define XCB_IMPLEMENTATION 17
  1138.  
  1139. typedef xcb_request_error_t xcb_implementation_error_t;
  1140.  
  1141. typedef enum xcb_window_class_t {
  1142.     XCB_WINDOW_CLASS_COPY_FROM_PARENT = 0,
  1143.     XCB_WINDOW_CLASS_INPUT_OUTPUT = 1,
  1144.     XCB_WINDOW_CLASS_INPUT_ONLY = 2
  1145. } xcb_window_class_t;
  1146.  
  1147. typedef enum xcb_cw_t {
  1148.     XCB_CW_BACK_PIXMAP = (1 << 0),
  1149.     XCB_CW_BACK_PIXEL = (1 << 1),
  1150.     XCB_CW_BORDER_PIXMAP = (1 << 2),
  1151.     XCB_CW_BORDER_PIXEL = (1 << 3),
  1152.     XCB_CW_BIT_GRAVITY = (1 << 4),
  1153.     XCB_CW_WIN_GRAVITY = (1 << 5),
  1154.     XCB_CW_BACKING_STORE = (1 << 6),
  1155.     XCB_CW_BACKING_PLANES = (1 << 7),
  1156.     XCB_CW_BACKING_PIXEL = (1 << 8),
  1157.     XCB_CW_OVERRIDE_REDIRECT = (1 << 9),
  1158.     XCB_CW_SAVE_UNDER = (1 << 10),
  1159.     XCB_CW_EVENT_MASK = (1 << 11),
  1160.     XCB_CW_DONT_PROPAGATE = (1 << 12),
  1161.     XCB_CW_COLORMAP = (1 << 13),
  1162.     XCB_CW_CURSOR = (1 << 14)
  1163. } xcb_cw_t;
  1164.  
  1165. typedef enum xcb_back_pixmap_t {
  1166.     XCB_BACK_PIXMAP_NONE = 0,
  1167.     XCB_BACK_PIXMAP_PARENT_RELATIVE = 1
  1168. } xcb_back_pixmap_t;
  1169.  
  1170. typedef enum xcb_gravity_t {
  1171.     XCB_GRAVITY_BIT_FORGET = 0,
  1172.     XCB_GRAVITY_WIN_UNMAP = 0,
  1173.     XCB_GRAVITY_NORTH_WEST = 1,
  1174.     XCB_GRAVITY_NORTH = 2,
  1175.     XCB_GRAVITY_NORTH_EAST = 3,
  1176.     XCB_GRAVITY_WEST = 4,
  1177.     XCB_GRAVITY_CENTER = 5,
  1178.     XCB_GRAVITY_EAST = 6,
  1179.     XCB_GRAVITY_SOUTH_WEST = 7,
  1180.     XCB_GRAVITY_SOUTH = 8,
  1181.     XCB_GRAVITY_SOUTH_EAST = 9,
  1182.     XCB_GRAVITY_STATIC = 10
  1183. } xcb_gravity_t;
  1184.  
  1185. typedef enum xcb_backing_store_t {
  1186.     XCB_BACKING_STORE_NOT_USEFUL = 0,
  1187.     XCB_BACKING_STORE_WHEN_MAPPED = 1,
  1188.     XCB_BACKING_STORE_ALWAYS = 2
  1189. } xcb_backing_store_t;
  1190.  
  1191. typedef enum xcb_event_mask_t {
  1192.     XCB_EVENT_MASK_NO_EVENT = 0,
  1193.     XCB_EVENT_MASK_KEY_PRESS = (1 << 0),
  1194.     XCB_EVENT_MASK_KEY_RELEASE = (1 << 1),
  1195.     XCB_EVENT_MASK_BUTTON_PRESS = (1 << 2),
  1196.     XCB_EVENT_MASK_BUTTON_RELEASE = (1 << 3),
  1197.     XCB_EVENT_MASK_ENTER_WINDOW = (1 << 4),
  1198.     XCB_EVENT_MASK_LEAVE_WINDOW = (1 << 5),
  1199.     XCB_EVENT_MASK_POINTER_MOTION = (1 << 6),
  1200.     XCB_EVENT_MASK_POINTER_MOTION_HINT = (1 << 7),
  1201.     XCB_EVENT_MASK_BUTTON_1_MOTION = (1 << 8),
  1202.     XCB_EVENT_MASK_BUTTON_2_MOTION = (1 << 9),
  1203.     XCB_EVENT_MASK_BUTTON_3_MOTION = (1 << 10),
  1204.     XCB_EVENT_MASK_BUTTON_4_MOTION = (1 << 11),
  1205.     XCB_EVENT_MASK_BUTTON_5_MOTION = (1 << 12),
  1206.     XCB_EVENT_MASK_BUTTON_MOTION = (1 << 13),
  1207.     XCB_EVENT_MASK_KEYMAP_STATE = (1 << 14),
  1208.     XCB_EVENT_MASK_EXPOSURE = (1 << 15),
  1209.     XCB_EVENT_MASK_VISIBILITY_CHANGE = (1 << 16),
  1210.     XCB_EVENT_MASK_STRUCTURE_NOTIFY = (1 << 17),
  1211.     XCB_EVENT_MASK_RESIZE_REDIRECT = (1 << 18),
  1212.     XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = (1 << 19),
  1213.     XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = (1 << 20),
  1214.     XCB_EVENT_MASK_FOCUS_CHANGE = (1 << 21),
  1215.     XCB_EVENT_MASK_PROPERTY_CHANGE = (1 << 22),
  1216.     XCB_EVENT_MASK_COLOR_MAP_CHANGE = (1 << 23),
  1217.     XCB_EVENT_MASK_OWNER_GRAB_BUTTON = (1 << 24)
  1218. } xcb_event_mask_t;
  1219.  
  1220. /** Opcode for xcb_create_window. */
  1221. #define XCB_CREATE_WINDOW 1
  1222.  
  1223. /**
  1224.  * @brief xcb_create_window_request_t
  1225.  **/
  1226. typedef struct xcb_create_window_request_t {
  1227.     uint8_t        major_opcode; /**<  */
  1228.     uint8_t        depth; /**<  */
  1229.     uint16_t       length; /**<  */
  1230.     xcb_window_t   wid; /**<  */
  1231.     xcb_window_t   parent; /**<  */
  1232.     int16_t        x; /**<  */
  1233.     int16_t        y; /**<  */
  1234.     uint16_t       width; /**<  */
  1235.     uint16_t       height; /**<  */
  1236.     uint16_t       border_width; /**<  */
  1237.     uint16_t       _class; /**<  */
  1238.     xcb_visualid_t visual; /**<  */
  1239.     uint32_t       value_mask; /**<  */
  1240. } xcb_create_window_request_t;
  1241.  
  1242. /** Opcode for xcb_change_window_attributes. */
  1243. #define XCB_CHANGE_WINDOW_ATTRIBUTES 2
  1244.  
  1245. /**
  1246.  * @brief xcb_change_window_attributes_request_t
  1247.  **/
  1248. typedef struct xcb_change_window_attributes_request_t {
  1249.     uint8_t      major_opcode; /**<  */
  1250.     uint8_t      pad0; /**<  */
  1251.     uint16_t     length; /**<  */
  1252.     xcb_window_t window; /**<  */
  1253.     uint32_t     value_mask; /**<  */
  1254. } xcb_change_window_attributes_request_t;
  1255.  
  1256. typedef enum xcb_map_state_t {
  1257.     XCB_MAP_STATE_UNMAPPED = 0,
  1258.     XCB_MAP_STATE_UNVIEWABLE = 1,
  1259.     XCB_MAP_STATE_VIEWABLE = 2
  1260. } xcb_map_state_t;
  1261.  
  1262. /**
  1263.  * @brief xcb_get_window_attributes_cookie_t
  1264.  **/
  1265. typedef struct xcb_get_window_attributes_cookie_t {
  1266.     unsigned int sequence; /**<  */
  1267. } xcb_get_window_attributes_cookie_t;
  1268.  
  1269. /** Opcode for xcb_get_window_attributes. */
  1270. #define XCB_GET_WINDOW_ATTRIBUTES 3
  1271.  
  1272. /**
  1273.  * @brief xcb_get_window_attributes_request_t
  1274.  **/
  1275. typedef struct xcb_get_window_attributes_request_t {
  1276.     uint8_t      major_opcode; /**<  */
  1277.     uint8_t      pad0; /**<  */
  1278.     uint16_t     length; /**<  */
  1279.     xcb_window_t window; /**<  */
  1280. } xcb_get_window_attributes_request_t;
  1281.  
  1282. /**
  1283.  * @brief xcb_get_window_attributes_reply_t
  1284.  **/
  1285. typedef struct xcb_get_window_attributes_reply_t {
  1286.     uint8_t        response_type; /**<  */
  1287.     uint8_t        backing_store; /**<  */
  1288.     uint16_t       sequence; /**<  */
  1289.     uint32_t       length; /**<  */
  1290.     xcb_visualid_t visual; /**<  */
  1291.     uint16_t       _class; /**<  */
  1292.     uint8_t        bit_gravity; /**<  */
  1293.     uint8_t        win_gravity; /**<  */
  1294.     uint32_t       backing_planes; /**<  */
  1295.     uint32_t       backing_pixel; /**<  */
  1296.     uint8_t        save_under; /**<  */
  1297.     uint8_t        map_is_installed; /**<  */
  1298.     uint8_t        map_state; /**<  */
  1299.     uint8_t        override_redirect; /**<  */
  1300.     xcb_colormap_t colormap; /**<  */
  1301.     uint32_t       all_event_masks; /**<  */
  1302.     uint32_t       your_event_mask; /**<  */
  1303.     uint16_t       do_not_propagate_mask; /**<  */
  1304. } xcb_get_window_attributes_reply_t;
  1305.  
  1306. /** Opcode for xcb_destroy_window. */
  1307. #define XCB_DESTROY_WINDOW 4
  1308.  
  1309. /**
  1310.  * @brief xcb_destroy_window_request_t
  1311.  **/
  1312. typedef struct xcb_destroy_window_request_t {
  1313.     uint8_t      major_opcode; /**<  */
  1314.     uint8_t      pad0; /**<  */
  1315.     uint16_t     length; /**<  */
  1316.     xcb_window_t window; /**<  */
  1317. } xcb_destroy_window_request_t;
  1318.  
  1319. /** Opcode for xcb_destroy_subwindows. */
  1320. #define XCB_DESTROY_SUBWINDOWS 5
  1321.  
  1322. /**
  1323.  * @brief xcb_destroy_subwindows_request_t
  1324.  **/
  1325. typedef struct xcb_destroy_subwindows_request_t {
  1326.     uint8_t      major_opcode; /**<  */
  1327.     uint8_t      pad0; /**<  */
  1328.     uint16_t     length; /**<  */
  1329.     xcb_window_t window; /**<  */
  1330. } xcb_destroy_subwindows_request_t;
  1331.  
  1332. typedef enum xcb_set_mode_t {
  1333.     XCB_SET_MODE_INSERT = 0,
  1334.     XCB_SET_MODE_DELETE = 1
  1335. } xcb_set_mode_t;
  1336.  
  1337. /** Opcode for xcb_change_save_set. */
  1338. #define XCB_CHANGE_SAVE_SET 6
  1339.  
  1340. /**
  1341.  * @brief xcb_change_save_set_request_t
  1342.  **/
  1343. typedef struct xcb_change_save_set_request_t {
  1344.     uint8_t      major_opcode; /**<  */
  1345.     uint8_t      mode; /**<  */
  1346.     uint16_t     length; /**<  */
  1347.     xcb_window_t window; /**<  */
  1348. } xcb_change_save_set_request_t;
  1349.  
  1350. /** Opcode for xcb_reparent_window. */
  1351. #define XCB_REPARENT_WINDOW 7
  1352.  
  1353. /**
  1354.  * @brief xcb_reparent_window_request_t
  1355.  **/
  1356. typedef struct xcb_reparent_window_request_t {
  1357.     uint8_t      major_opcode; /**<  */
  1358.     uint8_t      pad0; /**<  */
  1359.     uint16_t     length; /**<  */
  1360.     xcb_window_t window; /**<  */
  1361.     xcb_window_t parent; /**<  */
  1362.     int16_t      x; /**<  */
  1363.     int16_t      y; /**<  */
  1364. } xcb_reparent_window_request_t;
  1365.  
  1366. /** Opcode for xcb_map_window. */
  1367. #define XCB_MAP_WINDOW 8
  1368.  
  1369. /**
  1370.  * @brief xcb_map_window_request_t
  1371.  **/
  1372. typedef struct xcb_map_window_request_t {
  1373.     uint8_t      major_opcode; /**<  */
  1374.     uint8_t      pad0; /**<  */
  1375.     uint16_t     length; /**<  */
  1376.     xcb_window_t window; /**<  */
  1377. } xcb_map_window_request_t;
  1378.  
  1379. /** Opcode for xcb_map_subwindows. */
  1380. #define XCB_MAP_SUBWINDOWS 9
  1381.  
  1382. /**
  1383.  * @brief xcb_map_subwindows_request_t
  1384.  **/
  1385. typedef struct xcb_map_subwindows_request_t {
  1386.     uint8_t      major_opcode; /**<  */
  1387.     uint8_t      pad0; /**<  */
  1388.     uint16_t     length; /**<  */
  1389.     xcb_window_t window; /**<  */
  1390. } xcb_map_subwindows_request_t;
  1391.  
  1392. /** Opcode for xcb_unmap_window. */
  1393. #define XCB_UNMAP_WINDOW 10
  1394.  
  1395. /**
  1396.  * @brief xcb_unmap_window_request_t
  1397.  **/
  1398. typedef struct xcb_unmap_window_request_t {
  1399.     uint8_t      major_opcode; /**<  */
  1400.     uint8_t      pad0; /**<  */
  1401.     uint16_t     length; /**<  */
  1402.     xcb_window_t window; /**<  */
  1403. } xcb_unmap_window_request_t;
  1404.  
  1405. /** Opcode for xcb_unmap_subwindows. */
  1406. #define XCB_UNMAP_SUBWINDOWS 11
  1407.  
  1408. /**
  1409.  * @brief xcb_unmap_subwindows_request_t
  1410.  **/
  1411. typedef struct xcb_unmap_subwindows_request_t {
  1412.     uint8_t      major_opcode; /**<  */
  1413.     uint8_t      pad0; /**<  */
  1414.     uint16_t     length; /**<  */
  1415.     xcb_window_t window; /**<  */
  1416. } xcb_unmap_subwindows_request_t;
  1417.  
  1418. typedef enum xcb_config_window_t {
  1419.     XCB_CONFIG_WINDOW_X = (1 << 0),
  1420.     XCB_CONFIG_WINDOW_Y = (1 << 1),
  1421.     XCB_CONFIG_WINDOW_WIDTH = (1 << 2),
  1422.     XCB_CONFIG_WINDOW_HEIGHT = (1 << 3),
  1423.     XCB_CONFIG_WINDOW_BORDER_WIDTH = (1 << 4),
  1424.     XCB_CONFIG_WINDOW_SIBLING = (1 << 5),
  1425.     XCB_CONFIG_WINDOW_STACK_MODE = (1 << 6)
  1426. } xcb_config_window_t;
  1427.  
  1428. typedef enum xcb_stack_mode_t {
  1429.     XCB_STACK_MODE_ABOVE = 0,
  1430.     XCB_STACK_MODE_BELOW = 1,
  1431.     XCB_STACK_MODE_TOP_IF = 2,
  1432.     XCB_STACK_MODE_BOTTOM_IF = 3,
  1433.     XCB_STACK_MODE_OPPOSITE = 4
  1434. } xcb_stack_mode_t;
  1435.  
  1436. /** Opcode for xcb_configure_window. */
  1437. #define XCB_CONFIGURE_WINDOW 12
  1438.  
  1439. /**
  1440.  * @brief xcb_configure_window_request_t
  1441.  **/
  1442. typedef struct xcb_configure_window_request_t {
  1443.     uint8_t      major_opcode; /**<  */
  1444.     uint8_t      pad0; /**<  */
  1445.     uint16_t     length; /**<  */
  1446.     xcb_window_t window; /**<  */
  1447.     uint16_t     value_mask; /**<  */
  1448. } xcb_configure_window_request_t;
  1449.  
  1450. typedef enum xcb_circulate_t {
  1451.     XCB_CIRCULATE_RAISE_LOWEST = 0,
  1452.     XCB_CIRCULATE_LOWER_HIGHEST = 1
  1453. } xcb_circulate_t;
  1454.  
  1455. /** Opcode for xcb_circulate_window. */
  1456. #define XCB_CIRCULATE_WINDOW 13
  1457.  
  1458. /**
  1459.  * @brief xcb_circulate_window_request_t
  1460.  **/
  1461. typedef struct xcb_circulate_window_request_t {
  1462.     uint8_t      major_opcode; /**<  */
  1463.     uint8_t      direction; /**<  */
  1464.     uint16_t     length; /**<  */
  1465.     xcb_window_t window; /**<  */
  1466. } xcb_circulate_window_request_t;
  1467.  
  1468. /**
  1469.  * @brief xcb_get_geometry_cookie_t
  1470.  **/
  1471. typedef struct xcb_get_geometry_cookie_t {
  1472.     unsigned int sequence; /**<  */
  1473. } xcb_get_geometry_cookie_t;
  1474.  
  1475. /** Opcode for xcb_get_geometry. */
  1476. #define XCB_GET_GEOMETRY 14
  1477.  
  1478. /**
  1479.  * @brief xcb_get_geometry_request_t
  1480.  **/
  1481. typedef struct xcb_get_geometry_request_t {
  1482.     uint8_t        major_opcode; /**<  */
  1483.     uint8_t        pad0; /**<  */
  1484.     uint16_t       length; /**<  */
  1485.     xcb_drawable_t drawable; /**<  */
  1486. } xcb_get_geometry_request_t;
  1487.  
  1488. /**
  1489.  * @brief xcb_get_geometry_reply_t
  1490.  **/
  1491. typedef struct xcb_get_geometry_reply_t {
  1492.     uint8_t      response_type; /**<  */
  1493.     uint8_t      depth; /**<  */
  1494.     uint16_t     sequence; /**<  */
  1495.     uint32_t     length; /**<  */
  1496.     xcb_window_t root; /**<  */
  1497.     int16_t      x; /**<  */
  1498.     int16_t      y; /**<  */
  1499.     uint16_t     width; /**<  */
  1500.     uint16_t     height; /**<  */
  1501.     uint16_t     border_width; /**<  */
  1502. } xcb_get_geometry_reply_t;
  1503.  
  1504. /**
  1505.  * @brief xcb_query_tree_cookie_t
  1506.  **/
  1507. typedef struct xcb_query_tree_cookie_t {
  1508.     unsigned int sequence; /**<  */
  1509. } xcb_query_tree_cookie_t;
  1510.  
  1511. /** Opcode for xcb_query_tree. */
  1512. #define XCB_QUERY_TREE 15
  1513.  
  1514. /**
  1515.  * @brief xcb_query_tree_request_t
  1516.  **/
  1517. typedef struct xcb_query_tree_request_t {
  1518.     uint8_t      major_opcode; /**<  */
  1519.     uint8_t      pad0; /**<  */
  1520.     uint16_t     length; /**<  */
  1521.     xcb_window_t window; /**<  */
  1522. } xcb_query_tree_request_t;
  1523.  
  1524. /**
  1525.  * @brief xcb_query_tree_reply_t
  1526.  **/
  1527. typedef struct xcb_query_tree_reply_t {
  1528.     uint8_t      response_type; /**<  */
  1529.     uint8_t      pad0; /**<  */
  1530.     uint16_t     sequence; /**<  */
  1531.     uint32_t     length; /**<  */
  1532.     xcb_window_t root; /**<  */
  1533.     xcb_window_t parent; /**<  */
  1534.     uint16_t     children_len; /**<  */
  1535.     uint8_t      pad1[14]; /**<  */
  1536. } xcb_query_tree_reply_t;
  1537.  
  1538. /**
  1539.  * @brief xcb_intern_atom_cookie_t
  1540.  **/
  1541. typedef struct xcb_intern_atom_cookie_t {
  1542.     unsigned int sequence; /**<  */
  1543. } xcb_intern_atom_cookie_t;
  1544.  
  1545. /** Opcode for xcb_intern_atom. */
  1546. #define XCB_INTERN_ATOM 16
  1547.  
  1548. /**
  1549.  * @brief xcb_intern_atom_request_t
  1550.  **/
  1551. typedef struct xcb_intern_atom_request_t {
  1552.     uint8_t  major_opcode; /**<  */
  1553.     uint8_t  only_if_exists; /**<  */
  1554.     uint16_t length; /**<  */
  1555.     uint16_t name_len; /**<  */
  1556.     uint8_t  pad0[2]; /**<  */
  1557. } xcb_intern_atom_request_t;
  1558.  
  1559. /**
  1560.  * @brief xcb_intern_atom_reply_t
  1561.  **/
  1562. typedef struct xcb_intern_atom_reply_t {
  1563.     uint8_t    response_type; /**<  */
  1564.     uint8_t    pad0; /**<  */
  1565.     uint16_t   sequence; /**<  */
  1566.     uint32_t   length; /**<  */
  1567.     xcb_atom_t atom; /**<  */
  1568. } xcb_intern_atom_reply_t;
  1569.  
  1570. /**
  1571.  * @brief xcb_get_atom_name_cookie_t
  1572.  **/
  1573. typedef struct xcb_get_atom_name_cookie_t {
  1574.     unsigned int sequence; /**<  */
  1575. } xcb_get_atom_name_cookie_t;
  1576.  
  1577. /** Opcode for xcb_get_atom_name. */
  1578. #define XCB_GET_ATOM_NAME 17
  1579.  
  1580. /**
  1581.  * @brief xcb_get_atom_name_request_t
  1582.  **/
  1583. typedef struct xcb_get_atom_name_request_t {
  1584.     uint8_t    major_opcode; /**<  */
  1585.     uint8_t    pad0; /**<  */
  1586.     uint16_t   length; /**<  */
  1587.     xcb_atom_t atom; /**<  */
  1588. } xcb_get_atom_name_request_t;
  1589.  
  1590. /**
  1591.  * @brief xcb_get_atom_name_reply_t
  1592.  **/
  1593. typedef struct xcb_get_atom_name_reply_t {
  1594.     uint8_t  response_type; /**<  */
  1595.     uint8_t  pad0; /**<  */
  1596.     uint16_t sequence; /**<  */
  1597.     uint32_t length; /**<  */
  1598.     uint16_t name_len; /**<  */
  1599.     uint8_t  pad1[22]; /**<  */
  1600. } xcb_get_atom_name_reply_t;
  1601.  
  1602. typedef enum xcb_prop_mode_t {
  1603.     XCB_PROP_MODE_REPLACE = 0,
  1604.     XCB_PROP_MODE_PREPEND = 1,
  1605.     XCB_PROP_MODE_APPEND = 2
  1606. } xcb_prop_mode_t;
  1607.  
  1608. /** Opcode for xcb_change_property. */
  1609. #define XCB_CHANGE_PROPERTY 18
  1610.  
  1611. /**
  1612.  * @brief xcb_change_property_request_t
  1613.  **/
  1614. typedef struct xcb_change_property_request_t {
  1615.     uint8_t      major_opcode; /**<  */
  1616.     uint8_t      mode; /**<  */
  1617.     uint16_t     length; /**<  */
  1618.     xcb_window_t window; /**<  */
  1619.     xcb_atom_t   property; /**<  */
  1620.     xcb_atom_t   type; /**<  */
  1621.     uint8_t      format; /**<  */
  1622.     uint8_t      pad0[3]; /**<  */
  1623.     uint32_t     data_len; /**<  */
  1624. } xcb_change_property_request_t;
  1625.  
  1626. /** Opcode for xcb_delete_property. */
  1627. #define XCB_DELETE_PROPERTY 19
  1628.  
  1629. /**
  1630.  * @brief xcb_delete_property_request_t
  1631.  **/
  1632. typedef struct xcb_delete_property_request_t {
  1633.     uint8_t      major_opcode; /**<  */
  1634.     uint8_t      pad0; /**<  */
  1635.     uint16_t     length; /**<  */
  1636.     xcb_window_t window; /**<  */
  1637.     xcb_atom_t   property; /**<  */
  1638. } xcb_delete_property_request_t;
  1639.  
  1640. typedef enum xcb_get_property_type_t {
  1641.     XCB_GET_PROPERTY_TYPE_ANY = 0
  1642. } xcb_get_property_type_t;
  1643.  
  1644. /**
  1645.  * @brief xcb_get_property_cookie_t
  1646.  **/
  1647. typedef struct xcb_get_property_cookie_t {
  1648.     unsigned int sequence; /**<  */
  1649. } xcb_get_property_cookie_t;
  1650.  
  1651. /** Opcode for xcb_get_property. */
  1652. #define XCB_GET_PROPERTY 20
  1653.  
  1654. /**
  1655.  * @brief xcb_get_property_request_t
  1656.  **/
  1657. typedef struct xcb_get_property_request_t {
  1658.     uint8_t      major_opcode; /**<  */
  1659.     uint8_t      _delete; /**<  */
  1660.     uint16_t     length; /**<  */
  1661.     xcb_window_t window; /**<  */
  1662.     xcb_atom_t   property; /**<  */
  1663.     xcb_atom_t   type; /**<  */
  1664.     uint32_t     long_offset; /**<  */
  1665.     uint32_t     long_length; /**<  */
  1666. } xcb_get_property_request_t;
  1667.  
  1668. /**
  1669.  * @brief xcb_get_property_reply_t
  1670.  **/
  1671. typedef struct xcb_get_property_reply_t {
  1672.     uint8_t    response_type; /**<  */
  1673.     uint8_t    format; /**<  */
  1674.     uint16_t   sequence; /**<  */
  1675.     uint32_t   length; /**<  */
  1676.     xcb_atom_t type; /**<  */
  1677.     uint32_t   bytes_after; /**<  */
  1678.     uint32_t   value_len; /**<  */
  1679.     uint8_t    pad0[12]; /**<  */
  1680. } xcb_get_property_reply_t;
  1681.  
  1682. /**
  1683.  * @brief xcb_list_properties_cookie_t
  1684.  **/
  1685. typedef struct xcb_list_properties_cookie_t {
  1686.     unsigned int sequence; /**<  */
  1687. } xcb_list_properties_cookie_t;
  1688.  
  1689. /** Opcode for xcb_list_properties. */
  1690. #define XCB_LIST_PROPERTIES 21
  1691.  
  1692. /**
  1693.  * @brief xcb_list_properties_request_t
  1694.  **/
  1695. typedef struct xcb_list_properties_request_t {
  1696.     uint8_t      major_opcode; /**<  */
  1697.     uint8_t      pad0; /**<  */
  1698.     uint16_t     length; /**<  */
  1699.     xcb_window_t window; /**<  */
  1700. } xcb_list_properties_request_t;
  1701.  
  1702. /**
  1703.  * @brief xcb_list_properties_reply_t
  1704.  **/
  1705. typedef struct xcb_list_properties_reply_t {
  1706.     uint8_t  response_type; /**<  */
  1707.     uint8_t  pad0; /**<  */
  1708.     uint16_t sequence; /**<  */
  1709.     uint32_t length; /**<  */
  1710.     uint16_t atoms_len; /**<  */
  1711.     uint8_t  pad1[22]; /**<  */
  1712. } xcb_list_properties_reply_t;
  1713.  
  1714. /** Opcode for xcb_set_selection_owner. */
  1715. #define XCB_SET_SELECTION_OWNER 22
  1716.  
  1717. /**
  1718.  * @brief xcb_set_selection_owner_request_t
  1719.  **/
  1720. typedef struct xcb_set_selection_owner_request_t {
  1721.     uint8_t         major_opcode; /**<  */
  1722.     uint8_t         pad0; /**<  */
  1723.     uint16_t        length; /**<  */
  1724.     xcb_window_t    owner; /**<  */
  1725.     xcb_atom_t      selection; /**<  */
  1726.     xcb_timestamp_t time; /**<  */
  1727. } xcb_set_selection_owner_request_t;
  1728.  
  1729. /**
  1730.  * @brief xcb_get_selection_owner_cookie_t
  1731.  **/
  1732. typedef struct xcb_get_selection_owner_cookie_t {
  1733.     unsigned int sequence; /**<  */
  1734. } xcb_get_selection_owner_cookie_t;
  1735.  
  1736. /** Opcode for xcb_get_selection_owner. */
  1737. #define XCB_GET_SELECTION_OWNER 23
  1738.  
  1739. /**
  1740.  * @brief xcb_get_selection_owner_request_t
  1741.  **/
  1742. typedef struct xcb_get_selection_owner_request_t {
  1743.     uint8_t    major_opcode; /**<  */
  1744.     uint8_t    pad0; /**<  */
  1745.     uint16_t   length; /**<  */
  1746.     xcb_atom_t selection; /**<  */
  1747. } xcb_get_selection_owner_request_t;
  1748.  
  1749. /**
  1750.  * @brief xcb_get_selection_owner_reply_t
  1751.  **/
  1752. typedef struct xcb_get_selection_owner_reply_t {
  1753.     uint8_t      response_type; /**<  */
  1754.     uint8_t      pad0; /**<  */
  1755.     uint16_t     sequence; /**<  */
  1756.     uint32_t     length; /**<  */
  1757.     xcb_window_t owner; /**<  */
  1758. } xcb_get_selection_owner_reply_t;
  1759.  
  1760. /** Opcode for xcb_convert_selection. */
  1761. #define XCB_CONVERT_SELECTION 24
  1762.  
  1763. /**
  1764.  * @brief xcb_convert_selection_request_t
  1765.  **/
  1766. typedef struct xcb_convert_selection_request_t {
  1767.     uint8_t         major_opcode; /**<  */
  1768.     uint8_t         pad0; /**<  */
  1769.     uint16_t        length; /**<  */
  1770.     xcb_window_t    requestor; /**<  */
  1771.     xcb_atom_t      selection; /**<  */
  1772.     xcb_atom_t      target; /**<  */
  1773.     xcb_atom_t      property; /**<  */
  1774.     xcb_timestamp_t time; /**<  */
  1775. } xcb_convert_selection_request_t;
  1776.  
  1777. typedef enum xcb_send_event_dest_t {
  1778.     XCB_SEND_EVENT_DEST_POINTER_WINDOW = 0,
  1779.     XCB_SEND_EVENT_DEST_ITEM_FOCUS = 1
  1780. } xcb_send_event_dest_t;
  1781.  
  1782. /** Opcode for xcb_send_event. */
  1783. #define XCB_SEND_EVENT 25
  1784.  
  1785. /**
  1786.  * @brief xcb_send_event_request_t
  1787.  **/
  1788. typedef struct xcb_send_event_request_t {
  1789.     uint8_t      major_opcode; /**<  */
  1790.     uint8_t      propagate; /**<  */
  1791.     uint16_t     length; /**<  */
  1792.     xcb_window_t destination; /**<  */
  1793.     uint32_t     event_mask; /**<  */
  1794. } xcb_send_event_request_t;
  1795.  
  1796. typedef enum xcb_grab_mode_t {
  1797.     XCB_GRAB_MODE_SYNC = 0,
  1798.     XCB_GRAB_MODE_ASYNC = 1
  1799. } xcb_grab_mode_t;
  1800.  
  1801. typedef enum xcb_grab_status_t {
  1802.     XCB_GRAB_STATUS_SUCCESS = 0,
  1803.     XCB_GRAB_STATUS_ALREADY_GRABBED = 1,
  1804.     XCB_GRAB_STATUS_INVALID_TIME = 2,
  1805.     XCB_GRAB_STATUS_NOT_VIEWABLE = 3,
  1806.     XCB_GRAB_STATUS_FROZEN = 4
  1807. } xcb_grab_status_t;
  1808.  
  1809. /**
  1810.  * @brief xcb_grab_pointer_cookie_t
  1811.  **/
  1812. typedef struct xcb_grab_pointer_cookie_t {
  1813.     unsigned int sequence; /**<  */
  1814. } xcb_grab_pointer_cookie_t;
  1815.  
  1816. /** Opcode for xcb_grab_pointer. */
  1817. #define XCB_GRAB_POINTER 26
  1818.  
  1819. /**
  1820.  * @brief xcb_grab_pointer_request_t
  1821.  **/
  1822. typedef struct xcb_grab_pointer_request_t {
  1823.     uint8_t         major_opcode; /**<  */
  1824.     uint8_t         owner_events; /**<  */
  1825.     uint16_t        length; /**<  */
  1826.     xcb_window_t    grab_window; /**<  */
  1827.     uint16_t        event_mask; /**<  */
  1828.     uint8_t         pointer_mode; /**<  */
  1829.     uint8_t         keyboard_mode; /**<  */
  1830.     xcb_window_t    confine_to; /**<  */
  1831.     xcb_cursor_t    cursor; /**<  */
  1832.     xcb_timestamp_t time; /**<  */
  1833. } xcb_grab_pointer_request_t;
  1834.  
  1835. /**
  1836.  * @brief xcb_grab_pointer_reply_t
  1837.  **/
  1838. typedef struct xcb_grab_pointer_reply_t {
  1839.     uint8_t  response_type; /**<  */
  1840.     uint8_t  status; /**<  */
  1841.     uint16_t sequence; /**<  */
  1842.     uint32_t length; /**<  */
  1843. } xcb_grab_pointer_reply_t;
  1844.  
  1845. /** Opcode for xcb_ungrab_pointer. */
  1846. #define XCB_UNGRAB_POINTER 27
  1847.  
  1848. /**
  1849.  * @brief xcb_ungrab_pointer_request_t
  1850.  **/
  1851. typedef struct xcb_ungrab_pointer_request_t {
  1852.     uint8_t         major_opcode; /**<  */
  1853.     uint8_t         pad0; /**<  */
  1854.     uint16_t        length; /**<  */
  1855.     xcb_timestamp_t time; /**<  */
  1856. } xcb_ungrab_pointer_request_t;
  1857.  
  1858. typedef enum xcb_button_index_t {
  1859.     XCB_BUTTON_INDEX_ANY = 0,
  1860.     XCB_BUTTON_INDEX_1 = 1,
  1861.     XCB_BUTTON_INDEX_2 = 2,
  1862.     XCB_BUTTON_INDEX_3 = 3,
  1863.     XCB_BUTTON_INDEX_4 = 4,
  1864.     XCB_BUTTON_INDEX_5 = 5
  1865. } xcb_button_index_t;
  1866.  
  1867. /** Opcode for xcb_grab_button. */
  1868. #define XCB_GRAB_BUTTON 28
  1869.  
  1870. /**
  1871.  * @brief xcb_grab_button_request_t
  1872.  **/
  1873. typedef struct xcb_grab_button_request_t {
  1874.     uint8_t      major_opcode; /**<  */
  1875.     uint8_t      owner_events; /**<  */
  1876.     uint16_t     length; /**<  */
  1877.     xcb_window_t grab_window; /**<  */
  1878.     uint16_t     event_mask; /**<  */
  1879.     uint8_t      pointer_mode; /**<  */
  1880.     uint8_t      keyboard_mode; /**<  */
  1881.     xcb_window_t confine_to; /**<  */
  1882.     xcb_cursor_t cursor; /**<  */
  1883.     uint8_t      button; /**<  */
  1884.     uint8_t      pad0; /**<  */
  1885.     uint16_t     modifiers; /**<  */
  1886. } xcb_grab_button_request_t;
  1887.  
  1888. /** Opcode for xcb_ungrab_button. */
  1889. #define XCB_UNGRAB_BUTTON 29
  1890.  
  1891. /**
  1892.  * @brief xcb_ungrab_button_request_t
  1893.  **/
  1894. typedef struct xcb_ungrab_button_request_t {
  1895.     uint8_t      major_opcode; /**<  */
  1896.     uint8_t      button; /**<  */
  1897.     uint16_t     length; /**<  */
  1898.     xcb_window_t grab_window; /**<  */
  1899.     uint16_t     modifiers; /**<  */
  1900.     uint8_t      pad0[2]; /**<  */
  1901. } xcb_ungrab_button_request_t;
  1902.  
  1903. /** Opcode for xcb_change_active_pointer_grab. */
  1904. #define XCB_CHANGE_ACTIVE_POINTER_GRAB 30
  1905.  
  1906. /**
  1907.  * @brief xcb_change_active_pointer_grab_request_t
  1908.  **/
  1909. typedef struct xcb_change_active_pointer_grab_request_t {
  1910.     uint8_t         major_opcode; /**<  */
  1911.     uint8_t         pad0; /**<  */
  1912.     uint16_t        length; /**<  */
  1913.     xcb_cursor_t    cursor; /**<  */
  1914.     xcb_timestamp_t time; /**<  */
  1915.     uint16_t        event_mask; /**<  */
  1916. } xcb_change_active_pointer_grab_request_t;
  1917.  
  1918. /**
  1919.  * @brief xcb_grab_keyboard_cookie_t
  1920.  **/
  1921. typedef struct xcb_grab_keyboard_cookie_t {
  1922.     unsigned int sequence; /**<  */
  1923. } xcb_grab_keyboard_cookie_t;
  1924.  
  1925. /** Opcode for xcb_grab_keyboard. */
  1926. #define XCB_GRAB_KEYBOARD 31
  1927.  
  1928. /**
  1929.  * @brief xcb_grab_keyboard_request_t
  1930.  **/
  1931. typedef struct xcb_grab_keyboard_request_t {
  1932.     uint8_t         major_opcode; /**<  */
  1933.     uint8_t         owner_events; /**<  */
  1934.     uint16_t        length; /**<  */
  1935.     xcb_window_t    grab_window; /**<  */
  1936.     xcb_timestamp_t time; /**<  */
  1937.     uint8_t         pointer_mode; /**<  */
  1938.     uint8_t         keyboard_mode; /**<  */
  1939. } xcb_grab_keyboard_request_t;
  1940.  
  1941. /**
  1942.  * @brief xcb_grab_keyboard_reply_t
  1943.  **/
  1944. typedef struct xcb_grab_keyboard_reply_t {
  1945.     uint8_t  response_type; /**<  */
  1946.     uint8_t  status; /**<  */
  1947.     uint16_t sequence; /**<  */
  1948.     uint32_t length; /**<  */
  1949. } xcb_grab_keyboard_reply_t;
  1950.  
  1951. /** Opcode for xcb_ungrab_keyboard. */
  1952. #define XCB_UNGRAB_KEYBOARD 32
  1953.  
  1954. /**
  1955.  * @brief xcb_ungrab_keyboard_request_t
  1956.  **/
  1957. typedef struct xcb_ungrab_keyboard_request_t {
  1958.     uint8_t         major_opcode; /**<  */
  1959.     uint8_t         pad0; /**<  */
  1960.     uint16_t        length; /**<  */
  1961.     xcb_timestamp_t time; /**<  */
  1962. } xcb_ungrab_keyboard_request_t;
  1963.  
  1964. typedef enum xcb_grab_t {
  1965.     XCB_GRAB_ANY = 0
  1966. } xcb_grab_t;
  1967.  
  1968. /** Opcode for xcb_grab_key. */
  1969. #define XCB_GRAB_KEY 33
  1970.  
  1971. /**
  1972.  * @brief xcb_grab_key_request_t
  1973.  **/
  1974. typedef struct xcb_grab_key_request_t {
  1975.     uint8_t       major_opcode; /**<  */
  1976.     uint8_t       owner_events; /**<  */
  1977.     uint16_t      length; /**<  */
  1978.     xcb_window_t  grab_window; /**<  */
  1979.     uint16_t      modifiers; /**<  */
  1980.     xcb_keycode_t key; /**<  */
  1981.     uint8_t       pointer_mode; /**<  */
  1982.     uint8_t       keyboard_mode; /**<  */
  1983. } xcb_grab_key_request_t;
  1984.  
  1985. /** Opcode for xcb_ungrab_key. */
  1986. #define XCB_UNGRAB_KEY 34
  1987.  
  1988. /**
  1989.  * @brief xcb_ungrab_key_request_t
  1990.  **/
  1991. typedef struct xcb_ungrab_key_request_t {
  1992.     uint8_t       major_opcode; /**<  */
  1993.     xcb_keycode_t key; /**<  */
  1994.     uint16_t      length; /**<  */
  1995.     xcb_window_t  grab_window; /**<  */
  1996.     uint16_t      modifiers; /**<  */
  1997. } xcb_ungrab_key_request_t;
  1998.  
  1999. typedef enum xcb_allow_t {
  2000.     XCB_ALLOW_ASYNC_POINTER = 0,
  2001.     XCB_ALLOW_SYNC_POINTER = 1,
  2002.     XCB_ALLOW_REPLAY_POINTER = 2,
  2003.     XCB_ALLOW_ASYNC_KEYBOARD = 3,
  2004.     XCB_ALLOW_SYNC_KEYBOARD = 4,
  2005.     XCB_ALLOW_REPLAY_KEYBOARD = 5,
  2006.     XCB_ALLOW_ASYNC_BOTH = 6,
  2007.     XCB_ALLOW_SYNC_BOTH = 7
  2008. } xcb_allow_t;
  2009.  
  2010. /** Opcode for xcb_allow_events. */
  2011. #define XCB_ALLOW_EVENTS 35
  2012.  
  2013. /**
  2014.  * @brief xcb_allow_events_request_t
  2015.  **/
  2016. typedef struct xcb_allow_events_request_t {
  2017.     uint8_t         major_opcode; /**<  */
  2018.     uint8_t         mode; /**<  */
  2019.     uint16_t        length; /**<  */
  2020.     xcb_timestamp_t time; /**<  */
  2021. } xcb_allow_events_request_t;
  2022.  
  2023. /** Opcode for xcb_grab_server. */
  2024. #define XCB_GRAB_SERVER 36
  2025.  
  2026. /**
  2027.  * @brief xcb_grab_server_request_t
  2028.  **/
  2029. typedef struct xcb_grab_server_request_t {
  2030.     uint8_t  major_opcode; /**<  */
  2031.     uint8_t  pad0; /**<  */
  2032.     uint16_t length; /**<  */
  2033. } xcb_grab_server_request_t;
  2034.  
  2035. /** Opcode for xcb_ungrab_server. */
  2036. #define XCB_UNGRAB_SERVER 37
  2037.  
  2038. /**
  2039.  * @brief xcb_ungrab_server_request_t
  2040.  **/
  2041. typedef struct xcb_ungrab_server_request_t {
  2042.     uint8_t  major_opcode; /**<  */
  2043.     uint8_t  pad0; /**<  */
  2044.     uint16_t length; /**<  */
  2045. } xcb_ungrab_server_request_t;
  2046.  
  2047. /**
  2048.  * @brief xcb_query_pointer_cookie_t
  2049.  **/
  2050. typedef struct xcb_query_pointer_cookie_t {
  2051.     unsigned int sequence; /**<  */
  2052. } xcb_query_pointer_cookie_t;
  2053.  
  2054. /** Opcode for xcb_query_pointer. */
  2055. #define XCB_QUERY_POINTER 38
  2056.  
  2057. /**
  2058.  * @brief xcb_query_pointer_request_t
  2059.  **/
  2060. typedef struct xcb_query_pointer_request_t {
  2061.     uint8_t      major_opcode; /**<  */
  2062.     uint8_t      pad0; /**<  */
  2063.     uint16_t     length; /**<  */
  2064.     xcb_window_t window; /**<  */
  2065. } xcb_query_pointer_request_t;
  2066.  
  2067. /**
  2068.  * @brief xcb_query_pointer_reply_t
  2069.  **/
  2070. typedef struct xcb_query_pointer_reply_t {
  2071.     uint8_t      response_type; /**<  */
  2072.     uint8_t      same_screen; /**<  */
  2073.     uint16_t     sequence; /**<  */
  2074.     uint32_t     length; /**<  */
  2075.     xcb_window_t root; /**<  */
  2076.     xcb_window_t child; /**<  */
  2077.     int16_t      root_x; /**<  */
  2078.     int16_t      root_y; /**<  */
  2079.     int16_t      win_x; /**<  */
  2080.     int16_t      win_y; /**<  */
  2081.     uint16_t     mask; /**<  */
  2082. } xcb_query_pointer_reply_t;
  2083.  
  2084. /**
  2085.  * @brief xcb_timecoord_t
  2086.  **/
  2087. typedef struct xcb_timecoord_t {
  2088.     xcb_timestamp_t time; /**<  */
  2089.     int16_t         x; /**<  */
  2090.     int16_t         y; /**<  */
  2091. } xcb_timecoord_t;
  2092.  
  2093. /**
  2094.  * @brief xcb_timecoord_iterator_t
  2095.  **/
  2096. typedef struct xcb_timecoord_iterator_t {
  2097.     xcb_timecoord_t *data; /**<  */
  2098.     int              rem; /**<  */
  2099.     int              index; /**<  */
  2100. } xcb_timecoord_iterator_t;
  2101.  
  2102. /**
  2103.  * @brief xcb_get_motion_events_cookie_t
  2104.  **/
  2105. typedef struct xcb_get_motion_events_cookie_t {
  2106.     unsigned int sequence; /**<  */
  2107. } xcb_get_motion_events_cookie_t;
  2108.  
  2109. /** Opcode for xcb_get_motion_events. */
  2110. #define XCB_GET_MOTION_EVENTS 39
  2111.  
  2112. /**
  2113.  * @brief xcb_get_motion_events_request_t
  2114.  **/
  2115. typedef struct xcb_get_motion_events_request_t {
  2116.     uint8_t         major_opcode; /**<  */
  2117.     uint8_t         pad0; /**<  */
  2118.     uint16_t        length; /**<  */
  2119.     xcb_window_t    window; /**<  */
  2120.     xcb_timestamp_t start; /**<  */
  2121.     xcb_timestamp_t stop; /**<  */
  2122. } xcb_get_motion_events_request_t;
  2123.  
  2124. /**
  2125.  * @brief xcb_get_motion_events_reply_t
  2126.  **/
  2127. typedef struct xcb_get_motion_events_reply_t {
  2128.     uint8_t  response_type; /**<  */
  2129.     uint8_t  pad0; /**<  */
  2130.     uint16_t sequence; /**<  */
  2131.     uint32_t length; /**<  */
  2132.     uint32_t events_len; /**<  */
  2133.     uint8_t  pad1[20]; /**<  */
  2134. } xcb_get_motion_events_reply_t;
  2135.  
  2136. /**
  2137.  * @brief xcb_translate_coordinates_cookie_t
  2138.  **/
  2139. typedef struct xcb_translate_coordinates_cookie_t {
  2140.     unsigned int sequence; /**<  */
  2141. } xcb_translate_coordinates_cookie_t;
  2142.  
  2143. /** Opcode for xcb_translate_coordinates. */
  2144. #define XCB_TRANSLATE_COORDINATES 40
  2145.  
  2146. /**
  2147.  * @brief xcb_translate_coordinates_request_t
  2148.  **/
  2149. typedef struct xcb_translate_coordinates_request_t {
  2150.     uint8_t      major_opcode; /**<  */
  2151.     uint8_t      pad0; /**<  */
  2152.     uint16_t     length; /**<  */
  2153.     xcb_window_t src_window; /**<  */
  2154.     xcb_window_t dst_window; /**<  */
  2155.     int16_t      src_x; /**<  */
  2156.     int16_t      src_y; /**<  */
  2157. } xcb_translate_coordinates_request_t;
  2158.  
  2159. /**
  2160.  * @brief xcb_translate_coordinates_reply_t
  2161.  **/
  2162. typedef struct xcb_translate_coordinates_reply_t {
  2163.     uint8_t      response_type; /**<  */
  2164.     uint8_t      same_screen; /**<  */
  2165.     uint16_t     sequence; /**<  */
  2166.     uint32_t     length; /**<  */
  2167.     xcb_window_t child; /**<  */
  2168.     uint16_t     dst_x; /**<  */
  2169.     uint16_t     dst_y; /**<  */
  2170. } xcb_translate_coordinates_reply_t;
  2171.  
  2172. /** Opcode for xcb_warp_pointer. */
  2173. #define XCB_WARP_POINTER 41
  2174.  
  2175. /**
  2176.  * @brief xcb_warp_pointer_request_t
  2177.  **/
  2178. typedef struct xcb_warp_pointer_request_t {
  2179.     uint8_t      major_opcode; /**<  */
  2180.     uint8_t      pad0; /**<  */
  2181.     uint16_t     length; /**<  */
  2182.     xcb_window_t src_window; /**<  */
  2183.     xcb_window_t dst_window; /**<  */
  2184.     int16_t      src_x; /**<  */
  2185.     int16_t      src_y; /**<  */
  2186.     uint16_t     src_width; /**<  */
  2187.     uint16_t     src_height; /**<  */
  2188.     int16_t      dst_x; /**<  */
  2189.     int16_t      dst_y; /**<  */
  2190. } xcb_warp_pointer_request_t;
  2191.  
  2192. typedef enum xcb_input_focus_t {
  2193.     XCB_INPUT_FOCUS_NONE = 0,
  2194.     XCB_INPUT_FOCUS_POINTER_ROOT = 1,
  2195.     XCB_INPUT_FOCUS_PARENT = 2
  2196. } xcb_input_focus_t;
  2197.  
  2198. /** Opcode for xcb_set_input_focus. */
  2199. #define XCB_SET_INPUT_FOCUS 42
  2200.  
  2201. /**
  2202.  * @brief xcb_set_input_focus_request_t
  2203.  **/
  2204. typedef struct xcb_set_input_focus_request_t {
  2205.     uint8_t         major_opcode; /**<  */
  2206.     uint8_t         revert_to; /**<  */
  2207.     uint16_t        length; /**<  */
  2208.     xcb_window_t    focus; /**<  */
  2209.     xcb_timestamp_t time; /**<  */
  2210. } xcb_set_input_focus_request_t;
  2211.  
  2212. /**
  2213.  * @brief xcb_get_input_focus_cookie_t
  2214.  **/
  2215. typedef struct xcb_get_input_focus_cookie_t {
  2216.     unsigned int sequence; /**<  */
  2217. } xcb_get_input_focus_cookie_t;
  2218.  
  2219. /** Opcode for xcb_get_input_focus. */
  2220. #define XCB_GET_INPUT_FOCUS 43
  2221.  
  2222. /**
  2223.  * @brief xcb_get_input_focus_request_t
  2224.  **/
  2225. typedef struct xcb_get_input_focus_request_t {
  2226.     uint8_t  major_opcode; /**<  */
  2227.     uint8_t  pad0; /**<  */
  2228.     uint16_t length; /**<  */
  2229. } xcb_get_input_focus_request_t;
  2230.  
  2231. /**
  2232.  * @brief xcb_get_input_focus_reply_t
  2233.  **/
  2234. typedef struct xcb_get_input_focus_reply_t {
  2235.     uint8_t      response_type; /**<  */
  2236.     uint8_t      revert_to; /**<  */
  2237.     uint16_t     sequence; /**<  */
  2238.     uint32_t     length; /**<  */
  2239.     xcb_window_t focus; /**<  */
  2240. } xcb_get_input_focus_reply_t;
  2241.  
  2242. /**
  2243.  * @brief xcb_query_keymap_cookie_t
  2244.  **/
  2245. typedef struct xcb_query_keymap_cookie_t {
  2246.     unsigned int sequence; /**<  */
  2247. } xcb_query_keymap_cookie_t;
  2248.  
  2249. /** Opcode for xcb_query_keymap. */
  2250. #define XCB_QUERY_KEYMAP 44
  2251.  
  2252. /**
  2253.  * @brief xcb_query_keymap_request_t
  2254.  **/
  2255. typedef struct xcb_query_keymap_request_t {
  2256.     uint8_t  major_opcode; /**<  */
  2257.     uint8_t  pad0; /**<  */
  2258.     uint16_t length; /**<  */
  2259. } xcb_query_keymap_request_t;
  2260.  
  2261. /**
  2262.  * @brief xcb_query_keymap_reply_t
  2263.  **/
  2264. typedef struct xcb_query_keymap_reply_t {
  2265.     uint8_t  response_type; /**<  */
  2266.     uint8_t  pad0; /**<  */
  2267.     uint16_t sequence; /**<  */
  2268.     uint32_t length; /**<  */
  2269.     uint8_t  keys[32]; /**<  */
  2270. } xcb_query_keymap_reply_t;
  2271.  
  2272. /** Opcode for xcb_open_font. */
  2273. #define XCB_OPEN_FONT 45
  2274.  
  2275. /**
  2276.  * @brief xcb_open_font_request_t
  2277.  **/
  2278. typedef struct xcb_open_font_request_t {
  2279.     uint8_t    major_opcode; /**<  */
  2280.     uint8_t    pad0; /**<  */
  2281.     uint16_t   length; /**<  */
  2282.     xcb_font_t fid; /**<  */
  2283.     uint16_t   name_len; /**<  */
  2284. } xcb_open_font_request_t;
  2285.  
  2286. /** Opcode for xcb_close_font. */
  2287. #define XCB_CLOSE_FONT 46
  2288.  
  2289. /**
  2290.  * @brief xcb_close_font_request_t
  2291.  **/
  2292. typedef struct xcb_close_font_request_t {
  2293.     uint8_t    major_opcode; /**<  */
  2294.     uint8_t    pad0; /**<  */
  2295.     uint16_t   length; /**<  */
  2296.     xcb_font_t font; /**<  */
  2297. } xcb_close_font_request_t;
  2298.  
  2299. typedef enum xcb_font_draw_t {
  2300.     XCB_FONT_DRAW_LEFT_TO_RIGHT = 0,
  2301.     XCB_FONT_DRAW_RIGHT_TO_LEFT = 1
  2302. } xcb_font_draw_t;
  2303.  
  2304. /**
  2305.  * @brief xcb_fontprop_t
  2306.  **/
  2307. typedef struct xcb_fontprop_t {
  2308.     xcb_atom_t name; /**<  */
  2309.     uint32_t   value; /**<  */
  2310. } xcb_fontprop_t;
  2311.  
  2312. /**
  2313.  * @brief xcb_fontprop_iterator_t
  2314.  **/
  2315. typedef struct xcb_fontprop_iterator_t {
  2316.     xcb_fontprop_t *data; /**<  */
  2317.     int             rem; /**<  */
  2318.     int             index; /**<  */
  2319. } xcb_fontprop_iterator_t;
  2320.  
  2321. /**
  2322.  * @brief xcb_charinfo_t
  2323.  **/
  2324. typedef struct xcb_charinfo_t {
  2325.     int16_t  left_side_bearing; /**<  */
  2326.     int16_t  right_side_bearing; /**<  */
  2327.     int16_t  character_width; /**<  */
  2328.     int16_t  ascent; /**<  */
  2329.     int16_t  descent; /**<  */
  2330.     uint16_t attributes; /**<  */
  2331. } xcb_charinfo_t;
  2332.  
  2333. /**
  2334.  * @brief xcb_charinfo_iterator_t
  2335.  **/
  2336. typedef struct xcb_charinfo_iterator_t {
  2337.     xcb_charinfo_t *data; /**<  */
  2338.     int             rem; /**<  */
  2339.     int             index; /**<  */
  2340. } xcb_charinfo_iterator_t;
  2341.  
  2342. /**
  2343.  * @brief xcb_query_font_cookie_t
  2344.  **/
  2345. typedef struct xcb_query_font_cookie_t {
  2346.     unsigned int sequence; /**<  */
  2347. } xcb_query_font_cookie_t;
  2348.  
  2349. /** Opcode for xcb_query_font. */
  2350. #define XCB_QUERY_FONT 47
  2351.  
  2352. /**
  2353.  * @brief xcb_query_font_request_t
  2354.  **/
  2355. typedef struct xcb_query_font_request_t {
  2356.     uint8_t        major_opcode; /**<  */
  2357.     uint8_t        pad0; /**<  */
  2358.     uint16_t       length; /**<  */
  2359.     xcb_fontable_t font; /**<  */
  2360. } xcb_query_font_request_t;
  2361.  
  2362. /**
  2363.  * @brief xcb_query_font_reply_t
  2364.  **/
  2365. typedef struct xcb_query_font_reply_t {
  2366.     uint8_t        response_type; /**<  */
  2367.     uint8_t        pad0; /**<  */
  2368.     uint16_t       sequence; /**<  */
  2369.     uint32_t       length; /**<  */
  2370.     xcb_charinfo_t min_bounds; /**<  */
  2371.     uint8_t        pad1[4]; /**<  */
  2372.     xcb_charinfo_t max_bounds; /**<  */
  2373.     uint8_t        pad2[4]; /**<  */
  2374.     uint16_t       min_char_or_byte2; /**<  */
  2375.     uint16_t       max_char_or_byte2; /**<  */
  2376.     uint16_t       default_char; /**<  */
  2377.     uint16_t       properties_len; /**<  */
  2378.     uint8_t        draw_direction; /**<  */
  2379.     uint8_t        min_byte1; /**<  */
  2380.     uint8_t        max_byte1; /**<  */
  2381.     uint8_t        all_chars_exist; /**<  */
  2382.     int16_t        font_ascent; /**<  */
  2383.     int16_t        font_descent; /**<  */
  2384.     uint32_t       char_infos_len; /**<  */
  2385. } xcb_query_font_reply_t;
  2386.  
  2387. /**
  2388.  * @brief xcb_query_text_extents_cookie_t
  2389.  **/
  2390. typedef struct xcb_query_text_extents_cookie_t {
  2391.     unsigned int sequence; /**<  */
  2392. } xcb_query_text_extents_cookie_t;
  2393.  
  2394. /** Opcode for xcb_query_text_extents. */
  2395. #define XCB_QUERY_TEXT_EXTENTS 48
  2396.  
  2397. /**
  2398.  * @brief xcb_query_text_extents_request_t
  2399.  **/
  2400. typedef struct xcb_query_text_extents_request_t {
  2401.     uint8_t        major_opcode; /**<  */
  2402.     uint8_t        odd_length; /**<  */
  2403.     uint16_t       length; /**<  */
  2404.     xcb_fontable_t font; /**<  */
  2405. } xcb_query_text_extents_request_t;
  2406.  
  2407. /**
  2408.  * @brief xcb_query_text_extents_reply_t
  2409.  **/
  2410. typedef struct xcb_query_text_extents_reply_t {
  2411.     uint8_t  response_type; /**<  */
  2412.     uint8_t  draw_direction; /**<  */
  2413.     uint16_t sequence; /**<  */
  2414.     uint32_t length; /**<  */
  2415.     int16_t  font_ascent; /**<  */
  2416.     int16_t  font_descent; /**<  */
  2417.     int16_t  overall_ascent; /**<  */
  2418.     int16_t  overall_descent; /**<  */
  2419.     int32_t  overall_width; /**<  */
  2420.     int32_t  overall_left; /**<  */
  2421.     int32_t  overall_right; /**<  */
  2422. } xcb_query_text_extents_reply_t;
  2423.  
  2424. /**
  2425.  * @brief xcb_str_t
  2426.  **/
  2427. typedef struct xcb_str_t {
  2428.     uint8_t name_len; /**<  */
  2429. } xcb_str_t;
  2430.  
  2431. /**
  2432.  * @brief xcb_str_iterator_t
  2433.  **/
  2434. typedef struct xcb_str_iterator_t {
  2435.     xcb_str_t *data; /**<  */
  2436.     int        rem; /**<  */
  2437.     int        index; /**<  */
  2438. } xcb_str_iterator_t;
  2439.  
  2440. /**
  2441.  * @brief xcb_list_fonts_cookie_t
  2442.  **/
  2443. typedef struct xcb_list_fonts_cookie_t {
  2444.     unsigned int sequence; /**<  */
  2445. } xcb_list_fonts_cookie_t;
  2446.  
  2447. /** Opcode for xcb_list_fonts. */
  2448. #define XCB_LIST_FONTS 49
  2449.  
  2450. /**
  2451.  * @brief xcb_list_fonts_request_t
  2452.  **/
  2453. typedef struct xcb_list_fonts_request_t {
  2454.     uint8_t  major_opcode; /**<  */
  2455.     uint8_t  pad0; /**<  */
  2456.     uint16_t length; /**<  */
  2457.     uint16_t max_names; /**<  */
  2458.     uint16_t pattern_len; /**<  */
  2459. } xcb_list_fonts_request_t;
  2460.  
  2461. /**
  2462.  * @brief xcb_list_fonts_reply_t
  2463.  **/
  2464. typedef struct xcb_list_fonts_reply_t {
  2465.     uint8_t  response_type; /**<  */
  2466.     uint8_t  pad0; /**<  */
  2467.     uint16_t sequence; /**<  */
  2468.     uint32_t length; /**<  */
  2469.     uint16_t names_len; /**<  */
  2470.     uint8_t  pad1[22]; /**<  */
  2471. } xcb_list_fonts_reply_t;
  2472.  
  2473. /**
  2474.  * @brief xcb_list_fonts_with_info_cookie_t
  2475.  **/
  2476. typedef struct xcb_list_fonts_with_info_cookie_t {
  2477.     unsigned int sequence; /**<  */
  2478. } xcb_list_fonts_with_info_cookie_t;
  2479.  
  2480. /** Opcode for xcb_list_fonts_with_info. */
  2481. #define XCB_LIST_FONTS_WITH_INFO 50
  2482.  
  2483. /**
  2484.  * @brief xcb_list_fonts_with_info_request_t
  2485.  **/
  2486. typedef struct xcb_list_fonts_with_info_request_t {
  2487.     uint8_t  major_opcode; /**<  */
  2488.     uint8_t  pad0; /**<  */
  2489.     uint16_t length; /**<  */
  2490.     uint16_t max_names; /**<  */
  2491.     uint16_t pattern_len; /**<  */
  2492. } xcb_list_fonts_with_info_request_t;
  2493.  
  2494. /**
  2495.  * @brief xcb_list_fonts_with_info_reply_t
  2496.  **/
  2497. typedef struct xcb_list_fonts_with_info_reply_t {
  2498.     uint8_t        response_type; /**<  */
  2499.     uint8_t        name_len; /**<  */
  2500.     uint16_t       sequence; /**<  */
  2501.     uint32_t       length; /**<  */
  2502.     xcb_charinfo_t min_bounds; /**<  */
  2503.     uint8_t        pad0[4]; /**<  */
  2504.     xcb_charinfo_t max_bounds; /**<  */
  2505.     uint8_t        pad1[4]; /**<  */
  2506.     uint16_t       min_char_or_byte2; /**<  */
  2507.     uint16_t       max_char_or_byte2; /**<  */
  2508.     uint16_t       default_char; /**<  */
  2509.     uint16_t       properties_len; /**<  */
  2510.     uint8_t        draw_direction; /**<  */
  2511.     uint8_t        min_byte1; /**<  */
  2512.     uint8_t        max_byte1; /**<  */
  2513.     uint8_t        all_chars_exist; /**<  */
  2514.     int16_t        font_ascent; /**<  */
  2515.     int16_t        font_descent; /**<  */
  2516.     uint32_t       replies_hint; /**<  */
  2517. } xcb_list_fonts_with_info_reply_t;
  2518.  
  2519. /** Opcode for xcb_set_font_path. */
  2520. #define XCB_SET_FONT_PATH 51
  2521.  
  2522. /**
  2523.  * @brief xcb_set_font_path_request_t
  2524.  **/
  2525. typedef struct xcb_set_font_path_request_t {
  2526.     uint8_t  major_opcode; /**<  */
  2527.     uint8_t  pad0; /**<  */
  2528.     uint16_t length; /**<  */
  2529.     uint16_t font_qty; /**<  */
  2530. } xcb_set_font_path_request_t;
  2531.  
  2532. /**
  2533.  * @brief xcb_get_font_path_cookie_t
  2534.  **/
  2535. typedef struct xcb_get_font_path_cookie_t {
  2536.     unsigned int sequence; /**<  */
  2537. } xcb_get_font_path_cookie_t;
  2538.  
  2539. /** Opcode for xcb_get_font_path. */
  2540. #define XCB_GET_FONT_PATH 52
  2541.  
  2542. /**
  2543.  * @brief xcb_get_font_path_request_t
  2544.  **/
  2545. typedef struct xcb_get_font_path_request_t {
  2546.     uint8_t  major_opcode; /**<  */
  2547.     uint8_t  pad0; /**<  */
  2548.     uint16_t length; /**<  */
  2549. } xcb_get_font_path_request_t;
  2550.  
  2551. /**
  2552.  * @brief xcb_get_font_path_reply_t
  2553.  **/
  2554. typedef struct xcb_get_font_path_reply_t {
  2555.     uint8_t  response_type; /**<  */
  2556.     uint8_t  pad0; /**<  */
  2557.     uint16_t sequence; /**<  */
  2558.     uint32_t length; /**<  */
  2559.     uint16_t path_len; /**<  */
  2560.     uint8_t  pad1[22]; /**<  */
  2561. } xcb_get_font_path_reply_t;
  2562.  
  2563. /** Opcode for xcb_create_pixmap. */
  2564. #define XCB_CREATE_PIXMAP 53
  2565.  
  2566. /**
  2567.  * @brief xcb_create_pixmap_request_t
  2568.  **/
  2569. typedef struct xcb_create_pixmap_request_t {
  2570.     uint8_t        major_opcode; /**<  */
  2571.     uint8_t        depth; /**<  */
  2572.     uint16_t       length; /**<  */
  2573.     xcb_pixmap_t   pid; /**<  */
  2574.     xcb_drawable_t drawable; /**<  */
  2575.     uint16_t       width; /**<  */
  2576.     uint16_t       height; /**<  */
  2577. } xcb_create_pixmap_request_t;
  2578.  
  2579. /** Opcode for xcb_free_pixmap. */
  2580. #define XCB_FREE_PIXMAP 54
  2581.  
  2582. /**
  2583.  * @brief xcb_free_pixmap_request_t
  2584.  **/
  2585. typedef struct xcb_free_pixmap_request_t {
  2586.     uint8_t      major_opcode; /**<  */
  2587.     uint8_t      pad0; /**<  */
  2588.     uint16_t     length; /**<  */
  2589.     xcb_pixmap_t pixmap; /**<  */
  2590. } xcb_free_pixmap_request_t;
  2591.  
  2592. typedef enum xcb_gc_t {
  2593.     XCB_GC_FUNCTION = (1 << 0),
  2594.     XCB_GC_PLANE_MASK = (1 << 1),
  2595.     XCB_GC_FOREGROUND = (1 << 2),
  2596.     XCB_GC_BACKGROUND = (1 << 3),
  2597.     XCB_GC_LINE_WIDTH = (1 << 4),
  2598.     XCB_GC_LINE_STYLE = (1 << 5),
  2599.     XCB_GC_CAP_STYLE = (1 << 6),
  2600.     XCB_GC_JOIN_STYLE = (1 << 7),
  2601.     XCB_GC_FILL_STYLE = (1 << 8),
  2602.     XCB_GC_FILL_RULE = (1 << 9),
  2603.     XCB_GC_TILE = (1 << 10),
  2604.     XCB_GC_STIPPLE = (1 << 11),
  2605.     XCB_GC_TILE_STIPPLE_ORIGIN_X = (1 << 12),
  2606.     XCB_GC_TILE_STIPPLE_ORIGIN_Y = (1 << 13),
  2607.     XCB_GC_FONT = (1 << 14),
  2608.     XCB_GC_SUBWINDOW_MODE = (1 << 15),
  2609.     XCB_GC_GRAPHICS_EXPOSURES = (1 << 16),
  2610.     XCB_GC_CLIP_ORIGIN_X = (1 << 17),
  2611.     XCB_GC_CLIP_ORIGIN_Y = (1 << 18),
  2612.     XCB_GC_CLIP_MASK = (1 << 19),
  2613.     XCB_GC_DASH_OFFSET = (1 << 20),
  2614.     XCB_GC_DASH_LIST = (1 << 21),
  2615.     XCB_GC_ARC_MODE = (1 << 22)
  2616. } xcb_gc_t;
  2617.  
  2618. typedef enum xcb_gx_t {
  2619.     XCB_GX_CLEAR = 0x0,
  2620.     XCB_GX_AND = 0x1,
  2621.     XCB_GX_AND_REVERSE = 0x2,
  2622.     XCB_GX_COPY = 0x3,
  2623.     XCB_GX_AND_INVERTED = 0x4,
  2624.     XCB_GX_NOOP = 0x5,
  2625.     XCB_GX_XOR = 0x6,
  2626.     XCB_GX_OR = 0x7,
  2627.     XCB_GX_NOR = 0x8,
  2628.     XCB_GX_EQUIV = 0x9,
  2629.     XCB_GX_INVERT = 0xa,
  2630.     XCB_GX_OR_REVERSE = 0xb,
  2631.     XCB_GX_COPY_INVERTED = 0xc,
  2632.     XCB_GX_OR_INVERTED = 0xd,
  2633.     XCB_GX_NAND = 0xe,
  2634.     XCB_GX_SET = 0xf
  2635. } xcb_gx_t;
  2636.  
  2637. typedef enum xcb_line_style_t {
  2638.     XCB_LINE_STYLE_SOLID = 0,
  2639.     XCB_LINE_STYLE_ON_OFF_DASH = 1,
  2640.     XCB_LINE_STYLE_DOUBLE_DASH = 2
  2641. } xcb_line_style_t;
  2642.  
  2643. typedef enum xcb_cap_style_t {
  2644.     XCB_CAP_STYLE_NOT_LAST = 0,
  2645.     XCB_CAP_STYLE_BUTT = 1,
  2646.     XCB_CAP_STYLE_ROUND = 2,
  2647.     XCB_CAP_STYLE_PROJECTING = 3
  2648. } xcb_cap_style_t;
  2649.  
  2650. typedef enum xcb_join_style_t {
  2651.     XCB_JOIN_STYLE_MITRE = 0,
  2652.     XCB_JOIN_STYLE_ROUND = 1,
  2653.     XCB_JOIN_STYLE_BEVEL = 2
  2654. } xcb_join_style_t;
  2655.  
  2656. typedef enum xcb_fill_style_t {
  2657.     XCB_FILL_STYLE_SOLID = 0,
  2658.     XCB_FILL_STYLE_TILED = 1,
  2659.     XCB_FILL_STYLE_STIPPLED = 2,
  2660.     XCB_FILL_STYLE_OPAQUE_STIPPLED = 3
  2661. } xcb_fill_style_t;
  2662.  
  2663. typedef enum xcb_fill_rule_t {
  2664.     XCB_FILL_RULE_EVEN_ODD = 0,
  2665.     XCB_FILL_RULE_WINDING = 1
  2666. } xcb_fill_rule_t;
  2667.  
  2668. typedef enum xcb_subwindow_mode_t {
  2669.     XCB_SUBWINDOW_MODE_CLIP_BY_CHILDREN = 0,
  2670.     XCB_SUBWINDOW_MODE_INCLUDE_INFERIORS = 1
  2671. } xcb_subwindow_mode_t;
  2672.  
  2673. typedef enum xcb_arc_mode_t {
  2674.     XCB_ARC_MODE_CHORD = 0,
  2675.     XCB_ARC_MODE_PIE_SLICE = 1
  2676. } xcb_arc_mode_t;
  2677.  
  2678. /** Opcode for xcb_create_gc. */
  2679. #define XCB_CREATE_GC 55
  2680.  
  2681. /**
  2682.  * @brief xcb_create_gc_request_t
  2683.  **/
  2684. typedef struct xcb_create_gc_request_t {
  2685.     uint8_t        major_opcode; /**<  */
  2686.     uint8_t        pad0; /**<  */
  2687.     uint16_t       length; /**<  */
  2688.     xcb_gcontext_t cid; /**<  */
  2689.     xcb_drawable_t drawable; /**<  */
  2690.     uint32_t       value_mask; /**<  */
  2691. } xcb_create_gc_request_t;
  2692.  
  2693. /** Opcode for xcb_change_gc. */
  2694. #define XCB_CHANGE_GC 56
  2695.  
  2696. /**
  2697.  * @brief xcb_change_gc_request_t
  2698.  **/
  2699. typedef struct xcb_change_gc_request_t {
  2700.     uint8_t        major_opcode; /**<  */
  2701.     uint8_t        pad0; /**<  */
  2702.     uint16_t       length; /**<  */
  2703.     xcb_gcontext_t gc; /**<  */
  2704.     uint32_t       value_mask; /**<  */
  2705. } xcb_change_gc_request_t;
  2706.  
  2707. /** Opcode for xcb_copy_gc. */
  2708. #define XCB_COPY_GC 57
  2709.  
  2710. /**
  2711.  * @brief xcb_copy_gc_request_t
  2712.  **/
  2713. typedef struct xcb_copy_gc_request_t {
  2714.     uint8_t        major_opcode; /**<  */
  2715.     uint8_t        pad0; /**<  */
  2716.     uint16_t       length; /**<  */
  2717.     xcb_gcontext_t src_gc; /**<  */
  2718.     xcb_gcontext_t dst_gc; /**<  */
  2719.     uint32_t       value_mask; /**<  */
  2720. } xcb_copy_gc_request_t;
  2721.  
  2722. /** Opcode for xcb_set_dashes. */
  2723. #define XCB_SET_DASHES 58
  2724.  
  2725. /**
  2726.  * @brief xcb_set_dashes_request_t
  2727.  **/
  2728. typedef struct xcb_set_dashes_request_t {
  2729.     uint8_t        major_opcode; /**<  */
  2730.     uint8_t        pad0; /**<  */
  2731.     uint16_t       length; /**<  */
  2732.     xcb_gcontext_t gc; /**<  */
  2733.     uint16_t       dash_offset; /**<  */
  2734.     uint16_t       dashes_len; /**<  */
  2735. } xcb_set_dashes_request_t;
  2736.  
  2737. typedef enum xcb_clip_ordering_t {
  2738.     XCB_CLIP_ORDERING_UNSORTED = 0,
  2739.     XCB_CLIP_ORDERING_Y_SORTED = 1,
  2740.     XCB_CLIP_ORDERING_YX_SORTED = 2,
  2741.     XCB_CLIP_ORDERING_YX_BANDED = 3
  2742. } xcb_clip_ordering_t;
  2743.  
  2744. /** Opcode for xcb_set_clip_rectangles. */
  2745. #define XCB_SET_CLIP_RECTANGLES 59
  2746.  
  2747. /**
  2748.  * @brief xcb_set_clip_rectangles_request_t
  2749.  **/
  2750. typedef struct xcb_set_clip_rectangles_request_t {
  2751.     uint8_t        major_opcode; /**<  */
  2752.     uint8_t        ordering; /**<  */
  2753.     uint16_t       length; /**<  */
  2754.     xcb_gcontext_t gc; /**<  */
  2755.     int16_t        clip_x_origin; /**<  */
  2756.     int16_t        clip_y_origin; /**<  */
  2757. } xcb_set_clip_rectangles_request_t;
  2758.  
  2759. /** Opcode for xcb_free_gc. */
  2760. #define XCB_FREE_GC 60
  2761.  
  2762. /**
  2763.  * @brief xcb_free_gc_request_t
  2764.  **/
  2765. typedef struct xcb_free_gc_request_t {
  2766.     uint8_t        major_opcode; /**<  */
  2767.     uint8_t        pad0; /**<  */
  2768.     uint16_t       length; /**<  */
  2769.     xcb_gcontext_t gc; /**<  */
  2770. } xcb_free_gc_request_t;
  2771.  
  2772. /** Opcode for xcb_clear_area. */
  2773. #define XCB_CLEAR_AREA 61
  2774.  
  2775. /**
  2776.  * @brief xcb_clear_area_request_t
  2777.  **/
  2778. typedef struct xcb_clear_area_request_t {
  2779.     uint8_t      major_opcode; /**<  */
  2780.     uint8_t      exposures; /**<  */
  2781.     uint16_t     length; /**<  */
  2782.     xcb_window_t window; /**<  */
  2783.     int16_t      x; /**<  */
  2784.     int16_t      y; /**<  */
  2785.     uint16_t     width; /**<  */
  2786.     uint16_t     height; /**<  */
  2787. } xcb_clear_area_request_t;
  2788.  
  2789. /** Opcode for xcb_copy_area. */
  2790. #define XCB_COPY_AREA 62
  2791.  
  2792. /**
  2793.  * @brief xcb_copy_area_request_t
  2794.  **/
  2795. typedef struct xcb_copy_area_request_t {
  2796.     uint8_t        major_opcode; /**<  */
  2797.     uint8_t        pad0; /**<  */
  2798.     uint16_t       length; /**<  */
  2799.     xcb_drawable_t src_drawable; /**<  */
  2800.     xcb_drawable_t dst_drawable; /**<  */
  2801.     xcb_gcontext_t gc; /**<  */
  2802.     int16_t        src_x; /**<  */
  2803.     int16_t        src_y; /**<  */
  2804.     int16_t        dst_x; /**<  */
  2805.     int16_t        dst_y; /**<  */
  2806.     uint16_t       width; /**<  */
  2807.     uint16_t       height; /**<  */
  2808. } xcb_copy_area_request_t;
  2809.  
  2810. /** Opcode for xcb_copy_plane. */
  2811. #define XCB_COPY_PLANE 63
  2812.  
  2813. /**
  2814.  * @brief xcb_copy_plane_request_t
  2815.  **/
  2816. typedef struct xcb_copy_plane_request_t {
  2817.     uint8_t        major_opcode; /**<  */
  2818.     uint8_t        pad0; /**<  */
  2819.     uint16_t       length; /**<  */
  2820.     xcb_drawable_t src_drawable; /**<  */
  2821.     xcb_drawable_t dst_drawable; /**<  */
  2822.     xcb_gcontext_t gc; /**<  */
  2823.     int16_t        src_x; /**<  */
  2824.     int16_t        src_y; /**<  */
  2825.     int16_t        dst_x; /**<  */
  2826.     int16_t        dst_y; /**<  */
  2827.     uint16_t       width; /**<  */
  2828.     uint16_t       height; /**<  */
  2829.     uint32_t       bit_plane; /**<  */
  2830. } xcb_copy_plane_request_t;
  2831.  
  2832. typedef enum xcb_coord_mode_t {
  2833.     XCB_COORD_MODE_ORIGIN = 0,
  2834.     XCB_COORD_MODE_PREVIOUS = 1
  2835. } xcb_coord_mode_t;
  2836.  
  2837. /** Opcode for xcb_poly_point. */
  2838. #define XCB_POLY_POINT 64
  2839.  
  2840. /**
  2841.  * @brief xcb_poly_point_request_t
  2842.  **/
  2843. typedef struct xcb_poly_point_request_t {
  2844.     uint8_t        major_opcode; /**<  */
  2845.     uint8_t        coordinate_mode; /**<  */
  2846.     uint16_t       length; /**<  */
  2847.     xcb_drawable_t drawable; /**<  */
  2848.     xcb_gcontext_t gc; /**<  */
  2849. } xcb_poly_point_request_t;
  2850.  
  2851. /** Opcode for xcb_poly_line. */
  2852. #define XCB_POLY_LINE 65
  2853.  
  2854. /**
  2855.  * @brief xcb_poly_line_request_t
  2856.  **/
  2857. typedef struct xcb_poly_line_request_t {
  2858.     uint8_t        major_opcode; /**<  */
  2859.     uint8_t        coordinate_mode; /**<  */
  2860.     uint16_t       length; /**<  */
  2861.     xcb_drawable_t drawable; /**<  */
  2862.     xcb_gcontext_t gc; /**<  */
  2863. } xcb_poly_line_request_t;
  2864.  
  2865. /**
  2866.  * @brief xcb_segment_t
  2867.  **/
  2868. typedef struct xcb_segment_t {
  2869.     int16_t x1; /**<  */
  2870.     int16_t y1; /**<  */
  2871.     int16_t x2; /**<  */
  2872.     int16_t y2; /**<  */
  2873. } xcb_segment_t;
  2874.  
  2875. /**
  2876.  * @brief xcb_segment_iterator_t
  2877.  **/
  2878. typedef struct xcb_segment_iterator_t {
  2879.     xcb_segment_t *data; /**<  */
  2880.     int            rem; /**<  */
  2881.     int            index; /**<  */
  2882. } xcb_segment_iterator_t;
  2883.  
  2884. /** Opcode for xcb_poly_segment. */
  2885. #define XCB_POLY_SEGMENT 66
  2886.  
  2887. /**
  2888.  * @brief xcb_poly_segment_request_t
  2889.  **/
  2890. typedef struct xcb_poly_segment_request_t {
  2891.     uint8_t        major_opcode; /**<  */
  2892.     uint8_t        pad0; /**<  */
  2893.     uint16_t       length; /**<  */
  2894.     xcb_drawable_t drawable; /**<  */
  2895.     xcb_gcontext_t gc; /**<  */
  2896. } xcb_poly_segment_request_t;
  2897.  
  2898. /** Opcode for xcb_poly_rectangle. */
  2899. #define XCB_POLY_RECTANGLE 67
  2900.  
  2901. /**
  2902.  * @brief xcb_poly_rectangle_request_t
  2903.  **/
  2904. typedef struct xcb_poly_rectangle_request_t {
  2905.     uint8_t        major_opcode; /**<  */
  2906.     uint8_t        pad0; /**<  */
  2907.     uint16_t       length; /**<  */
  2908.     xcb_drawable_t drawable; /**<  */
  2909.     xcb_gcontext_t gc; /**<  */
  2910. } xcb_poly_rectangle_request_t;
  2911.  
  2912. /** Opcode for xcb_poly_arc. */
  2913. #define XCB_POLY_ARC 68
  2914.  
  2915. /**
  2916.  * @brief xcb_poly_arc_request_t
  2917.  **/
  2918. typedef struct xcb_poly_arc_request_t {
  2919.     uint8_t        major_opcode; /**<  */
  2920.     uint8_t        pad0; /**<  */
  2921.     uint16_t       length; /**<  */
  2922.     xcb_drawable_t drawable; /**<  */
  2923.     xcb_gcontext_t gc; /**<  */
  2924. } xcb_poly_arc_request_t;
  2925.  
  2926. typedef enum xcb_poly_shape_t {
  2927.     XCB_POLY_SHAPE_COMPLEX = 0,
  2928.     XCB_POLY_SHAPE_NONCONVEX = 1,
  2929.     XCB_POLY_SHAPE_CONVEX = 2
  2930. } xcb_poly_shape_t;
  2931.  
  2932. /** Opcode for xcb_fill_poly. */
  2933. #define XCB_FILL_POLY 69
  2934.  
  2935. /**
  2936.  * @brief xcb_fill_poly_request_t
  2937.  **/
  2938. typedef struct xcb_fill_poly_request_t {
  2939.     uint8_t        major_opcode; /**<  */
  2940.     uint8_t        pad0; /**<  */
  2941.     uint16_t       length; /**<  */
  2942.     xcb_drawable_t drawable; /**<  */
  2943.     xcb_gcontext_t gc; /**<  */
  2944.     uint8_t        shape; /**<  */
  2945.     uint8_t        coordinate_mode; /**<  */
  2946. } xcb_fill_poly_request_t;
  2947.  
  2948. /** Opcode for xcb_poly_fill_rectangle. */
  2949. #define XCB_POLY_FILL_RECTANGLE 70
  2950.  
  2951. /**
  2952.  * @brief xcb_poly_fill_rectangle_request_t
  2953.  **/
  2954. typedef struct xcb_poly_fill_rectangle_request_t {
  2955.     uint8_t        major_opcode; /**<  */
  2956.     uint8_t        pad0; /**<  */
  2957.     uint16_t       length; /**<  */
  2958.     xcb_drawable_t drawable; /**<  */
  2959.     xcb_gcontext_t gc; /**<  */
  2960. } xcb_poly_fill_rectangle_request_t;
  2961.  
  2962. /** Opcode for xcb_poly_fill_arc. */
  2963. #define XCB_POLY_FILL_ARC 71
  2964.  
  2965. /**
  2966.  * @brief xcb_poly_fill_arc_request_t
  2967.  **/
  2968. typedef struct xcb_poly_fill_arc_request_t {
  2969.     uint8_t        major_opcode; /**<  */
  2970.     uint8_t        pad0; /**<  */
  2971.     uint16_t       length; /**<  */
  2972.     xcb_drawable_t drawable; /**<  */
  2973.     xcb_gcontext_t gc; /**<  */
  2974. } xcb_poly_fill_arc_request_t;
  2975.  
  2976. typedef enum xcb_image_format_t {
  2977.     XCB_IMAGE_FORMAT_XY_BITMAP = 0,
  2978.     XCB_IMAGE_FORMAT_XY_PIXMAP = 1,
  2979.     XCB_IMAGE_FORMAT_Z_PIXMAP = 2
  2980. } xcb_image_format_t;
  2981.  
  2982. /** Opcode for xcb_put_image. */
  2983. #define XCB_PUT_IMAGE 72
  2984.  
  2985. /**
  2986.  * @brief xcb_put_image_request_t
  2987.  **/
  2988. typedef struct xcb_put_image_request_t {
  2989.     uint8_t        major_opcode; /**<  */
  2990.     uint8_t        format; /**<  */
  2991.     uint16_t       length; /**<  */
  2992.     xcb_drawable_t drawable; /**<  */
  2993.     xcb_gcontext_t gc; /**<  */
  2994.     uint16_t       width; /**<  */
  2995.     uint16_t       height; /**<  */
  2996.     int16_t        dst_x; /**<  */
  2997.     int16_t        dst_y; /**<  */
  2998.     uint8_t        left_pad; /**<  */
  2999.     uint8_t        depth; /**<  */
  3000. } xcb_put_image_request_t;
  3001.  
  3002. /**
  3003.  * @brief xcb_get_image_cookie_t
  3004.  **/
  3005. typedef struct xcb_get_image_cookie_t {
  3006.     unsigned int sequence; /**<  */
  3007. } xcb_get_image_cookie_t;
  3008.  
  3009. /** Opcode for xcb_get_image. */
  3010. #define XCB_GET_IMAGE 73
  3011.  
  3012. /**
  3013.  * @brief xcb_get_image_request_t
  3014.  **/
  3015. typedef struct xcb_get_image_request_t {
  3016.     uint8_t        major_opcode; /**<  */
  3017.     uint8_t        format; /**<  */
  3018.     uint16_t       length; /**<  */
  3019.     xcb_drawable_t drawable; /**<  */
  3020.     int16_t        x; /**<  */
  3021.     int16_t        y; /**<  */
  3022.     uint16_t       width; /**<  */
  3023.     uint16_t       height; /**<  */
  3024.     uint32_t       plane_mask; /**<  */
  3025. } xcb_get_image_request_t;
  3026.  
  3027. /**
  3028.  * @brief xcb_get_image_reply_t
  3029.  **/
  3030. typedef struct xcb_get_image_reply_t {
  3031.     uint8_t        response_type; /**<  */
  3032.     uint8_t        depth; /**<  */
  3033.     uint16_t       sequence; /**<  */
  3034.     uint32_t       length; /**<  */
  3035.     xcb_visualid_t visual; /**<  */
  3036.     uint8_t        pad0[20]; /**<  */
  3037. } xcb_get_image_reply_t;
  3038.  
  3039. /** Opcode for xcb_poly_text_8. */
  3040. #define XCB_POLY_TEXT_8 74
  3041.  
  3042. /**
  3043.  * @brief xcb_poly_text_8_request_t
  3044.  **/
  3045. typedef struct xcb_poly_text_8_request_t {
  3046.     uint8_t        major_opcode; /**<  */
  3047.     uint8_t        pad0; /**<  */
  3048.     uint16_t       length; /**<  */
  3049.     xcb_drawable_t drawable; /**<  */
  3050.     xcb_gcontext_t gc; /**<  */
  3051.     int16_t        x; /**<  */
  3052.     int16_t        y; /**<  */
  3053. } xcb_poly_text_8_request_t;
  3054.  
  3055. /** Opcode for xcb_poly_text_16. */
  3056. #define XCB_POLY_TEXT_16 75
  3057.  
  3058. /**
  3059.  * @brief xcb_poly_text_16_request_t
  3060.  **/
  3061. typedef struct xcb_poly_text_16_request_t {
  3062.     uint8_t        major_opcode; /**<  */
  3063.     uint8_t        pad0; /**<  */
  3064.     uint16_t       length; /**<  */
  3065.     xcb_drawable_t drawable; /**<  */
  3066.     xcb_gcontext_t gc; /**<  */
  3067.     int16_t        x; /**<  */
  3068.     int16_t        y; /**<  */
  3069. } xcb_poly_text_16_request_t;
  3070.  
  3071. /** Opcode for xcb_image_text_8. */
  3072. #define XCB_IMAGE_TEXT_8 76
  3073.  
  3074. /**
  3075.  * @brief xcb_image_text_8_request_t
  3076.  **/
  3077. typedef struct xcb_image_text_8_request_t {
  3078.     uint8_t        major_opcode; /**<  */
  3079.     uint8_t        string_len; /**<  */
  3080.     uint16_t       length; /**<  */
  3081.     xcb_drawable_t drawable; /**<  */
  3082.     xcb_gcontext_t gc; /**<  */
  3083.     int16_t        x; /**<  */
  3084.     int16_t        y; /**<  */
  3085. } xcb_image_text_8_request_t;
  3086.  
  3087. /** Opcode for xcb_image_text_16. */
  3088. #define XCB_IMAGE_TEXT_16 77
  3089.  
  3090. /**
  3091.  * @brief xcb_image_text_16_request_t
  3092.  **/
  3093. typedef struct xcb_image_text_16_request_t {
  3094.     uint8_t        major_opcode; /**<  */
  3095.     uint8_t        string_len; /**<  */
  3096.     uint16_t       length; /**<  */
  3097.     xcb_drawable_t drawable; /**<  */
  3098.     xcb_gcontext_t gc; /**<  */
  3099.     int16_t        x; /**<  */
  3100.     int16_t        y; /**<  */
  3101. } xcb_image_text_16_request_t;
  3102.  
  3103. typedef enum xcb_colormap_alloc_t {
  3104.     XCB_COLORMAP_ALLOC_NONE = 0,
  3105.     XCB_COLORMAP_ALLOC_ALL = 1
  3106. } xcb_colormap_alloc_t;
  3107.  
  3108. /** Opcode for xcb_create_colormap. */
  3109. #define XCB_CREATE_COLORMAP 78
  3110.  
  3111. /**
  3112.  * @brief xcb_create_colormap_request_t
  3113.  **/
  3114. typedef struct xcb_create_colormap_request_t {
  3115.     uint8_t        major_opcode; /**<  */
  3116.     uint8_t        alloc; /**<  */
  3117.     uint16_t       length; /**<  */
  3118.     xcb_colormap_t mid; /**<  */
  3119.     xcb_window_t   window; /**<  */
  3120.     xcb_visualid_t visual; /**<  */
  3121. } xcb_create_colormap_request_t;
  3122.  
  3123. /** Opcode for xcb_free_colormap. */
  3124. #define XCB_FREE_COLORMAP 79
  3125.  
  3126. /**
  3127.  * @brief xcb_free_colormap_request_t
  3128.  **/
  3129. typedef struct xcb_free_colormap_request_t {
  3130.     uint8_t        major_opcode; /**<  */
  3131.     uint8_t        pad0; /**<  */
  3132.     uint16_t       length; /**<  */
  3133.     xcb_colormap_t cmap; /**<  */
  3134. } xcb_free_colormap_request_t;
  3135.  
  3136. /** Opcode for xcb_copy_colormap_and_free. */
  3137. #define XCB_COPY_COLORMAP_AND_FREE 80
  3138.  
  3139. /**
  3140.  * @brief xcb_copy_colormap_and_free_request_t
  3141.  **/
  3142. typedef struct xcb_copy_colormap_and_free_request_t {
  3143.     uint8_t        major_opcode; /**<  */
  3144.     uint8_t        pad0; /**<  */
  3145.     uint16_t       length; /**<  */
  3146.     xcb_colormap_t mid; /**<  */
  3147.     xcb_colormap_t src_cmap; /**<  */
  3148. } xcb_copy_colormap_and_free_request_t;
  3149.  
  3150. /** Opcode for xcb_install_colormap. */
  3151. #define XCB_INSTALL_COLORMAP 81
  3152.  
  3153. /**
  3154.  * @brief xcb_install_colormap_request_t
  3155.  **/
  3156. typedef struct xcb_install_colormap_request_t {
  3157.     uint8_t        major_opcode; /**<  */
  3158.     uint8_t        pad0; /**<  */
  3159.     uint16_t       length; /**<  */
  3160.     xcb_colormap_t cmap; /**<  */
  3161. } xcb_install_colormap_request_t;
  3162.  
  3163. /** Opcode for xcb_uninstall_colormap. */
  3164. #define XCB_UNINSTALL_COLORMAP 82
  3165.  
  3166. /**
  3167.  * @brief xcb_uninstall_colormap_request_t
  3168.  **/
  3169. typedef struct xcb_uninstall_colormap_request_t {
  3170.     uint8_t        major_opcode; /**<  */
  3171.     uint8_t        pad0; /**<  */
  3172.     uint16_t       length; /**<  */
  3173.     xcb_colormap_t cmap; /**<  */
  3174. } xcb_uninstall_colormap_request_t;
  3175.  
  3176. /**
  3177.  * @brief xcb_list_installed_colormaps_cookie_t
  3178.  **/
  3179. typedef struct xcb_list_installed_colormaps_cookie_t {
  3180.     unsigned int sequence; /**<  */
  3181. } xcb_list_installed_colormaps_cookie_t;
  3182.  
  3183. /** Opcode for xcb_list_installed_colormaps. */
  3184. #define XCB_LIST_INSTALLED_COLORMAPS 83
  3185.  
  3186. /**
  3187.  * @brief xcb_list_installed_colormaps_request_t
  3188.  **/
  3189. typedef struct xcb_list_installed_colormaps_request_t {
  3190.     uint8_t      major_opcode; /**<  */
  3191.     uint8_t      pad0; /**<  */
  3192.     uint16_t     length; /**<  */
  3193.     xcb_window_t window; /**<  */
  3194. } xcb_list_installed_colormaps_request_t;
  3195.  
  3196. /**
  3197.  * @brief xcb_list_installed_colormaps_reply_t
  3198.  **/
  3199. typedef struct xcb_list_installed_colormaps_reply_t {
  3200.     uint8_t  response_type; /**<  */
  3201.     uint8_t  pad0; /**<  */
  3202.     uint16_t sequence; /**<  */
  3203.     uint32_t length; /**<  */
  3204.     uint16_t cmaps_len; /**<  */
  3205.     uint8_t  pad1[22]; /**<  */
  3206. } xcb_list_installed_colormaps_reply_t;
  3207.  
  3208. /**
  3209.  * @brief xcb_alloc_color_cookie_t
  3210.  **/
  3211. typedef struct xcb_alloc_color_cookie_t {
  3212.     unsigned int sequence; /**<  */
  3213. } xcb_alloc_color_cookie_t;
  3214.  
  3215. /** Opcode for xcb_alloc_color. */
  3216. #define XCB_ALLOC_COLOR 84
  3217.  
  3218. /**
  3219.  * @brief xcb_alloc_color_request_t
  3220.  **/
  3221. typedef struct xcb_alloc_color_request_t {
  3222.     uint8_t        major_opcode; /**<  */
  3223.     uint8_t        pad0; /**<  */
  3224.     uint16_t       length; /**<  */
  3225.     xcb_colormap_t cmap; /**<  */
  3226.     uint16_t       red; /**<  */
  3227.     uint16_t       green; /**<  */
  3228.     uint16_t       blue; /**<  */
  3229. } xcb_alloc_color_request_t;
  3230.  
  3231. /**
  3232.  * @brief xcb_alloc_color_reply_t
  3233.  **/
  3234. typedef struct xcb_alloc_color_reply_t {
  3235.     uint8_t  response_type; /**<  */
  3236.     uint8_t  pad0; /**<  */
  3237.     uint16_t sequence; /**<  */
  3238.     uint32_t length; /**<  */
  3239.     uint16_t red; /**<  */
  3240.     uint16_t green; /**<  */
  3241.     uint16_t blue; /**<  */
  3242.     uint8_t  pad1[2]; /**<  */
  3243.     uint32_t pixel; /**<  */
  3244. } xcb_alloc_color_reply_t;
  3245.  
  3246. /**
  3247.  * @brief xcb_alloc_named_color_cookie_t
  3248.  **/
  3249. typedef struct xcb_alloc_named_color_cookie_t {
  3250.     unsigned int sequence; /**<  */
  3251. } xcb_alloc_named_color_cookie_t;
  3252.  
  3253. /** Opcode for xcb_alloc_named_color. */
  3254. #define XCB_ALLOC_NAMED_COLOR 85
  3255.  
  3256. /**
  3257.  * @brief xcb_alloc_named_color_request_t
  3258.  **/
  3259. typedef struct xcb_alloc_named_color_request_t {
  3260.     uint8_t        major_opcode; /**<  */
  3261.     uint8_t        pad0; /**<  */
  3262.     uint16_t       length; /**<  */
  3263.     xcb_colormap_t cmap; /**<  */
  3264.     uint16_t       name_len; /**<  */
  3265. } xcb_alloc_named_color_request_t;
  3266.  
  3267. /**
  3268.  * @brief xcb_alloc_named_color_reply_t
  3269.  **/
  3270. typedef struct xcb_alloc_named_color_reply_t {
  3271.     uint8_t  response_type; /**<  */
  3272.     uint8_t  pad0; /**<  */
  3273.     uint16_t sequence; /**<  */
  3274.     uint32_t length; /**<  */
  3275.     uint32_t pixel; /**<  */
  3276.     uint16_t exact_red; /**<  */
  3277.     uint16_t exact_green; /**<  */
  3278.     uint16_t exact_blue; /**<  */
  3279.     uint16_t visual_red; /**<  */
  3280.     uint16_t visual_green; /**<  */
  3281.     uint16_t visual_blue; /**<  */
  3282. } xcb_alloc_named_color_reply_t;
  3283.  
  3284. /**
  3285.  * @brief xcb_alloc_color_cells_cookie_t
  3286.  **/
  3287. typedef struct xcb_alloc_color_cells_cookie_t {
  3288.     unsigned int sequence; /**<  */
  3289. } xcb_alloc_color_cells_cookie_t;
  3290.  
  3291. /** Opcode for xcb_alloc_color_cells. */
  3292. #define XCB_ALLOC_COLOR_CELLS 86
  3293.  
  3294. /**
  3295.  * @brief xcb_alloc_color_cells_request_t
  3296.  **/
  3297. typedef struct xcb_alloc_color_cells_request_t {
  3298.     uint8_t        major_opcode; /**<  */
  3299.     uint8_t        contiguous; /**<  */
  3300.     uint16_t       length; /**<  */
  3301.     xcb_colormap_t cmap; /**<  */
  3302.     uint16_t       colors; /**<  */
  3303.     uint16_t       planes; /**<  */
  3304. } xcb_alloc_color_cells_request_t;
  3305.  
  3306. /**
  3307.  * @brief xcb_alloc_color_cells_reply_t
  3308.  **/
  3309. typedef struct xcb_alloc_color_cells_reply_t {
  3310.     uint8_t  response_type; /**<  */
  3311.     uint8_t  pad0; /**<  */
  3312.     uint16_t sequence; /**<  */
  3313.     uint32_t length; /**<  */
  3314.     uint16_t pixels_len; /**<  */
  3315.     uint16_t masks_len; /**<  */
  3316.     uint8_t  pad1[20]; /**<  */
  3317. } xcb_alloc_color_cells_reply_t;
  3318.  
  3319. /**
  3320.  * @brief xcb_alloc_color_planes_cookie_t
  3321.  **/
  3322. typedef struct xcb_alloc_color_planes_cookie_t {
  3323.     unsigned int sequence; /**<  */
  3324. } xcb_alloc_color_planes_cookie_t;
  3325.  
  3326. /** Opcode for xcb_alloc_color_planes. */
  3327. #define XCB_ALLOC_COLOR_PLANES 87
  3328.  
  3329. /**
  3330.  * @brief xcb_alloc_color_planes_request_t
  3331.  **/
  3332. typedef struct xcb_alloc_color_planes_request_t {
  3333.     uint8_t        major_opcode; /**<  */
  3334.     uint8_t        contiguous; /**<  */
  3335.     uint16_t       length; /**<  */
  3336.     xcb_colormap_t cmap; /**<  */
  3337.     uint16_t       colors; /**<  */
  3338.     uint16_t       reds; /**<  */
  3339.     uint16_t       greens; /**<  */
  3340.     uint16_t       blues; /**<  */
  3341. } xcb_alloc_color_planes_request_t;
  3342.  
  3343. /**
  3344.  * @brief xcb_alloc_color_planes_reply_t
  3345.  **/
  3346. typedef struct xcb_alloc_color_planes_reply_t {
  3347.     uint8_t  response_type; /**<  */
  3348.     uint8_t  pad0; /**<  */
  3349.     uint16_t sequence; /**<  */
  3350.     uint32_t length; /**<  */
  3351.     uint16_t pixels_len; /**<  */
  3352.     uint8_t  pad1[2]; /**<  */
  3353.     uint32_t red_mask; /**<  */
  3354.     uint32_t green_mask; /**<  */
  3355.     uint32_t blue_mask; /**<  */
  3356.     uint8_t  pad2[8]; /**<  */
  3357. } xcb_alloc_color_planes_reply_t;
  3358.  
  3359. /** Opcode for xcb_free_colors. */
  3360. #define XCB_FREE_COLORS 88
  3361.  
  3362. /**
  3363.  * @brief xcb_free_colors_request_t
  3364.  **/
  3365. typedef struct xcb_free_colors_request_t {
  3366.     uint8_t        major_opcode; /**<  */
  3367.     uint8_t        pad0; /**<  */
  3368.     uint16_t       length; /**<  */
  3369.     xcb_colormap_t cmap; /**<  */
  3370.     uint32_t       plane_mask; /**<  */
  3371. } xcb_free_colors_request_t;
  3372.  
  3373. typedef enum xcb_color_flag_t {
  3374.     XCB_COLOR_FLAG_RED = (1 << 0),
  3375.     XCB_COLOR_FLAG_GREEN = (1 << 1),
  3376.     XCB_COLOR_FLAG_BLUE = (1 << 2)
  3377. } xcb_color_flag_t;
  3378.  
  3379. /**
  3380.  * @brief xcb_coloritem_t
  3381.  **/
  3382. typedef struct xcb_coloritem_t {
  3383.     uint32_t pixel; /**<  */
  3384.     uint16_t red; /**<  */
  3385.     uint16_t green; /**<  */
  3386.     uint16_t blue; /**<  */
  3387.     uint8_t  flags; /**<  */
  3388.     uint8_t  pad0; /**<  */
  3389. } xcb_coloritem_t;
  3390.  
  3391. /**
  3392.  * @brief xcb_coloritem_iterator_t
  3393.  **/
  3394. typedef struct xcb_coloritem_iterator_t {
  3395.     xcb_coloritem_t *data; /**<  */
  3396.     int              rem; /**<  */
  3397.     int              index; /**<  */
  3398. } xcb_coloritem_iterator_t;
  3399.  
  3400. /** Opcode for xcb_store_colors. */
  3401. #define XCB_STORE_COLORS 89
  3402.  
  3403. /**
  3404.  * @brief xcb_store_colors_request_t
  3405.  **/
  3406. typedef struct xcb_store_colors_request_t {
  3407.     uint8_t        major_opcode; /**<  */
  3408.     uint8_t        pad0; /**<  */
  3409.     uint16_t       length; /**<  */
  3410.     xcb_colormap_t cmap; /**<  */
  3411. } xcb_store_colors_request_t;
  3412.  
  3413. /** Opcode for xcb_store_named_color. */
  3414. #define XCB_STORE_NAMED_COLOR 90
  3415.  
  3416. /**
  3417.  * @brief xcb_store_named_color_request_t
  3418.  **/
  3419. typedef struct xcb_store_named_color_request_t {
  3420.     uint8_t        major_opcode; /**<  */
  3421.     uint8_t        flags; /**<  */
  3422.     uint16_t       length; /**<  */
  3423.     xcb_colormap_t cmap; /**<  */
  3424.     uint32_t       pixel; /**<  */
  3425.     uint16_t       name_len; /**<  */
  3426. } xcb_store_named_color_request_t;
  3427.  
  3428. /**
  3429.  * @brief xcb_rgb_t
  3430.  **/
  3431. typedef struct xcb_rgb_t {
  3432.     uint16_t red; /**<  */
  3433.     uint16_t green; /**<  */
  3434.     uint16_t blue; /**<  */
  3435.     uint8_t  pad0[2]; /**<  */
  3436. } xcb_rgb_t;
  3437.  
  3438. /**
  3439.  * @brief xcb_rgb_iterator_t
  3440.  **/
  3441. typedef struct xcb_rgb_iterator_t {
  3442.     xcb_rgb_t *data; /**<  */
  3443.     int        rem; /**<  */
  3444.     int        index; /**<  */
  3445. } xcb_rgb_iterator_t;
  3446.  
  3447. /**
  3448.  * @brief xcb_query_colors_cookie_t
  3449.  **/
  3450. typedef struct xcb_query_colors_cookie_t {
  3451.     unsigned int sequence; /**<  */
  3452. } xcb_query_colors_cookie_t;
  3453.  
  3454. /** Opcode for xcb_query_colors. */
  3455. #define XCB_QUERY_COLORS 91
  3456.  
  3457. /**
  3458.  * @brief xcb_query_colors_request_t
  3459.  **/
  3460. typedef struct xcb_query_colors_request_t {
  3461.     uint8_t        major_opcode; /**<  */
  3462.     uint8_t        pad0; /**<  */
  3463.     uint16_t       length; /**<  */
  3464.     xcb_colormap_t cmap; /**<  */
  3465. } xcb_query_colors_request_t;
  3466.  
  3467. /**
  3468.  * @brief xcb_query_colors_reply_t
  3469.  **/
  3470. typedef struct xcb_query_colors_reply_t {
  3471.     uint8_t  response_type; /**<  */
  3472.     uint8_t  pad0; /**<  */
  3473.     uint16_t sequence; /**<  */
  3474.     uint32_t length; /**<  */
  3475.     uint16_t colors_len; /**<  */
  3476.     uint8_t  pad1[22]; /**<  */
  3477. } xcb_query_colors_reply_t;
  3478.  
  3479. /**
  3480.  * @brief xcb_lookup_color_cookie_t
  3481.  **/
  3482. typedef struct xcb_lookup_color_cookie_t {
  3483.     unsigned int sequence; /**<  */
  3484. } xcb_lookup_color_cookie_t;
  3485.  
  3486. /** Opcode for xcb_lookup_color. */
  3487. #define XCB_LOOKUP_COLOR 92
  3488.  
  3489. /**
  3490.  * @brief xcb_lookup_color_request_t
  3491.  **/
  3492. typedef struct xcb_lookup_color_request_t {
  3493.     uint8_t        major_opcode; /**<  */
  3494.     uint8_t        pad0; /**<  */
  3495.     uint16_t       length; /**<  */
  3496.     xcb_colormap_t cmap; /**<  */
  3497.     uint16_t       name_len; /**<  */
  3498. } xcb_lookup_color_request_t;
  3499.  
  3500. /**
  3501.  * @brief xcb_lookup_color_reply_t
  3502.  **/
  3503. typedef struct xcb_lookup_color_reply_t {
  3504.     uint8_t  response_type; /**<  */
  3505.     uint8_t  pad0; /**<  */
  3506.     uint16_t sequence; /**<  */
  3507.     uint32_t length; /**<  */
  3508.     uint16_t exact_red; /**<  */
  3509.     uint16_t exact_green; /**<  */
  3510.     uint16_t exact_blue; /**<  */
  3511.     uint16_t visual_red; /**<  */
  3512.     uint16_t visual_green; /**<  */
  3513.     uint16_t visual_blue; /**<  */
  3514. } xcb_lookup_color_reply_t;
  3515.  
  3516. /** Opcode for xcb_create_cursor. */
  3517. #define XCB_CREATE_CURSOR 93
  3518.  
  3519. /**
  3520.  * @brief xcb_create_cursor_request_t
  3521.  **/
  3522. typedef struct xcb_create_cursor_request_t {
  3523.     uint8_t      major_opcode; /**<  */
  3524.     uint8_t      pad0; /**<  */
  3525.     uint16_t     length; /**<  */
  3526.     xcb_cursor_t cid; /**<  */
  3527.     xcb_pixmap_t source; /**<  */
  3528.     xcb_pixmap_t mask; /**<  */
  3529.     uint16_t     fore_red; /**<  */
  3530.     uint16_t     fore_green; /**<  */
  3531.     uint16_t     fore_blue; /**<  */
  3532.     uint16_t     back_red; /**<  */
  3533.     uint16_t     back_green; /**<  */
  3534.     uint16_t     back_blue; /**<  */
  3535.     uint16_t     x; /**<  */
  3536.     uint16_t     y; /**<  */
  3537. } xcb_create_cursor_request_t;
  3538.  
  3539. /** Opcode for xcb_create_glyph_cursor. */
  3540. #define XCB_CREATE_GLYPH_CURSOR 94
  3541.  
  3542. /**
  3543.  * @brief xcb_create_glyph_cursor_request_t
  3544.  **/
  3545. typedef struct xcb_create_glyph_cursor_request_t {
  3546.     uint8_t      major_opcode; /**<  */
  3547.     uint8_t      pad0; /**<  */
  3548.     uint16_t     length; /**<  */
  3549.     xcb_cursor_t cid; /**<  */
  3550.     xcb_font_t   source_font; /**<  */
  3551.     xcb_font_t   mask_font; /**<  */
  3552.     uint16_t     source_char; /**<  */
  3553.     uint16_t     mask_char; /**<  */
  3554.     uint16_t     fore_red; /**<  */
  3555.     uint16_t     fore_green; /**<  */
  3556.     uint16_t     fore_blue; /**<  */
  3557.     uint16_t     back_red; /**<  */
  3558.     uint16_t     back_green; /**<  */
  3559.     uint16_t     back_blue; /**<  */
  3560. } xcb_create_glyph_cursor_request_t;
  3561.  
  3562. /** Opcode for xcb_free_cursor. */
  3563. #define XCB_FREE_CURSOR 95
  3564.  
  3565. /**
  3566.  * @brief xcb_free_cursor_request_t
  3567.  **/
  3568. typedef struct xcb_free_cursor_request_t {
  3569.     uint8_t      major_opcode; /**<  */
  3570.     uint8_t      pad0; /**<  */
  3571.     uint16_t     length; /**<  */
  3572.     xcb_cursor_t cursor; /**<  */
  3573. } xcb_free_cursor_request_t;
  3574.  
  3575. /** Opcode for xcb_recolor_cursor. */
  3576. #define XCB_RECOLOR_CURSOR 96
  3577.  
  3578. /**
  3579.  * @brief xcb_recolor_cursor_request_t
  3580.  **/
  3581. typedef struct xcb_recolor_cursor_request_t {
  3582.     uint8_t      major_opcode; /**<  */
  3583.     uint8_t      pad0; /**<  */
  3584.     uint16_t     length; /**<  */
  3585.     xcb_cursor_t cursor; /**<  */
  3586.     uint16_t     fore_red; /**<  */
  3587.     uint16_t     fore_green; /**<  */
  3588.     uint16_t     fore_blue; /**<  */
  3589.     uint16_t     back_red; /**<  */
  3590.     uint16_t     back_green; /**<  */
  3591.     uint16_t     back_blue; /**<  */
  3592. } xcb_recolor_cursor_request_t;
  3593.  
  3594. typedef enum xcb_query_shape_of_t {
  3595.     XCB_QUERY_SHAPE_OF_LARGEST_CURSOR = 0,
  3596.     XCB_QUERY_SHAPE_OF_FASTEST_TILE = 1,
  3597.     XCB_QUERY_SHAPE_OF_FASTEST_STIPPLE = 2
  3598. } xcb_query_shape_of_t;
  3599.  
  3600. /**
  3601.  * @brief xcb_query_best_size_cookie_t
  3602.  **/
  3603. typedef struct xcb_query_best_size_cookie_t {
  3604.     unsigned int sequence; /**<  */
  3605. } xcb_query_best_size_cookie_t;
  3606.  
  3607. /** Opcode for xcb_query_best_size. */
  3608. #define XCB_QUERY_BEST_SIZE 97
  3609.  
  3610. /**
  3611.  * @brief xcb_query_best_size_request_t
  3612.  **/
  3613. typedef struct xcb_query_best_size_request_t {
  3614.     uint8_t        major_opcode; /**<  */
  3615.     uint8_t        _class; /**<  */
  3616.     uint16_t       length; /**<  */
  3617.     xcb_drawable_t drawable; /**<  */
  3618.     uint16_t       width; /**<  */
  3619.     uint16_t       height; /**<  */
  3620. } xcb_query_best_size_request_t;
  3621.  
  3622. /**
  3623.  * @brief xcb_query_best_size_reply_t
  3624.  **/
  3625. typedef struct xcb_query_best_size_reply_t {
  3626.     uint8_t  response_type; /**<  */
  3627.     uint8_t  pad0; /**<  */
  3628.     uint16_t sequence; /**<  */
  3629.     uint32_t length; /**<  */
  3630.     uint16_t width; /**<  */
  3631.     uint16_t height; /**<  */
  3632. } xcb_query_best_size_reply_t;
  3633.  
  3634. /**
  3635.  * @brief xcb_query_extension_cookie_t
  3636.  **/
  3637. typedef struct xcb_query_extension_cookie_t {
  3638.     unsigned int sequence; /**<  */
  3639. } xcb_query_extension_cookie_t;
  3640.  
  3641. /** Opcode for xcb_query_extension. */
  3642. #define XCB_QUERY_EXTENSION 98
  3643.  
  3644. /**
  3645.  * @brief xcb_query_extension_request_t
  3646.  **/
  3647. typedef struct xcb_query_extension_request_t {
  3648.     uint8_t  major_opcode; /**<  */
  3649.     uint8_t  pad0; /**<  */
  3650.     uint16_t length; /**<  */
  3651.     uint16_t name_len; /**<  */
  3652. } xcb_query_extension_request_t;
  3653.  
  3654. /**
  3655.  * @brief xcb_query_extension_reply_t
  3656.  **/
  3657. typedef struct xcb_query_extension_reply_t {
  3658.     uint8_t  response_type; /**<  */
  3659.     uint8_t  pad0; /**<  */
  3660.     uint16_t sequence; /**<  */
  3661.     uint32_t length; /**<  */
  3662.     uint8_t  present; /**<  */
  3663.     uint8_t  major_opcode; /**<  */
  3664.     uint8_t  first_event; /**<  */
  3665.     uint8_t  first_error; /**<  */
  3666. } xcb_query_extension_reply_t;
  3667.  
  3668. /**
  3669.  * @brief xcb_list_extensions_cookie_t
  3670.  **/
  3671. typedef struct xcb_list_extensions_cookie_t {
  3672.     unsigned int sequence; /**<  */
  3673. } xcb_list_extensions_cookie_t;
  3674.  
  3675. /** Opcode for xcb_list_extensions. */
  3676. #define XCB_LIST_EXTENSIONS 99
  3677.  
  3678. /**
  3679.  * @brief xcb_list_extensions_request_t
  3680.  **/
  3681. typedef struct xcb_list_extensions_request_t {
  3682.     uint8_t  major_opcode; /**<  */
  3683.     uint8_t  pad0; /**<  */
  3684.     uint16_t length; /**<  */
  3685. } xcb_list_extensions_request_t;
  3686.  
  3687. /**
  3688.  * @brief xcb_list_extensions_reply_t
  3689.  **/
  3690. typedef struct xcb_list_extensions_reply_t {
  3691.     uint8_t  response_type; /**<  */
  3692.     uint8_t  names_len; /**<  */
  3693.     uint16_t sequence; /**<  */
  3694.     uint32_t length; /**<  */
  3695.     uint8_t  pad0[24]; /**<  */
  3696. } xcb_list_extensions_reply_t;
  3697.  
  3698. /** Opcode for xcb_change_keyboard_mapping. */
  3699. #define XCB_CHANGE_KEYBOARD_MAPPING 100
  3700.  
  3701. /**
  3702.  * @brief xcb_change_keyboard_mapping_request_t
  3703.  **/
  3704. typedef struct xcb_change_keyboard_mapping_request_t {
  3705.     uint8_t       major_opcode; /**<  */
  3706.     uint8_t       keycode_count; /**<  */
  3707.     uint16_t      length; /**<  */
  3708.     xcb_keycode_t first_keycode; /**<  */
  3709.     uint8_t       keysyms_per_keycode; /**<  */
  3710. } xcb_change_keyboard_mapping_request_t;
  3711.  
  3712. /**
  3713.  * @brief xcb_get_keyboard_mapping_cookie_t
  3714.  **/
  3715. typedef struct xcb_get_keyboard_mapping_cookie_t {
  3716.     unsigned int sequence; /**<  */
  3717. } xcb_get_keyboard_mapping_cookie_t;
  3718.  
  3719. /** Opcode for xcb_get_keyboard_mapping. */
  3720. #define XCB_GET_KEYBOARD_MAPPING 101
  3721.  
  3722. /**
  3723.  * @brief xcb_get_keyboard_mapping_request_t
  3724.  **/
  3725. typedef struct xcb_get_keyboard_mapping_request_t {
  3726.     uint8_t       major_opcode; /**<  */
  3727.     uint8_t       pad0; /**<  */
  3728.     uint16_t      length; /**<  */
  3729.     xcb_keycode_t first_keycode; /**<  */
  3730.     uint8_t       count; /**<  */
  3731. } xcb_get_keyboard_mapping_request_t;
  3732.  
  3733. /**
  3734.  * @brief xcb_get_keyboard_mapping_reply_t
  3735.  **/
  3736. typedef struct xcb_get_keyboard_mapping_reply_t {
  3737.     uint8_t  response_type; /**<  */
  3738.     uint8_t  keysyms_per_keycode; /**<  */
  3739.     uint16_t sequence; /**<  */
  3740.     uint32_t length; /**<  */
  3741.     uint8_t  pad0[24]; /**<  */
  3742. } xcb_get_keyboard_mapping_reply_t;
  3743.  
  3744. typedef enum xcb_kb_t {
  3745.     XCB_KB_KEY_CLICK_PERCENT = (1 << 0),
  3746.     XCB_KB_BELL_PERCENT = (1 << 1),
  3747.     XCB_KB_BELL_PITCH = (1 << 2),
  3748.     XCB_KB_BELL_DURATION = (1 << 3),
  3749.     XCB_KB_LED = (1 << 4),
  3750.     XCB_KB_LED_MODE = (1 << 5),
  3751.     XCB_KB_KEY = (1 << 6),
  3752.     XCB_KB_AUTO_REPEAT_MODE = (1 << 7)
  3753. } xcb_kb_t;
  3754.  
  3755. typedef enum xcb_led_mode_t {
  3756.     XCB_LED_MODE_OFF = 0,
  3757.     XCB_LED_MODE_ON = 1
  3758. } xcb_led_mode_t;
  3759.  
  3760. typedef enum xcb_auto_repeat_mode_t {
  3761.     XCB_AUTO_REPEAT_MODE_OFF = 0,
  3762.     XCB_AUTO_REPEAT_MODE_ON = 1,
  3763.     XCB_AUTO_REPEAT_MODE_DEFAULT = 2
  3764. } xcb_auto_repeat_mode_t;
  3765.  
  3766. /** Opcode for xcb_change_keyboard_control. */
  3767. #define XCB_CHANGE_KEYBOARD_CONTROL 102
  3768.  
  3769. /**
  3770.  * @brief xcb_change_keyboard_control_request_t
  3771.  **/
  3772. typedef struct xcb_change_keyboard_control_request_t {
  3773.     uint8_t  major_opcode; /**<  */
  3774.     uint8_t  pad0; /**<  */
  3775.     uint16_t length; /**<  */
  3776.     uint32_t value_mask; /**<  */
  3777. } xcb_change_keyboard_control_request_t;
  3778.  
  3779. /**
  3780.  * @brief xcb_get_keyboard_control_cookie_t
  3781.  **/
  3782. typedef struct xcb_get_keyboard_control_cookie_t {
  3783.     unsigned int sequence; /**<  */
  3784. } xcb_get_keyboard_control_cookie_t;
  3785.  
  3786. /** Opcode for xcb_get_keyboard_control. */
  3787. #define XCB_GET_KEYBOARD_CONTROL 103
  3788.  
  3789. /**
  3790.  * @brief xcb_get_keyboard_control_request_t
  3791.  **/
  3792. typedef struct xcb_get_keyboard_control_request_t {
  3793.     uint8_t  major_opcode; /**<  */
  3794.     uint8_t  pad0; /**<  */
  3795.     uint16_t length; /**<  */
  3796. } xcb_get_keyboard_control_request_t;
  3797.  
  3798. /**
  3799.  * @brief xcb_get_keyboard_control_reply_t
  3800.  **/
  3801. typedef struct xcb_get_keyboard_control_reply_t {
  3802.     uint8_t  response_type; /**<  */
  3803.     uint8_t  global_auto_repeat; /**<  */
  3804.     uint16_t sequence; /**<  */
  3805.     uint32_t length; /**<  */
  3806.     uint32_t led_mask; /**<  */
  3807.     uint8_t  key_click_percent; /**<  */
  3808.     uint8_t  bell_percent; /**<  */
  3809.     uint16_t bell_pitch; /**<  */
  3810.     uint16_t bell_duration; /**<  */
  3811.     uint8_t  pad0[2]; /**<  */
  3812.     uint8_t  auto_repeats[32]; /**<  */
  3813. } xcb_get_keyboard_control_reply_t;
  3814.  
  3815. /** Opcode for xcb_bell. */
  3816. #define XCB_BELL 104
  3817.  
  3818. /**
  3819.  * @brief xcb_bell_request_t
  3820.  **/
  3821. typedef struct xcb_bell_request_t {
  3822.     uint8_t  major_opcode; /**<  */
  3823.     int8_t   percent; /**<  */
  3824.     uint16_t length; /**<  */
  3825. } xcb_bell_request_t;
  3826.  
  3827. /** Opcode for xcb_change_pointer_control. */
  3828. #define XCB_CHANGE_POINTER_CONTROL 105
  3829.  
  3830. /**
  3831.  * @brief xcb_change_pointer_control_request_t
  3832.  **/
  3833. typedef struct xcb_change_pointer_control_request_t {
  3834.     uint8_t  major_opcode; /**<  */
  3835.     uint8_t  pad0; /**<  */
  3836.     uint16_t length; /**<  */
  3837.     int16_t  acceleration_numerator; /**<  */
  3838.     int16_t  acceleration_denominator; /**<  */
  3839.     int16_t  threshold; /**<  */
  3840.     uint8_t  do_acceleration; /**<  */
  3841.     uint8_t  do_threshold; /**<  */
  3842. } xcb_change_pointer_control_request_t;
  3843.  
  3844. /**
  3845.  * @brief xcb_get_pointer_control_cookie_t
  3846.  **/
  3847. typedef struct xcb_get_pointer_control_cookie_t {
  3848.     unsigned int sequence; /**<  */
  3849. } xcb_get_pointer_control_cookie_t;
  3850.  
  3851. /** Opcode for xcb_get_pointer_control. */
  3852. #define XCB_GET_POINTER_CONTROL 106
  3853.  
  3854. /**
  3855.  * @brief xcb_get_pointer_control_request_t
  3856.  **/
  3857. typedef struct xcb_get_pointer_control_request_t {
  3858.     uint8_t  major_opcode; /**<  */
  3859.     uint8_t  pad0; /**<  */
  3860.     uint16_t length; /**<  */
  3861. } xcb_get_pointer_control_request_t;
  3862.  
  3863. /**
  3864.  * @brief xcb_get_pointer_control_reply_t
  3865.  **/
  3866. typedef struct xcb_get_pointer_control_reply_t {
  3867.     uint8_t  response_type; /**<  */
  3868.     uint8_t  pad0; /**<  */
  3869.     uint16_t sequence; /**<  */
  3870.     uint32_t length; /**<  */
  3871.     uint16_t acceleration_numerator; /**<  */
  3872.     uint16_t acceleration_denominator; /**<  */
  3873.     uint16_t threshold; /**<  */
  3874. } xcb_get_pointer_control_reply_t;
  3875.  
  3876. typedef enum xcb_blanking_t {
  3877.     XCB_BLANKING_NOT_PREFERRED = 0,
  3878.     XCB_BLANKING_PREFERRED = 1,
  3879.     XCB_BLANKING_DEFAULT = 2
  3880. } xcb_blanking_t;
  3881.  
  3882. typedef enum xcb_exposures_t {
  3883.     XCB_EXPOSURES_NOT_ALLOWED = 0,
  3884.     XCB_EXPOSURES_ALLOWED = 1,
  3885.     XCB_EXPOSURES_DEFAULT = 2
  3886. } xcb_exposures_t;
  3887.  
  3888. /** Opcode for xcb_set_screen_saver. */
  3889. #define XCB_SET_SCREEN_SAVER 107
  3890.  
  3891. /**
  3892.  * @brief xcb_set_screen_saver_request_t
  3893.  **/
  3894. typedef struct xcb_set_screen_saver_request_t {
  3895.     uint8_t  major_opcode; /**<  */
  3896.     uint8_t  pad0; /**<  */
  3897.     uint16_t length; /**<  */
  3898.     int16_t  timeout; /**<  */
  3899.     int16_t  interval; /**<  */
  3900.     uint8_t  prefer_blanking; /**<  */
  3901.     uint8_t  allow_exposures; /**<  */
  3902. } xcb_set_screen_saver_request_t;
  3903.  
  3904. /**
  3905.  * @brief xcb_get_screen_saver_cookie_t
  3906.  **/
  3907. typedef struct xcb_get_screen_saver_cookie_t {
  3908.     unsigned int sequence; /**<  */
  3909. } xcb_get_screen_saver_cookie_t;
  3910.  
  3911. /** Opcode for xcb_get_screen_saver. */
  3912. #define XCB_GET_SCREEN_SAVER 108
  3913.  
  3914. /**
  3915.  * @brief xcb_get_screen_saver_request_t
  3916.  **/
  3917. typedef struct xcb_get_screen_saver_request_t {
  3918.     uint8_t  major_opcode; /**<  */
  3919.     uint8_t  pad0; /**<  */
  3920.     uint16_t length; /**<  */
  3921. } xcb_get_screen_saver_request_t;
  3922.  
  3923. /**
  3924.  * @brief xcb_get_screen_saver_reply_t
  3925.  **/
  3926. typedef struct xcb_get_screen_saver_reply_t {
  3927.     uint8_t  response_type; /**<  */
  3928.     uint8_t  pad0; /**<  */
  3929.     uint16_t sequence; /**<  */
  3930.     uint32_t length; /**<  */
  3931.     uint16_t timeout; /**<  */
  3932.     uint16_t interval; /**<  */
  3933.     uint8_t  prefer_blanking; /**<  */
  3934.     uint8_t  allow_exposures; /**<  */
  3935. } xcb_get_screen_saver_reply_t;
  3936.  
  3937. typedef enum xcb_host_mode_t {
  3938.     XCB_HOST_MODE_INSERT = 0,
  3939.     XCB_HOST_MODE_DELETE = 1
  3940. } xcb_host_mode_t;
  3941.  
  3942. typedef enum xcb_family_t {
  3943.     XCB_FAMILY_INTERNET = 0,
  3944.     XCB_FAMILY_DECNET = 1,
  3945.     XCB_FAMILY_CHAOS = 2,
  3946.     XCB_FAMILY_SERVER_INTERPRETED = 5,
  3947.     XCB_FAMILY_INTERNET_6 = 6
  3948. } xcb_family_t;
  3949.  
  3950. /** Opcode for xcb_change_hosts. */
  3951. #define XCB_CHANGE_HOSTS 109
  3952.  
  3953. /**
  3954.  * @brief xcb_change_hosts_request_t
  3955.  **/
  3956. typedef struct xcb_change_hosts_request_t {
  3957.     uint8_t  major_opcode; /**<  */
  3958.     uint8_t  mode; /**<  */
  3959.     uint16_t length; /**<  */
  3960.     uint8_t  family; /**<  */
  3961.     uint8_t  pad0; /**<  */
  3962.     uint16_t address_len; /**<  */
  3963. } xcb_change_hosts_request_t;
  3964.  
  3965. /**
  3966.  * @brief xcb_host_t
  3967.  **/
  3968. typedef struct xcb_host_t {
  3969.     uint8_t  family; /**<  */
  3970.     uint8_t  pad0; /**<  */
  3971.     uint16_t address_len; /**<  */
  3972. } xcb_host_t;
  3973.  
  3974. /**
  3975.  * @brief xcb_host_iterator_t
  3976.  **/
  3977. typedef struct xcb_host_iterator_t {
  3978.     xcb_host_t *data; /**<  */
  3979.     int         rem; /**<  */
  3980.     int         index; /**<  */
  3981. } xcb_host_iterator_t;
  3982.  
  3983. /**
  3984.  * @brief xcb_list_hosts_cookie_t
  3985.  **/
  3986. typedef struct xcb_list_hosts_cookie_t {
  3987.     unsigned int sequence; /**<  */
  3988. } xcb_list_hosts_cookie_t;
  3989.  
  3990. /** Opcode for xcb_list_hosts. */
  3991. #define XCB_LIST_HOSTS 110
  3992.  
  3993. /**
  3994.  * @brief xcb_list_hosts_request_t
  3995.  **/
  3996. typedef struct xcb_list_hosts_request_t {
  3997.     uint8_t  major_opcode; /**<  */
  3998.     uint8_t  pad0; /**<  */
  3999.     uint16_t length; /**<  */
  4000. } xcb_list_hosts_request_t;
  4001.  
  4002. /**
  4003.  * @brief xcb_list_hosts_reply_t
  4004.  **/
  4005. typedef struct xcb_list_hosts_reply_t {
  4006.     uint8_t  response_type; /**<  */
  4007.     uint8_t  mode; /**<  */
  4008.     uint16_t sequence; /**<  */
  4009.     uint32_t length; /**<  */
  4010.     uint16_t hosts_len; /**<  */
  4011.     uint8_t  pad0[22]; /**<  */
  4012. } xcb_list_hosts_reply_t;
  4013.  
  4014. typedef enum xcb_access_control_t {
  4015.     XCB_ACCESS_CONTROL_DISABLE = 0,
  4016.     XCB_ACCESS_CONTROL_ENABLE = 1
  4017. } xcb_access_control_t;
  4018.  
  4019. /** Opcode for xcb_set_access_control. */
  4020. #define XCB_SET_ACCESS_CONTROL 111
  4021.  
  4022. /**
  4023.  * @brief xcb_set_access_control_request_t
  4024.  **/
  4025. typedef struct xcb_set_access_control_request_t {
  4026.     uint8_t  major_opcode; /**<  */
  4027.     uint8_t  mode; /**<  */
  4028.     uint16_t length; /**<  */
  4029. } xcb_set_access_control_request_t;
  4030.  
  4031. typedef enum xcb_close_down_t {
  4032.     XCB_CLOSE_DOWN_DESTROY_ALL = 0,
  4033.     XCB_CLOSE_DOWN_RETAIN_PERMANENT = 1,
  4034.     XCB_CLOSE_DOWN_RETAIN_TEMPORARY = 2
  4035. } xcb_close_down_t;
  4036.  
  4037. /** Opcode for xcb_set_close_down_mode. */
  4038. #define XCB_SET_CLOSE_DOWN_MODE 112
  4039.  
  4040. /**
  4041.  * @brief xcb_set_close_down_mode_request_t
  4042.  **/
  4043. typedef struct xcb_set_close_down_mode_request_t {
  4044.     uint8_t  major_opcode; /**<  */
  4045.     uint8_t  mode; /**<  */
  4046.     uint16_t length; /**<  */
  4047. } xcb_set_close_down_mode_request_t;
  4048.  
  4049. typedef enum xcb_kill_t {
  4050.     XCB_KILL_ALL_TEMPORARY = 0
  4051. } xcb_kill_t;
  4052.  
  4053. /** Opcode for xcb_kill_client. */
  4054. #define XCB_KILL_CLIENT 113
  4055.  
  4056. /**
  4057.  * @brief xcb_kill_client_request_t
  4058.  **/
  4059. typedef struct xcb_kill_client_request_t {
  4060.     uint8_t  major_opcode; /**<  */
  4061.     uint8_t  pad0; /**<  */
  4062.     uint16_t length; /**<  */
  4063.     uint32_t resource; /**<  */
  4064. } xcb_kill_client_request_t;
  4065.  
  4066. /** Opcode for xcb_rotate_properties. */
  4067. #define XCB_ROTATE_PROPERTIES 114
  4068.  
  4069. /**
  4070.  * @brief xcb_rotate_properties_request_t
  4071.  **/
  4072. typedef struct xcb_rotate_properties_request_t {
  4073.     uint8_t      major_opcode; /**<  */
  4074.     xcb_window_t window; /**<  */
  4075.     uint16_t     length; /**<  */
  4076.     uint16_t     atoms_len; /**<  */
  4077.     int16_t      delta; /**<  */
  4078. } xcb_rotate_properties_request_t;
  4079.  
  4080. typedef enum xcb_screen_saver_t {
  4081.     XCB_SCREEN_SAVER_RESET = 0,
  4082.     XCB_SCREEN_SAVER_ACTIVE = 1
  4083. } xcb_screen_saver_t;
  4084.  
  4085. /** Opcode for xcb_force_screen_saver. */
  4086. #define XCB_FORCE_SCREEN_SAVER 115
  4087.  
  4088. /**
  4089.  * @brief xcb_force_screen_saver_request_t
  4090.  **/
  4091. typedef struct xcb_force_screen_saver_request_t {
  4092.     uint8_t  major_opcode; /**<  */
  4093.     uint8_t  mode; /**<  */
  4094.     uint16_t length; /**<  */
  4095. } xcb_force_screen_saver_request_t;
  4096.  
  4097. typedef enum xcb_mapping_status_t {
  4098.     XCB_MAPPING_STATUS_SUCCESS = 0,
  4099.     XCB_MAPPING_STATUS_BUSY = 1,
  4100.     XCB_MAPPING_STATUS_FAILURE = 2
  4101. } xcb_mapping_status_t;
  4102.  
  4103. /**
  4104.  * @brief xcb_set_pointer_mapping_cookie_t
  4105.  **/
  4106. typedef struct xcb_set_pointer_mapping_cookie_t {
  4107.     unsigned int sequence; /**<  */
  4108. } xcb_set_pointer_mapping_cookie_t;
  4109.  
  4110. /** Opcode for xcb_set_pointer_mapping. */
  4111. #define XCB_SET_POINTER_MAPPING 116
  4112.  
  4113. /**
  4114.  * @brief xcb_set_pointer_mapping_request_t
  4115.  **/
  4116. typedef struct xcb_set_pointer_mapping_request_t {
  4117.     uint8_t  major_opcode; /**<  */
  4118.     uint8_t  map_len; /**<  */
  4119.     uint16_t length; /**<  */
  4120. } xcb_set_pointer_mapping_request_t;
  4121.  
  4122. /**
  4123.  * @brief xcb_set_pointer_mapping_reply_t
  4124.  **/
  4125. typedef struct xcb_set_pointer_mapping_reply_t {
  4126.     uint8_t  response_type; /**<  */
  4127.     uint8_t  status; /**<  */
  4128.     uint16_t sequence; /**<  */
  4129.     uint32_t length; /**<  */
  4130. } xcb_set_pointer_mapping_reply_t;
  4131.  
  4132. /**
  4133.  * @brief xcb_get_pointer_mapping_cookie_t
  4134.  **/
  4135. typedef struct xcb_get_pointer_mapping_cookie_t {
  4136.     unsigned int sequence; /**<  */
  4137. } xcb_get_pointer_mapping_cookie_t;
  4138.  
  4139. /** Opcode for xcb_get_pointer_mapping. */
  4140. #define XCB_GET_POINTER_MAPPING 117
  4141.  
  4142. /**
  4143.  * @brief xcb_get_pointer_mapping_request_t
  4144.  **/
  4145. typedef struct xcb_get_pointer_mapping_request_t {
  4146.     uint8_t  major_opcode; /**<  */
  4147.     uint8_t  pad0; /**<  */
  4148.     uint16_t length; /**<  */
  4149. } xcb_get_pointer_mapping_request_t;
  4150.  
  4151. /**
  4152.  * @brief xcb_get_pointer_mapping_reply_t
  4153.  **/
  4154. typedef struct xcb_get_pointer_mapping_reply_t {
  4155.     uint8_t  response_type; /**<  */
  4156.     uint8_t  map_len; /**<  */
  4157.     uint16_t sequence; /**<  */
  4158.     uint32_t length; /**<  */
  4159.     uint8_t  pad0[24]; /**<  */
  4160. } xcb_get_pointer_mapping_reply_t;
  4161.  
  4162. typedef enum xcb_map_index_t {
  4163.     XCB_MAP_INDEX_SHIFT = 0,
  4164.     XCB_MAP_INDEX_LOCK = 1,
  4165.     XCB_MAP_INDEX_CONTROL = 2,
  4166.     XCB_MAP_INDEX_1 = 3,
  4167.     XCB_MAP_INDEX_2 = 4,
  4168.     XCB_MAP_INDEX_3 = 5,
  4169.     XCB_MAP_INDEX_4 = 6,
  4170.     XCB_MAP_INDEX_5 = 7
  4171. } xcb_map_index_t;
  4172.  
  4173. /**
  4174.  * @brief xcb_set_modifier_mapping_cookie_t
  4175.  **/
  4176. typedef struct xcb_set_modifier_mapping_cookie_t {
  4177.     unsigned int sequence; /**<  */
  4178. } xcb_set_modifier_mapping_cookie_t;
  4179.  
  4180. /** Opcode for xcb_set_modifier_mapping. */
  4181. #define XCB_SET_MODIFIER_MAPPING 118
  4182.  
  4183. /**
  4184.  * @brief xcb_set_modifier_mapping_request_t
  4185.  **/
  4186. typedef struct xcb_set_modifier_mapping_request_t {
  4187.     uint8_t  major_opcode; /**<  */
  4188.     uint8_t  keycodes_per_modifier; /**<  */
  4189.     uint16_t length; /**<  */
  4190. } xcb_set_modifier_mapping_request_t;
  4191.  
  4192. /**
  4193.  * @brief xcb_set_modifier_mapping_reply_t
  4194.  **/
  4195. typedef struct xcb_set_modifier_mapping_reply_t {
  4196.     uint8_t  response_type; /**<  */
  4197.     uint8_t  status; /**<  */
  4198.     uint16_t sequence; /**<  */
  4199.     uint32_t length; /**<  */
  4200. } xcb_set_modifier_mapping_reply_t;
  4201.  
  4202. /**
  4203.  * @brief xcb_get_modifier_mapping_cookie_t
  4204.  **/
  4205. typedef struct xcb_get_modifier_mapping_cookie_t {
  4206.     unsigned int sequence; /**<  */
  4207. } xcb_get_modifier_mapping_cookie_t;
  4208.  
  4209. /** Opcode for xcb_get_modifier_mapping. */
  4210. #define XCB_GET_MODIFIER_MAPPING 119
  4211.  
  4212. /**
  4213.  * @brief xcb_get_modifier_mapping_request_t
  4214.  **/
  4215. typedef struct xcb_get_modifier_mapping_request_t {
  4216.     uint8_t  major_opcode; /**<  */
  4217.     uint8_t  pad0; /**<  */
  4218.     uint16_t length; /**<  */
  4219. } xcb_get_modifier_mapping_request_t;
  4220.  
  4221. /**
  4222.  * @brief xcb_get_modifier_mapping_reply_t
  4223.  **/
  4224. typedef struct xcb_get_modifier_mapping_reply_t {
  4225.     uint8_t  response_type; /**<  */
  4226.     uint8_t  keycodes_per_modifier; /**<  */
  4227.     uint16_t sequence; /**<  */
  4228.     uint32_t length; /**<  */
  4229.     uint8_t  pad0[24]; /**<  */
  4230. } xcb_get_modifier_mapping_reply_t;
  4231.  
  4232. /** Opcode for xcb_no_operation. */
  4233. #define XCB_NO_OPERATION 127
  4234.  
  4235. /**
  4236.  * @brief xcb_no_operation_request_t
  4237.  **/
  4238. typedef struct xcb_no_operation_request_t {
  4239.     uint8_t  major_opcode; /**<  */
  4240.     uint8_t  pad0; /**<  */
  4241.     uint16_t length; /**<  */
  4242. } xcb_no_operation_request_t;
  4243.  
  4244. /**
  4245.  * Get the next element of the iterator
  4246.  * @param i Pointer to a xcb_char2b_iterator_t
  4247.  *
  4248.  * Get the next element in the iterator. The member rem is
  4249.  * decreased by one. The member data points to the next
  4250.  * element. The member index is increased by sizeof(xcb_char2b_t)
  4251.  */
  4252.  
  4253. /*****************************************************************************
  4254.  **
  4255.  ** void xcb_char2b_next
  4256.  ** 
  4257.  ** @param xcb_char2b_iterator_t *i
  4258.  ** @returns void
  4259.  **
  4260.  *****************************************************************************/
  4261.  
  4262. void
  4263. xcb_char2b_next (xcb_char2b_iterator_t *i  /**< */);
  4264.  
  4265. /**
  4266.  * Return the iterator pointing to the last element
  4267.  * @param i An xcb_char2b_iterator_t
  4268.  * @return  The iterator pointing to the last element
  4269.  *
  4270.  * Set the current element in the iterator to the last element.
  4271.  * The member rem is set to 0. The member data points to the
  4272.  * last element.
  4273.  */
  4274.  
  4275. /*****************************************************************************
  4276.  **
  4277.  ** xcb_generic_iterator_t xcb_char2b_end
  4278.  ** 
  4279.  ** @param xcb_char2b_iterator_t i
  4280.  ** @returns xcb_generic_iterator_t
  4281.  **
  4282.  *****************************************************************************/
  4283.  
  4284. xcb_generic_iterator_t
  4285. xcb_char2b_end (xcb_char2b_iterator_t i  /**< */);
  4286.  
  4287. /**
  4288.  * Get the next element of the iterator
  4289.  * @param i Pointer to a xcb_window_iterator_t
  4290.  *
  4291.  * Get the next element in the iterator. The member rem is
  4292.  * decreased by one. The member data points to the next
  4293.  * element. The member index is increased by sizeof(xcb_window_t)
  4294.  */
  4295.  
  4296. /*****************************************************************************
  4297.  **
  4298.  ** void xcb_window_next
  4299.  ** 
  4300.  ** @param xcb_window_iterator_t *i
  4301.  ** @returns void
  4302.  **
  4303.  *****************************************************************************/
  4304.  
  4305. void
  4306. xcb_window_next (xcb_window_iterator_t *i  /**< */);
  4307.  
  4308. /**
  4309.  * Return the iterator pointing to the last element
  4310.  * @param i An xcb_window_iterator_t
  4311.  * @return  The iterator pointing to the last element
  4312.  *
  4313.  * Set the current element in the iterator to the last element.
  4314.  * The member rem is set to 0. The member data points to the
  4315.  * last element.
  4316.  */
  4317.  
  4318. /*****************************************************************************
  4319.  **
  4320.  ** xcb_generic_iterator_t xcb_window_end
  4321.  ** 
  4322.  ** @param xcb_window_iterator_t i
  4323.  ** @returns xcb_generic_iterator_t
  4324.  **
  4325.  *****************************************************************************/
  4326.  
  4327. xcb_generic_iterator_t
  4328. xcb_window_end (xcb_window_iterator_t i  /**< */);
  4329.  
  4330. /**
  4331.  * Get the next element of the iterator
  4332.  * @param i Pointer to a xcb_pixmap_iterator_t
  4333.  *
  4334.  * Get the next element in the iterator. The member rem is
  4335.  * decreased by one. The member data points to the next
  4336.  * element. The member index is increased by sizeof(xcb_pixmap_t)
  4337.  */
  4338.  
  4339. /*****************************************************************************
  4340.  **
  4341.  ** void xcb_pixmap_next
  4342.  ** 
  4343.  ** @param xcb_pixmap_iterator_t *i
  4344.  ** @returns void
  4345.  **
  4346.  *****************************************************************************/
  4347.  
  4348. void
  4349. xcb_pixmap_next (xcb_pixmap_iterator_t *i  /**< */);
  4350.  
  4351. /**
  4352.  * Return the iterator pointing to the last element
  4353.  * @param i An xcb_pixmap_iterator_t
  4354.  * @return  The iterator pointing to the last element
  4355.  *
  4356.  * Set the current element in the iterator to the last element.
  4357.  * The member rem is set to 0. The member data points to the
  4358.  * last element.
  4359.  */
  4360.  
  4361. /*****************************************************************************
  4362.  **
  4363.  ** xcb_generic_iterator_t xcb_pixmap_end
  4364.  ** 
  4365.  ** @param xcb_pixmap_iterator_t i
  4366.  ** @returns xcb_generic_iterator_t
  4367.  **
  4368.  *****************************************************************************/
  4369.  
  4370. xcb_generic_iterator_t
  4371. xcb_pixmap_end (xcb_pixmap_iterator_t i  /**< */);
  4372.  
  4373. /**
  4374.  * Get the next element of the iterator
  4375.  * @param i Pointer to a xcb_cursor_iterator_t
  4376.  *
  4377.  * Get the next element in the iterator. The member rem is
  4378.  * decreased by one. The member data points to the next
  4379.  * element. The member index is increased by sizeof(xcb_cursor_t)
  4380.  */
  4381.  
  4382. /*****************************************************************************
  4383.  **
  4384.  ** void xcb_cursor_next
  4385.  ** 
  4386.  ** @param xcb_cursor_iterator_t *i
  4387.  ** @returns void
  4388.  **
  4389.  *****************************************************************************/
  4390.  
  4391. void
  4392. xcb_cursor_next (xcb_cursor_iterator_t *i  /**< */);
  4393.  
  4394. /**
  4395.  * Return the iterator pointing to the last element
  4396.  * @param i An xcb_cursor_iterator_t
  4397.  * @return  The iterator pointing to the last element
  4398.  *
  4399.  * Set the current element in the iterator to the last element.
  4400.  * The member rem is set to 0. The member data points to the
  4401.  * last element.
  4402.  */
  4403.  
  4404. /*****************************************************************************
  4405.  **
  4406.  ** xcb_generic_iterator_t xcb_cursor_end
  4407.  ** 
  4408.  ** @param xcb_cursor_iterator_t i
  4409.  ** @returns xcb_generic_iterator_t
  4410.  **
  4411.  *****************************************************************************/
  4412.  
  4413. xcb_generic_iterator_t
  4414. xcb_cursor_end (xcb_cursor_iterator_t i  /**< */);
  4415.  
  4416. /**
  4417.  * Get the next element of the iterator
  4418.  * @param i Pointer to a xcb_font_iterator_t
  4419.  *
  4420.  * Get the next element in the iterator. The member rem is
  4421.  * decreased by one. The member data points to the next
  4422.  * element. The member index is increased by sizeof(xcb_font_t)
  4423.  */
  4424.  
  4425. /*****************************************************************************
  4426.  **
  4427.  ** void xcb_font_next
  4428.  ** 
  4429.  ** @param xcb_font_iterator_t *i
  4430.  ** @returns void
  4431.  **
  4432.  *****************************************************************************/
  4433.  
  4434. void
  4435. xcb_font_next (xcb_font_iterator_t *i  /**< */);
  4436.  
  4437. /**
  4438.  * Return the iterator pointing to the last element
  4439.  * @param i An xcb_font_iterator_t
  4440.  * @return  The iterator pointing to the last element
  4441.  *
  4442.  * Set the current element in the iterator to the last element.
  4443.  * The member rem is set to 0. The member data points to the
  4444.  * last element.
  4445.  */
  4446.  
  4447. /*****************************************************************************
  4448.  **
  4449.  ** xcb_generic_iterator_t xcb_font_end
  4450.  ** 
  4451.  ** @param xcb_font_iterator_t i
  4452.  ** @returns xcb_generic_iterator_t
  4453.  **
  4454.  *****************************************************************************/
  4455.  
  4456. xcb_generic_iterator_t
  4457. xcb_font_end (xcb_font_iterator_t i  /**< */);
  4458.  
  4459. /**
  4460.  * Get the next element of the iterator
  4461.  * @param i Pointer to a xcb_gcontext_iterator_t
  4462.  *
  4463.  * Get the next element in the iterator. The member rem is
  4464.  * decreased by one. The member data points to the next
  4465.  * element. The member index is increased by sizeof(xcb_gcontext_t)
  4466.  */
  4467.  
  4468. /*****************************************************************************
  4469.  **
  4470.  ** void xcb_gcontext_next
  4471.  ** 
  4472.  ** @param xcb_gcontext_iterator_t *i
  4473.  ** @returns void
  4474.  **
  4475.  *****************************************************************************/
  4476.  
  4477. void
  4478. xcb_gcontext_next (xcb_gcontext_iterator_t *i  /**< */);
  4479.  
  4480. /**
  4481.  * Return the iterator pointing to the last element
  4482.  * @param i An xcb_gcontext_iterator_t
  4483.  * @return  The iterator pointing to the last element
  4484.  *
  4485.  * Set the current element in the iterator to the last element.
  4486.  * The member rem is set to 0. The member data points to the
  4487.  * last element.
  4488.  */
  4489.  
  4490. /*****************************************************************************
  4491.  **
  4492.  ** xcb_generic_iterator_t xcb_gcontext_end
  4493.  ** 
  4494.  ** @param xcb_gcontext_iterator_t i
  4495.  ** @returns xcb_generic_iterator_t
  4496.  **
  4497.  *****************************************************************************/
  4498.  
  4499. xcb_generic_iterator_t
  4500. xcb_gcontext_end (xcb_gcontext_iterator_t i  /**< */);
  4501.  
  4502. /**
  4503.  * Get the next element of the iterator
  4504.  * @param i Pointer to a xcb_colormap_iterator_t
  4505.  *
  4506.  * Get the next element in the iterator. The member rem is
  4507.  * decreased by one. The member data points to the next
  4508.  * element. The member index is increased by sizeof(xcb_colormap_t)
  4509.  */
  4510.  
  4511. /*****************************************************************************
  4512.  **
  4513.  ** void xcb_colormap_next
  4514.  ** 
  4515.  ** @param xcb_colormap_iterator_t *i
  4516.  ** @returns void
  4517.  **
  4518.  *****************************************************************************/
  4519.  
  4520. void
  4521. xcb_colormap_next (xcb_colormap_iterator_t *i  /**< */);
  4522.  
  4523. /**
  4524.  * Return the iterator pointing to the last element
  4525.  * @param i An xcb_colormap_iterator_t
  4526.  * @return  The iterator pointing to the last element
  4527.  *
  4528.  * Set the current element in the iterator to the last element.
  4529.  * The member rem is set to 0. The member data points to the
  4530.  * last element.
  4531.  */
  4532.  
  4533. /*****************************************************************************
  4534.  **
  4535.  ** xcb_generic_iterator_t xcb_colormap_end
  4536.  ** 
  4537.  ** @param xcb_colormap_iterator_t i
  4538.  ** @returns xcb_generic_iterator_t
  4539.  **
  4540.  *****************************************************************************/
  4541.  
  4542. xcb_generic_iterator_t
  4543. xcb_colormap_end (xcb_colormap_iterator_t i  /**< */);
  4544.  
  4545. /**
  4546.  * Get the next element of the iterator
  4547.  * @param i Pointer to a xcb_atom_iterator_t
  4548.  *
  4549.  * Get the next element in the iterator. The member rem is
  4550.  * decreased by one. The member data points to the next
  4551.  * element. The member index is increased by sizeof(xcb_atom_t)
  4552.  */
  4553.  
  4554. /*****************************************************************************
  4555.  **
  4556.  ** void xcb_atom_next
  4557.  ** 
  4558.  ** @param xcb_atom_iterator_t *i
  4559.  ** @returns void
  4560.  **
  4561.  *****************************************************************************/
  4562.  
  4563. void
  4564. xcb_atom_next (xcb_atom_iterator_t *i  /**< */);
  4565.  
  4566. /**
  4567.  * Return the iterator pointing to the last element
  4568.  * @param i An xcb_atom_iterator_t
  4569.  * @return  The iterator pointing to the last element
  4570.  *
  4571.  * Set the current element in the iterator to the last element.
  4572.  * The member rem is set to 0. The member data points to the
  4573.  * last element.
  4574.  */
  4575.  
  4576. /*****************************************************************************
  4577.  **
  4578.  ** xcb_generic_iterator_t xcb_atom_end
  4579.  ** 
  4580.  ** @param xcb_atom_iterator_t i
  4581.  ** @returns xcb_generic_iterator_t
  4582.  **
  4583.  *****************************************************************************/
  4584.  
  4585. xcb_generic_iterator_t
  4586. xcb_atom_end (xcb_atom_iterator_t i  /**< */);
  4587.  
  4588. /**
  4589.  * Get the next element of the iterator
  4590.  * @param i Pointer to a xcb_drawable_iterator_t
  4591.  *
  4592.  * Get the next element in the iterator. The member rem is
  4593.  * decreased by one. The member data points to the next
  4594.  * element. The member index is increased by sizeof(xcb_drawable_t)
  4595.  */
  4596.  
  4597. /*****************************************************************************
  4598.  **
  4599.  ** void xcb_drawable_next
  4600.  ** 
  4601.  ** @param xcb_drawable_iterator_t *i
  4602.  ** @returns void
  4603.  **
  4604.  *****************************************************************************/
  4605.  
  4606. void
  4607. xcb_drawable_next (xcb_drawable_iterator_t *i  /**< */);
  4608.  
  4609. /**
  4610.  * Return the iterator pointing to the last element
  4611.  * @param i An xcb_drawable_iterator_t
  4612.  * @return  The iterator pointing to the last element
  4613.  *
  4614.  * Set the current element in the iterator to the last element.
  4615.  * The member rem is set to 0. The member data points to the
  4616.  * last element.
  4617.  */
  4618.  
  4619. /*****************************************************************************
  4620.  **
  4621.  ** xcb_generic_iterator_t xcb_drawable_end
  4622.  ** 
  4623.  ** @param xcb_drawable_iterator_t i
  4624.  ** @returns xcb_generic_iterator_t
  4625.  **
  4626.  *****************************************************************************/
  4627.  
  4628. xcb_generic_iterator_t
  4629. xcb_drawable_end (xcb_drawable_iterator_t i  /**< */);
  4630.  
  4631. /**
  4632.  * Get the next element of the iterator
  4633.  * @param i Pointer to a xcb_fontable_iterator_t
  4634.  *
  4635.  * Get the next element in the iterator. The member rem is
  4636.  * decreased by one. The member data points to the next
  4637.  * element. The member index is increased by sizeof(xcb_fontable_t)
  4638.  */
  4639.  
  4640. /*****************************************************************************
  4641.  **
  4642.  ** void xcb_fontable_next
  4643.  ** 
  4644.  ** @param xcb_fontable_iterator_t *i
  4645.  ** @returns void
  4646.  **
  4647.  *****************************************************************************/
  4648.  
  4649. void
  4650. xcb_fontable_next (xcb_fontable_iterator_t *i  /**< */);
  4651.  
  4652. /**
  4653.  * Return the iterator pointing to the last element
  4654.  * @param i An xcb_fontable_iterator_t
  4655.  * @return  The iterator pointing to the last element
  4656.  *
  4657.  * Set the current element in the iterator to the last element.
  4658.  * The member rem is set to 0. The member data points to the
  4659.  * last element.
  4660.  */
  4661.  
  4662. /*****************************************************************************
  4663.  **
  4664.  ** xcb_generic_iterator_t xcb_fontable_end
  4665.  ** 
  4666.  ** @param xcb_fontable_iterator_t i
  4667.  ** @returns xcb_generic_iterator_t
  4668.  **
  4669.  *****************************************************************************/
  4670.  
  4671. xcb_generic_iterator_t
  4672. xcb_fontable_end (xcb_fontable_iterator_t i  /**< */);
  4673.  
  4674. /**
  4675.  * Get the next element of the iterator
  4676.  * @param i Pointer to a xcb_visualid_iterator_t
  4677.  *
  4678.  * Get the next element in the iterator. The member rem is
  4679.  * decreased by one. The member data points to the next
  4680.  * element. The member index is increased by sizeof(xcb_visualid_t)
  4681.  */
  4682.  
  4683. /*****************************************************************************
  4684.  **
  4685.  ** void xcb_visualid_next
  4686.  ** 
  4687.  ** @param xcb_visualid_iterator_t *i
  4688.  ** @returns void
  4689.  **
  4690.  *****************************************************************************/
  4691.  
  4692. void
  4693. xcb_visualid_next (xcb_visualid_iterator_t *i  /**< */);
  4694.  
  4695. /**
  4696.  * Return the iterator pointing to the last element
  4697.  * @param i An xcb_visualid_iterator_t
  4698.  * @return  The iterator pointing to the last element
  4699.  *
  4700.  * Set the current element in the iterator to the last element.
  4701.  * The member rem is set to 0. The member data points to the
  4702.  * last element.
  4703.  */
  4704.  
  4705. /*****************************************************************************
  4706.  **
  4707.  ** xcb_generic_iterator_t xcb_visualid_end
  4708.  ** 
  4709.  ** @param xcb_visualid_iterator_t i
  4710.  ** @returns xcb_generic_iterator_t
  4711.  **
  4712.  *****************************************************************************/
  4713.  
  4714. xcb_generic_iterator_t
  4715. xcb_visualid_end (xcb_visualid_iterator_t i  /**< */);
  4716.  
  4717. /**
  4718.  * Get the next element of the iterator
  4719.  * @param i Pointer to a xcb_timestamp_iterator_t
  4720.  *
  4721.  * Get the next element in the iterator. The member rem is
  4722.  * decreased by one. The member data points to the next
  4723.  * element. The member index is increased by sizeof(xcb_timestamp_t)
  4724.  */
  4725.  
  4726. /*****************************************************************************
  4727.  **
  4728.  ** void xcb_timestamp_next
  4729.  ** 
  4730.  ** @param xcb_timestamp_iterator_t *i
  4731.  ** @returns void
  4732.  **
  4733.  *****************************************************************************/
  4734.  
  4735. void
  4736. xcb_timestamp_next (xcb_timestamp_iterator_t *i  /**< */);
  4737.  
  4738. /**
  4739.  * Return the iterator pointing to the last element
  4740.  * @param i An xcb_timestamp_iterator_t
  4741.  * @return  The iterator pointing to the last element
  4742.  *
  4743.  * Set the current element in the iterator to the last element.
  4744.  * The member rem is set to 0. The member data points to the
  4745.  * last element.
  4746.  */
  4747.  
  4748. /*****************************************************************************
  4749.  **
  4750.  ** xcb_generic_iterator_t xcb_timestamp_end
  4751.  ** 
  4752.  ** @param xcb_timestamp_iterator_t i
  4753.  ** @returns xcb_generic_iterator_t
  4754.  **
  4755.  *****************************************************************************/
  4756.  
  4757. xcb_generic_iterator_t
  4758. xcb_timestamp_end (xcb_timestamp_iterator_t i  /**< */);
  4759.  
  4760. /**
  4761.  * Get the next element of the iterator
  4762.  * @param i Pointer to a xcb_keysym_iterator_t
  4763.  *
  4764.  * Get the next element in the iterator. The member rem is
  4765.  * decreased by one. The member data points to the next
  4766.  * element. The member index is increased by sizeof(xcb_keysym_t)
  4767.  */
  4768.  
  4769. /*****************************************************************************
  4770.  **
  4771.  ** void xcb_keysym_next
  4772.  ** 
  4773.  ** @param xcb_keysym_iterator_t *i
  4774.  ** @returns void
  4775.  **
  4776.  *****************************************************************************/
  4777.  
  4778. void
  4779. xcb_keysym_next (xcb_keysym_iterator_t *i  /**< */);
  4780.  
  4781. /**
  4782.  * Return the iterator pointing to the last element
  4783.  * @param i An xcb_keysym_iterator_t
  4784.  * @return  The iterator pointing to the last element
  4785.  *
  4786.  * Set the current element in the iterator to the last element.
  4787.  * The member rem is set to 0. The member data points to the
  4788.  * last element.
  4789.  */
  4790.  
  4791. /*****************************************************************************
  4792.  **
  4793.  ** xcb_generic_iterator_t xcb_keysym_end
  4794.  ** 
  4795.  ** @param xcb_keysym_iterator_t i
  4796.  ** @returns xcb_generic_iterator_t
  4797.  **
  4798.  *****************************************************************************/
  4799.  
  4800. xcb_generic_iterator_t
  4801. xcb_keysym_end (xcb_keysym_iterator_t i  /**< */);
  4802.  
  4803. /**
  4804.  * Get the next element of the iterator
  4805.  * @param i Pointer to a xcb_keycode_iterator_t
  4806.  *
  4807.  * Get the next element in the iterator. The member rem is
  4808.  * decreased by one. The member data points to the next
  4809.  * element. The member index is increased by sizeof(xcb_keycode_t)
  4810.  */
  4811.  
  4812. /*****************************************************************************
  4813.  **
  4814.  ** void xcb_keycode_next
  4815.  ** 
  4816.  ** @param xcb_keycode_iterator_t *i
  4817.  ** @returns void
  4818.  **
  4819.  *****************************************************************************/
  4820.  
  4821. void
  4822. xcb_keycode_next (xcb_keycode_iterator_t *i  /**< */);
  4823.  
  4824. /**
  4825.  * Return the iterator pointing to the last element
  4826.  * @param i An xcb_keycode_iterator_t
  4827.  * @return  The iterator pointing to the last element
  4828.  *
  4829.  * Set the current element in the iterator to the last element.
  4830.  * The member rem is set to 0. The member data points to the
  4831.  * last element.
  4832.  */
  4833.  
  4834. /*****************************************************************************
  4835.  **
  4836.  ** xcb_generic_iterator_t xcb_keycode_end
  4837.  ** 
  4838.  ** @param xcb_keycode_iterator_t i
  4839.  ** @returns xcb_generic_iterator_t
  4840.  **
  4841.  *****************************************************************************/
  4842.  
  4843. xcb_generic_iterator_t
  4844. xcb_keycode_end (xcb_keycode_iterator_t i  /**< */);
  4845.  
  4846. /**
  4847.  * Get the next element of the iterator
  4848.  * @param i Pointer to a xcb_button_iterator_t
  4849.  *
  4850.  * Get the next element in the iterator. The member rem is
  4851.  * decreased by one. The member data points to the next
  4852.  * element. The member index is increased by sizeof(xcb_button_t)
  4853.  */
  4854.  
  4855. /*****************************************************************************
  4856.  **
  4857.  ** void xcb_button_next
  4858.  ** 
  4859.  ** @param xcb_button_iterator_t *i
  4860.  ** @returns void
  4861.  **
  4862.  *****************************************************************************/
  4863.  
  4864. void
  4865. xcb_button_next (xcb_button_iterator_t *i  /**< */);
  4866.  
  4867. /**
  4868.  * Return the iterator pointing to the last element
  4869.  * @param i An xcb_button_iterator_t
  4870.  * @return  The iterator pointing to the last element
  4871.  *
  4872.  * Set the current element in the iterator to the last element.
  4873.  * The member rem is set to 0. The member data points to the
  4874.  * last element.
  4875.  */
  4876.  
  4877. /*****************************************************************************
  4878.  **
  4879.  ** xcb_generic_iterator_t xcb_button_end
  4880.  ** 
  4881.  ** @param xcb_button_iterator_t i
  4882.  ** @returns xcb_generic_iterator_t
  4883.  **
  4884.  *****************************************************************************/
  4885.  
  4886. xcb_generic_iterator_t
  4887. xcb_button_end (xcb_button_iterator_t i  /**< */);
  4888.  
  4889. /**
  4890.  * Get the next element of the iterator
  4891.  * @param i Pointer to a xcb_point_iterator_t
  4892.  *
  4893.  * Get the next element in the iterator. The member rem is
  4894.  * decreased by one. The member data points to the next
  4895.  * element. The member index is increased by sizeof(xcb_point_t)
  4896.  */
  4897.  
  4898. /*****************************************************************************
  4899.  **
  4900.  ** void xcb_point_next
  4901.  ** 
  4902.  ** @param xcb_point_iterator_t *i
  4903.  ** @returns void
  4904.  **
  4905.  *****************************************************************************/
  4906.  
  4907. void
  4908. xcb_point_next (xcb_point_iterator_t *i  /**< */);
  4909.  
  4910. /**
  4911.  * Return the iterator pointing to the last element
  4912.  * @param i An xcb_point_iterator_t
  4913.  * @return  The iterator pointing to the last element
  4914.  *
  4915.  * Set the current element in the iterator to the last element.
  4916.  * The member rem is set to 0. The member data points to the
  4917.  * last element.
  4918.  */
  4919.  
  4920. /*****************************************************************************
  4921.  **
  4922.  ** xcb_generic_iterator_t xcb_point_end
  4923.  ** 
  4924.  ** @param xcb_point_iterator_t i
  4925.  ** @returns xcb_generic_iterator_t
  4926.  **
  4927.  *****************************************************************************/
  4928.  
  4929. xcb_generic_iterator_t
  4930. xcb_point_end (xcb_point_iterator_t i  /**< */);
  4931.  
  4932. /**
  4933.  * Get the next element of the iterator
  4934.  * @param i Pointer to a xcb_rectangle_iterator_t
  4935.  *
  4936.  * Get the next element in the iterator. The member rem is
  4937.  * decreased by one. The member data points to the next
  4938.  * element. The member index is increased by sizeof(xcb_rectangle_t)
  4939.  */
  4940.  
  4941. /*****************************************************************************
  4942.  **
  4943.  ** void xcb_rectangle_next
  4944.  ** 
  4945.  ** @param xcb_rectangle_iterator_t *i
  4946.  ** @returns void
  4947.  **
  4948.  *****************************************************************************/
  4949.  
  4950. void
  4951. xcb_rectangle_next (xcb_rectangle_iterator_t *i  /**< */);
  4952.  
  4953. /**
  4954.  * Return the iterator pointing to the last element
  4955.  * @param i An xcb_rectangle_iterator_t
  4956.  * @return  The iterator pointing to the last element
  4957.  *
  4958.  * Set the current element in the iterator to the last element.
  4959.  * The member rem is set to 0. The member data points to the
  4960.  * last element.
  4961.  */
  4962.  
  4963. /*****************************************************************************
  4964.  **
  4965.  ** xcb_generic_iterator_t xcb_rectangle_end
  4966.  ** 
  4967.  ** @param xcb_rectangle_iterator_t i
  4968.  ** @returns xcb_generic_iterator_t
  4969.  **
  4970.  *****************************************************************************/
  4971.  
  4972. xcb_generic_iterator_t
  4973. xcb_rectangle_end (xcb_rectangle_iterator_t i  /**< */);
  4974.  
  4975. /**
  4976.  * Get the next element of the iterator
  4977.  * @param i Pointer to a xcb_arc_iterator_t
  4978.  *
  4979.  * Get the next element in the iterator. The member rem is
  4980.  * decreased by one. The member data points to the next
  4981.  * element. The member index is increased by sizeof(xcb_arc_t)
  4982.  */
  4983.  
  4984. /*****************************************************************************
  4985.  **
  4986.  ** void xcb_arc_next
  4987.  ** 
  4988.  ** @param xcb_arc_iterator_t *i
  4989.  ** @returns void
  4990.  **
  4991.  *****************************************************************************/
  4992.  
  4993. void
  4994. xcb_arc_next (xcb_arc_iterator_t *i  /**< */);
  4995.  
  4996. /**
  4997.  * Return the iterator pointing to the last element
  4998.  * @param i An xcb_arc_iterator_t
  4999.  * @return  The iterator pointing to the last element
  5000.  *
  5001.  * Set the current element in the iterator to the last element.
  5002.  * The member rem is set to 0. The member data points to the
  5003.  * last element.
  5004.  */
  5005.  
  5006. /*****************************************************************************
  5007.  **
  5008.  ** xcb_generic_iterator_t xcb_arc_end
  5009.  ** 
  5010.  ** @param xcb_arc_iterator_t i
  5011.  ** @returns xcb_generic_iterator_t
  5012.  **
  5013.  *****************************************************************************/
  5014.  
  5015. xcb_generic_iterator_t
  5016. xcb_arc_end (xcb_arc_iterator_t i  /**< */);
  5017.  
  5018. /**
  5019.  * Get the next element of the iterator
  5020.  * @param i Pointer to a xcb_format_iterator_t
  5021.  *
  5022.  * Get the next element in the iterator. The member rem is
  5023.  * decreased by one. The member data points to the next
  5024.  * element. The member index is increased by sizeof(xcb_format_t)
  5025.  */
  5026.  
  5027. /*****************************************************************************
  5028.  **
  5029.  ** void xcb_format_next
  5030.  ** 
  5031.  ** @param xcb_format_iterator_t *i
  5032.  ** @returns void
  5033.  **
  5034.  *****************************************************************************/
  5035.  
  5036. void
  5037. xcb_format_next (xcb_format_iterator_t *i  /**< */);
  5038.  
  5039. /**
  5040.  * Return the iterator pointing to the last element
  5041.  * @param i An xcb_format_iterator_t
  5042.  * @return  The iterator pointing to the last element
  5043.  *
  5044.  * Set the current element in the iterator to the last element.
  5045.  * The member rem is set to 0. The member data points to the
  5046.  * last element.
  5047.  */
  5048.  
  5049. /*****************************************************************************
  5050.  **
  5051.  ** xcb_generic_iterator_t xcb_format_end
  5052.  ** 
  5053.  ** @param xcb_format_iterator_t i
  5054.  ** @returns xcb_generic_iterator_t
  5055.  **
  5056.  *****************************************************************************/
  5057.  
  5058. xcb_generic_iterator_t
  5059. xcb_format_end (xcb_format_iterator_t i  /**< */);
  5060.  
  5061. /**
  5062.  * Get the next element of the iterator
  5063.  * @param i Pointer to a xcb_visualtype_iterator_t
  5064.  *
  5065.  * Get the next element in the iterator. The member rem is
  5066.  * decreased by one. The member data points to the next
  5067.  * element. The member index is increased by sizeof(xcb_visualtype_t)
  5068.  */
  5069.  
  5070. /*****************************************************************************
  5071.  **
  5072.  ** void xcb_visualtype_next
  5073.  ** 
  5074.  ** @param xcb_visualtype_iterator_t *i
  5075.  ** @returns void
  5076.  **
  5077.  *****************************************************************************/
  5078.  
  5079. void
  5080. xcb_visualtype_next (xcb_visualtype_iterator_t *i  /**< */);
  5081.  
  5082. /**
  5083.  * Return the iterator pointing to the last element
  5084.  * @param i An xcb_visualtype_iterator_t
  5085.  * @return  The iterator pointing to the last element
  5086.  *
  5087.  * Set the current element in the iterator to the last element.
  5088.  * The member rem is set to 0. The member data points to the
  5089.  * last element.
  5090.  */
  5091.  
  5092. /*****************************************************************************
  5093.  **
  5094.  ** xcb_generic_iterator_t xcb_visualtype_end
  5095.  ** 
  5096.  ** @param xcb_visualtype_iterator_t i
  5097.  ** @returns xcb_generic_iterator_t
  5098.  **
  5099.  *****************************************************************************/
  5100.  
  5101. xcb_generic_iterator_t
  5102. xcb_visualtype_end (xcb_visualtype_iterator_t i  /**< */);
  5103.  
  5104.  
  5105. /*****************************************************************************
  5106.  **
  5107.  ** xcb_visualtype_t * xcb_depth_visuals
  5108.  ** 
  5109.  ** @param const xcb_depth_t *R
  5110.  ** @returns xcb_visualtype_t *
  5111.  **
  5112.  *****************************************************************************/
  5113.  
  5114. xcb_visualtype_t *
  5115. xcb_depth_visuals (const xcb_depth_t *R  /**< */);
  5116.  
  5117.  
  5118. /*****************************************************************************
  5119.  **
  5120.  ** int xcb_depth_visuals_length
  5121.  ** 
  5122.  ** @param const xcb_depth_t *R
  5123.  ** @returns int
  5124.  **
  5125.  *****************************************************************************/
  5126.  
  5127. int
  5128. xcb_depth_visuals_length (const xcb_depth_t *R  /**< */);
  5129.  
  5130.  
  5131. /*****************************************************************************
  5132.  **
  5133.  ** xcb_visualtype_iterator_t xcb_depth_visuals_iterator
  5134.  ** 
  5135.  ** @param const xcb_depth_t *R
  5136.  ** @returns xcb_visualtype_iterator_t
  5137.  **
  5138.  *****************************************************************************/
  5139.  
  5140. xcb_visualtype_iterator_t
  5141. xcb_depth_visuals_iterator (const xcb_depth_t *R  /**< */);
  5142.  
  5143. /**
  5144.  * Get the next element of the iterator
  5145.  * @param i Pointer to a xcb_depth_iterator_t
  5146.  *
  5147.  * Get the next element in the iterator. The member rem is
  5148.  * decreased by one. The member data points to the next
  5149.  * element. The member index is increased by sizeof(xcb_depth_t)
  5150.  */
  5151.  
  5152. /*****************************************************************************
  5153.  **
  5154.  ** void xcb_depth_next
  5155.  ** 
  5156.  ** @param xcb_depth_iterator_t *i
  5157.  ** @returns void
  5158.  **
  5159.  *****************************************************************************/
  5160.  
  5161. void
  5162. xcb_depth_next (xcb_depth_iterator_t *i  /**< */);
  5163.  
  5164. /**
  5165.  * Return the iterator pointing to the last element
  5166.  * @param i An xcb_depth_iterator_t
  5167.  * @return  The iterator pointing to the last element
  5168.  *
  5169.  * Set the current element in the iterator to the last element.
  5170.  * The member rem is set to 0. The member data points to the
  5171.  * last element.
  5172.  */
  5173.  
  5174. /*****************************************************************************
  5175.  **
  5176.  ** xcb_generic_iterator_t xcb_depth_end
  5177.  ** 
  5178.  ** @param xcb_depth_iterator_t i
  5179.  ** @returns xcb_generic_iterator_t
  5180.  **
  5181.  *****************************************************************************/
  5182.  
  5183. xcb_generic_iterator_t
  5184. xcb_depth_end (xcb_depth_iterator_t i  /**< */);
  5185.  
  5186.  
  5187. /*****************************************************************************
  5188.  **
  5189.  ** int xcb_screen_allowed_depths_length
  5190.  ** 
  5191.  ** @param const xcb_screen_t *R
  5192.  ** @returns int
  5193.  **
  5194.  *****************************************************************************/
  5195.  
  5196. int
  5197. xcb_screen_allowed_depths_length (const xcb_screen_t *R  /**< */);
  5198.  
  5199.  
  5200. /*****************************************************************************
  5201.  **
  5202.  ** xcb_depth_iterator_t xcb_screen_allowed_depths_iterator
  5203.  ** 
  5204.  ** @param const xcb_screen_t *R
  5205.  ** @returns xcb_depth_iterator_t
  5206.  **
  5207.  *****************************************************************************/
  5208.  
  5209. xcb_depth_iterator_t
  5210. xcb_screen_allowed_depths_iterator (const xcb_screen_t *R  /**< */);
  5211.  
  5212. /**
  5213.  * Get the next element of the iterator
  5214.  * @param i Pointer to a xcb_screen_iterator_t
  5215.  *
  5216.  * Get the next element in the iterator. The member rem is
  5217.  * decreased by one. The member data points to the next
  5218.  * element. The member index is increased by sizeof(xcb_screen_t)
  5219.  */
  5220.  
  5221. /*****************************************************************************
  5222.  **
  5223.  ** void xcb_screen_next
  5224.  ** 
  5225.  ** @param xcb_screen_iterator_t *i
  5226.  ** @returns void
  5227.  **
  5228.  *****************************************************************************/
  5229.  
  5230. void
  5231. xcb_screen_next (xcb_screen_iterator_t *i  /**< */);
  5232.  
  5233. /**
  5234.  * Return the iterator pointing to the last element
  5235.  * @param i An xcb_screen_iterator_t
  5236.  * @return  The iterator pointing to the last element
  5237.  *
  5238.  * Set the current element in the iterator to the last element.
  5239.  * The member rem is set to 0. The member data points to the
  5240.  * last element.
  5241.  */
  5242.  
  5243. /*****************************************************************************
  5244.  **
  5245.  ** xcb_generic_iterator_t xcb_screen_end
  5246.  ** 
  5247.  ** @param xcb_screen_iterator_t i
  5248.  ** @returns xcb_generic_iterator_t
  5249.  **
  5250.  *****************************************************************************/
  5251.  
  5252. xcb_generic_iterator_t
  5253. xcb_screen_end (xcb_screen_iterator_t i  /**< */);
  5254.  
  5255.  
  5256. /*****************************************************************************
  5257.  **
  5258.  ** char * xcb_setup_request_authorization_protocol_name
  5259.  ** 
  5260.  ** @param const xcb_setup_request_t *R
  5261.  ** @returns char *
  5262.  **
  5263.  *****************************************************************************/
  5264.  
  5265. char *
  5266. xcb_setup_request_authorization_protocol_name (const xcb_setup_request_t *R  /**< */);
  5267.  
  5268.  
  5269. /*****************************************************************************
  5270.  **
  5271.  ** int xcb_setup_request_authorization_protocol_name_length
  5272.  ** 
  5273.  ** @param const xcb_setup_request_t *R
  5274.  ** @returns int
  5275.  **
  5276.  *****************************************************************************/
  5277.  
  5278. int
  5279. xcb_setup_request_authorization_protocol_name_length (const xcb_setup_request_t *R  /**< */);
  5280.  
  5281.  
  5282. /*****************************************************************************
  5283.  **
  5284.  ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_name_end
  5285.  ** 
  5286.  ** @param const xcb_setup_request_t *R
  5287.  ** @returns xcb_generic_iterator_t
  5288.  **
  5289.  *****************************************************************************/
  5290.  
  5291. xcb_generic_iterator_t
  5292. xcb_setup_request_authorization_protocol_name_end (const xcb_setup_request_t *R  /**< */);
  5293.  
  5294.  
  5295. /*****************************************************************************
  5296.  **
  5297.  ** char * xcb_setup_request_authorization_protocol_data
  5298.  ** 
  5299.  ** @param const xcb_setup_request_t *R
  5300.  ** @returns char *
  5301.  **
  5302.  *****************************************************************************/
  5303.  
  5304. char *
  5305. xcb_setup_request_authorization_protocol_data (const xcb_setup_request_t *R  /**< */);
  5306.  
  5307.  
  5308. /*****************************************************************************
  5309.  **
  5310.  ** int xcb_setup_request_authorization_protocol_data_length
  5311.  ** 
  5312.  ** @param const xcb_setup_request_t *R
  5313.  ** @returns int
  5314.  **
  5315.  *****************************************************************************/
  5316.  
  5317. int
  5318. xcb_setup_request_authorization_protocol_data_length (const xcb_setup_request_t *R  /**< */);
  5319.  
  5320.  
  5321. /*****************************************************************************
  5322.  **
  5323.  ** xcb_generic_iterator_t xcb_setup_request_authorization_protocol_data_end
  5324.  ** 
  5325.  ** @param const xcb_setup_request_t *R
  5326.  ** @returns xcb_generic_iterator_t
  5327.  **
  5328.  *****************************************************************************/
  5329.  
  5330. xcb_generic_iterator_t
  5331. xcb_setup_request_authorization_protocol_data_end (const xcb_setup_request_t *R  /**< */);
  5332.  
  5333. /**
  5334.  * Get the next element of the iterator
  5335.  * @param i Pointer to a xcb_setup_request_iterator_t
  5336.  *
  5337.  * Get the next element in the iterator. The member rem is
  5338.  * decreased by one. The member data points to the next
  5339.  * element. The member index is increased by sizeof(xcb_setup_request_t)
  5340.  */
  5341.  
  5342. /*****************************************************************************
  5343.  **
  5344.  ** void xcb_setup_request_next
  5345.  ** 
  5346.  ** @param xcb_setup_request_iterator_t *i
  5347.  ** @returns void
  5348.  **
  5349.  *****************************************************************************/
  5350.  
  5351. void
  5352. xcb_setup_request_next (xcb_setup_request_iterator_t *i  /**< */);
  5353.  
  5354. /**
  5355.  * Return the iterator pointing to the last element
  5356.  * @param i An xcb_setup_request_iterator_t
  5357.  * @return  The iterator pointing to the last element
  5358.  *
  5359.  * Set the current element in the iterator to the last element.
  5360.  * The member rem is set to 0. The member data points to the
  5361.  * last element.
  5362.  */
  5363.  
  5364. /*****************************************************************************
  5365.  **
  5366.  ** xcb_generic_iterator_t xcb_setup_request_end
  5367.  ** 
  5368.  ** @param xcb_setup_request_iterator_t i
  5369.  ** @returns xcb_generic_iterator_t
  5370.  **
  5371.  *****************************************************************************/
  5372.  
  5373. xcb_generic_iterator_t
  5374. xcb_setup_request_end (xcb_setup_request_iterator_t i  /**< */);
  5375.  
  5376.  
  5377. /*****************************************************************************
  5378.  **
  5379.  ** char * xcb_setup_failed_reason
  5380.  ** 
  5381.  ** @param const xcb_setup_failed_t *R
  5382.  ** @returns char *
  5383.  **
  5384.  *****************************************************************************/
  5385.  
  5386. char *
  5387. xcb_setup_failed_reason (const xcb_setup_failed_t *R  /**< */);
  5388.  
  5389.  
  5390. /*****************************************************************************
  5391.  **
  5392.  ** int xcb_setup_failed_reason_length
  5393.  ** 
  5394.  ** @param const xcb_setup_failed_t *R
  5395.  ** @returns int
  5396.  **
  5397.  *****************************************************************************/
  5398.  
  5399. int
  5400. xcb_setup_failed_reason_length (const xcb_setup_failed_t *R  /**< */);
  5401.  
  5402.  
  5403. /*****************************************************************************
  5404.  **
  5405.  ** xcb_generic_iterator_t xcb_setup_failed_reason_end
  5406.  ** 
  5407.  ** @param const xcb_setup_failed_t *R
  5408.  ** @returns xcb_generic_iterator_t
  5409.  **
  5410.  *****************************************************************************/
  5411.  
  5412. xcb_generic_iterator_t
  5413. xcb_setup_failed_reason_end (const xcb_setup_failed_t *R  /**< */);
  5414.  
  5415. /**
  5416.  * Get the next element of the iterator
  5417.  * @param i Pointer to a xcb_setup_failed_iterator_t
  5418.  *
  5419.  * Get the next element in the iterator. The member rem is
  5420.  * decreased by one. The member data points to the next
  5421.  * element. The member index is increased by sizeof(xcb_setup_failed_t)
  5422.  */
  5423.  
  5424. /*****************************************************************************
  5425.  **
  5426.  ** void xcb_setup_failed_next
  5427.  ** 
  5428.  ** @param xcb_setup_failed_iterator_t *i
  5429.  ** @returns void
  5430.  **
  5431.  *****************************************************************************/
  5432.  
  5433. void
  5434. xcb_setup_failed_next (xcb_setup_failed_iterator_t *i  /**< */);
  5435.  
  5436. /**
  5437.  * Return the iterator pointing to the last element
  5438.  * @param i An xcb_setup_failed_iterator_t
  5439.  * @return  The iterator pointing to the last element
  5440.  *
  5441.  * Set the current element in the iterator to the last element.
  5442.  * The member rem is set to 0. The member data points to the
  5443.  * last element.
  5444.  */
  5445.  
  5446. /*****************************************************************************
  5447.  **
  5448.  ** xcb_generic_iterator_t xcb_setup_failed_end
  5449.  ** 
  5450.  ** @param xcb_setup_failed_iterator_t i
  5451.  ** @returns xcb_generic_iterator_t
  5452.  **
  5453.  *****************************************************************************/
  5454.  
  5455. xcb_generic_iterator_t
  5456. xcb_setup_failed_end (xcb_setup_failed_iterator_t i  /**< */);
  5457.  
  5458.  
  5459. /*****************************************************************************
  5460.  **
  5461.  ** char * xcb_setup_authenticate_reason
  5462.  ** 
  5463.  ** @param const xcb_setup_authenticate_t *R
  5464.  ** @returns char *
  5465.  **
  5466.  *****************************************************************************/
  5467.  
  5468. char *
  5469. xcb_setup_authenticate_reason (const xcb_setup_authenticate_t *R  /**< */);
  5470.  
  5471.  
  5472. /*****************************************************************************
  5473.  **
  5474.  ** int xcb_setup_authenticate_reason_length
  5475.  ** 
  5476.  ** @param const xcb_setup_authenticate_t *R
  5477.  ** @returns int
  5478.  **
  5479.  *****************************************************************************/
  5480.  
  5481. int
  5482. xcb_setup_authenticate_reason_length (const xcb_setup_authenticate_t *R  /**< */);
  5483.  
  5484.  
  5485. /*****************************************************************************
  5486.  **
  5487.  ** xcb_generic_iterator_t xcb_setup_authenticate_reason_end
  5488.  ** 
  5489.  ** @param const xcb_setup_authenticate_t *R
  5490.  ** @returns xcb_generic_iterator_t
  5491.  **
  5492.  *****************************************************************************/
  5493.  
  5494. xcb_generic_iterator_t
  5495. xcb_setup_authenticate_reason_end (const xcb_setup_authenticate_t *R  /**< */);
  5496.  
  5497. /**
  5498.  * Get the next element of the iterator
  5499.  * @param i Pointer to a xcb_setup_authenticate_iterator_t
  5500.  *
  5501.  * Get the next element in the iterator. The member rem is
  5502.  * decreased by one. The member data points to the next
  5503.  * element. The member index is increased by sizeof(xcb_setup_authenticate_t)
  5504.  */
  5505.  
  5506. /*****************************************************************************
  5507.  **
  5508.  ** void xcb_setup_authenticate_next
  5509.  ** 
  5510.  ** @param xcb_setup_authenticate_iterator_t *i
  5511.  ** @returns void
  5512.  **
  5513.  *****************************************************************************/
  5514.  
  5515. void
  5516. xcb_setup_authenticate_next (xcb_setup_authenticate_iterator_t *i  /**< */);
  5517.  
  5518. /**
  5519.  * Return the iterator pointing to the last element
  5520.  * @param i An xcb_setup_authenticate_iterator_t
  5521.  * @return  The iterator pointing to the last element
  5522.  *
  5523.  * Set the current element in the iterator to the last element.
  5524.  * The member rem is set to 0. The member data points to the
  5525.  * last element.
  5526.  */
  5527.  
  5528. /*****************************************************************************
  5529.  **
  5530.  ** xcb_generic_iterator_t xcb_setup_authenticate_end
  5531.  ** 
  5532.  ** @param xcb_setup_authenticate_iterator_t i
  5533.  ** @returns xcb_generic_iterator_t
  5534.  **
  5535.  *****************************************************************************/
  5536.  
  5537. xcb_generic_iterator_t
  5538. xcb_setup_authenticate_end (xcb_setup_authenticate_iterator_t i  /**< */);
  5539.  
  5540.  
  5541. /*****************************************************************************
  5542.  **
  5543.  ** char * xcb_setup_vendor
  5544.  ** 
  5545.  ** @param const xcb_setup_t *R
  5546.  ** @returns char *
  5547.  **
  5548.  *****************************************************************************/
  5549.  
  5550. char *
  5551. xcb_setup_vendor (const xcb_setup_t *R  /**< */);
  5552.  
  5553.  
  5554. /*****************************************************************************
  5555.  **
  5556.  ** int xcb_setup_vendor_length
  5557.  ** 
  5558.  ** @param const xcb_setup_t *R
  5559.  ** @returns int
  5560.  **
  5561.  *****************************************************************************/
  5562.  
  5563. int
  5564. xcb_setup_vendor_length (const xcb_setup_t *R  /**< */);
  5565.  
  5566.  
  5567. /*****************************************************************************
  5568.  **
  5569.  ** xcb_generic_iterator_t xcb_setup_vendor_end
  5570.  ** 
  5571.  ** @param const xcb_setup_t *R
  5572.  ** @returns xcb_generic_iterator_t
  5573.  **
  5574.  *****************************************************************************/
  5575.  
  5576. xcb_generic_iterator_t
  5577. xcb_setup_vendor_end (const xcb_setup_t *R  /**< */);
  5578.  
  5579.  
  5580. /*****************************************************************************
  5581.  **
  5582.  ** xcb_format_t * xcb_setup_pixmap_formats
  5583.  ** 
  5584.  ** @param const xcb_setup_t *R
  5585.  ** @returns xcb_format_t *
  5586.  **
  5587.  *****************************************************************************/
  5588.  
  5589. xcb_format_t *
  5590. xcb_setup_pixmap_formats (const xcb_setup_t *R  /**< */);
  5591.  
  5592.  
  5593. /*****************************************************************************
  5594.  **
  5595.  ** int xcb_setup_pixmap_formats_length
  5596.  ** 
  5597.  ** @param const xcb_setup_t *R
  5598.  ** @returns int
  5599.  **
  5600.  *****************************************************************************/
  5601.  
  5602. int
  5603. xcb_setup_pixmap_formats_length (const xcb_setup_t *R  /**< */);
  5604.  
  5605.  
  5606. /*****************************************************************************
  5607.  **
  5608.  ** xcb_format_iterator_t xcb_setup_pixmap_formats_iterator
  5609.  ** 
  5610.  ** @param const xcb_setup_t *R
  5611.  ** @returns xcb_format_iterator_t
  5612.  **
  5613.  *****************************************************************************/
  5614.  
  5615. xcb_format_iterator_t
  5616. xcb_setup_pixmap_formats_iterator (const xcb_setup_t *R  /**< */);
  5617.  
  5618.  
  5619. /*****************************************************************************
  5620.  **
  5621.  ** int xcb_setup_roots_length
  5622.  ** 
  5623.  ** @param const xcb_setup_t *R
  5624.  ** @returns int
  5625.  **
  5626.  *****************************************************************************/
  5627.  
  5628. int
  5629. xcb_setup_roots_length (const xcb_setup_t *R  /**< */);
  5630.  
  5631.  
  5632. /*****************************************************************************
  5633.  **
  5634.  ** xcb_screen_iterator_t xcb_setup_roots_iterator
  5635.  ** 
  5636.  ** @param const xcb_setup_t *R
  5637.  ** @returns xcb_screen_iterator_t
  5638.  **
  5639.  *****************************************************************************/
  5640.  
  5641. xcb_screen_iterator_t
  5642. xcb_setup_roots_iterator (const xcb_setup_t *R  /**< */);
  5643.  
  5644. /**
  5645.  * Get the next element of the iterator
  5646.  * @param i Pointer to a xcb_setup_iterator_t
  5647.  *
  5648.  * Get the next element in the iterator. The member rem is
  5649.  * decreased by one. The member data points to the next
  5650.  * element. The member index is increased by sizeof(xcb_setup_t)
  5651.  */
  5652.  
  5653. /*****************************************************************************
  5654.  **
  5655.  ** void xcb_setup_next
  5656.  ** 
  5657.  ** @param xcb_setup_iterator_t *i
  5658.  ** @returns void
  5659.  **
  5660.  *****************************************************************************/
  5661.  
  5662. void
  5663. xcb_setup_next (xcb_setup_iterator_t *i  /**< */);
  5664.  
  5665. /**
  5666.  * Return the iterator pointing to the last element
  5667.  * @param i An xcb_setup_iterator_t
  5668.  * @return  The iterator pointing to the last element
  5669.  *
  5670.  * Set the current element in the iterator to the last element.
  5671.  * The member rem is set to 0. The member data points to the
  5672.  * last element.
  5673.  */
  5674.  
  5675. /*****************************************************************************
  5676.  **
  5677.  ** xcb_generic_iterator_t xcb_setup_end
  5678.  ** 
  5679.  ** @param xcb_setup_iterator_t i
  5680.  ** @returns xcb_generic_iterator_t
  5681.  **
  5682.  *****************************************************************************/
  5683.  
  5684. xcb_generic_iterator_t
  5685. xcb_setup_end (xcb_setup_iterator_t i  /**< */);
  5686.  
  5687. /**
  5688.  * Get the next element of the iterator
  5689.  * @param i Pointer to a xcb_client_message_data_iterator_t
  5690.  *
  5691.  * Get the next element in the iterator. The member rem is
  5692.  * decreased by one. The member data points to the next
  5693.  * element. The member index is increased by sizeof(xcb_client_message_data_t)
  5694.  */
  5695.  
  5696. /*****************************************************************************
  5697.  **
  5698.  ** void xcb_client_message_data_next
  5699.  ** 
  5700.  ** @param xcb_client_message_data_iterator_t *i
  5701.  ** @returns void
  5702.  **
  5703.  *****************************************************************************/
  5704.  
  5705. void
  5706. xcb_client_message_data_next (xcb_client_message_data_iterator_t *i  /**< */);
  5707.  
  5708. /**
  5709.  * Return the iterator pointing to the last element
  5710.  * @param i An xcb_client_message_data_iterator_t
  5711.  * @return  The iterator pointing to the last element
  5712.  *
  5713.  * Set the current element in the iterator to the last element.
  5714.  * The member rem is set to 0. The member data points to the
  5715.  * last element.
  5716.  */
  5717.  
  5718. /*****************************************************************************
  5719.  **
  5720.  ** xcb_generic_iterator_t xcb_client_message_data_end
  5721.  ** 
  5722.  ** @param xcb_client_message_data_iterator_t i
  5723.  ** @returns xcb_generic_iterator_t
  5724.  **
  5725.  *****************************************************************************/
  5726.  
  5727. xcb_generic_iterator_t
  5728. xcb_client_message_data_end (xcb_client_message_data_iterator_t i  /**< */);
  5729.  
  5730. /**
  5731.  * Delivers a request to the X server
  5732.  * @param c The connection
  5733.  * @return A cookie
  5734.  *
  5735.  * Delivers a request to the X server.
  5736.  * 
  5737.  * This form can be used only if the request will not cause
  5738.  * a reply to be generated. Any returned error will be
  5739.  * saved for handling by xcb_request_check().
  5740.  */
  5741.  
  5742. /*****************************************************************************
  5743.  **
  5744.  ** xcb_void_cookie_t xcb_create_window_checked
  5745.  ** 
  5746.  ** @param xcb_connection_t *c
  5747.  ** @param uint8_t           depth
  5748.  ** @param xcb_window_t      wid
  5749.  ** @param xcb_window_t      parent
  5750.  ** @param int16_t           x
  5751.  ** @param int16_t           y
  5752.  ** @param uint16_t          width
  5753.  ** @param uint16_t          height
  5754.  ** @param uint16_t          border_width
  5755.  ** @param uint16_t          _class
  5756.  ** @param xcb_visualid_t    visual
  5757.  ** @param uint32_t          value_mask
  5758.  ** @param const uint32_t   *value_list
  5759.  ** @returns xcb_void_cookie_t
  5760.  **
  5761.  *****************************************************************************/
  5762.  
  5763. xcb_void_cookie_t
  5764. xcb_create_window_checked (xcb_connection_t *c  /**< */,
  5765.                            uint8_t           depth  /**< */,
  5766.                            xcb_window_t      wid  /**< */,
  5767.                            xcb_window_t      parent  /**< */,
  5768.                            int16_t           x  /**< */,
  5769.                            int16_t           y  /**< */,
  5770.                            uint16_t          width  /**< */,
  5771.                            uint16_t          height  /**< */,
  5772.                            uint16_t          border_width  /**< */,
  5773.                            uint16_t          _class  /**< */,
  5774.                            xcb_visualid_t    visual  /**< */,
  5775.                            uint32_t          value_mask  /**< */,
  5776.                            const uint32_t   *value_list  /**< */);
  5777.  
  5778. /**
  5779.  * Delivers a request to the X server
  5780.  * @param c The connection
  5781.  * @return A cookie
  5782.  *
  5783.  * Delivers a request to the X server.
  5784.  * 
  5785.  */
  5786.  
  5787. /*****************************************************************************
  5788.  **
  5789.  ** xcb_void_cookie_t xcb_create_window
  5790.  ** 
  5791.  ** @param xcb_connection_t *c
  5792.  ** @param uint8_t           depth
  5793.  ** @param xcb_window_t      wid
  5794.  ** @param xcb_window_t      parent
  5795.  ** @param int16_t           x
  5796.  ** @param int16_t           y
  5797.  ** @param uint16_t          width
  5798.  ** @param uint16_t          height
  5799.  ** @param uint16_t          border_width
  5800.  ** @param uint16_t          _class
  5801.  ** @param xcb_visualid_t    visual
  5802.  ** @param uint32_t          value_mask
  5803.  ** @param const uint32_t   *value_list
  5804.  ** @returns xcb_void_cookie_t
  5805.  **
  5806.  *****************************************************************************/
  5807.  
  5808. xcb_void_cookie_t
  5809. xcb_create_window (xcb_connection_t *c  /**< */,
  5810.                    uint8_t           depth  /**< */,
  5811.                    xcb_window_t      wid  /**< */,
  5812.                    xcb_window_t      parent  /**< */,
  5813.                    int16_t           x  /**< */,
  5814.                    int16_t           y  /**< */,
  5815.                    uint16_t          width  /**< */,
  5816.                    uint16_t          height  /**< */,
  5817.                    uint16_t          border_width  /**< */,
  5818.                    uint16_t          _class  /**< */,
  5819.                    xcb_visualid_t    visual  /**< */,
  5820.                    uint32_t          value_mask  /**< */,
  5821.                    const uint32_t   *value_list  /**< */);
  5822.  
  5823. /**
  5824.  * Delivers a request to the X server
  5825.  * @param c The connection
  5826.  * @return A cookie
  5827.  *
  5828.  * Delivers a request to the X server.
  5829.  * 
  5830.  * This form can be used only if the request will not cause
  5831.  * a reply to be generated. Any returned error will be
  5832.  * saved for handling by xcb_request_check().
  5833.  */
  5834.  
  5835. /*****************************************************************************
  5836.  **
  5837.  ** xcb_void_cookie_t xcb_change_window_attributes_checked
  5838.  ** 
  5839.  ** @param xcb_connection_t *c
  5840.  ** @param xcb_window_t      window
  5841.  ** @param uint32_t          value_mask
  5842.  ** @param const uint32_t   *value_list
  5843.  ** @returns xcb_void_cookie_t
  5844.  **
  5845.  *****************************************************************************/
  5846.  
  5847. xcb_void_cookie_t
  5848. xcb_change_window_attributes_checked (xcb_connection_t *c  /**< */,
  5849.                                       xcb_window_t      window  /**< */,
  5850.                                       uint32_t          value_mask  /**< */,
  5851.                                       const uint32_t   *value_list  /**< */);
  5852.  
  5853. /**
  5854.  * Delivers a request to the X server
  5855.  * @param c The connection
  5856.  * @return A cookie
  5857.  *
  5858.  * Delivers a request to the X server.
  5859.  * 
  5860.  */
  5861.  
  5862. /*****************************************************************************
  5863.  **
  5864.  ** xcb_void_cookie_t xcb_change_window_attributes
  5865.  ** 
  5866.  ** @param xcb_connection_t *c
  5867.  ** @param xcb_window_t      window
  5868.  ** @param uint32_t          value_mask
  5869.  ** @param const uint32_t   *value_list
  5870.  ** @returns xcb_void_cookie_t
  5871.  **
  5872.  *****************************************************************************/
  5873.  
  5874. xcb_void_cookie_t
  5875. xcb_change_window_attributes (xcb_connection_t *c  /**< */,
  5876.                               xcb_window_t      window  /**< */,
  5877.                               uint32_t          value_mask  /**< */,
  5878.                               const uint32_t   *value_list  /**< */);
  5879.  
  5880. /**
  5881.  * Delivers a request to the X server
  5882.  * @param c The connection
  5883.  * @return A cookie
  5884.  *
  5885.  * Delivers a request to the X server.
  5886.  * 
  5887.  */
  5888.  
  5889. /*****************************************************************************
  5890.  **
  5891.  ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes
  5892.  ** 
  5893.  ** @param xcb_connection_t *c
  5894.  ** @param xcb_window_t      window
  5895.  ** @returns xcb_get_window_attributes_cookie_t
  5896.  **
  5897.  *****************************************************************************/
  5898.  
  5899. xcb_get_window_attributes_cookie_t
  5900. xcb_get_window_attributes (xcb_connection_t *c  /**< */,
  5901.                            xcb_window_t      window  /**< */);
  5902.  
  5903. /**
  5904.  * Delivers a request to the X server
  5905.  * @param c The connection
  5906.  * @return A cookie
  5907.  *
  5908.  * Delivers a request to the X server.
  5909.  * 
  5910.  * This form can be used only if the request will cause
  5911.  * a reply to be generated. Any returned error will be
  5912.  * placed in the event queue.
  5913.  */
  5914.  
  5915. /*****************************************************************************
  5916.  **
  5917.  ** xcb_get_window_attributes_cookie_t xcb_get_window_attributes_unchecked
  5918.  ** 
  5919.  ** @param xcb_connection_t *c
  5920.  ** @param xcb_window_t      window
  5921.  ** @returns xcb_get_window_attributes_cookie_t
  5922.  **
  5923.  *****************************************************************************/
  5924.  
  5925. xcb_get_window_attributes_cookie_t
  5926. xcb_get_window_attributes_unchecked (xcb_connection_t *c  /**< */,
  5927.                                      xcb_window_t      window  /**< */);
  5928.  
  5929. /**
  5930.  * Return the reply
  5931.  * @param c      The connection
  5932.  * @param cookie The cookie
  5933.  * @param e      The xcb_generic_error_t supplied
  5934.  *
  5935.  * Returns the reply of the request asked by
  5936.  * 
  5937.  * The parameter @p e supplied to this function must be NULL if
  5938.  * xcb_get_window_attributes_unchecked(). is used.
  5939.  * Otherwise, it stores the error if any.
  5940.  */
  5941.  
  5942. /*****************************************************************************
  5943.  **
  5944.  ** xcb_get_window_attributes_reply_t * xcb_get_window_attributes_reply
  5945.  ** 
  5946.  ** @param xcb_connection_t                    *c
  5947.  ** @param xcb_get_window_attributes_cookie_t   cookie
  5948.  ** @param xcb_generic_error_t                **e
  5949.  ** @returns xcb_get_window_attributes_reply_t *
  5950.  **
  5951.  *****************************************************************************/
  5952.  
  5953. xcb_get_window_attributes_reply_t *
  5954. xcb_get_window_attributes_reply (xcb_connection_t                    *c  /**< */,
  5955.                                  xcb_get_window_attributes_cookie_t   cookie  /**< */,
  5956.                                  xcb_generic_error_t                **e  /**< */);
  5957.  
  5958. /**
  5959.  * Delivers a request to the X server
  5960.  * @param c The connection
  5961.  * @return A cookie
  5962.  *
  5963.  * Delivers a request to the X server.
  5964.  * 
  5965.  * This form can be used only if the request will not cause
  5966.  * a reply to be generated. Any returned error will be
  5967.  * saved for handling by xcb_request_check().
  5968.  */
  5969.  
  5970. /*****************************************************************************
  5971.  **
  5972.  ** xcb_void_cookie_t xcb_destroy_window_checked
  5973.  ** 
  5974.  ** @param xcb_connection_t *c
  5975.  ** @param xcb_window_t      window
  5976.  ** @returns xcb_void_cookie_t
  5977.  **
  5978.  *****************************************************************************/
  5979.  
  5980. xcb_void_cookie_t
  5981. xcb_destroy_window_checked (xcb_connection_t *c  /**< */,
  5982.                             xcb_window_t      window  /**< */);
  5983.  
  5984. /**
  5985.  * Delivers a request to the X server
  5986.  * @param c The connection
  5987.  * @return A cookie
  5988.  *
  5989.  * Delivers a request to the X server.
  5990.  * 
  5991.  */
  5992.  
  5993. /*****************************************************************************
  5994.  **
  5995.  ** xcb_void_cookie_t xcb_destroy_window
  5996.  ** 
  5997.  ** @param xcb_connection_t *c
  5998.  ** @param xcb_window_t      window
  5999.  ** @returns xcb_void_cookie_t
  6000.  **
  6001.  *****************************************************************************/
  6002.  
  6003. xcb_void_cookie_t
  6004. xcb_destroy_window (xcb_connection_t *c  /**< */,
  6005.                     xcb_window_t      window  /**< */);
  6006.  
  6007. /**
  6008.  * Delivers a request to the X server
  6009.  * @param c The connection
  6010.  * @return A cookie
  6011.  *
  6012.  * Delivers a request to the X server.
  6013.  * 
  6014.  * This form can be used only if the request will not cause
  6015.  * a reply to be generated. Any returned error will be
  6016.  * saved for handling by xcb_request_check().
  6017.  */
  6018.  
  6019. /*****************************************************************************
  6020.  **
  6021.  ** xcb_void_cookie_t xcb_destroy_subwindows_checked
  6022.  ** 
  6023.  ** @param xcb_connection_t *c
  6024.  ** @param xcb_window_t      window
  6025.  ** @returns xcb_void_cookie_t
  6026.  **
  6027.  *****************************************************************************/
  6028.  
  6029. xcb_void_cookie_t
  6030. xcb_destroy_subwindows_checked (xcb_connection_t *c  /**< */,
  6031.                                 xcb_window_t      window  /**< */);
  6032.  
  6033. /**
  6034.  * Delivers a request to the X server
  6035.  * @param c The connection
  6036.  * @return A cookie
  6037.  *
  6038.  * Delivers a request to the X server.
  6039.  * 
  6040.  */
  6041.  
  6042. /*****************************************************************************
  6043.  **
  6044.  ** xcb_void_cookie_t xcb_destroy_subwindows
  6045.  ** 
  6046.  ** @param xcb_connection_t *c
  6047.  ** @param xcb_window_t      window
  6048.  ** @returns xcb_void_cookie_t
  6049.  **
  6050.  *****************************************************************************/
  6051.  
  6052. xcb_void_cookie_t
  6053. xcb_destroy_subwindows (xcb_connection_t *c  /**< */,
  6054.                         xcb_window_t      window  /**< */);
  6055.  
  6056. /**
  6057.  * Delivers a request to the X server
  6058.  * @param c The connection
  6059.  * @return A cookie
  6060.  *
  6061.  * Delivers a request to the X server.
  6062.  * 
  6063.  * This form can be used only if the request will not cause
  6064.  * a reply to be generated. Any returned error will be
  6065.  * saved for handling by xcb_request_check().
  6066.  */
  6067.  
  6068. /*****************************************************************************
  6069.  **
  6070.  ** xcb_void_cookie_t xcb_change_save_set_checked
  6071.  ** 
  6072.  ** @param xcb_connection_t *c
  6073.  ** @param uint8_t           mode
  6074.  ** @param xcb_window_t      window
  6075.  ** @returns xcb_void_cookie_t
  6076.  **
  6077.  *****************************************************************************/
  6078.  
  6079. xcb_void_cookie_t
  6080. xcb_change_save_set_checked (xcb_connection_t *c  /**< */,
  6081.                              uint8_t           mode  /**< */,
  6082.                              xcb_window_t      window  /**< */);
  6083.  
  6084. /**
  6085.  * Delivers a request to the X server
  6086.  * @param c The connection
  6087.  * @return A cookie
  6088.  *
  6089.  * Delivers a request to the X server.
  6090.  * 
  6091.  */
  6092.  
  6093. /*****************************************************************************
  6094.  **
  6095.  ** xcb_void_cookie_t xcb_change_save_set
  6096.  ** 
  6097.  ** @param xcb_connection_t *c
  6098.  ** @param uint8_t           mode
  6099.  ** @param xcb_window_t      window
  6100.  ** @returns xcb_void_cookie_t
  6101.  **
  6102.  *****************************************************************************/
  6103.  
  6104. xcb_void_cookie_t
  6105. xcb_change_save_set (xcb_connection_t *c  /**< */,
  6106.                      uint8_t           mode  /**< */,
  6107.                      xcb_window_t      window  /**< */);
  6108.  
  6109. /**
  6110.  * Delivers a request to the X server
  6111.  * @param c The connection
  6112.  * @return A cookie
  6113.  *
  6114.  * Delivers a request to the X server.
  6115.  * 
  6116.  * This form can be used only if the request will not cause
  6117.  * a reply to be generated. Any returned error will be
  6118.  * saved for handling by xcb_request_check().
  6119.  */
  6120.  
  6121. /*****************************************************************************
  6122.  **
  6123.  ** xcb_void_cookie_t xcb_reparent_window_checked
  6124.  ** 
  6125.  ** @param xcb_connection_t *c
  6126.  ** @param xcb_window_t      window
  6127.  ** @param xcb_window_t      parent
  6128.  ** @param int16_t           x
  6129.  ** @param int16_t           y
  6130.  ** @returns xcb_void_cookie_t
  6131.  **
  6132.  *****************************************************************************/
  6133.  
  6134. xcb_void_cookie_t
  6135. xcb_reparent_window_checked (xcb_connection_t *c  /**< */,
  6136.                              xcb_window_t      window  /**< */,
  6137.                              xcb_window_t      parent  /**< */,
  6138.                              int16_t           x  /**< */,
  6139.                              int16_t           y  /**< */);
  6140.  
  6141. /**
  6142.  * Delivers a request to the X server
  6143.  * @param c The connection
  6144.  * @return A cookie
  6145.  *
  6146.  * Delivers a request to the X server.
  6147.  * 
  6148.  */
  6149.  
  6150. /*****************************************************************************
  6151.  **
  6152.  ** xcb_void_cookie_t xcb_reparent_window
  6153.  ** 
  6154.  ** @param xcb_connection_t *c
  6155.  ** @param xcb_window_t      window
  6156.  ** @param xcb_window_t      parent
  6157.  ** @param int16_t           x
  6158.  ** @param int16_t           y
  6159.  ** @returns xcb_void_cookie_t
  6160.  **
  6161.  *****************************************************************************/
  6162.  
  6163. xcb_void_cookie_t
  6164. xcb_reparent_window (xcb_connection_t *c  /**< */,
  6165.                      xcb_window_t      window  /**< */,
  6166.                      xcb_window_t      parent  /**< */,
  6167.                      int16_t           x  /**< */,
  6168.                      int16_t           y  /**< */);
  6169.  
  6170. /**
  6171.  * Delivers a request to the X server
  6172.  * @param c The connection
  6173.  * @return A cookie
  6174.  *
  6175.  * Delivers a request to the X server.
  6176.  * 
  6177.  * This form can be used only if the request will not cause
  6178.  * a reply to be generated. Any returned error will be
  6179.  * saved for handling by xcb_request_check().
  6180.  */
  6181.  
  6182. /*****************************************************************************
  6183.  **
  6184.  ** xcb_void_cookie_t xcb_map_window_checked
  6185.  ** 
  6186.  ** @param xcb_connection_t *c
  6187.  ** @param xcb_window_t      window
  6188.  ** @returns xcb_void_cookie_t
  6189.  **
  6190.  *****************************************************************************/
  6191.  
  6192. xcb_void_cookie_t
  6193. xcb_map_window_checked (xcb_connection_t *c  /**< */,
  6194.                         xcb_window_t      window  /**< */);
  6195.  
  6196. /**
  6197.  * Delivers a request to the X server
  6198.  * @param c The connection
  6199.  * @return A cookie
  6200.  *
  6201.  * Delivers a request to the X server.
  6202.  * 
  6203.  */
  6204.  
  6205. /*****************************************************************************
  6206.  **
  6207.  ** xcb_void_cookie_t xcb_map_window
  6208.  ** 
  6209.  ** @param xcb_connection_t *c
  6210.  ** @param xcb_window_t      window
  6211.  ** @returns xcb_void_cookie_t
  6212.  **
  6213.  *****************************************************************************/
  6214.  
  6215. xcb_void_cookie_t
  6216. xcb_map_window (xcb_connection_t *c  /**< */,
  6217.                 xcb_window_t      window  /**< */);
  6218.  
  6219. /**
  6220.  * Delivers a request to the X server
  6221.  * @param c The connection
  6222.  * @return A cookie
  6223.  *
  6224.  * Delivers a request to the X server.
  6225.  * 
  6226.  * This form can be used only if the request will not cause
  6227.  * a reply to be generated. Any returned error will be
  6228.  * saved for handling by xcb_request_check().
  6229.  */
  6230.  
  6231. /*****************************************************************************
  6232.  **
  6233.  ** xcb_void_cookie_t xcb_map_subwindows_checked
  6234.  ** 
  6235.  ** @param xcb_connection_t *c
  6236.  ** @param xcb_window_t      window
  6237.  ** @returns xcb_void_cookie_t
  6238.  **
  6239.  *****************************************************************************/
  6240.  
  6241. xcb_void_cookie_t
  6242. xcb_map_subwindows_checked (xcb_connection_t *c  /**< */,
  6243.                             xcb_window_t      window  /**< */);
  6244.  
  6245. /**
  6246.  * Delivers a request to the X server
  6247.  * @param c The connection
  6248.  * @return A cookie
  6249.  *
  6250.  * Delivers a request to the X server.
  6251.  * 
  6252.  */
  6253.  
  6254. /*****************************************************************************
  6255.  **
  6256.  ** xcb_void_cookie_t xcb_map_subwindows
  6257.  ** 
  6258.  ** @param xcb_connection_t *c
  6259.  ** @param xcb_window_t      window
  6260.  ** @returns xcb_void_cookie_t
  6261.  **
  6262.  *****************************************************************************/
  6263.  
  6264. xcb_void_cookie_t
  6265. xcb_map_subwindows (xcb_connection_t *c  /**< */,
  6266.                     xcb_window_t      window  /**< */);
  6267.  
  6268. /**
  6269.  * Delivers a request to the X server
  6270.  * @param c The connection
  6271.  * @return A cookie
  6272.  *
  6273.  * Delivers a request to the X server.
  6274.  * 
  6275.  * This form can be used only if the request will not cause
  6276.  * a reply to be generated. Any returned error will be
  6277.  * saved for handling by xcb_request_check().
  6278.  */
  6279.  
  6280. /*****************************************************************************
  6281.  **
  6282.  ** xcb_void_cookie_t xcb_unmap_window_checked
  6283.  ** 
  6284.  ** @param xcb_connection_t *c
  6285.  ** @param xcb_window_t      window
  6286.  ** @returns xcb_void_cookie_t
  6287.  **
  6288.  *****************************************************************************/
  6289.  
  6290. xcb_void_cookie_t
  6291. xcb_unmap_window_checked (xcb_connection_t *c  /**< */,
  6292.                           xcb_window_t      window  /**< */);
  6293.  
  6294. /**
  6295.  * Delivers a request to the X server
  6296.  * @param c The connection
  6297.  * @return A cookie
  6298.  *
  6299.  * Delivers a request to the X server.
  6300.  * 
  6301.  */
  6302.  
  6303. /*****************************************************************************
  6304.  **
  6305.  ** xcb_void_cookie_t xcb_unmap_window
  6306.  ** 
  6307.  ** @param xcb_connection_t *c
  6308.  ** @param xcb_window_t      window
  6309.  ** @returns xcb_void_cookie_t
  6310.  **
  6311.  *****************************************************************************/
  6312.  
  6313. xcb_void_cookie_t
  6314. xcb_unmap_window (xcb_connection_t *c  /**< */,
  6315.                   xcb_window_t      window  /**< */);
  6316.  
  6317. /**
  6318.  * Delivers a request to the X server
  6319.  * @param c The connection
  6320.  * @return A cookie
  6321.  *
  6322.  * Delivers a request to the X server.
  6323.  * 
  6324.  * This form can be used only if the request will not cause
  6325.  * a reply to be generated. Any returned error will be
  6326.  * saved for handling by xcb_request_check().
  6327.  */
  6328.  
  6329. /*****************************************************************************
  6330.  **
  6331.  ** xcb_void_cookie_t xcb_unmap_subwindows_checked
  6332.  ** 
  6333.  ** @param xcb_connection_t *c
  6334.  ** @param xcb_window_t      window
  6335.  ** @returns xcb_void_cookie_t
  6336.  **
  6337.  *****************************************************************************/
  6338.  
  6339. xcb_void_cookie_t
  6340. xcb_unmap_subwindows_checked (xcb_connection_t *c  /**< */,
  6341.                               xcb_window_t      window  /**< */);
  6342.  
  6343. /**
  6344.  * Delivers a request to the X server
  6345.  * @param c The connection
  6346.  * @return A cookie
  6347.  *
  6348.  * Delivers a request to the X server.
  6349.  * 
  6350.  */
  6351.  
  6352. /*****************************************************************************
  6353.  **
  6354.  ** xcb_void_cookie_t xcb_unmap_subwindows
  6355.  ** 
  6356.  ** @param xcb_connection_t *c
  6357.  ** @param xcb_window_t      window
  6358.  ** @returns xcb_void_cookie_t
  6359.  **
  6360.  *****************************************************************************/
  6361.  
  6362. xcb_void_cookie_t
  6363. xcb_unmap_subwindows (xcb_connection_t *c  /**< */,
  6364.                       xcb_window_t      window  /**< */);
  6365.  
  6366. /**
  6367.  * Delivers a request to the X server
  6368.  * @param c The connection
  6369.  * @return A cookie
  6370.  *
  6371.  * Delivers a request to the X server.
  6372.  * 
  6373.  * This form can be used only if the request will not cause
  6374.  * a reply to be generated. Any returned error will be
  6375.  * saved for handling by xcb_request_check().
  6376.  */
  6377.  
  6378. /*****************************************************************************
  6379.  **
  6380.  ** xcb_void_cookie_t xcb_configure_window_checked
  6381.  ** 
  6382.  ** @param xcb_connection_t *c
  6383.  ** @param xcb_window_t      window
  6384.  ** @param uint16_t          value_mask
  6385.  ** @param const uint32_t   *value_list
  6386.  ** @returns xcb_void_cookie_t
  6387.  **
  6388.  *****************************************************************************/
  6389.  
  6390. xcb_void_cookie_t
  6391. xcb_configure_window_checked (xcb_connection_t *c  /**< */,
  6392.                               xcb_window_t      window  /**< */,
  6393.                               uint16_t          value_mask  /**< */,
  6394.                               const uint32_t   *value_list  /**< */);
  6395.  
  6396. /**
  6397.  * Delivers a request to the X server
  6398.  * @param c The connection
  6399.  * @return A cookie
  6400.  *
  6401.  * Delivers a request to the X server.
  6402.  * 
  6403.  */
  6404.  
  6405. /*****************************************************************************
  6406.  **
  6407.  ** xcb_void_cookie_t xcb_configure_window
  6408.  ** 
  6409.  ** @param xcb_connection_t *c
  6410.  ** @param xcb_window_t      window
  6411.  ** @param uint16_t          value_mask
  6412.  ** @param const uint32_t   *value_list
  6413.  ** @returns xcb_void_cookie_t
  6414.  **
  6415.  *****************************************************************************/
  6416.  
  6417. xcb_void_cookie_t
  6418. xcb_configure_window (xcb_connection_t *c  /**< */,
  6419.                       xcb_window_t      window  /**< */,
  6420.                       uint16_t          value_mask  /**< */,
  6421.                       const uint32_t   *value_list  /**< */);
  6422.  
  6423. /**
  6424.  * Delivers a request to the X server
  6425.  * @param c The connection
  6426.  * @return A cookie
  6427.  *
  6428.  * Delivers a request to the X server.
  6429.  * 
  6430.  * This form can be used only if the request will not cause
  6431.  * a reply to be generated. Any returned error will be
  6432.  * saved for handling by xcb_request_check().
  6433.  */
  6434.  
  6435. /*****************************************************************************
  6436.  **
  6437.  ** xcb_void_cookie_t xcb_circulate_window_checked
  6438.  ** 
  6439.  ** @param xcb_connection_t *c
  6440.  ** @param uint8_t           direction
  6441.  ** @param xcb_window_t      window
  6442.  ** @returns xcb_void_cookie_t
  6443.  **
  6444.  *****************************************************************************/
  6445.  
  6446. xcb_void_cookie_t
  6447. xcb_circulate_window_checked (xcb_connection_t *c  /**< */,
  6448.                               uint8_t           direction  /**< */,
  6449.                               xcb_window_t      window  /**< */);
  6450.  
  6451. /**
  6452.  * Delivers a request to the X server
  6453.  * @param c The connection
  6454.  * @return A cookie
  6455.  *
  6456.  * Delivers a request to the X server.
  6457.  * 
  6458.  */
  6459.  
  6460. /*****************************************************************************
  6461.  **
  6462.  ** xcb_void_cookie_t xcb_circulate_window
  6463.  ** 
  6464.  ** @param xcb_connection_t *c
  6465.  ** @param uint8_t           direction
  6466.  ** @param xcb_window_t      window
  6467.  ** @returns xcb_void_cookie_t
  6468.  **
  6469.  *****************************************************************************/
  6470.  
  6471. xcb_void_cookie_t
  6472. xcb_circulate_window (xcb_connection_t *c  /**< */,
  6473.                       uint8_t           direction  /**< */,
  6474.                       xcb_window_t      window  /**< */);
  6475.  
  6476. /**
  6477.  * Delivers a request to the X server
  6478.  * @param c The connection
  6479.  * @return A cookie
  6480.  *
  6481.  * Delivers a request to the X server.
  6482.  * 
  6483.  */
  6484.  
  6485. /*****************************************************************************
  6486.  **
  6487.  ** xcb_get_geometry_cookie_t xcb_get_geometry
  6488.  ** 
  6489.  ** @param xcb_connection_t *c
  6490.  ** @param xcb_drawable_t    drawable
  6491.  ** @returns xcb_get_geometry_cookie_t
  6492.  **
  6493.  *****************************************************************************/
  6494.  
  6495. xcb_get_geometry_cookie_t
  6496. xcb_get_geometry (xcb_connection_t *c  /**< */,
  6497.                   xcb_drawable_t    drawable  /**< */);
  6498.  
  6499. /**
  6500.  * Delivers a request to the X server
  6501.  * @param c The connection
  6502.  * @return A cookie
  6503.  *
  6504.  * Delivers a request to the X server.
  6505.  * 
  6506.  * This form can be used only if the request will cause
  6507.  * a reply to be generated. Any returned error will be
  6508.  * placed in the event queue.
  6509.  */
  6510.  
  6511. /*****************************************************************************
  6512.  **
  6513.  ** xcb_get_geometry_cookie_t xcb_get_geometry_unchecked
  6514.  ** 
  6515.  ** @param xcb_connection_t *c
  6516.  ** @param xcb_drawable_t    drawable
  6517.  ** @returns xcb_get_geometry_cookie_t
  6518.  **
  6519.  *****************************************************************************/
  6520.  
  6521. xcb_get_geometry_cookie_t
  6522. xcb_get_geometry_unchecked (xcb_connection_t *c  /**< */,
  6523.                             xcb_drawable_t    drawable  /**< */);
  6524.  
  6525. /**
  6526.  * Return the reply
  6527.  * @param c      The connection
  6528.  * @param cookie The cookie
  6529.  * @param e      The xcb_generic_error_t supplied
  6530.  *
  6531.  * Returns the reply of the request asked by
  6532.  * 
  6533.  * The parameter @p e supplied to this function must be NULL if
  6534.  * xcb_get_geometry_unchecked(). is used.
  6535.  * Otherwise, it stores the error if any.
  6536.  */
  6537.  
  6538. /*****************************************************************************
  6539.  **
  6540.  ** xcb_get_geometry_reply_t * xcb_get_geometry_reply
  6541.  ** 
  6542.  ** @param xcb_connection_t           *c
  6543.  ** @param xcb_get_geometry_cookie_t   cookie
  6544.  ** @param xcb_generic_error_t       **e
  6545.  ** @returns xcb_get_geometry_reply_t *
  6546.  **
  6547.  *****************************************************************************/
  6548.  
  6549. xcb_get_geometry_reply_t *
  6550. xcb_get_geometry_reply (xcb_connection_t           *c  /**< */,
  6551.                         xcb_get_geometry_cookie_t   cookie  /**< */,
  6552.                         xcb_generic_error_t       **e  /**< */);
  6553.  
  6554. /**
  6555.  * Delivers a request to the X server
  6556.  * @param c The connection
  6557.  * @return A cookie
  6558.  *
  6559.  * Delivers a request to the X server.
  6560.  * 
  6561.  */
  6562.  
  6563. /*****************************************************************************
  6564.  **
  6565.  ** xcb_query_tree_cookie_t xcb_query_tree
  6566.  ** 
  6567.  ** @param xcb_connection_t *c
  6568.  ** @param xcb_window_t      window
  6569.  ** @returns xcb_query_tree_cookie_t
  6570.  **
  6571.  *****************************************************************************/
  6572.  
  6573. xcb_query_tree_cookie_t
  6574. xcb_query_tree (xcb_connection_t *c  /**< */,
  6575.                 xcb_window_t      window  /**< */);
  6576.  
  6577. /**
  6578.  * Delivers a request to the X server
  6579.  * @param c The connection
  6580.  * @return A cookie
  6581.  *
  6582.  * Delivers a request to the X server.
  6583.  * 
  6584.  * This form can be used only if the request will cause
  6585.  * a reply to be generated. Any returned error will be
  6586.  * placed in the event queue.
  6587.  */
  6588.  
  6589. /*****************************************************************************
  6590.  **
  6591.  ** xcb_query_tree_cookie_t xcb_query_tree_unchecked
  6592.  ** 
  6593.  ** @param xcb_connection_t *c
  6594.  ** @param xcb_window_t      window
  6595.  ** @returns xcb_query_tree_cookie_t
  6596.  **
  6597.  *****************************************************************************/
  6598.  
  6599. xcb_query_tree_cookie_t
  6600. xcb_query_tree_unchecked (xcb_connection_t *c  /**< */,
  6601.                           xcb_window_t      window  /**< */);
  6602.  
  6603.  
  6604. /*****************************************************************************
  6605.  **
  6606.  ** xcb_window_t * xcb_query_tree_children
  6607.  ** 
  6608.  ** @param const xcb_query_tree_reply_t *R
  6609.  ** @returns xcb_window_t *
  6610.  **
  6611.  *****************************************************************************/
  6612.  
  6613. xcb_window_t *
  6614. xcb_query_tree_children (const xcb_query_tree_reply_t *R  /**< */);
  6615.  
  6616.  
  6617. /*****************************************************************************
  6618.  **
  6619.  ** int xcb_query_tree_children_length
  6620.  ** 
  6621.  ** @param const xcb_query_tree_reply_t *R
  6622.  ** @returns int
  6623.  **
  6624.  *****************************************************************************/
  6625.  
  6626. int
  6627. xcb_query_tree_children_length (const xcb_query_tree_reply_t *R  /**< */);
  6628.  
  6629.  
  6630. /*****************************************************************************
  6631.  **
  6632.  ** xcb_window_iterator_t xcb_query_tree_children_iterator
  6633.  ** 
  6634.  ** @param const xcb_query_tree_reply_t *R
  6635.  ** @returns xcb_window_iterator_t
  6636.  **
  6637.  *****************************************************************************/
  6638.  
  6639. xcb_window_iterator_t
  6640. xcb_query_tree_children_iterator (const xcb_query_tree_reply_t *R  /**< */);
  6641.  
  6642. /**
  6643.  * Return the reply
  6644.  * @param c      The connection
  6645.  * @param cookie The cookie
  6646.  * @param e      The xcb_generic_error_t supplied
  6647.  *
  6648.  * Returns the reply of the request asked by
  6649.  * 
  6650.  * The parameter @p e supplied to this function must be NULL if
  6651.  * xcb_query_tree_unchecked(). is used.
  6652.  * Otherwise, it stores the error if any.
  6653.  */
  6654.  
  6655. /*****************************************************************************
  6656.  **
  6657.  ** xcb_query_tree_reply_t * xcb_query_tree_reply
  6658.  ** 
  6659.  ** @param xcb_connection_t         *c
  6660.  ** @param xcb_query_tree_cookie_t   cookie
  6661.  ** @param xcb_generic_error_t     **e
  6662.  ** @returns xcb_query_tree_reply_t *
  6663.  **
  6664.  *****************************************************************************/
  6665.  
  6666. xcb_query_tree_reply_t *
  6667. xcb_query_tree_reply (xcb_connection_t         *c  /**< */,
  6668.                       xcb_query_tree_cookie_t   cookie  /**< */,
  6669.                       xcb_generic_error_t     **e  /**< */);
  6670.  
  6671. /**
  6672.  * Delivers a request to the X server
  6673.  * @param c The connection
  6674.  * @return A cookie
  6675.  *
  6676.  * Delivers a request to the X server.
  6677.  * 
  6678.  */
  6679.  
  6680. /*****************************************************************************
  6681.  **
  6682.  ** xcb_intern_atom_cookie_t xcb_intern_atom
  6683.  ** 
  6684.  ** @param xcb_connection_t *c
  6685.  ** @param uint8_t           only_if_exists
  6686.  ** @param uint16_t          name_len
  6687.  ** @param const char       *name
  6688.  ** @returns xcb_intern_atom_cookie_t
  6689.  **
  6690.  *****************************************************************************/
  6691.  
  6692. xcb_intern_atom_cookie_t
  6693. xcb_intern_atom (xcb_connection_t *c  /**< */,
  6694.                  uint8_t           only_if_exists  /**< */,
  6695.                  uint16_t          name_len  /**< */,
  6696.                  const char       *name  /**< */);
  6697.  
  6698. /**
  6699.  * Delivers a request to the X server
  6700.  * @param c The connection
  6701.  * @return A cookie
  6702.  *
  6703.  * Delivers a request to the X server.
  6704.  * 
  6705.  * This form can be used only if the request will cause
  6706.  * a reply to be generated. Any returned error will be
  6707.  * placed in the event queue.
  6708.  */
  6709.  
  6710. /*****************************************************************************
  6711.  **
  6712.  ** xcb_intern_atom_cookie_t xcb_intern_atom_unchecked
  6713.  ** 
  6714.  ** @param xcb_connection_t *c
  6715.  ** @param uint8_t           only_if_exists
  6716.  ** @param uint16_t          name_len
  6717.  ** @param const char       *name
  6718.  ** @returns xcb_intern_atom_cookie_t
  6719.  **
  6720.  *****************************************************************************/
  6721.  
  6722. xcb_intern_atom_cookie_t
  6723. xcb_intern_atom_unchecked (xcb_connection_t *c  /**< */,
  6724.                            uint8_t           only_if_exists  /**< */,
  6725.                            uint16_t          name_len  /**< */,
  6726.                            const char       *name  /**< */);
  6727.  
  6728. /**
  6729.  * Return the reply
  6730.  * @param c      The connection
  6731.  * @param cookie The cookie
  6732.  * @param e      The xcb_generic_error_t supplied
  6733.  *
  6734.  * Returns the reply of the request asked by
  6735.  * 
  6736.  * The parameter @p e supplied to this function must be NULL if
  6737.  * xcb_intern_atom_unchecked(). is used.
  6738.  * Otherwise, it stores the error if any.
  6739.  */
  6740.  
  6741. /*****************************************************************************
  6742.  **
  6743.  ** xcb_intern_atom_reply_t * xcb_intern_atom_reply
  6744.  ** 
  6745.  ** @param xcb_connection_t          *c
  6746.  ** @param xcb_intern_atom_cookie_t   cookie
  6747.  ** @param xcb_generic_error_t      **e
  6748.  ** @returns xcb_intern_atom_reply_t *
  6749.  **
  6750.  *****************************************************************************/
  6751.  
  6752. xcb_intern_atom_reply_t *
  6753. xcb_intern_atom_reply (xcb_connection_t          *c  /**< */,
  6754.                        xcb_intern_atom_cookie_t   cookie  /**< */,
  6755.                        xcb_generic_error_t      **e  /**< */);
  6756.  
  6757. /**
  6758.  * Delivers a request to the X server
  6759.  * @param c The connection
  6760.  * @return A cookie
  6761.  *
  6762.  * Delivers a request to the X server.
  6763.  * 
  6764.  */
  6765.  
  6766. /*****************************************************************************
  6767.  **
  6768.  ** xcb_get_atom_name_cookie_t xcb_get_atom_name
  6769.  ** 
  6770.  ** @param xcb_connection_t *c
  6771.  ** @param xcb_atom_t        atom
  6772.  ** @returns xcb_get_atom_name_cookie_t
  6773.  **
  6774.  *****************************************************************************/
  6775.  
  6776. xcb_get_atom_name_cookie_t
  6777. xcb_get_atom_name (xcb_connection_t *c  /**< */,
  6778.                    xcb_atom_t        atom  /**< */);
  6779.  
  6780. /**
  6781.  * Delivers a request to the X server
  6782.  * @param c The connection
  6783.  * @return A cookie
  6784.  *
  6785.  * Delivers a request to the X server.
  6786.  * 
  6787.  * This form can be used only if the request will cause
  6788.  * a reply to be generated. Any returned error will be
  6789.  * placed in the event queue.
  6790.  */
  6791.  
  6792. /*****************************************************************************
  6793.  **
  6794.  ** xcb_get_atom_name_cookie_t xcb_get_atom_name_unchecked
  6795.  ** 
  6796.  ** @param xcb_connection_t *c
  6797.  ** @param xcb_atom_t        atom
  6798.  ** @returns xcb_get_atom_name_cookie_t
  6799.  **
  6800.  *****************************************************************************/
  6801.  
  6802. xcb_get_atom_name_cookie_t
  6803. xcb_get_atom_name_unchecked (xcb_connection_t *c  /**< */,
  6804.                              xcb_atom_t        atom  /**< */);
  6805.  
  6806.  
  6807. /*****************************************************************************
  6808.  **
  6809.  ** uint8_t * xcb_get_atom_name_name
  6810.  ** 
  6811.  ** @param const xcb_get_atom_name_reply_t *R
  6812.  ** @returns uint8_t *
  6813.  **
  6814.  *****************************************************************************/
  6815.  
  6816. uint8_t *
  6817. xcb_get_atom_name_name (const xcb_get_atom_name_reply_t *R  /**< */);
  6818.  
  6819.  
  6820. /*****************************************************************************
  6821.  **
  6822.  ** int xcb_get_atom_name_name_length
  6823.  ** 
  6824.  ** @param const xcb_get_atom_name_reply_t *R
  6825.  ** @returns int
  6826.  **
  6827.  *****************************************************************************/
  6828.  
  6829. int
  6830. xcb_get_atom_name_name_length (const xcb_get_atom_name_reply_t *R  /**< */);
  6831.  
  6832.  
  6833. /*****************************************************************************
  6834.  **
  6835.  ** xcb_generic_iterator_t xcb_get_atom_name_name_end
  6836.  ** 
  6837.  ** @param const xcb_get_atom_name_reply_t *R
  6838.  ** @returns xcb_generic_iterator_t
  6839.  **
  6840.  *****************************************************************************/
  6841.  
  6842. xcb_generic_iterator_t
  6843. xcb_get_atom_name_name_end (const xcb_get_atom_name_reply_t *R  /**< */);
  6844.  
  6845. /**
  6846.  * Return the reply
  6847.  * @param c      The connection
  6848.  * @param cookie The cookie
  6849.  * @param e      The xcb_generic_error_t supplied
  6850.  *
  6851.  * Returns the reply of the request asked by
  6852.  * 
  6853.  * The parameter @p e supplied to this function must be NULL if
  6854.  * xcb_get_atom_name_unchecked(). is used.
  6855.  * Otherwise, it stores the error if any.
  6856.  */
  6857.  
  6858. /*****************************************************************************
  6859.  **
  6860.  ** xcb_get_atom_name_reply_t * xcb_get_atom_name_reply
  6861.  ** 
  6862.  ** @param xcb_connection_t            *c
  6863.  ** @param xcb_get_atom_name_cookie_t   cookie
  6864.  ** @param xcb_generic_error_t        **e
  6865.  ** @returns xcb_get_atom_name_reply_t *
  6866.  **
  6867.  *****************************************************************************/
  6868.  
  6869. xcb_get_atom_name_reply_t *
  6870. xcb_get_atom_name_reply (xcb_connection_t            *c  /**< */,
  6871.                          xcb_get_atom_name_cookie_t   cookie  /**< */,
  6872.                          xcb_generic_error_t        **e  /**< */);
  6873.  
  6874. /**
  6875.  * Delivers a request to the X server
  6876.  * @param c The connection
  6877.  * @return A cookie
  6878.  *
  6879.  * Delivers a request to the X server.
  6880.  * 
  6881.  * This form can be used only if the request will not cause
  6882.  * a reply to be generated. Any returned error will be
  6883.  * saved for handling by xcb_request_check().
  6884.  */
  6885.  
  6886. /*****************************************************************************
  6887.  **
  6888.  ** xcb_void_cookie_t xcb_change_property_checked
  6889.  ** 
  6890.  ** @param xcb_connection_t *c
  6891.  ** @param uint8_t           mode
  6892.  ** @param xcb_window_t      window
  6893.  ** @param xcb_atom_t        property
  6894.  ** @param xcb_atom_t        type
  6895.  ** @param uint8_t           format
  6896.  ** @param uint32_t          data_len
  6897.  ** @param const void       *data
  6898.  ** @returns xcb_void_cookie_t
  6899.  **
  6900.  *****************************************************************************/
  6901.  
  6902. xcb_void_cookie_t
  6903. xcb_change_property_checked (xcb_connection_t *c  /**< */,
  6904.                              uint8_t           mode  /**< */,
  6905.                              xcb_window_t      window  /**< */,
  6906.                              xcb_atom_t        property  /**< */,
  6907.                              xcb_atom_t        type  /**< */,
  6908.                              uint8_t           format  /**< */,
  6909.                              uint32_t          data_len  /**< */,
  6910.                              const void       *data  /**< */);
  6911.  
  6912. /**
  6913.  * Delivers a request to the X server
  6914.  * @param c The connection
  6915.  * @return A cookie
  6916.  *
  6917.  * Delivers a request to the X server.
  6918.  * 
  6919.  */
  6920.  
  6921. /*****************************************************************************
  6922.  **
  6923.  ** xcb_void_cookie_t xcb_change_property
  6924.  ** 
  6925.  ** @param xcb_connection_t *c
  6926.  ** @param uint8_t           mode
  6927.  ** @param xcb_window_t      window
  6928.  ** @param xcb_atom_t        property
  6929.  ** @param xcb_atom_t        type
  6930.  ** @param uint8_t           format
  6931.  ** @param uint32_t          data_len
  6932.  ** @param const void       *data
  6933.  ** @returns xcb_void_cookie_t
  6934.  **
  6935.  *****************************************************************************/
  6936.  
  6937. xcb_void_cookie_t
  6938. xcb_change_property (xcb_connection_t *c  /**< */,
  6939.                      uint8_t           mode  /**< */,
  6940.                      xcb_window_t      window  /**< */,
  6941.                      xcb_atom_t        property  /**< */,
  6942.                      xcb_atom_t        type  /**< */,
  6943.                      uint8_t           format  /**< */,
  6944.                      uint32_t          data_len  /**< */,
  6945.                      const void       *data  /**< */);
  6946.  
  6947. /**
  6948.  * Delivers a request to the X server
  6949.  * @param c The connection
  6950.  * @return A cookie
  6951.  *
  6952.  * Delivers a request to the X server.
  6953.  * 
  6954.  * This form can be used only if the request will not cause
  6955.  * a reply to be generated. Any returned error will be
  6956.  * saved for handling by xcb_request_check().
  6957.  */
  6958.  
  6959. /*****************************************************************************
  6960.  **
  6961.  ** xcb_void_cookie_t xcb_delete_property_checked
  6962.  ** 
  6963.  ** @param xcb_connection_t *c
  6964.  ** @param xcb_window_t      window
  6965.  ** @param xcb_atom_t        property
  6966.  ** @returns xcb_void_cookie_t
  6967.  **
  6968.  *****************************************************************************/
  6969.  
  6970. xcb_void_cookie_t
  6971. xcb_delete_property_checked (xcb_connection_t *c  /**< */,
  6972.                              xcb_window_t      window  /**< */,
  6973.                              xcb_atom_t        property  /**< */);
  6974.  
  6975. /**
  6976.  * Delivers a request to the X server
  6977.  * @param c The connection
  6978.  * @return A cookie
  6979.  *
  6980.  * Delivers a request to the X server.
  6981.  * 
  6982.  */
  6983.  
  6984. /*****************************************************************************
  6985.  **
  6986.  ** xcb_void_cookie_t xcb_delete_property
  6987.  ** 
  6988.  ** @param xcb_connection_t *c
  6989.  ** @param xcb_window_t      window
  6990.  ** @param xcb_atom_t        property
  6991.  ** @returns xcb_void_cookie_t
  6992.  **
  6993.  *****************************************************************************/
  6994.  
  6995. xcb_void_cookie_t
  6996. xcb_delete_property (xcb_connection_t *c  /**< */,
  6997.                      xcb_window_t      window  /**< */,
  6998.                      xcb_atom_t        property  /**< */);
  6999.  
  7000. /**
  7001.  * Delivers a request to the X server
  7002.  * @param c The connection
  7003.  * @return A cookie
  7004.  *
  7005.  * Delivers a request to the X server.
  7006.  * 
  7007.  */
  7008.  
  7009. /*****************************************************************************
  7010.  **
  7011.  ** xcb_get_property_cookie_t xcb_get_property
  7012.  ** 
  7013.  ** @param xcb_connection_t *c
  7014.  ** @param uint8_t           _delete
  7015.  ** @param xcb_window_t      window
  7016.  ** @param xcb_atom_t        property
  7017.  ** @param xcb_atom_t        type
  7018.  ** @param uint32_t          long_offset
  7019.  ** @param uint32_t          long_length
  7020.  ** @returns xcb_get_property_cookie_t
  7021.  **
  7022.  *****************************************************************************/
  7023.  
  7024. xcb_get_property_cookie_t
  7025. xcb_get_property (xcb_connection_t *c  /**< */,
  7026.                   uint8_t           _delete  /**< */,
  7027.                   xcb_window_t      window  /**< */,
  7028.                   xcb_atom_t        property  /**< */,
  7029.                   xcb_atom_t        type  /**< */,
  7030.                   uint32_t          long_offset  /**< */,
  7031.                   uint32_t          long_length  /**< */);
  7032.  
  7033. /**
  7034.  * Delivers a request to the X server
  7035.  * @param c The connection
  7036.  * @return A cookie
  7037.  *
  7038.  * Delivers a request to the X server.
  7039.  * 
  7040.  * This form can be used only if the request will cause
  7041.  * a reply to be generated. Any returned error will be
  7042.  * placed in the event queue.
  7043.  */
  7044.  
  7045. /*****************************************************************************
  7046.  **
  7047.  ** xcb_get_property_cookie_t xcb_get_property_unchecked
  7048.  ** 
  7049.  ** @param xcb_connection_t *c
  7050.  ** @param uint8_t           _delete
  7051.  ** @param xcb_window_t      window
  7052.  ** @param xcb_atom_t        property
  7053.  ** @param xcb_atom_t        type
  7054.  ** @param uint32_t          long_offset
  7055.  ** @param uint32_t          long_length
  7056.  ** @returns xcb_get_property_cookie_t
  7057.  **
  7058.  *****************************************************************************/
  7059.  
  7060. xcb_get_property_cookie_t
  7061. xcb_get_property_unchecked (xcb_connection_t *c  /**< */,
  7062.                             uint8_t           _delete  /**< */,
  7063.                             xcb_window_t      window  /**< */,
  7064.                             xcb_atom_t        property  /**< */,
  7065.                             xcb_atom_t        type  /**< */,
  7066.                             uint32_t          long_offset  /**< */,
  7067.                             uint32_t          long_length  /**< */);
  7068.  
  7069.  
  7070. /*****************************************************************************
  7071.  **
  7072.  ** void * xcb_get_property_value
  7073.  ** 
  7074.  ** @param const xcb_get_property_reply_t *R
  7075.  ** @returns void *
  7076.  **
  7077.  *****************************************************************************/
  7078.  
  7079. void *
  7080. xcb_get_property_value (const xcb_get_property_reply_t *R  /**< */);
  7081.  
  7082.  
  7083. /*****************************************************************************
  7084.  **
  7085.  ** int xcb_get_property_value_length
  7086.  ** 
  7087.  ** @param const xcb_get_property_reply_t *R
  7088.  ** @returns int
  7089.  **
  7090.  *****************************************************************************/
  7091.  
  7092. int
  7093. xcb_get_property_value_length (const xcb_get_property_reply_t *R  /**< */);
  7094.  
  7095.  
  7096. /*****************************************************************************
  7097.  **
  7098.  ** xcb_generic_iterator_t xcb_get_property_value_end
  7099.  ** 
  7100.  ** @param const xcb_get_property_reply_t *R
  7101.  ** @returns xcb_generic_iterator_t
  7102.  **
  7103.  *****************************************************************************/
  7104.  
  7105. xcb_generic_iterator_t
  7106. xcb_get_property_value_end (const xcb_get_property_reply_t *R  /**< */);
  7107.  
  7108. /**
  7109.  * Return the reply
  7110.  * @param c      The connection
  7111.  * @param cookie The cookie
  7112.  * @param e      The xcb_generic_error_t supplied
  7113.  *
  7114.  * Returns the reply of the request asked by
  7115.  * 
  7116.  * The parameter @p e supplied to this function must be NULL if
  7117.  * xcb_get_property_unchecked(). is used.
  7118.  * Otherwise, it stores the error if any.
  7119.  */
  7120.  
  7121. /*****************************************************************************
  7122.  **
  7123.  ** xcb_get_property_reply_t * xcb_get_property_reply
  7124.  ** 
  7125.  ** @param xcb_connection_t           *c
  7126.  ** @param xcb_get_property_cookie_t   cookie
  7127.  ** @param xcb_generic_error_t       **e
  7128.  ** @returns xcb_get_property_reply_t *
  7129.  **
  7130.  *****************************************************************************/
  7131.  
  7132. xcb_get_property_reply_t *
  7133. xcb_get_property_reply (xcb_connection_t           *c  /**< */,
  7134.                         xcb_get_property_cookie_t   cookie  /**< */,
  7135.                         xcb_generic_error_t       **e  /**< */);
  7136.  
  7137. /**
  7138.  * Delivers a request to the X server
  7139.  * @param c The connection
  7140.  * @return A cookie
  7141.  *
  7142.  * Delivers a request to the X server.
  7143.  * 
  7144.  */
  7145.  
  7146. /*****************************************************************************
  7147.  **
  7148.  ** xcb_list_properties_cookie_t xcb_list_properties
  7149.  ** 
  7150.  ** @param xcb_connection_t *c
  7151.  ** @param xcb_window_t      window
  7152.  ** @returns xcb_list_properties_cookie_t
  7153.  **
  7154.  *****************************************************************************/
  7155.  
  7156. xcb_list_properties_cookie_t
  7157. xcb_list_properties (xcb_connection_t *c  /**< */,
  7158.                      xcb_window_t      window  /**< */);
  7159.  
  7160. /**
  7161.  * Delivers a request to the X server
  7162.  * @param c The connection
  7163.  * @return A cookie
  7164.  *
  7165.  * Delivers a request to the X server.
  7166.  * 
  7167.  * This form can be used only if the request will cause
  7168.  * a reply to be generated. Any returned error will be
  7169.  * placed in the event queue.
  7170.  */
  7171.  
  7172. /*****************************************************************************
  7173.  **
  7174.  ** xcb_list_properties_cookie_t xcb_list_properties_unchecked
  7175.  ** 
  7176.  ** @param xcb_connection_t *c
  7177.  ** @param xcb_window_t      window
  7178.  ** @returns xcb_list_properties_cookie_t
  7179.  **
  7180.  *****************************************************************************/
  7181.  
  7182. xcb_list_properties_cookie_t
  7183. xcb_list_properties_unchecked (xcb_connection_t *c  /**< */,
  7184.                                xcb_window_t      window  /**< */);
  7185.  
  7186.  
  7187. /*****************************************************************************
  7188.  **
  7189.  ** xcb_atom_t * xcb_list_properties_atoms
  7190.  ** 
  7191.  ** @param const xcb_list_properties_reply_t *R
  7192.  ** @returns xcb_atom_t *
  7193.  **
  7194.  *****************************************************************************/
  7195.  
  7196. xcb_atom_t *
  7197. xcb_list_properties_atoms (const xcb_list_properties_reply_t *R  /**< */);
  7198.  
  7199.  
  7200. /*****************************************************************************
  7201.  **
  7202.  ** int xcb_list_properties_atoms_length
  7203.  ** 
  7204.  ** @param const xcb_list_properties_reply_t *R
  7205.  ** @returns int
  7206.  **
  7207.  *****************************************************************************/
  7208.  
  7209. int
  7210. xcb_list_properties_atoms_length (const xcb_list_properties_reply_t *R  /**< */);
  7211.  
  7212.  
  7213. /*****************************************************************************
  7214.  **
  7215.  ** xcb_atom_iterator_t xcb_list_properties_atoms_iterator
  7216.  ** 
  7217.  ** @param const xcb_list_properties_reply_t *R
  7218.  ** @returns xcb_atom_iterator_t
  7219.  **
  7220.  *****************************************************************************/
  7221.  
  7222. xcb_atom_iterator_t
  7223. xcb_list_properties_atoms_iterator (const xcb_list_properties_reply_t *R  /**< */);
  7224.  
  7225. /**
  7226.  * Return the reply
  7227.  * @param c      The connection
  7228.  * @param cookie The cookie
  7229.  * @param e      The xcb_generic_error_t supplied
  7230.  *
  7231.  * Returns the reply of the request asked by
  7232.  * 
  7233.  * The parameter @p e supplied to this function must be NULL if
  7234.  * xcb_list_properties_unchecked(). is used.
  7235.  * Otherwise, it stores the error if any.
  7236.  */
  7237.  
  7238. /*****************************************************************************
  7239.  **
  7240.  ** xcb_list_properties_reply_t * xcb_list_properties_reply
  7241.  ** 
  7242.  ** @param xcb_connection_t              *c
  7243.  ** @param xcb_list_properties_cookie_t   cookie
  7244.  ** @param xcb_generic_error_t          **e
  7245.  ** @returns xcb_list_properties_reply_t *
  7246.  **
  7247.  *****************************************************************************/
  7248.  
  7249. xcb_list_properties_reply_t *
  7250. xcb_list_properties_reply (xcb_connection_t              *c  /**< */,
  7251.                            xcb_list_properties_cookie_t   cookie  /**< */,
  7252.                            xcb_generic_error_t          **e  /**< */);
  7253.  
  7254. /**
  7255.  * Delivers a request to the X server
  7256.  * @param c The connection
  7257.  * @return A cookie
  7258.  *
  7259.  * Delivers a request to the X server.
  7260.  * 
  7261.  * This form can be used only if the request will not cause
  7262.  * a reply to be generated. Any returned error will be
  7263.  * saved for handling by xcb_request_check().
  7264.  */
  7265.  
  7266. /*****************************************************************************
  7267.  **
  7268.  ** xcb_void_cookie_t xcb_set_selection_owner_checked
  7269.  ** 
  7270.  ** @param xcb_connection_t *c
  7271.  ** @param xcb_window_t      owner
  7272.  ** @param xcb_atom_t        selection
  7273.  ** @param xcb_timestamp_t   time
  7274.  ** @returns xcb_void_cookie_t
  7275.  **
  7276.  *****************************************************************************/
  7277.  
  7278. xcb_void_cookie_t
  7279. xcb_set_selection_owner_checked (xcb_connection_t *c  /**< */,
  7280.                                  xcb_window_t      owner  /**< */,
  7281.                                  xcb_atom_t        selection  /**< */,
  7282.                                  xcb_timestamp_t   time  /**< */);
  7283.  
  7284. /**
  7285.  * Delivers a request to the X server
  7286.  * @param c The connection
  7287.  * @return A cookie
  7288.  *
  7289.  * Delivers a request to the X server.
  7290.  * 
  7291.  */
  7292.  
  7293. /*****************************************************************************
  7294.  **
  7295.  ** xcb_void_cookie_t xcb_set_selection_owner
  7296.  ** 
  7297.  ** @param xcb_connection_t *c
  7298.  ** @param xcb_window_t      owner
  7299.  ** @param xcb_atom_t        selection
  7300.  ** @param xcb_timestamp_t   time
  7301.  ** @returns xcb_void_cookie_t
  7302.  **
  7303.  *****************************************************************************/
  7304.  
  7305. xcb_void_cookie_t
  7306. xcb_set_selection_owner (xcb_connection_t *c  /**< */,
  7307.                          xcb_window_t      owner  /**< */,
  7308.                          xcb_atom_t        selection  /**< */,
  7309.                          xcb_timestamp_t   time  /**< */);
  7310.  
  7311. /**
  7312.  * Delivers a request to the X server
  7313.  * @param c The connection
  7314.  * @return A cookie
  7315.  *
  7316.  * Delivers a request to the X server.
  7317.  * 
  7318.  */
  7319.  
  7320. /*****************************************************************************
  7321.  **
  7322.  ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner
  7323.  ** 
  7324.  ** @param xcb_connection_t *c
  7325.  ** @param xcb_atom_t        selection
  7326.  ** @returns xcb_get_selection_owner_cookie_t
  7327.  **
  7328.  *****************************************************************************/
  7329.  
  7330. xcb_get_selection_owner_cookie_t
  7331. xcb_get_selection_owner (xcb_connection_t *c  /**< */,
  7332.                          xcb_atom_t        selection  /**< */);
  7333.  
  7334. /**
  7335.  * Delivers a request to the X server
  7336.  * @param c The connection
  7337.  * @return A cookie
  7338.  *
  7339.  * Delivers a request to the X server.
  7340.  * 
  7341.  * This form can be used only if the request will cause
  7342.  * a reply to be generated. Any returned error will be
  7343.  * placed in the event queue.
  7344.  */
  7345.  
  7346. /*****************************************************************************
  7347.  **
  7348.  ** xcb_get_selection_owner_cookie_t xcb_get_selection_owner_unchecked
  7349.  ** 
  7350.  ** @param xcb_connection_t *c
  7351.  ** @param xcb_atom_t        selection
  7352.  ** @returns xcb_get_selection_owner_cookie_t
  7353.  **
  7354.  *****************************************************************************/
  7355.  
  7356. xcb_get_selection_owner_cookie_t
  7357. xcb_get_selection_owner_unchecked (xcb_connection_t *c  /**< */,
  7358.                                    xcb_atom_t        selection  /**< */);
  7359.  
  7360. /**
  7361.  * Return the reply
  7362.  * @param c      The connection
  7363.  * @param cookie The cookie
  7364.  * @param e      The xcb_generic_error_t supplied
  7365.  *
  7366.  * Returns the reply of the request asked by
  7367.  * 
  7368.  * The parameter @p e supplied to this function must be NULL if
  7369.  * xcb_get_selection_owner_unchecked(). is used.
  7370.  * Otherwise, it stores the error if any.
  7371.  */
  7372.  
  7373. /*****************************************************************************
  7374.  **
  7375.  ** xcb_get_selection_owner_reply_t * xcb_get_selection_owner_reply
  7376.  ** 
  7377.  ** @param xcb_connection_t                  *c
  7378.  ** @param xcb_get_selection_owner_cookie_t   cookie
  7379.  ** @param xcb_generic_error_t              **e
  7380.  ** @returns xcb_get_selection_owner_reply_t *
  7381.  **
  7382.  *****************************************************************************/
  7383.  
  7384. xcb_get_selection_owner_reply_t *
  7385. xcb_get_selection_owner_reply (xcb_connection_t                  *c  /**< */,
  7386.                                xcb_get_selection_owner_cookie_t   cookie  /**< */,
  7387.                                xcb_generic_error_t              **e  /**< */);
  7388.  
  7389. /**
  7390.  * Delivers a request to the X server
  7391.  * @param c The connection
  7392.  * @return A cookie
  7393.  *
  7394.  * Delivers a request to the X server.
  7395.  * 
  7396.  * This form can be used only if the request will not cause
  7397.  * a reply to be generated. Any returned error will be
  7398.  * saved for handling by xcb_request_check().
  7399.  */
  7400.  
  7401. /*****************************************************************************
  7402.  **
  7403.  ** xcb_void_cookie_t xcb_convert_selection_checked
  7404.  ** 
  7405.  ** @param xcb_connection_t *c
  7406.  ** @param xcb_window_t      requestor
  7407.  ** @param xcb_atom_t        selection
  7408.  ** @param xcb_atom_t        target
  7409.  ** @param xcb_atom_t        property
  7410.  ** @param xcb_timestamp_t   time
  7411.  ** @returns xcb_void_cookie_t
  7412.  **
  7413.  *****************************************************************************/
  7414.  
  7415. xcb_void_cookie_t
  7416. xcb_convert_selection_checked (xcb_connection_t *c  /**< */,
  7417.                                xcb_window_t      requestor  /**< */,
  7418.                                xcb_atom_t        selection  /**< */,
  7419.                                xcb_atom_t        target  /**< */,
  7420.                                xcb_atom_t        property  /**< */,
  7421.                                xcb_timestamp_t   time  /**< */);
  7422.  
  7423. /**
  7424.  * Delivers a request to the X server
  7425.  * @param c The connection
  7426.  * @return A cookie
  7427.  *
  7428.  * Delivers a request to the X server.
  7429.  * 
  7430.  */
  7431.  
  7432. /*****************************************************************************
  7433.  **
  7434.  ** xcb_void_cookie_t xcb_convert_selection
  7435.  ** 
  7436.  ** @param xcb_connection_t *c
  7437.  ** @param xcb_window_t      requestor
  7438.  ** @param xcb_atom_t        selection
  7439.  ** @param xcb_atom_t        target
  7440.  ** @param xcb_atom_t        property
  7441.  ** @param xcb_timestamp_t   time
  7442.  ** @returns xcb_void_cookie_t
  7443.  **
  7444.  *****************************************************************************/
  7445.  
  7446. xcb_void_cookie_t
  7447. xcb_convert_selection (xcb_connection_t *c  /**< */,
  7448.                        xcb_window_t      requestor  /**< */,
  7449.                        xcb_atom_t        selection  /**< */,
  7450.                        xcb_atom_t        target  /**< */,
  7451.                        xcb_atom_t        property  /**< */,
  7452.                        xcb_timestamp_t   time  /**< */);
  7453.  
  7454. /**
  7455.  * Delivers a request to the X server
  7456.  * @param c The connection
  7457.  * @return A cookie
  7458.  *
  7459.  * Delivers a request to the X server.
  7460.  * 
  7461.  * This form can be used only if the request will not cause
  7462.  * a reply to be generated. Any returned error will be
  7463.  * saved for handling by xcb_request_check().
  7464.  */
  7465.  
  7466. /*****************************************************************************
  7467.  **
  7468.  ** xcb_void_cookie_t xcb_send_event_checked
  7469.  ** 
  7470.  ** @param xcb_connection_t *c
  7471.  ** @param uint8_t           propagate
  7472.  ** @param xcb_window_t      destination
  7473.  ** @param uint32_t          event_mask
  7474.  ** @param const char       *event
  7475.  ** @returns xcb_void_cookie_t
  7476.  **
  7477.  *****************************************************************************/
  7478.  
  7479. xcb_void_cookie_t
  7480. xcb_send_event_checked (xcb_connection_t *c  /**< */,
  7481.                         uint8_t           propagate  /**< */,
  7482.                         xcb_window_t      destination  /**< */,
  7483.                         uint32_t          event_mask  /**< */,
  7484.                         const char       *event  /**< */);
  7485.  
  7486. /**
  7487.  * Delivers a request to the X server
  7488.  * @param c The connection
  7489.  * @return A cookie
  7490.  *
  7491.  * Delivers a request to the X server.
  7492.  * 
  7493.  */
  7494.  
  7495. /*****************************************************************************
  7496.  **
  7497.  ** xcb_void_cookie_t xcb_send_event
  7498.  ** 
  7499.  ** @param xcb_connection_t *c
  7500.  ** @param uint8_t           propagate
  7501.  ** @param xcb_window_t      destination
  7502.  ** @param uint32_t          event_mask
  7503.  ** @param const char       *event
  7504.  ** @returns xcb_void_cookie_t
  7505.  **
  7506.  *****************************************************************************/
  7507.  
  7508. xcb_void_cookie_t
  7509. xcb_send_event (xcb_connection_t *c  /**< */,
  7510.                 uint8_t           propagate  /**< */,
  7511.                 xcb_window_t      destination  /**< */,
  7512.                 uint32_t          event_mask  /**< */,
  7513.                 const char       *event  /**< */);
  7514.  
  7515. /**
  7516.  * Delivers a request to the X server
  7517.  * @param c The connection
  7518.  * @return A cookie
  7519.  *
  7520.  * Delivers a request to the X server.
  7521.  * 
  7522.  */
  7523.  
  7524. /*****************************************************************************
  7525.  **
  7526.  ** xcb_grab_pointer_cookie_t xcb_grab_pointer
  7527.  ** 
  7528.  ** @param xcb_connection_t *c
  7529.  ** @param uint8_t           owner_events
  7530.  ** @param xcb_window_t      grab_window
  7531.  ** @param uint16_t          event_mask
  7532.  ** @param uint8_t           pointer_mode
  7533.  ** @param uint8_t           keyboard_mode
  7534.  ** @param xcb_window_t      confine_to
  7535.  ** @param xcb_cursor_t      cursor
  7536.  ** @param xcb_timestamp_t   time
  7537.  ** @returns xcb_grab_pointer_cookie_t
  7538.  **
  7539.  *****************************************************************************/
  7540.  
  7541. xcb_grab_pointer_cookie_t
  7542. xcb_grab_pointer (xcb_connection_t *c  /**< */,
  7543.                   uint8_t           owner_events  /**< */,
  7544.                   xcb_window_t      grab_window  /**< */,
  7545.                   uint16_t          event_mask  /**< */,
  7546.                   uint8_t           pointer_mode  /**< */,
  7547.                   uint8_t           keyboard_mode  /**< */,
  7548.                   xcb_window_t      confine_to  /**< */,
  7549.                   xcb_cursor_t      cursor  /**< */,
  7550.                   xcb_timestamp_t   time  /**< */);
  7551.  
  7552. /**
  7553.  * Delivers a request to the X server
  7554.  * @param c The connection
  7555.  * @return A cookie
  7556.  *
  7557.  * Delivers a request to the X server.
  7558.  * 
  7559.  * This form can be used only if the request will cause
  7560.  * a reply to be generated. Any returned error will be
  7561.  * placed in the event queue.
  7562.  */
  7563.  
  7564. /*****************************************************************************
  7565.  **
  7566.  ** xcb_grab_pointer_cookie_t xcb_grab_pointer_unchecked
  7567.  ** 
  7568.  ** @param xcb_connection_t *c
  7569.  ** @param uint8_t           owner_events
  7570.  ** @param xcb_window_t      grab_window
  7571.  ** @param uint16_t          event_mask
  7572.  ** @param uint8_t           pointer_mode
  7573.  ** @param uint8_t           keyboard_mode
  7574.  ** @param xcb_window_t      confine_to
  7575.  ** @param xcb_cursor_t      cursor
  7576.  ** @param xcb_timestamp_t   time
  7577.  ** @returns xcb_grab_pointer_cookie_t
  7578.  **
  7579.  *****************************************************************************/
  7580.  
  7581. xcb_grab_pointer_cookie_t
  7582. xcb_grab_pointer_unchecked (xcb_connection_t *c  /**< */,
  7583.                             uint8_t           owner_events  /**< */,
  7584.                             xcb_window_t      grab_window  /**< */,
  7585.                             uint16_t          event_mask  /**< */,
  7586.                             uint8_t           pointer_mode  /**< */,
  7587.                             uint8_t           keyboard_mode  /**< */,
  7588.                             xcb_window_t      confine_to  /**< */,
  7589.                             xcb_cursor_t      cursor  /**< */,
  7590.                             xcb_timestamp_t   time  /**< */);
  7591.  
  7592. /**
  7593.  * Return the reply
  7594.  * @param c      The connection
  7595.  * @param cookie The cookie
  7596.  * @param e      The xcb_generic_error_t supplied
  7597.  *
  7598.  * Returns the reply of the request asked by
  7599.  * 
  7600.  * The parameter @p e supplied to this function must be NULL if
  7601.  * xcb_grab_pointer_unchecked(). is used.
  7602.  * Otherwise, it stores the error if any.
  7603.  */
  7604.  
  7605. /*****************************************************************************
  7606.  **
  7607.  ** xcb_grab_pointer_reply_t * xcb_grab_pointer_reply
  7608.  ** 
  7609.  ** @param xcb_connection_t           *c
  7610.  ** @param xcb_grab_pointer_cookie_t   cookie
  7611.  ** @param xcb_generic_error_t       **e
  7612.  ** @returns xcb_grab_pointer_reply_t *
  7613.  **
  7614.  *****************************************************************************/
  7615.  
  7616. xcb_grab_pointer_reply_t *
  7617. xcb_grab_pointer_reply (xcb_connection_t           *c  /**< */,
  7618.                         xcb_grab_pointer_cookie_t   cookie  /**< */,
  7619.                         xcb_generic_error_t       **e  /**< */);
  7620.  
  7621. /**
  7622.  * Delivers a request to the X server
  7623.  * @param c The connection
  7624.  * @return A cookie
  7625.  *
  7626.  * Delivers a request to the X server.
  7627.  * 
  7628.  * This form can be used only if the request will not cause
  7629.  * a reply to be generated. Any returned error will be
  7630.  * saved for handling by xcb_request_check().
  7631.  */
  7632.  
  7633. /*****************************************************************************
  7634.  **
  7635.  ** xcb_void_cookie_t xcb_ungrab_pointer_checked
  7636.  ** 
  7637.  ** @param xcb_connection_t *c
  7638.  ** @param xcb_timestamp_t   time
  7639.  ** @returns xcb_void_cookie_t
  7640.  **
  7641.  *****************************************************************************/
  7642.  
  7643. xcb_void_cookie_t
  7644. xcb_ungrab_pointer_checked (xcb_connection_t *c  /**< */,
  7645.                             xcb_timestamp_t   time  /**< */);
  7646.  
  7647. /**
  7648.  * Delivers a request to the X server
  7649.  * @param c The connection
  7650.  * @return A cookie
  7651.  *
  7652.  * Delivers a request to the X server.
  7653.  * 
  7654.  */
  7655.  
  7656. /*****************************************************************************
  7657.  **
  7658.  ** xcb_void_cookie_t xcb_ungrab_pointer
  7659.  ** 
  7660.  ** @param xcb_connection_t *c
  7661.  ** @param xcb_timestamp_t   time
  7662.  ** @returns xcb_void_cookie_t
  7663.  **
  7664.  *****************************************************************************/
  7665.  
  7666. xcb_void_cookie_t
  7667. xcb_ungrab_pointer (xcb_connection_t *c  /**< */,
  7668.                     xcb_timestamp_t   time  /**< */);
  7669.  
  7670. /**
  7671.  * Delivers a request to the X server
  7672.  * @param c The connection
  7673.  * @return A cookie
  7674.  *
  7675.  * Delivers a request to the X server.
  7676.  * 
  7677.  * This form can be used only if the request will not cause
  7678.  * a reply to be generated. Any returned error will be
  7679.  * saved for handling by xcb_request_check().
  7680.  */
  7681.  
  7682. /*****************************************************************************
  7683.  **
  7684.  ** xcb_void_cookie_t xcb_grab_button_checked
  7685.  ** 
  7686.  ** @param xcb_connection_t *c
  7687.  ** @param uint8_t           owner_events
  7688.  ** @param xcb_window_t      grab_window
  7689.  ** @param uint16_t          event_mask
  7690.  ** @param uint8_t           pointer_mode
  7691.  ** @param uint8_t           keyboard_mode
  7692.  ** @param xcb_window_t      confine_to
  7693.  ** @param xcb_cursor_t      cursor
  7694.  ** @param uint8_t           button
  7695.  ** @param uint16_t          modifiers
  7696.  ** @returns xcb_void_cookie_t
  7697.  **
  7698.  *****************************************************************************/
  7699.  
  7700. xcb_void_cookie_t
  7701. xcb_grab_button_checked (xcb_connection_t *c  /**< */,
  7702.                          uint8_t           owner_events  /**< */,
  7703.                          xcb_window_t      grab_window  /**< */,
  7704.                          uint16_t          event_mask  /**< */,
  7705.                          uint8_t           pointer_mode  /**< */,
  7706.                          uint8_t           keyboard_mode  /**< */,
  7707.                          xcb_window_t      confine_to  /**< */,
  7708.                          xcb_cursor_t      cursor  /**< */,
  7709.                          uint8_t           button  /**< */,
  7710.                          uint16_t          modifiers  /**< */);
  7711.  
  7712. /**
  7713.  * Delivers a request to the X server
  7714.  * @param c The connection
  7715.  * @return A cookie
  7716.  *
  7717.  * Delivers a request to the X server.
  7718.  * 
  7719.  */
  7720.  
  7721. /*****************************************************************************
  7722.  **
  7723.  ** xcb_void_cookie_t xcb_grab_button
  7724.  ** 
  7725.  ** @param xcb_connection_t *c
  7726.  ** @param uint8_t           owner_events
  7727.  ** @param xcb_window_t      grab_window
  7728.  ** @param uint16_t          event_mask
  7729.  ** @param uint8_t           pointer_mode
  7730.  ** @param uint8_t           keyboard_mode
  7731.  ** @param xcb_window_t      confine_to
  7732.  ** @param xcb_cursor_t      cursor
  7733.  ** @param uint8_t           button
  7734.  ** @param uint16_t          modifiers
  7735.  ** @returns xcb_void_cookie_t
  7736.  **
  7737.  *****************************************************************************/
  7738.  
  7739. xcb_void_cookie_t
  7740. xcb_grab_button (xcb_connection_t *c  /**< */,
  7741.                  uint8_t           owner_events  /**< */,
  7742.                  xcb_window_t      grab_window  /**< */,
  7743.                  uint16_t          event_mask  /**< */,
  7744.                  uint8_t           pointer_mode  /**< */,
  7745.                  uint8_t           keyboard_mode  /**< */,
  7746.                  xcb_window_t      confine_to  /**< */,
  7747.                  xcb_cursor_t      cursor  /**< */,
  7748.                  uint8_t           button  /**< */,
  7749.                  uint16_t          modifiers  /**< */);
  7750.  
  7751. /**
  7752.  * Delivers a request to the X server
  7753.  * @param c The connection
  7754.  * @return A cookie
  7755.  *
  7756.  * Delivers a request to the X server.
  7757.  * 
  7758.  * This form can be used only if the request will not cause
  7759.  * a reply to be generated. Any returned error will be
  7760.  * saved for handling by xcb_request_check().
  7761.  */
  7762.  
  7763. /*****************************************************************************
  7764.  **
  7765.  ** xcb_void_cookie_t xcb_ungrab_button_checked
  7766.  ** 
  7767.  ** @param xcb_connection_t *c
  7768.  ** @param uint8_t           button
  7769.  ** @param xcb_window_t      grab_window
  7770.  ** @param uint16_t          modifiers
  7771.  ** @returns xcb_void_cookie_t
  7772.  **
  7773.  *****************************************************************************/
  7774.  
  7775. xcb_void_cookie_t
  7776. xcb_ungrab_button_checked (xcb_connection_t *c  /**< */,
  7777.                            uint8_t           button  /**< */,
  7778.                            xcb_window_t      grab_window  /**< */,
  7779.                            uint16_t          modifiers  /**< */);
  7780.  
  7781. /**
  7782.  * Delivers a request to the X server
  7783.  * @param c The connection
  7784.  * @return A cookie
  7785.  *
  7786.  * Delivers a request to the X server.
  7787.  * 
  7788.  */
  7789.  
  7790. /*****************************************************************************
  7791.  **
  7792.  ** xcb_void_cookie_t xcb_ungrab_button
  7793.  ** 
  7794.  ** @param xcb_connection_t *c
  7795.  ** @param uint8_t           button
  7796.  ** @param xcb_window_t      grab_window
  7797.  ** @param uint16_t          modifiers
  7798.  ** @returns xcb_void_cookie_t
  7799.  **
  7800.  *****************************************************************************/
  7801.  
  7802. xcb_void_cookie_t
  7803. xcb_ungrab_button (xcb_connection_t *c  /**< */,
  7804.                    uint8_t           button  /**< */,
  7805.                    xcb_window_t      grab_window  /**< */,
  7806.                    uint16_t          modifiers  /**< */);
  7807.  
  7808. /**
  7809.  * Delivers a request to the X server
  7810.  * @param c The connection
  7811.  * @return A cookie
  7812.  *
  7813.  * Delivers a request to the X server.
  7814.  * 
  7815.  * This form can be used only if the request will not cause
  7816.  * a reply to be generated. Any returned error will be
  7817.  * saved for handling by xcb_request_check().
  7818.  */
  7819.  
  7820. /*****************************************************************************
  7821.  **
  7822.  ** xcb_void_cookie_t xcb_change_active_pointer_grab_checked
  7823.  ** 
  7824.  ** @param xcb_connection_t *c
  7825.  ** @param xcb_cursor_t      cursor
  7826.  ** @param xcb_timestamp_t   time
  7827.  ** @param uint16_t          event_mask
  7828.  ** @returns xcb_void_cookie_t
  7829.  **
  7830.  *****************************************************************************/
  7831.  
  7832. xcb_void_cookie_t
  7833. xcb_change_active_pointer_grab_checked (xcb_connection_t *c  /**< */,
  7834.                                         xcb_cursor_t      cursor  /**< */,
  7835.                                         xcb_timestamp_t   time  /**< */,
  7836.                                         uint16_t          event_mask  /**< */);
  7837.  
  7838. /**
  7839.  * Delivers a request to the X server
  7840.  * @param c The connection
  7841.  * @return A cookie
  7842.  *
  7843.  * Delivers a request to the X server.
  7844.  * 
  7845.  */
  7846.  
  7847. /*****************************************************************************
  7848.  **
  7849.  ** xcb_void_cookie_t xcb_change_active_pointer_grab
  7850.  ** 
  7851.  ** @param xcb_connection_t *c
  7852.  ** @param xcb_cursor_t      cursor
  7853.  ** @param xcb_timestamp_t   time
  7854.  ** @param uint16_t          event_mask
  7855.  ** @returns xcb_void_cookie_t
  7856.  **
  7857.  *****************************************************************************/
  7858.  
  7859. xcb_void_cookie_t
  7860. xcb_change_active_pointer_grab (xcb_connection_t *c  /**< */,
  7861.                                 xcb_cursor_t      cursor  /**< */,
  7862.                                 xcb_timestamp_t   time  /**< */,
  7863.                                 uint16_t          event_mask  /**< */);
  7864.  
  7865. /**
  7866.  * Delivers a request to the X server
  7867.  * @param c The connection
  7868.  * @return A cookie
  7869.  *
  7870.  * Delivers a request to the X server.
  7871.  * 
  7872.  */
  7873.  
  7874. /*****************************************************************************
  7875.  **
  7876.  ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard
  7877.  ** 
  7878.  ** @param xcb_connection_t *c
  7879.  ** @param uint8_t           owner_events
  7880.  ** @param xcb_window_t      grab_window
  7881.  ** @param xcb_timestamp_t   time
  7882.  ** @param uint8_t           pointer_mode
  7883.  ** @param uint8_t           keyboard_mode
  7884.  ** @returns xcb_grab_keyboard_cookie_t
  7885.  **
  7886.  *****************************************************************************/
  7887.  
  7888. xcb_grab_keyboard_cookie_t
  7889. xcb_grab_keyboard (xcb_connection_t *c  /**< */,
  7890.                    uint8_t           owner_events  /**< */,
  7891.                    xcb_window_t      grab_window  /**< */,
  7892.                    xcb_timestamp_t   time  /**< */,
  7893.                    uint8_t           pointer_mode  /**< */,
  7894.                    uint8_t           keyboard_mode  /**< */);
  7895.  
  7896. /**
  7897.  * Delivers a request to the X server
  7898.  * @param c The connection
  7899.  * @return A cookie
  7900.  *
  7901.  * Delivers a request to the X server.
  7902.  * 
  7903.  * This form can be used only if the request will cause
  7904.  * a reply to be generated. Any returned error will be
  7905.  * placed in the event queue.
  7906.  */
  7907.  
  7908. /*****************************************************************************
  7909.  **
  7910.  ** xcb_grab_keyboard_cookie_t xcb_grab_keyboard_unchecked
  7911.  ** 
  7912.  ** @param xcb_connection_t *c
  7913.  ** @param uint8_t           owner_events
  7914.  ** @param xcb_window_t      grab_window
  7915.  ** @param xcb_timestamp_t   time
  7916.  ** @param uint8_t           pointer_mode
  7917.  ** @param uint8_t           keyboard_mode
  7918.  ** @returns xcb_grab_keyboard_cookie_t
  7919.  **
  7920.  *****************************************************************************/
  7921.  
  7922. xcb_grab_keyboard_cookie_t
  7923. xcb_grab_keyboard_unchecked (xcb_connection_t *c  /**< */,
  7924.                              uint8_t           owner_events  /**< */,
  7925.                              xcb_window_t      grab_window  /**< */,
  7926.                              xcb_timestamp_t   time  /**< */,
  7927.                              uint8_t           pointer_mode  /**< */,
  7928.                              uint8_t           keyboard_mode  /**< */);
  7929.  
  7930. /**
  7931.  * Return the reply
  7932.  * @param c      The connection
  7933.  * @param cookie The cookie
  7934.  * @param e      The xcb_generic_error_t supplied
  7935.  *
  7936.  * Returns the reply of the request asked by
  7937.  * 
  7938.  * The parameter @p e supplied to this function must be NULL if
  7939.  * xcb_grab_keyboard_unchecked(). is used.
  7940.  * Otherwise, it stores the error if any.
  7941.  */
  7942.  
  7943. /*****************************************************************************
  7944.  **
  7945.  ** xcb_grab_keyboard_reply_t * xcb_grab_keyboard_reply
  7946.  ** 
  7947.  ** @param xcb_connection_t            *c
  7948.  ** @param xcb_grab_keyboard_cookie_t   cookie
  7949.  ** @param xcb_generic_error_t        **e
  7950.  ** @returns xcb_grab_keyboard_reply_t *
  7951.  **
  7952.  *****************************************************************************/
  7953.  
  7954. xcb_grab_keyboard_reply_t *
  7955. xcb_grab_keyboard_reply (xcb_connection_t            *c  /**< */,
  7956.                          xcb_grab_keyboard_cookie_t   cookie  /**< */,
  7957.                          xcb_generic_error_t        **e  /**< */);
  7958.  
  7959. /**
  7960.  * Delivers a request to the X server
  7961.  * @param c The connection
  7962.  * @return A cookie
  7963.  *
  7964.  * Delivers a request to the X server.
  7965.  * 
  7966.  * This form can be used only if the request will not cause
  7967.  * a reply to be generated. Any returned error will be
  7968.  * saved for handling by xcb_request_check().
  7969.  */
  7970.  
  7971. /*****************************************************************************
  7972.  **
  7973.  ** xcb_void_cookie_t xcb_ungrab_keyboard_checked
  7974.  ** 
  7975.  ** @param xcb_connection_t *c
  7976.  ** @param xcb_timestamp_t   time
  7977.  ** @returns xcb_void_cookie_t
  7978.  **
  7979.  *****************************************************************************/
  7980.  
  7981. xcb_void_cookie_t
  7982. xcb_ungrab_keyboard_checked (xcb_connection_t *c  /**< */,
  7983.                              xcb_timestamp_t   time  /**< */);
  7984.  
  7985. /**
  7986.  * Delivers a request to the X server
  7987.  * @param c The connection
  7988.  * @return A cookie
  7989.  *
  7990.  * Delivers a request to the X server.
  7991.  * 
  7992.  */
  7993.  
  7994. /*****************************************************************************
  7995.  **
  7996.  ** xcb_void_cookie_t xcb_ungrab_keyboard
  7997.  ** 
  7998.  ** @param xcb_connection_t *c
  7999.  ** @param xcb_timestamp_t   time
  8000.  ** @returns xcb_void_cookie_t
  8001.  **
  8002.  *****************************************************************************/
  8003.  
  8004. xcb_void_cookie_t
  8005. xcb_ungrab_keyboard (xcb_connection_t *c  /**< */,
  8006.                      xcb_timestamp_t   time  /**< */);
  8007.  
  8008. /**
  8009.  * Delivers a request to the X server
  8010.  * @param c The connection
  8011.  * @return A cookie
  8012.  *
  8013.  * Delivers a request to the X server.
  8014.  * 
  8015.  * This form can be used only if the request will not cause
  8016.  * a reply to be generated. Any returned error will be
  8017.  * saved for handling by xcb_request_check().
  8018.  */
  8019.  
  8020. /*****************************************************************************
  8021.  **
  8022.  ** xcb_void_cookie_t xcb_grab_key_checked
  8023.  ** 
  8024.  ** @param xcb_connection_t *c
  8025.  ** @param uint8_t           owner_events
  8026.  ** @param xcb_window_t      grab_window
  8027.  ** @param uint16_t          modifiers
  8028.  ** @param xcb_keycode_t     key
  8029.  ** @param uint8_t           pointer_mode
  8030.  ** @param uint8_t           keyboard_mode
  8031.  ** @returns xcb_void_cookie_t
  8032.  **
  8033.  *****************************************************************************/
  8034.  
  8035. xcb_void_cookie_t
  8036. xcb_grab_key_checked (xcb_connection_t *c  /**< */,
  8037.                       uint8_t           owner_events  /**< */,
  8038.                       xcb_window_t      grab_window  /**< */,
  8039.                       uint16_t          modifiers  /**< */,
  8040.                       xcb_keycode_t     key  /**< */,
  8041.                       uint8_t           pointer_mode  /**< */,
  8042.                       uint8_t           keyboard_mode  /**< */);
  8043.  
  8044. /**
  8045.  * Delivers a request to the X server
  8046.  * @param c The connection
  8047.  * @return A cookie
  8048.  *
  8049.  * Delivers a request to the X server.
  8050.  * 
  8051.  */
  8052.  
  8053. /*****************************************************************************
  8054.  **
  8055.  ** xcb_void_cookie_t xcb_grab_key
  8056.  ** 
  8057.  ** @param xcb_connection_t *c
  8058.  ** @param uint8_t           owner_events
  8059.  ** @param xcb_window_t      grab_window
  8060.  ** @param uint16_t          modifiers
  8061.  ** @param xcb_keycode_t     key
  8062.  ** @param uint8_t           pointer_mode
  8063.  ** @param uint8_t           keyboard_mode
  8064.  ** @returns xcb_void_cookie_t
  8065.  **
  8066.  *****************************************************************************/
  8067.  
  8068. xcb_void_cookie_t
  8069. xcb_grab_key (xcb_connection_t *c  /**< */,
  8070.               uint8_t           owner_events  /**< */,
  8071.               xcb_window_t      grab_window  /**< */,
  8072.               uint16_t          modifiers  /**< */,
  8073.               xcb_keycode_t     key  /**< */,
  8074.               uint8_t           pointer_mode  /**< */,
  8075.               uint8_t           keyboard_mode  /**< */);
  8076.  
  8077. /**
  8078.  * Delivers a request to the X server
  8079.  * @param c The connection
  8080.  * @return A cookie
  8081.  *
  8082.  * Delivers a request to the X server.
  8083.  * 
  8084.  * This form can be used only if the request will not cause
  8085.  * a reply to be generated. Any returned error will be
  8086.  * saved for handling by xcb_request_check().
  8087.  */
  8088.  
  8089. /*****************************************************************************
  8090.  **
  8091.  ** xcb_void_cookie_t xcb_ungrab_key_checked
  8092.  ** 
  8093.  ** @param xcb_connection_t *c
  8094.  ** @param xcb_keycode_t     key
  8095.  ** @param xcb_window_t      grab_window
  8096.  ** @param uint16_t          modifiers
  8097.  ** @returns xcb_void_cookie_t
  8098.  **
  8099.  *****************************************************************************/
  8100.  
  8101. xcb_void_cookie_t
  8102. xcb_ungrab_key_checked (xcb_connection_t *c  /**< */,
  8103.                         xcb_keycode_t     key  /**< */,
  8104.                         xcb_window_t      grab_window  /**< */,
  8105.                         uint16_t          modifiers  /**< */);
  8106.  
  8107. /**
  8108.  * Delivers a request to the X server
  8109.  * @param c The connection
  8110.  * @return A cookie
  8111.  *
  8112.  * Delivers a request to the X server.
  8113.  * 
  8114.  */
  8115.  
  8116. /*****************************************************************************
  8117.  **
  8118.  ** xcb_void_cookie_t xcb_ungrab_key
  8119.  ** 
  8120.  ** @param xcb_connection_t *c
  8121.  ** @param xcb_keycode_t     key
  8122.  ** @param xcb_window_t      grab_window
  8123.  ** @param uint16_t          modifiers
  8124.  ** @returns xcb_void_cookie_t
  8125.  **
  8126.  *****************************************************************************/
  8127.  
  8128. xcb_void_cookie_t
  8129. xcb_ungrab_key (xcb_connection_t *c  /**< */,
  8130.                 xcb_keycode_t     key  /**< */,
  8131.                 xcb_window_t      grab_window  /**< */,
  8132.                 uint16_t          modifiers  /**< */);
  8133.  
  8134. /**
  8135.  * Delivers a request to the X server
  8136.  * @param c The connection
  8137.  * @return A cookie
  8138.  *
  8139.  * Delivers a request to the X server.
  8140.  * 
  8141.  * This form can be used only if the request will not cause
  8142.  * a reply to be generated. Any returned error will be
  8143.  * saved for handling by xcb_request_check().
  8144.  */
  8145.  
  8146. /*****************************************************************************
  8147.  **
  8148.  ** xcb_void_cookie_t xcb_allow_events_checked
  8149.  ** 
  8150.  ** @param xcb_connection_t *c
  8151.  ** @param uint8_t           mode
  8152.  ** @param xcb_timestamp_t   time
  8153.  ** @returns xcb_void_cookie_t
  8154.  **
  8155.  *****************************************************************************/
  8156.  
  8157. xcb_void_cookie_t
  8158. xcb_allow_events_checked (xcb_connection_t *c  /**< */,
  8159.                           uint8_t           mode  /**< */,
  8160.                           xcb_timestamp_t   time  /**< */);
  8161.  
  8162. /**
  8163.  * Delivers a request to the X server
  8164.  * @param c The connection
  8165.  * @return A cookie
  8166.  *
  8167.  * Delivers a request to the X server.
  8168.  * 
  8169.  */
  8170.  
  8171. /*****************************************************************************
  8172.  **
  8173.  ** xcb_void_cookie_t xcb_allow_events
  8174.  ** 
  8175.  ** @param xcb_connection_t *c
  8176.  ** @param uint8_t           mode
  8177.  ** @param xcb_timestamp_t   time
  8178.  ** @returns xcb_void_cookie_t
  8179.  **
  8180.  *****************************************************************************/
  8181.  
  8182. xcb_void_cookie_t
  8183. xcb_allow_events (xcb_connection_t *c  /**< */,
  8184.                   uint8_t           mode  /**< */,
  8185.                   xcb_timestamp_t   time  /**< */);
  8186.  
  8187. /**
  8188.  * Delivers a request to the X server
  8189.  * @param c The connection
  8190.  * @return A cookie
  8191.  *
  8192.  * Delivers a request to the X server.
  8193.  * 
  8194.  * This form can be used only if the request will not cause
  8195.  * a reply to be generated. Any returned error will be
  8196.  * saved for handling by xcb_request_check().
  8197.  */
  8198.  
  8199. /*****************************************************************************
  8200.  **
  8201.  ** xcb_void_cookie_t xcb_grab_server_checked
  8202.  ** 
  8203.  ** @param xcb_connection_t *c
  8204.  ** @returns xcb_void_cookie_t
  8205.  **
  8206.  *****************************************************************************/
  8207.  
  8208. xcb_void_cookie_t
  8209. xcb_grab_server_checked (xcb_connection_t *c  /**< */);
  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_grab_server
  8223.  ** 
  8224.  ** @param xcb_connection_t *c
  8225.  ** @returns xcb_void_cookie_t
  8226.  **
  8227.  *****************************************************************************/
  8228.  
  8229. xcb_void_cookie_t
  8230. xcb_grab_server (xcb_connection_t *c  /**< */);
  8231.  
  8232. /**
  8233.  * Delivers a request to the X server
  8234.  * @param c The connection
  8235.  * @return A cookie
  8236.  *
  8237.  * Delivers a request to the X server.
  8238.  * 
  8239.  * This form can be used only if the request will not cause
  8240.  * a reply to be generated. Any returned error will be
  8241.  * saved for handling by xcb_request_check().
  8242.  */
  8243.  
  8244. /*****************************************************************************
  8245.  **
  8246.  ** xcb_void_cookie_t xcb_ungrab_server_checked
  8247.  ** 
  8248.  ** @param xcb_connection_t *c
  8249.  ** @returns xcb_void_cookie_t
  8250.  **
  8251.  *****************************************************************************/
  8252.  
  8253. xcb_void_cookie_t
  8254. xcb_ungrab_server_checked (xcb_connection_t *c  /**< */);
  8255.  
  8256. /**
  8257.  * Delivers a request to the X server
  8258.  * @param c The connection
  8259.  * @return A cookie
  8260.  *
  8261.  * Delivers a request to the X server.
  8262.  * 
  8263.  */
  8264.  
  8265. /*****************************************************************************
  8266.  **
  8267.  ** xcb_void_cookie_t xcb_ungrab_server
  8268.  ** 
  8269.  ** @param xcb_connection_t *c
  8270.  ** @returns xcb_void_cookie_t
  8271.  **
  8272.  *****************************************************************************/
  8273.  
  8274. xcb_void_cookie_t
  8275. xcb_ungrab_server (xcb_connection_t *c  /**< */);
  8276.  
  8277. /**
  8278.  * Delivers a request to the X server
  8279.  * @param c The connection
  8280.  * @return A cookie
  8281.  *
  8282.  * Delivers a request to the X server.
  8283.  * 
  8284.  */
  8285.  
  8286. /*****************************************************************************
  8287.  **
  8288.  ** xcb_query_pointer_cookie_t xcb_query_pointer
  8289.  ** 
  8290.  ** @param xcb_connection_t *c
  8291.  ** @param xcb_window_t      window
  8292.  ** @returns xcb_query_pointer_cookie_t
  8293.  **
  8294.  *****************************************************************************/
  8295.  
  8296. xcb_query_pointer_cookie_t
  8297. xcb_query_pointer (xcb_connection_t *c  /**< */,
  8298.                    xcb_window_t      window  /**< */);
  8299.  
  8300. /**
  8301.  * Delivers a request to the X server
  8302.  * @param c The connection
  8303.  * @return A cookie
  8304.  *
  8305.  * Delivers a request to the X server.
  8306.  * 
  8307.  * This form can be used only if the request will cause
  8308.  * a reply to be generated. Any returned error will be
  8309.  * placed in the event queue.
  8310.  */
  8311.  
  8312. /*****************************************************************************
  8313.  **
  8314.  ** xcb_query_pointer_cookie_t xcb_query_pointer_unchecked
  8315.  ** 
  8316.  ** @param xcb_connection_t *c
  8317.  ** @param xcb_window_t      window
  8318.  ** @returns xcb_query_pointer_cookie_t
  8319.  **
  8320.  *****************************************************************************/
  8321.  
  8322. xcb_query_pointer_cookie_t
  8323. xcb_query_pointer_unchecked (xcb_connection_t *c  /**< */,
  8324.                              xcb_window_t      window  /**< */);
  8325.  
  8326. /**
  8327.  * Return the reply
  8328.  * @param c      The connection
  8329.  * @param cookie The cookie
  8330.  * @param e      The xcb_generic_error_t supplied
  8331.  *
  8332.  * Returns the reply of the request asked by
  8333.  * 
  8334.  * The parameter @p e supplied to this function must be NULL if
  8335.  * xcb_query_pointer_unchecked(). is used.
  8336.  * Otherwise, it stores the error if any.
  8337.  */
  8338.  
  8339. /*****************************************************************************
  8340.  **
  8341.  ** xcb_query_pointer_reply_t * xcb_query_pointer_reply
  8342.  ** 
  8343.  ** @param xcb_connection_t            *c
  8344.  ** @param xcb_query_pointer_cookie_t   cookie
  8345.  ** @param xcb_generic_error_t        **e
  8346.  ** @returns xcb_query_pointer_reply_t *
  8347.  **
  8348.  *****************************************************************************/
  8349.  
  8350. xcb_query_pointer_reply_t *
  8351. xcb_query_pointer_reply (xcb_connection_t            *c  /**< */,
  8352.                          xcb_query_pointer_cookie_t   cookie  /**< */,
  8353.                          xcb_generic_error_t        **e  /**< */);
  8354.  
  8355. /**
  8356.  * Get the next element of the iterator
  8357.  * @param i Pointer to a xcb_timecoord_iterator_t
  8358.  *
  8359.  * Get the next element in the iterator. The member rem is
  8360.  * decreased by one. The member data points to the next
  8361.  * element. The member index is increased by sizeof(xcb_timecoord_t)
  8362.  */
  8363.  
  8364. /*****************************************************************************
  8365.  **
  8366.  ** void xcb_timecoord_next
  8367.  ** 
  8368.  ** @param xcb_timecoord_iterator_t *i
  8369.  ** @returns void
  8370.  **
  8371.  *****************************************************************************/
  8372.  
  8373. void
  8374. xcb_timecoord_next (xcb_timecoord_iterator_t *i  /**< */);
  8375.  
  8376. /**
  8377.  * Return the iterator pointing to the last element
  8378.  * @param i An xcb_timecoord_iterator_t
  8379.  * @return  The iterator pointing to the last element
  8380.  *
  8381.  * Set the current element in the iterator to the last element.
  8382.  * The member rem is set to 0. The member data points to the
  8383.  * last element.
  8384.  */
  8385.  
  8386. /*****************************************************************************
  8387.  **
  8388.  ** xcb_generic_iterator_t xcb_timecoord_end
  8389.  ** 
  8390.  ** @param xcb_timecoord_iterator_t i
  8391.  ** @returns xcb_generic_iterator_t
  8392.  **
  8393.  *****************************************************************************/
  8394.  
  8395. xcb_generic_iterator_t
  8396. xcb_timecoord_end (xcb_timecoord_iterator_t i  /**< */);
  8397.  
  8398. /**
  8399.  * Delivers a request to the X server
  8400.  * @param c The connection
  8401.  * @return A cookie
  8402.  *
  8403.  * Delivers a request to the X server.
  8404.  * 
  8405.  */
  8406.  
  8407. /*****************************************************************************
  8408.  **
  8409.  ** xcb_get_motion_events_cookie_t xcb_get_motion_events
  8410.  ** 
  8411.  ** @param xcb_connection_t *c
  8412.  ** @param xcb_window_t      window
  8413.  ** @param xcb_timestamp_t   start
  8414.  ** @param xcb_timestamp_t   stop
  8415.  ** @returns xcb_get_motion_events_cookie_t
  8416.  **
  8417.  *****************************************************************************/
  8418.  
  8419. xcb_get_motion_events_cookie_t
  8420. xcb_get_motion_events (xcb_connection_t *c  /**< */,
  8421.                        xcb_window_t      window  /**< */,
  8422.                        xcb_timestamp_t   start  /**< */,
  8423.                        xcb_timestamp_t   stop  /**< */);
  8424.  
  8425. /**
  8426.  * Delivers a request to the X server
  8427.  * @param c The connection
  8428.  * @return A cookie
  8429.  *
  8430.  * Delivers a request to the X server.
  8431.  * 
  8432.  * This form can be used only if the request will cause
  8433.  * a reply to be generated. Any returned error will be
  8434.  * placed in the event queue.
  8435.  */
  8436.  
  8437. /*****************************************************************************
  8438.  **
  8439.  ** xcb_get_motion_events_cookie_t xcb_get_motion_events_unchecked
  8440.  ** 
  8441.  ** @param xcb_connection_t *c
  8442.  ** @param xcb_window_t      window
  8443.  ** @param xcb_timestamp_t   start
  8444.  ** @param xcb_timestamp_t   stop
  8445.  ** @returns xcb_get_motion_events_cookie_t
  8446.  **
  8447.  *****************************************************************************/
  8448.  
  8449. xcb_get_motion_events_cookie_t
  8450. xcb_get_motion_events_unchecked (xcb_connection_t *c  /**< */,
  8451.                                  xcb_window_t      window  /**< */,
  8452.                                  xcb_timestamp_t   start  /**< */,
  8453.                                  xcb_timestamp_t   stop  /**< */);
  8454.  
  8455.  
  8456. /*****************************************************************************
  8457.  **
  8458.  ** xcb_timecoord_t * xcb_get_motion_events_events
  8459.  ** 
  8460.  ** @param const xcb_get_motion_events_reply_t *R
  8461.  ** @returns xcb_timecoord_t *
  8462.  **
  8463.  *****************************************************************************/
  8464.  
  8465. xcb_timecoord_t *
  8466. xcb_get_motion_events_events (const xcb_get_motion_events_reply_t *R  /**< */);
  8467.  
  8468.  
  8469. /*****************************************************************************
  8470.  **
  8471.  ** int xcb_get_motion_events_events_length
  8472.  ** 
  8473.  ** @param const xcb_get_motion_events_reply_t *R
  8474.  ** @returns int
  8475.  **
  8476.  *****************************************************************************/
  8477.  
  8478. int
  8479. xcb_get_motion_events_events_length (const xcb_get_motion_events_reply_t *R  /**< */);
  8480.  
  8481.  
  8482. /*****************************************************************************
  8483.  **
  8484.  ** xcb_timecoord_iterator_t xcb_get_motion_events_events_iterator
  8485.  ** 
  8486.  ** @param const xcb_get_motion_events_reply_t *R
  8487.  ** @returns xcb_timecoord_iterator_t
  8488.  **
  8489.  *****************************************************************************/
  8490.  
  8491. xcb_timecoord_iterator_t
  8492. xcb_get_motion_events_events_iterator (const xcb_get_motion_events_reply_t *R  /**< */);
  8493.  
  8494. /**
  8495.  * Return the reply
  8496.  * @param c      The connection
  8497.  * @param cookie The cookie
  8498.  * @param e      The xcb_generic_error_t supplied
  8499.  *
  8500.  * Returns the reply of the request asked by
  8501.  * 
  8502.  * The parameter @p e supplied to this function must be NULL if
  8503.  * xcb_get_motion_events_unchecked(). is used.
  8504.  * Otherwise, it stores the error if any.
  8505.  */
  8506.  
  8507. /*****************************************************************************
  8508.  **
  8509.  ** xcb_get_motion_events_reply_t * xcb_get_motion_events_reply
  8510.  ** 
  8511.  ** @param xcb_connection_t                *c
  8512.  ** @param xcb_get_motion_events_cookie_t   cookie
  8513.  ** @param xcb_generic_error_t            **e
  8514.  ** @returns xcb_get_motion_events_reply_t *
  8515.  **
  8516.  *****************************************************************************/
  8517.  
  8518. xcb_get_motion_events_reply_t *
  8519. xcb_get_motion_events_reply (xcb_connection_t                *c  /**< */,
  8520.                              xcb_get_motion_events_cookie_t   cookie  /**< */,
  8521.                              xcb_generic_error_t            **e  /**< */);
  8522.  
  8523. /**
  8524.  * Delivers a request to the X server
  8525.  * @param c The connection
  8526.  * @return A cookie
  8527.  *
  8528.  * Delivers a request to the X server.
  8529.  * 
  8530.  */
  8531.  
  8532. /*****************************************************************************
  8533.  **
  8534.  ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates
  8535.  ** 
  8536.  ** @param xcb_connection_t *c
  8537.  ** @param xcb_window_t      src_window
  8538.  ** @param xcb_window_t      dst_window
  8539.  ** @param int16_t           src_x
  8540.  ** @param int16_t           src_y
  8541.  ** @returns xcb_translate_coordinates_cookie_t
  8542.  **
  8543.  *****************************************************************************/
  8544.  
  8545. xcb_translate_coordinates_cookie_t
  8546. xcb_translate_coordinates (xcb_connection_t *c  /**< */,
  8547.                            xcb_window_t      src_window  /**< */,
  8548.                            xcb_window_t      dst_window  /**< */,
  8549.                            int16_t           src_x  /**< */,
  8550.                            int16_t           src_y  /**< */);
  8551.  
  8552. /**
  8553.  * Delivers a request to the X server
  8554.  * @param c The connection
  8555.  * @return A cookie
  8556.  *
  8557.  * Delivers a request to the X server.
  8558.  * 
  8559.  * This form can be used only if the request will cause
  8560.  * a reply to be generated. Any returned error will be
  8561.  * placed in the event queue.
  8562.  */
  8563.  
  8564. /*****************************************************************************
  8565.  **
  8566.  ** xcb_translate_coordinates_cookie_t xcb_translate_coordinates_unchecked
  8567.  ** 
  8568.  ** @param xcb_connection_t *c
  8569.  ** @param xcb_window_t      src_window
  8570.  ** @param xcb_window_t      dst_window
  8571.  ** @param int16_t           src_x
  8572.  ** @param int16_t           src_y
  8573.  ** @returns xcb_translate_coordinates_cookie_t
  8574.  **
  8575.  *****************************************************************************/
  8576.  
  8577. xcb_translate_coordinates_cookie_t
  8578. xcb_translate_coordinates_unchecked (xcb_connection_t *c  /**< */,
  8579.                                      xcb_window_t      src_window  /**< */,
  8580.                                      xcb_window_t      dst_window  /**< */,
  8581.                                      int16_t           src_x  /**< */,
  8582.                                      int16_t           src_y  /**< */);
  8583.  
  8584. /**
  8585.  * Return the reply
  8586.  * @param c      The connection
  8587.  * @param cookie The cookie
  8588.  * @param e      The xcb_generic_error_t supplied
  8589.  *
  8590.  * Returns the reply of the request asked by
  8591.  * 
  8592.  * The parameter @p e supplied to this function must be NULL if
  8593.  * xcb_translate_coordinates_unchecked(). is used.
  8594.  * Otherwise, it stores the error if any.
  8595.  */
  8596.  
  8597. /*****************************************************************************
  8598.  **
  8599.  ** xcb_translate_coordinates_reply_t * xcb_translate_coordinates_reply
  8600.  ** 
  8601.  ** @param xcb_connection_t                    *c
  8602.  ** @param xcb_translate_coordinates_cookie_t   cookie
  8603.  ** @param xcb_generic_error_t                **e
  8604.  ** @returns xcb_translate_coordinates_reply_t *
  8605.  **
  8606.  *****************************************************************************/
  8607.  
  8608. xcb_translate_coordinates_reply_t *
  8609. xcb_translate_coordinates_reply (xcb_connection_t                    *c  /**< */,
  8610.                                  xcb_translate_coordinates_cookie_t   cookie  /**< */,
  8611.                                  xcb_generic_error_t                **e  /**< */);
  8612.  
  8613. /**
  8614.  * Delivers a request to the X server
  8615.  * @param c The connection
  8616.  * @return A cookie
  8617.  *
  8618.  * Delivers a request to the X server.
  8619.  * 
  8620.  * This form can be used only if the request will not cause
  8621.  * a reply to be generated. Any returned error will be
  8622.  * saved for handling by xcb_request_check().
  8623.  */
  8624.  
  8625. /*****************************************************************************
  8626.  **
  8627.  ** xcb_void_cookie_t xcb_warp_pointer_checked
  8628.  ** 
  8629.  ** @param xcb_connection_t *c
  8630.  ** @param xcb_window_t      src_window
  8631.  ** @param xcb_window_t      dst_window
  8632.  ** @param int16_t           src_x
  8633.  ** @param int16_t           src_y
  8634.  ** @param uint16_t          src_width
  8635.  ** @param uint16_t          src_height
  8636.  ** @param int16_t           dst_x
  8637.  ** @param int16_t           dst_y
  8638.  ** @returns xcb_void_cookie_t
  8639.  **
  8640.  *****************************************************************************/
  8641.  
  8642. xcb_void_cookie_t
  8643. xcb_warp_pointer_checked (xcb_connection_t *c  /**< */,
  8644.                           xcb_window_t      src_window  /**< */,
  8645.                           xcb_window_t      dst_window  /**< */,
  8646.                           int16_t           src_x  /**< */,
  8647.                           int16_t           src_y  /**< */,
  8648.                           uint16_t          src_width  /**< */,
  8649.                           uint16_t          src_height  /**< */,
  8650.                           int16_t           dst_x  /**< */,
  8651.                           int16_t           dst_y  /**< */);
  8652.  
  8653. /**
  8654.  * Delivers a request to the X server
  8655.  * @param c The connection
  8656.  * @return A cookie
  8657.  *
  8658.  * Delivers a request to the X server.
  8659.  * 
  8660.  */
  8661.  
  8662. /*****************************************************************************
  8663.  **
  8664.  ** xcb_void_cookie_t xcb_warp_pointer
  8665.  ** 
  8666.  ** @param xcb_connection_t *c
  8667.  ** @param xcb_window_t      src_window
  8668.  ** @param xcb_window_t      dst_window
  8669.  ** @param int16_t           src_x
  8670.  ** @param int16_t           src_y
  8671.  ** @param uint16_t          src_width
  8672.  ** @param uint16_t          src_height
  8673.  ** @param int16_t           dst_x
  8674.  ** @param int16_t           dst_y
  8675.  ** @returns xcb_void_cookie_t
  8676.  **
  8677.  *****************************************************************************/
  8678.  
  8679. xcb_void_cookie_t
  8680. xcb_warp_pointer (xcb_connection_t *c  /**< */,
  8681.                   xcb_window_t      src_window  /**< */,
  8682.                   xcb_window_t      dst_window  /**< */,
  8683.                   int16_t           src_x  /**< */,
  8684.                   int16_t           src_y  /**< */,
  8685.                   uint16_t          src_width  /**< */,
  8686.                   uint16_t          src_height  /**< */,
  8687.                   int16_t           dst_x  /**< */,
  8688.                   int16_t           dst_y  /**< */);
  8689.  
  8690. /**
  8691.  * Delivers a request to the X server
  8692.  * @param c The connection
  8693.  * @return A cookie
  8694.  *
  8695.  * Delivers a request to the X server.
  8696.  * 
  8697.  * This form can be used only if the request will not cause
  8698.  * a reply to be generated. Any returned error will be
  8699.  * saved for handling by xcb_request_check().
  8700.  */
  8701.  
  8702. /*****************************************************************************
  8703.  **
  8704.  ** xcb_void_cookie_t xcb_set_input_focus_checked
  8705.  ** 
  8706.  ** @param xcb_connection_t *c
  8707.  ** @param uint8_t           revert_to
  8708.  ** @param xcb_window_t      focus
  8709.  ** @param xcb_timestamp_t   time
  8710.  ** @returns xcb_void_cookie_t
  8711.  **
  8712.  *****************************************************************************/
  8713.  
  8714. xcb_void_cookie_t
  8715. xcb_set_input_focus_checked (xcb_connection_t *c  /**< */,
  8716.                              uint8_t           revert_to  /**< */,
  8717.                              xcb_window_t      focus  /**< */,
  8718.                              xcb_timestamp_t   time  /**< */);
  8719.  
  8720. /**
  8721.  * Delivers a request to the X server
  8722.  * @param c The connection
  8723.  * @return A cookie
  8724.  *
  8725.  * Delivers a request to the X server.
  8726.  * 
  8727.  */
  8728.  
  8729. /*****************************************************************************
  8730.  **
  8731.  ** xcb_void_cookie_t xcb_set_input_focus
  8732.  ** 
  8733.  ** @param xcb_connection_t *c
  8734.  ** @param uint8_t           revert_to
  8735.  ** @param xcb_window_t      focus
  8736.  ** @param xcb_timestamp_t   time
  8737.  ** @returns xcb_void_cookie_t
  8738.  **
  8739.  *****************************************************************************/
  8740.  
  8741. xcb_void_cookie_t
  8742. xcb_set_input_focus (xcb_connection_t *c  /**< */,
  8743.                      uint8_t           revert_to  /**< */,
  8744.                      xcb_window_t      focus  /**< */,
  8745.                      xcb_timestamp_t   time  /**< */);
  8746.  
  8747. /**
  8748.  * Delivers a request to the X server
  8749.  * @param c The connection
  8750.  * @return A cookie
  8751.  *
  8752.  * Delivers a request to the X server.
  8753.  * 
  8754.  */
  8755.  
  8756. /*****************************************************************************
  8757.  **
  8758.  ** xcb_get_input_focus_cookie_t xcb_get_input_focus
  8759.  ** 
  8760.  ** @param xcb_connection_t *c
  8761.  ** @returns xcb_get_input_focus_cookie_t
  8762.  **
  8763.  *****************************************************************************/
  8764.  
  8765. xcb_get_input_focus_cookie_t
  8766. xcb_get_input_focus (xcb_connection_t *c  /**< */);
  8767.  
  8768. /**
  8769.  * Delivers a request to the X server
  8770.  * @param c The connection
  8771.  * @return A cookie
  8772.  *
  8773.  * Delivers a request to the X server.
  8774.  * 
  8775.  * This form can be used only if the request will cause
  8776.  * a reply to be generated. Any returned error will be
  8777.  * placed in the event queue.
  8778.  */
  8779.  
  8780. /*****************************************************************************
  8781.  **
  8782.  ** xcb_get_input_focus_cookie_t xcb_get_input_focus_unchecked
  8783.  ** 
  8784.  ** @param xcb_connection_t *c
  8785.  ** @returns xcb_get_input_focus_cookie_t
  8786.  **
  8787.  *****************************************************************************/
  8788.  
  8789. xcb_get_input_focus_cookie_t
  8790. xcb_get_input_focus_unchecked (xcb_connection_t *c  /**< */);
  8791.  
  8792. /**
  8793.  * Return the reply
  8794.  * @param c      The connection
  8795.  * @param cookie The cookie
  8796.  * @param e      The xcb_generic_error_t supplied
  8797.  *
  8798.  * Returns the reply of the request asked by
  8799.  * 
  8800.  * The parameter @p e supplied to this function must be NULL if
  8801.  * xcb_get_input_focus_unchecked(). is used.
  8802.  * Otherwise, it stores the error if any.
  8803.  */
  8804.  
  8805. /*****************************************************************************
  8806.  **
  8807.  ** xcb_get_input_focus_reply_t * xcb_get_input_focus_reply
  8808.  ** 
  8809.  ** @param xcb_connection_t              *c
  8810.  ** @param xcb_get_input_focus_cookie_t   cookie
  8811.  ** @param xcb_generic_error_t          **e
  8812.  ** @returns xcb_get_input_focus_reply_t *
  8813.  **
  8814.  *****************************************************************************/
  8815.  
  8816. xcb_get_input_focus_reply_t *
  8817. xcb_get_input_focus_reply (xcb_connection_t              *c  /**< */,
  8818.                            xcb_get_input_focus_cookie_t   cookie  /**< */,
  8819.                            xcb_generic_error_t          **e  /**< */);
  8820.  
  8821. /**
  8822.  * Delivers a request to the X server
  8823.  * @param c The connection
  8824.  * @return A cookie
  8825.  *
  8826.  * Delivers a request to the X server.
  8827.  * 
  8828.  */
  8829.  
  8830. /*****************************************************************************
  8831.  **
  8832.  ** xcb_query_keymap_cookie_t xcb_query_keymap
  8833.  ** 
  8834.  ** @param xcb_connection_t *c
  8835.  ** @returns xcb_query_keymap_cookie_t
  8836.  **
  8837.  *****************************************************************************/
  8838.  
  8839. xcb_query_keymap_cookie_t
  8840. xcb_query_keymap (xcb_connection_t *c  /**< */);
  8841.  
  8842. /**
  8843.  * Delivers a request to the X server
  8844.  * @param c The connection
  8845.  * @return A cookie
  8846.  *
  8847.  * Delivers a request to the X server.
  8848.  * 
  8849.  * This form can be used only if the request will cause
  8850.  * a reply to be generated. Any returned error will be
  8851.  * placed in the event queue.
  8852.  */
  8853.  
  8854. /*****************************************************************************
  8855.  **
  8856.  ** xcb_query_keymap_cookie_t xcb_query_keymap_unchecked
  8857.  ** 
  8858.  ** @param xcb_connection_t *c
  8859.  ** @returns xcb_query_keymap_cookie_t
  8860.  **
  8861.  *****************************************************************************/
  8862.  
  8863. xcb_query_keymap_cookie_t
  8864. xcb_query_keymap_unchecked (xcb_connection_t *c  /**< */);
  8865.  
  8866. /**
  8867.  * Return the reply
  8868.  * @param c      The connection
  8869.  * @param cookie The cookie
  8870.  * @param e      The xcb_generic_error_t supplied
  8871.  *
  8872.  * Returns the reply of the request asked by
  8873.  * 
  8874.  * The parameter @p e supplied to this function must be NULL if
  8875.  * xcb_query_keymap_unchecked(). is used.
  8876.  * Otherwise, it stores the error if any.
  8877.  */
  8878.  
  8879. /*****************************************************************************
  8880.  **
  8881.  ** xcb_query_keymap_reply_t * xcb_query_keymap_reply
  8882.  ** 
  8883.  ** @param xcb_connection_t           *c
  8884.  ** @param xcb_query_keymap_cookie_t   cookie
  8885.  ** @param xcb_generic_error_t       **e
  8886.  ** @returns xcb_query_keymap_reply_t *
  8887.  **
  8888.  *****************************************************************************/
  8889.  
  8890. xcb_query_keymap_reply_t *
  8891. xcb_query_keymap_reply (xcb_connection_t           *c  /**< */,
  8892.                         xcb_query_keymap_cookie_t   cookie  /**< */,
  8893.                         xcb_generic_error_t       **e  /**< */);
  8894.  
  8895. /**
  8896.  * Delivers a request to the X server
  8897.  * @param c The connection
  8898.  * @return A cookie
  8899.  *
  8900.  * Delivers a request to the X server.
  8901.  * 
  8902.  * This form can be used only if the request will not cause
  8903.  * a reply to be generated. Any returned error will be
  8904.  * saved for handling by xcb_request_check().
  8905.  */
  8906.  
  8907. /*****************************************************************************
  8908.  **
  8909.  ** xcb_void_cookie_t xcb_open_font_checked
  8910.  ** 
  8911.  ** @param xcb_connection_t *c
  8912.  ** @param xcb_font_t        fid
  8913.  ** @param uint16_t          name_len
  8914.  ** @param const char       *name
  8915.  ** @returns xcb_void_cookie_t
  8916.  **
  8917.  *****************************************************************************/
  8918.  
  8919. xcb_void_cookie_t
  8920. xcb_open_font_checked (xcb_connection_t *c  /**< */,
  8921.                        xcb_font_t        fid  /**< */,
  8922.                        uint16_t          name_len  /**< */,
  8923.                        const char       *name  /**< */);
  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.  */
  8933.  
  8934. /*****************************************************************************
  8935.  **
  8936.  ** xcb_void_cookie_t xcb_open_font
  8937.  ** 
  8938.  ** @param xcb_connection_t *c
  8939.  ** @param xcb_font_t        fid
  8940.  ** @param uint16_t          name_len
  8941.  ** @param const char       *name
  8942.  ** @returns xcb_void_cookie_t
  8943.  **
  8944.  *****************************************************************************/
  8945.  
  8946. xcb_void_cookie_t
  8947. xcb_open_font (xcb_connection_t *c  /**< */,
  8948.                xcb_font_t        fid  /**< */,
  8949.                uint16_t          name_len  /**< */,
  8950.                const char       *name  /**< */);
  8951.  
  8952. /**
  8953.  * Delivers a request to the X server
  8954.  * @param c The connection
  8955.  * @return A cookie
  8956.  *
  8957.  * Delivers a request to the X server.
  8958.  * 
  8959.  * This form can be used only if the request will not cause
  8960.  * a reply to be generated. Any returned error will be
  8961.  * saved for handling by xcb_request_check().
  8962.  */
  8963.  
  8964. /*****************************************************************************
  8965.  **
  8966.  ** xcb_void_cookie_t xcb_close_font_checked
  8967.  ** 
  8968.  ** @param xcb_connection_t *c
  8969.  ** @param xcb_font_t        font
  8970.  ** @returns xcb_void_cookie_t
  8971.  **
  8972.  *****************************************************************************/
  8973.  
  8974. xcb_void_cookie_t
  8975. xcb_close_font_checked (xcb_connection_t *c  /**< */,
  8976.                         xcb_font_t        font  /**< */);
  8977.  
  8978. /**
  8979.  * Delivers a request to the X server
  8980.  * @param c The connection
  8981.  * @return A cookie
  8982.  *
  8983.  * Delivers a request to the X server.
  8984.  * 
  8985.  */
  8986.  
  8987. /*****************************************************************************
  8988.  **
  8989.  ** xcb_void_cookie_t xcb_close_font
  8990.  ** 
  8991.  ** @param xcb_connection_t *c
  8992.  ** @param xcb_font_t        font
  8993.  ** @returns xcb_void_cookie_t
  8994.  **
  8995.  *****************************************************************************/
  8996.  
  8997. xcb_void_cookie_t
  8998. xcb_close_font (xcb_connection_t *c  /**< */,
  8999.                 xcb_font_t        font  /**< */);
  9000.  
  9001. /**
  9002.  * Get the next element of the iterator
  9003.  * @param i Pointer to a xcb_fontprop_iterator_t
  9004.  *
  9005.  * Get the next element in the iterator. The member rem is
  9006.  * decreased by one. The member data points to the next
  9007.  * element. The member index is increased by sizeof(xcb_fontprop_t)
  9008.  */
  9009.  
  9010. /*****************************************************************************
  9011.  **
  9012.  ** void xcb_fontprop_next
  9013.  ** 
  9014.  ** @param xcb_fontprop_iterator_t *i
  9015.  ** @returns void
  9016.  **
  9017.  *****************************************************************************/
  9018.  
  9019. void
  9020. xcb_fontprop_next (xcb_fontprop_iterator_t *i  /**< */);
  9021.  
  9022. /**
  9023.  * Return the iterator pointing to the last element
  9024.  * @param i An xcb_fontprop_iterator_t
  9025.  * @return  The iterator pointing to the last element
  9026.  *
  9027.  * Set the current element in the iterator to the last element.
  9028.  * The member rem is set to 0. The member data points to the
  9029.  * last element.
  9030.  */
  9031.  
  9032. /*****************************************************************************
  9033.  **
  9034.  ** xcb_generic_iterator_t xcb_fontprop_end
  9035.  ** 
  9036.  ** @param xcb_fontprop_iterator_t i
  9037.  ** @returns xcb_generic_iterator_t
  9038.  **
  9039.  *****************************************************************************/
  9040.  
  9041. xcb_generic_iterator_t
  9042. xcb_fontprop_end (xcb_fontprop_iterator_t i  /**< */);
  9043.  
  9044. /**
  9045.  * Get the next element of the iterator
  9046.  * @param i Pointer to a xcb_charinfo_iterator_t
  9047.  *
  9048.  * Get the next element in the iterator. The member rem is
  9049.  * decreased by one. The member data points to the next
  9050.  * element. The member index is increased by sizeof(xcb_charinfo_t)
  9051.  */
  9052.  
  9053. /*****************************************************************************
  9054.  **
  9055.  ** void xcb_charinfo_next
  9056.  ** 
  9057.  ** @param xcb_charinfo_iterator_t *i
  9058.  ** @returns void
  9059.  **
  9060.  *****************************************************************************/
  9061.  
  9062. void
  9063. xcb_charinfo_next (xcb_charinfo_iterator_t *i  /**< */);
  9064.  
  9065. /**
  9066.  * Return the iterator pointing to the last element
  9067.  * @param i An xcb_charinfo_iterator_t
  9068.  * @return  The iterator pointing to the last element
  9069.  *
  9070.  * Set the current element in the iterator to the last element.
  9071.  * The member rem is set to 0. The member data points to the
  9072.  * last element.
  9073.  */
  9074.  
  9075. /*****************************************************************************
  9076.  **
  9077.  ** xcb_generic_iterator_t xcb_charinfo_end
  9078.  ** 
  9079.  ** @param xcb_charinfo_iterator_t i
  9080.  ** @returns xcb_generic_iterator_t
  9081.  **
  9082.  *****************************************************************************/
  9083.  
  9084. xcb_generic_iterator_t
  9085. xcb_charinfo_end (xcb_charinfo_iterator_t i  /**< */);
  9086.  
  9087. /**
  9088.  * Delivers a request to the X server
  9089.  * @param c The connection
  9090.  * @return A cookie
  9091.  *
  9092.  * Delivers a request to the X server.
  9093.  * 
  9094.  */
  9095.  
  9096. /*****************************************************************************
  9097.  **
  9098.  ** xcb_query_font_cookie_t xcb_query_font
  9099.  ** 
  9100.  ** @param xcb_connection_t *c
  9101.  ** @param xcb_fontable_t    font
  9102.  ** @returns xcb_query_font_cookie_t
  9103.  **
  9104.  *****************************************************************************/
  9105.  
  9106. xcb_query_font_cookie_t
  9107. xcb_query_font (xcb_connection_t *c  /**< */,
  9108.                 xcb_fontable_t    font  /**< */);
  9109.  
  9110. /**
  9111.  * Delivers a request to the X server
  9112.  * @param c The connection
  9113.  * @return A cookie
  9114.  *
  9115.  * Delivers a request to the X server.
  9116.  * 
  9117.  * This form can be used only if the request will cause
  9118.  * a reply to be generated. Any returned error will be
  9119.  * placed in the event queue.
  9120.  */
  9121.  
  9122. /*****************************************************************************
  9123.  **
  9124.  ** xcb_query_font_cookie_t xcb_query_font_unchecked
  9125.  ** 
  9126.  ** @param xcb_connection_t *c
  9127.  ** @param xcb_fontable_t    font
  9128.  ** @returns xcb_query_font_cookie_t
  9129.  **
  9130.  *****************************************************************************/
  9131.  
  9132. xcb_query_font_cookie_t
  9133. xcb_query_font_unchecked (xcb_connection_t *c  /**< */,
  9134.                           xcb_fontable_t    font  /**< */);
  9135.  
  9136.  
  9137. /*****************************************************************************
  9138.  **
  9139.  ** xcb_fontprop_t * xcb_query_font_properties
  9140.  ** 
  9141.  ** @param const xcb_query_font_reply_t *R
  9142.  ** @returns xcb_fontprop_t *
  9143.  **
  9144.  *****************************************************************************/
  9145.  
  9146. xcb_fontprop_t *
  9147. xcb_query_font_properties (const xcb_query_font_reply_t *R  /**< */);
  9148.  
  9149.  
  9150. /*****************************************************************************
  9151.  **
  9152.  ** int xcb_query_font_properties_length
  9153.  ** 
  9154.  ** @param const xcb_query_font_reply_t *R
  9155.  ** @returns int
  9156.  **
  9157.  *****************************************************************************/
  9158.  
  9159. int
  9160. xcb_query_font_properties_length (const xcb_query_font_reply_t *R  /**< */);
  9161.  
  9162.  
  9163. /*****************************************************************************
  9164.  **
  9165.  ** xcb_fontprop_iterator_t xcb_query_font_properties_iterator
  9166.  ** 
  9167.  ** @param const xcb_query_font_reply_t *R
  9168.  ** @returns xcb_fontprop_iterator_t
  9169.  **
  9170.  *****************************************************************************/
  9171.  
  9172. xcb_fontprop_iterator_t
  9173. xcb_query_font_properties_iterator (const xcb_query_font_reply_t *R  /**< */);
  9174.  
  9175.  
  9176. /*****************************************************************************
  9177.  **
  9178.  ** xcb_charinfo_t * xcb_query_font_char_infos
  9179.  ** 
  9180.  ** @param const xcb_query_font_reply_t *R
  9181.  ** @returns xcb_charinfo_t *
  9182.  **
  9183.  *****************************************************************************/
  9184.  
  9185. xcb_charinfo_t *
  9186. xcb_query_font_char_infos (const xcb_query_font_reply_t *R  /**< */);
  9187.  
  9188.  
  9189. /*****************************************************************************
  9190.  **
  9191.  ** int xcb_query_font_char_infos_length
  9192.  ** 
  9193.  ** @param const xcb_query_font_reply_t *R
  9194.  ** @returns int
  9195.  **
  9196.  *****************************************************************************/
  9197.  
  9198. int
  9199. xcb_query_font_char_infos_length (const xcb_query_font_reply_t *R  /**< */);
  9200.  
  9201.  
  9202. /*****************************************************************************
  9203.  **
  9204.  ** xcb_charinfo_iterator_t xcb_query_font_char_infos_iterator
  9205.  ** 
  9206.  ** @param const xcb_query_font_reply_t *R
  9207.  ** @returns xcb_charinfo_iterator_t
  9208.  **
  9209.  *****************************************************************************/
  9210.  
  9211. xcb_charinfo_iterator_t
  9212. xcb_query_font_char_infos_iterator (const xcb_query_font_reply_t *R  /**< */);
  9213.  
  9214. /**
  9215.  * Return the reply
  9216.  * @param c      The connection
  9217.  * @param cookie The cookie
  9218.  * @param e      The xcb_generic_error_t supplied
  9219.  *
  9220.  * Returns the reply of the request asked by
  9221.  * 
  9222.  * The parameter @p e supplied to this function must be NULL if
  9223.  * xcb_query_font_unchecked(). is used.
  9224.  * Otherwise, it stores the error if any.
  9225.  */
  9226.  
  9227. /*****************************************************************************
  9228.  **
  9229.  ** xcb_query_font_reply_t * xcb_query_font_reply
  9230.  ** 
  9231.  ** @param xcb_connection_t         *c
  9232.  ** @param xcb_query_font_cookie_t   cookie
  9233.  ** @param xcb_generic_error_t     **e
  9234.  ** @returns xcb_query_font_reply_t *
  9235.  **
  9236.  *****************************************************************************/
  9237.  
  9238. xcb_query_font_reply_t *
  9239. xcb_query_font_reply (xcb_connection_t         *c  /**< */,
  9240.                       xcb_query_font_cookie_t   cookie  /**< */,
  9241.                       xcb_generic_error_t     **e  /**< */);
  9242.  
  9243. /**
  9244.  * Delivers a request to the X server
  9245.  * @param c The connection
  9246.  * @return A cookie
  9247.  *
  9248.  * Delivers a request to the X server.
  9249.  * 
  9250.  */
  9251.  
  9252. /*****************************************************************************
  9253.  **
  9254.  ** xcb_query_text_extents_cookie_t xcb_query_text_extents
  9255.  ** 
  9256.  ** @param xcb_connection_t   *c
  9257.  ** @param xcb_fontable_t      font
  9258.  ** @param uint32_t            string_len
  9259.  ** @param const xcb_char2b_t *string
  9260.  ** @returns xcb_query_text_extents_cookie_t
  9261.  **
  9262.  *****************************************************************************/
  9263.  
  9264. xcb_query_text_extents_cookie_t
  9265. xcb_query_text_extents (xcb_connection_t   *c  /**< */,
  9266.                         xcb_fontable_t      font  /**< */,
  9267.                         uint32_t            string_len  /**< */,
  9268.                         const xcb_char2b_t *string  /**< */);
  9269.  
  9270. /**
  9271.  * Delivers a request to the X server
  9272.  * @param c The connection
  9273.  * @return A cookie
  9274.  *
  9275.  * Delivers a request to the X server.
  9276.  * 
  9277.  * This form can be used only if the request will cause
  9278.  * a reply to be generated. Any returned error will be
  9279.  * placed in the event queue.
  9280.  */
  9281.  
  9282. /*****************************************************************************
  9283.  **
  9284.  ** xcb_query_text_extents_cookie_t xcb_query_text_extents_unchecked
  9285.  ** 
  9286.  ** @param xcb_connection_t   *c
  9287.  ** @param xcb_fontable_t      font
  9288.  ** @param uint32_t            string_len
  9289.  ** @param const xcb_char2b_t *string
  9290.  ** @returns xcb_query_text_extents_cookie_t
  9291.  **
  9292.  *****************************************************************************/
  9293.  
  9294. xcb_query_text_extents_cookie_t
  9295. xcb_query_text_extents_unchecked (xcb_connection_t   *c  /**< */,
  9296.                                   xcb_fontable_t      font  /**< */,
  9297.                                   uint32_t            string_len  /**< */,
  9298.                                   const xcb_char2b_t *string  /**< */);
  9299.  
  9300. /**
  9301.  * Return the reply
  9302.  * @param c      The connection
  9303.  * @param cookie The cookie
  9304.  * @param e      The xcb_generic_error_t supplied
  9305.  *
  9306.  * Returns the reply of the request asked by
  9307.  * 
  9308.  * The parameter @p e supplied to this function must be NULL if
  9309.  * xcb_query_text_extents_unchecked(). is used.
  9310.  * Otherwise, it stores the error if any.
  9311.  */
  9312.  
  9313. /*****************************************************************************
  9314.  **
  9315.  ** xcb_query_text_extents_reply_t * xcb_query_text_extents_reply
  9316.  ** 
  9317.  ** @param xcb_connection_t                 *c
  9318.  ** @param xcb_query_text_extents_cookie_t   cookie
  9319.  ** @param xcb_generic_error_t             **e
  9320.  ** @returns xcb_query_text_extents_reply_t *
  9321.  **
  9322.  *****************************************************************************/
  9323.  
  9324. xcb_query_text_extents_reply_t *
  9325. xcb_query_text_extents_reply (xcb_connection_t                 *c  /**< */,
  9326.                               xcb_query_text_extents_cookie_t   cookie  /**< */,
  9327.                               xcb_generic_error_t             **e  /**< */);
  9328.  
  9329.  
  9330. /*****************************************************************************
  9331.  **
  9332.  ** char * xcb_str_name
  9333.  ** 
  9334.  ** @param const xcb_str_t *R
  9335.  ** @returns char *
  9336.  **
  9337.  *****************************************************************************/
  9338.  
  9339. char *
  9340. xcb_str_name (const xcb_str_t *R  /**< */);
  9341.  
  9342.  
  9343. /*****************************************************************************
  9344.  **
  9345.  ** int xcb_str_name_length
  9346.  ** 
  9347.  ** @param const xcb_str_t *R
  9348.  ** @returns int
  9349.  **
  9350.  *****************************************************************************/
  9351.  
  9352. int
  9353. xcb_str_name_length (const xcb_str_t *R  /**< */);
  9354.  
  9355.  
  9356. /*****************************************************************************
  9357.  **
  9358.  ** xcb_generic_iterator_t xcb_str_name_end
  9359.  ** 
  9360.  ** @param const xcb_str_t *R
  9361.  ** @returns xcb_generic_iterator_t
  9362.  **
  9363.  *****************************************************************************/
  9364.  
  9365. xcb_generic_iterator_t
  9366. xcb_str_name_end (const xcb_str_t *R  /**< */);
  9367.  
  9368. /**
  9369.  * Get the next element of the iterator
  9370.  * @param i Pointer to a xcb_str_iterator_t
  9371.  *
  9372.  * Get the next element in the iterator. The member rem is
  9373.  * decreased by one. The member data points to the next
  9374.  * element. The member index is increased by sizeof(xcb_str_t)
  9375.  */
  9376.  
  9377. /*****************************************************************************
  9378.  **
  9379.  ** void xcb_str_next
  9380.  ** 
  9381.  ** @param xcb_str_iterator_t *i
  9382.  ** @returns void
  9383.  **
  9384.  *****************************************************************************/
  9385.  
  9386. void
  9387. xcb_str_next (xcb_str_iterator_t *i  /**< */);
  9388.  
  9389. /**
  9390.  * Return the iterator pointing to the last element
  9391.  * @param i An xcb_str_iterator_t
  9392.  * @return  The iterator pointing to the last element
  9393.  *
  9394.  * Set the current element in the iterator to the last element.
  9395.  * The member rem is set to 0. The member data points to the
  9396.  * last element.
  9397.  */
  9398.  
  9399. /*****************************************************************************
  9400.  **
  9401.  ** xcb_generic_iterator_t xcb_str_end
  9402.  ** 
  9403.  ** @param xcb_str_iterator_t i
  9404.  ** @returns xcb_generic_iterator_t
  9405.  **
  9406.  *****************************************************************************/
  9407.  
  9408. xcb_generic_iterator_t
  9409. xcb_str_end (xcb_str_iterator_t i  /**< */);
  9410.  
  9411. /**
  9412.  * Delivers a request to the X server
  9413.  * @param c The connection
  9414.  * @return A cookie
  9415.  *
  9416.  * Delivers a request to the X server.
  9417.  * 
  9418.  */
  9419.  
  9420. /*****************************************************************************
  9421.  **
  9422.  ** xcb_list_fonts_cookie_t xcb_list_fonts
  9423.  ** 
  9424.  ** @param xcb_connection_t *c
  9425.  ** @param uint16_t          max_names
  9426.  ** @param uint16_t          pattern_len
  9427.  ** @param const char       *pattern
  9428.  ** @returns xcb_list_fonts_cookie_t
  9429.  **
  9430.  *****************************************************************************/
  9431.  
  9432. xcb_list_fonts_cookie_t
  9433. xcb_list_fonts (xcb_connection_t *c  /**< */,
  9434.                 uint16_t          max_names  /**< */,
  9435.                 uint16_t          pattern_len  /**< */,
  9436.                 const char       *pattern  /**< */);
  9437.  
  9438. /**
  9439.  * Delivers a request to the X server
  9440.  * @param c The connection
  9441.  * @return A cookie
  9442.  *
  9443.  * Delivers a request to the X server.
  9444.  * 
  9445.  * This form can be used only if the request will cause
  9446.  * a reply to be generated. Any returned error will be
  9447.  * placed in the event queue.
  9448.  */
  9449.  
  9450. /*****************************************************************************
  9451.  **
  9452.  ** xcb_list_fonts_cookie_t xcb_list_fonts_unchecked
  9453.  ** 
  9454.  ** @param xcb_connection_t *c
  9455.  ** @param uint16_t          max_names
  9456.  ** @param uint16_t          pattern_len
  9457.  ** @param const char       *pattern
  9458.  ** @returns xcb_list_fonts_cookie_t
  9459.  **
  9460.  *****************************************************************************/
  9461.  
  9462. xcb_list_fonts_cookie_t
  9463. xcb_list_fonts_unchecked (xcb_connection_t *c  /**< */,
  9464.                           uint16_t          max_names  /**< */,
  9465.                           uint16_t          pattern_len  /**< */,
  9466.                           const char       *pattern  /**< */);
  9467.  
  9468.  
  9469. /*****************************************************************************
  9470.  **
  9471.  ** int xcb_list_fonts_names_length
  9472.  ** 
  9473.  ** @param const xcb_list_fonts_reply_t *R
  9474.  ** @returns int
  9475.  **
  9476.  *****************************************************************************/
  9477.  
  9478. int
  9479. xcb_list_fonts_names_length (const xcb_list_fonts_reply_t *R  /**< */);
  9480.  
  9481.  
  9482. /*****************************************************************************
  9483.  **
  9484.  ** xcb_str_iterator_t xcb_list_fonts_names_iterator
  9485.  ** 
  9486.  ** @param const xcb_list_fonts_reply_t *R
  9487.  ** @returns xcb_str_iterator_t
  9488.  **
  9489.  *****************************************************************************/
  9490.  
  9491. xcb_str_iterator_t
  9492. xcb_list_fonts_names_iterator (const xcb_list_fonts_reply_t *R  /**< */);
  9493.  
  9494. /**
  9495.  * Return the reply
  9496.  * @param c      The connection
  9497.  * @param cookie The cookie
  9498.  * @param e      The xcb_generic_error_t supplied
  9499.  *
  9500.  * Returns the reply of the request asked by
  9501.  * 
  9502.  * The parameter @p e supplied to this function must be NULL if
  9503.  * xcb_list_fonts_unchecked(). is used.
  9504.  * Otherwise, it stores the error if any.
  9505.  */
  9506.  
  9507. /*****************************************************************************
  9508.  **
  9509.  ** xcb_list_fonts_reply_t * xcb_list_fonts_reply
  9510.  ** 
  9511.  ** @param xcb_connection_t         *c
  9512.  ** @param xcb_list_fonts_cookie_t   cookie
  9513.  ** @param xcb_generic_error_t     **e
  9514.  ** @returns xcb_list_fonts_reply_t *
  9515.  **
  9516.  *****************************************************************************/
  9517.  
  9518. xcb_list_fonts_reply_t *
  9519. xcb_list_fonts_reply (xcb_connection_t         *c  /**< */,
  9520.                       xcb_list_fonts_cookie_t   cookie  /**< */,
  9521.                       xcb_generic_error_t     **e  /**< */);
  9522.  
  9523. /**
  9524.  * Delivers a request to the X server
  9525.  * @param c The connection
  9526.  * @return A cookie
  9527.  *
  9528.  * Delivers a request to the X server.
  9529.  * 
  9530.  */
  9531.  
  9532. /*****************************************************************************
  9533.  **
  9534.  ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info
  9535.  ** 
  9536.  ** @param xcb_connection_t *c
  9537.  ** @param uint16_t          max_names
  9538.  ** @param uint16_t          pattern_len
  9539.  ** @param const char       *pattern
  9540.  ** @returns xcb_list_fonts_with_info_cookie_t
  9541.  **
  9542.  *****************************************************************************/
  9543.  
  9544. xcb_list_fonts_with_info_cookie_t
  9545. xcb_list_fonts_with_info (xcb_connection_t *c  /**< */,
  9546.                           uint16_t          max_names  /**< */,
  9547.                           uint16_t          pattern_len  /**< */,
  9548.                           const char       *pattern  /**< */);
  9549.  
  9550. /**
  9551.  * Delivers a request to the X server
  9552.  * @param c The connection
  9553.  * @return A cookie
  9554.  *
  9555.  * Delivers a request to the X server.
  9556.  * 
  9557.  * This form can be used only if the request will cause
  9558.  * a reply to be generated. Any returned error will be
  9559.  * placed in the event queue.
  9560.  */
  9561.  
  9562. /*****************************************************************************
  9563.  **
  9564.  ** xcb_list_fonts_with_info_cookie_t xcb_list_fonts_with_info_unchecked
  9565.  ** 
  9566.  ** @param xcb_connection_t *c
  9567.  ** @param uint16_t          max_names
  9568.  ** @param uint16_t          pattern_len
  9569.  ** @param const char       *pattern
  9570.  ** @returns xcb_list_fonts_with_info_cookie_t
  9571.  **
  9572.  *****************************************************************************/
  9573.  
  9574. xcb_list_fonts_with_info_cookie_t
  9575. xcb_list_fonts_with_info_unchecked (xcb_connection_t *c  /**< */,
  9576.                                     uint16_t          max_names  /**< */,
  9577.                                     uint16_t          pattern_len  /**< */,
  9578.                                     const char       *pattern  /**< */);
  9579.  
  9580.  
  9581. /*****************************************************************************
  9582.  **
  9583.  ** xcb_fontprop_t * xcb_list_fonts_with_info_properties
  9584.  ** 
  9585.  ** @param const xcb_list_fonts_with_info_reply_t *R
  9586.  ** @returns xcb_fontprop_t *
  9587.  **
  9588.  *****************************************************************************/
  9589.  
  9590. xcb_fontprop_t *
  9591. xcb_list_fonts_with_info_properties (const xcb_list_fonts_with_info_reply_t *R  /**< */);
  9592.  
  9593.  
  9594. /*****************************************************************************
  9595.  **
  9596.  ** int xcb_list_fonts_with_info_properties_length
  9597.  ** 
  9598.  ** @param const xcb_list_fonts_with_info_reply_t *R
  9599.  ** @returns int
  9600.  **
  9601.  *****************************************************************************/
  9602.  
  9603. int
  9604. xcb_list_fonts_with_info_properties_length (const xcb_list_fonts_with_info_reply_t *R  /**< */);
  9605.  
  9606.  
  9607. /*****************************************************************************
  9608.  **
  9609.  ** xcb_fontprop_iterator_t xcb_list_fonts_with_info_properties_iterator
  9610.  ** 
  9611.  ** @param const xcb_list_fonts_with_info_reply_t *R
  9612.  ** @returns xcb_fontprop_iterator_t
  9613.  **
  9614.  *****************************************************************************/
  9615.  
  9616. xcb_fontprop_iterator_t
  9617. xcb_list_fonts_with_info_properties_iterator (const xcb_list_fonts_with_info_reply_t *R  /**< */);
  9618.  
  9619.  
  9620. /*****************************************************************************
  9621.  **
  9622.  ** char * xcb_list_fonts_with_info_name
  9623.  ** 
  9624.  ** @param const xcb_list_fonts_with_info_reply_t *R
  9625.  ** @returns char *
  9626.  **
  9627.  *****************************************************************************/
  9628.  
  9629. char *
  9630. xcb_list_fonts_with_info_name (const xcb_list_fonts_with_info_reply_t *R  /**< */);
  9631.  
  9632.  
  9633. /*****************************************************************************
  9634.  **
  9635.  ** int xcb_list_fonts_with_info_name_length
  9636.  ** 
  9637.  ** @param const xcb_list_fonts_with_info_reply_t *R
  9638.  ** @returns int
  9639.  **
  9640.  *****************************************************************************/
  9641.  
  9642. int
  9643. xcb_list_fonts_with_info_name_length (const xcb_list_fonts_with_info_reply_t *R  /**< */);
  9644.  
  9645.  
  9646. /*****************************************************************************
  9647.  **
  9648.  ** xcb_generic_iterator_t xcb_list_fonts_with_info_name_end
  9649.  ** 
  9650.  ** @param const xcb_list_fonts_with_info_reply_t *R
  9651.  ** @returns xcb_generic_iterator_t
  9652.  **
  9653.  *****************************************************************************/
  9654.  
  9655. xcb_generic_iterator_t
  9656. xcb_list_fonts_with_info_name_end (const xcb_list_fonts_with_info_reply_t *R  /**< */);
  9657.  
  9658. /**
  9659.  * Return the reply
  9660.  * @param c      The connection
  9661.  * @param cookie The cookie
  9662.  * @param e      The xcb_generic_error_t supplied
  9663.  *
  9664.  * Returns the reply of the request asked by
  9665.  * 
  9666.  * The parameter @p e supplied to this function must be NULL if
  9667.  * xcb_list_fonts_with_info_unchecked(). is used.
  9668.  * Otherwise, it stores the error if any.
  9669.  */
  9670.  
  9671. /*****************************************************************************
  9672.  **
  9673.  ** xcb_list_fonts_with_info_reply_t * xcb_list_fonts_with_info_reply
  9674.  ** 
  9675.  ** @param xcb_connection_t                   *c
  9676.  ** @param xcb_list_fonts_with_info_cookie_t   cookie
  9677.  ** @param xcb_generic_error_t               **e
  9678.  ** @returns xcb_list_fonts_with_info_reply_t *
  9679.  **
  9680.  *****************************************************************************/
  9681.  
  9682. xcb_list_fonts_with_info_reply_t *
  9683. xcb_list_fonts_with_info_reply (xcb_connection_t                   *c  /**< */,
  9684.                                 xcb_list_fonts_with_info_cookie_t   cookie  /**< */,
  9685.                                 xcb_generic_error_t               **e  /**< */);
  9686.  
  9687. /**
  9688.  * Delivers a request to the X server
  9689.  * @param c The connection
  9690.  * @return A cookie
  9691.  *
  9692.  * Delivers a request to the X server.
  9693.  * 
  9694.  * This form can be used only if the request will not cause
  9695.  * a reply to be generated. Any returned error will be
  9696.  * saved for handling by xcb_request_check().
  9697.  */
  9698.  
  9699. /*****************************************************************************
  9700.  **
  9701.  ** xcb_void_cookie_t xcb_set_font_path_checked
  9702.  ** 
  9703.  ** @param xcb_connection_t *c
  9704.  ** @param uint16_t          font_qty
  9705.  ** @param uint32_t          path_len
  9706.  ** @param const char       *path
  9707.  ** @returns xcb_void_cookie_t
  9708.  **
  9709.  *****************************************************************************/
  9710.  
  9711. xcb_void_cookie_t
  9712. xcb_set_font_path_checked (xcb_connection_t *c  /**< */,
  9713.                            uint16_t          font_qty  /**< */,
  9714.                            uint32_t          path_len  /**< */,
  9715.                            const char       *path  /**< */);
  9716.  
  9717. /**
  9718.  * Delivers a request to the X server
  9719.  * @param c The connection
  9720.  * @return A cookie
  9721.  *
  9722.  * Delivers a request to the X server.
  9723.  * 
  9724.  */
  9725.  
  9726. /*****************************************************************************
  9727.  **
  9728.  ** xcb_void_cookie_t xcb_set_font_path
  9729.  ** 
  9730.  ** @param xcb_connection_t *c
  9731.  ** @param uint16_t          font_qty
  9732.  ** @param uint32_t          path_len
  9733.  ** @param const char       *path
  9734.  ** @returns xcb_void_cookie_t
  9735.  **
  9736.  *****************************************************************************/
  9737.  
  9738. xcb_void_cookie_t
  9739. xcb_set_font_path (xcb_connection_t *c  /**< */,
  9740.                    uint16_t          font_qty  /**< */,
  9741.                    uint32_t          path_len  /**< */,
  9742.                    const char       *path  /**< */);
  9743.  
  9744. /**
  9745.  * Delivers a request to the X server
  9746.  * @param c The connection
  9747.  * @return A cookie
  9748.  *
  9749.  * Delivers a request to the X server.
  9750.  * 
  9751.  */
  9752.  
  9753. /*****************************************************************************
  9754.  **
  9755.  ** xcb_get_font_path_cookie_t xcb_get_font_path
  9756.  ** 
  9757.  ** @param xcb_connection_t *c
  9758.  ** @returns xcb_get_font_path_cookie_t
  9759.  **
  9760.  *****************************************************************************/
  9761.  
  9762. xcb_get_font_path_cookie_t
  9763. xcb_get_font_path (xcb_connection_t *c  /**< */);
  9764.  
  9765. /**
  9766.  * Delivers a request to the X server
  9767.  * @param c The connection
  9768.  * @return A cookie
  9769.  *
  9770.  * Delivers a request to the X server.
  9771.  * 
  9772.  * This form can be used only if the request will cause
  9773.  * a reply to be generated. Any returned error will be
  9774.  * placed in the event queue.
  9775.  */
  9776.  
  9777. /*****************************************************************************
  9778.  **
  9779.  ** xcb_get_font_path_cookie_t xcb_get_font_path_unchecked
  9780.  ** 
  9781.  ** @param xcb_connection_t *c
  9782.  ** @returns xcb_get_font_path_cookie_t
  9783.  **
  9784.  *****************************************************************************/
  9785.  
  9786. xcb_get_font_path_cookie_t
  9787. xcb_get_font_path_unchecked (xcb_connection_t *c  /**< */);
  9788.  
  9789.  
  9790. /*****************************************************************************
  9791.  **
  9792.  ** int xcb_get_font_path_path_length
  9793.  ** 
  9794.  ** @param const xcb_get_font_path_reply_t *R
  9795.  ** @returns int
  9796.  **
  9797.  *****************************************************************************/
  9798.  
  9799. int
  9800. xcb_get_font_path_path_length (const xcb_get_font_path_reply_t *R  /**< */);
  9801.  
  9802.  
  9803. /*****************************************************************************
  9804.  **
  9805.  ** xcb_str_iterator_t xcb_get_font_path_path_iterator
  9806.  ** 
  9807.  ** @param const xcb_get_font_path_reply_t *R
  9808.  ** @returns xcb_str_iterator_t
  9809.  **
  9810.  *****************************************************************************/
  9811.  
  9812. xcb_str_iterator_t
  9813. xcb_get_font_path_path_iterator (const xcb_get_font_path_reply_t *R  /**< */);
  9814.  
  9815. /**
  9816.  * Return the reply
  9817.  * @param c      The connection
  9818.  * @param cookie The cookie
  9819.  * @param e      The xcb_generic_error_t supplied
  9820.  *
  9821.  * Returns the reply of the request asked by
  9822.  * 
  9823.  * The parameter @p e supplied to this function must be NULL if
  9824.  * xcb_get_font_path_unchecked(). is used.
  9825.  * Otherwise, it stores the error if any.
  9826.  */
  9827.  
  9828. /*****************************************************************************
  9829.  **
  9830.  ** xcb_get_font_path_reply_t * xcb_get_font_path_reply
  9831.  ** 
  9832.  ** @param xcb_connection_t            *c
  9833.  ** @param xcb_get_font_path_cookie_t   cookie
  9834.  ** @param xcb_generic_error_t        **e
  9835.  ** @returns xcb_get_font_path_reply_t *
  9836.  **
  9837.  *****************************************************************************/
  9838.  
  9839. xcb_get_font_path_reply_t *
  9840. xcb_get_font_path_reply (xcb_connection_t            *c  /**< */,
  9841.                          xcb_get_font_path_cookie_t   cookie  /**< */,
  9842.                          xcb_generic_error_t        **e  /**< */);
  9843.  
  9844. /**
  9845.  * Delivers a request to the X server
  9846.  * @param c The connection
  9847.  * @return A cookie
  9848.  *
  9849.  * Delivers a request to the X server.
  9850.  * 
  9851.  * This form can be used only if the request will not cause
  9852.  * a reply to be generated. Any returned error will be
  9853.  * saved for handling by xcb_request_check().
  9854.  */
  9855.  
  9856. /*****************************************************************************
  9857.  **
  9858.  ** xcb_void_cookie_t xcb_create_pixmap_checked
  9859.  ** 
  9860.  ** @param xcb_connection_t *c
  9861.  ** @param uint8_t           depth
  9862.  ** @param xcb_pixmap_t      pid
  9863.  ** @param xcb_drawable_t    drawable
  9864.  ** @param uint16_t          width
  9865.  ** @param uint16_t          height
  9866.  ** @returns xcb_void_cookie_t
  9867.  **
  9868.  *****************************************************************************/
  9869.  
  9870. xcb_void_cookie_t
  9871. xcb_create_pixmap_checked (xcb_connection_t *c  /**< */,
  9872.                            uint8_t           depth  /**< */,
  9873.                            xcb_pixmap_t      pid  /**< */,
  9874.                            xcb_drawable_t    drawable  /**< */,
  9875.                            uint16_t          width  /**< */,
  9876.                            uint16_t          height  /**< */);
  9877.  
  9878. /**
  9879.  * Delivers a request to the X server
  9880.  * @param c The connection
  9881.  * @return A cookie
  9882.  *
  9883.  * Delivers a request to the X server.
  9884.  * 
  9885.  */
  9886.  
  9887. /*****************************************************************************
  9888.  **
  9889.  ** xcb_void_cookie_t xcb_create_pixmap
  9890.  ** 
  9891.  ** @param xcb_connection_t *c
  9892.  ** @param uint8_t           depth
  9893.  ** @param xcb_pixmap_t      pid
  9894.  ** @param xcb_drawable_t    drawable
  9895.  ** @param uint16_t          width
  9896.  ** @param uint16_t          height
  9897.  ** @returns xcb_void_cookie_t
  9898.  **
  9899.  *****************************************************************************/
  9900.  
  9901. xcb_void_cookie_t
  9902. xcb_create_pixmap (xcb_connection_t *c  /**< */,
  9903.                    uint8_t           depth  /**< */,
  9904.                    xcb_pixmap_t      pid  /**< */,
  9905.                    xcb_drawable_t    drawable  /**< */,
  9906.                    uint16_t          width  /**< */,
  9907.                    uint16_t          height  /**< */);
  9908.  
  9909. /**
  9910.  * Delivers a request to the X server
  9911.  * @param c The connection
  9912.  * @return A cookie
  9913.  *
  9914.  * Delivers a request to the X server.
  9915.  * 
  9916.  * This form can be used only if the request will not cause
  9917.  * a reply to be generated. Any returned error will be
  9918.  * saved for handling by xcb_request_check().
  9919.  */
  9920.  
  9921. /*****************************************************************************
  9922.  **
  9923.  ** xcb_void_cookie_t xcb_free_pixmap_checked
  9924.  ** 
  9925.  ** @param xcb_connection_t *c
  9926.  ** @param xcb_pixmap_t      pixmap
  9927.  ** @returns xcb_void_cookie_t
  9928.  **
  9929.  *****************************************************************************/
  9930.  
  9931. xcb_void_cookie_t
  9932. xcb_free_pixmap_checked (xcb_connection_t *c  /**< */,
  9933.                          xcb_pixmap_t      pixmap  /**< */);
  9934.  
  9935. /**
  9936.  * Delivers a request to the X server
  9937.  * @param c The connection
  9938.  * @return A cookie
  9939.  *
  9940.  * Delivers a request to the X server.
  9941.  * 
  9942.  */
  9943.  
  9944. /*****************************************************************************
  9945.  **
  9946.  ** xcb_void_cookie_t xcb_free_pixmap
  9947.  ** 
  9948.  ** @param xcb_connection_t *c
  9949.  ** @param xcb_pixmap_t      pixmap
  9950.  ** @returns xcb_void_cookie_t
  9951.  **
  9952.  *****************************************************************************/
  9953.  
  9954. xcb_void_cookie_t
  9955. xcb_free_pixmap (xcb_connection_t *c  /**< */,
  9956.                  xcb_pixmap_t      pixmap  /**< */);
  9957.  
  9958. /**
  9959.  * Delivers a request to the X server
  9960.  * @param c The connection
  9961.  * @return A cookie
  9962.  *
  9963.  * Delivers a request to the X server.
  9964.  * 
  9965.  * This form can be used only if the request will not cause
  9966.  * a reply to be generated. Any returned error will be
  9967.  * saved for handling by xcb_request_check().
  9968.  */
  9969.  
  9970. /*****************************************************************************
  9971.  **
  9972.  ** xcb_void_cookie_t xcb_create_gc_checked
  9973.  ** 
  9974.  ** @param xcb_connection_t *c
  9975.  ** @param xcb_gcontext_t    cid
  9976.  ** @param xcb_drawable_t    drawable
  9977.  ** @param uint32_t          value_mask
  9978.  ** @param const uint32_t   *value_list
  9979.  ** @returns xcb_void_cookie_t
  9980.  **
  9981.  *****************************************************************************/
  9982.  
  9983. xcb_void_cookie_t
  9984. xcb_create_gc_checked (xcb_connection_t *c  /**< */,
  9985.                        xcb_gcontext_t    cid  /**< */,
  9986.                        xcb_drawable_t    drawable  /**< */,
  9987.                        uint32_t          value_mask  /**< */,
  9988.                        const uint32_t   *value_list  /**< */);
  9989.  
  9990. /**
  9991.  * Delivers a request to the X server
  9992.  * @param c The connection
  9993.  * @return A cookie
  9994.  *
  9995.  * Delivers a request to the X server.
  9996.  * 
  9997.  */
  9998.  
  9999. /*****************************************************************************
  10000.  **
  10001.  ** xcb_void_cookie_t xcb_create_gc
  10002.  ** 
  10003.  ** @param xcb_connection_t *c
  10004.  ** @param xcb_gcontext_t    cid
  10005.  ** @param xcb_drawable_t    drawable
  10006.  ** @param uint32_t          value_mask
  10007.  ** @param const uint32_t   *value_list
  10008.  ** @returns xcb_void_cookie_t
  10009.  **
  10010.  *****************************************************************************/
  10011.  
  10012. xcb_void_cookie_t
  10013. xcb_create_gc (xcb_connection_t *c  /**< */,
  10014.                xcb_gcontext_t    cid  /**< */,
  10015.                xcb_drawable_t    drawable  /**< */,
  10016.                uint32_t          value_mask  /**< */,
  10017.                const uint32_t   *value_list  /**< */);
  10018.  
  10019. /**
  10020.  * Delivers a request to the X server
  10021.  * @param c The connection
  10022.  * @return A cookie
  10023.  *
  10024.  * Delivers a request to the X server.
  10025.  * 
  10026.  * This form can be used only if the request will not cause
  10027.  * a reply to be generated. Any returned error will be
  10028.  * saved for handling by xcb_request_check().
  10029.  */
  10030.  
  10031. /*****************************************************************************
  10032.  **
  10033.  ** xcb_void_cookie_t xcb_change_gc_checked
  10034.  ** 
  10035.  ** @param xcb_connection_t *c
  10036.  ** @param xcb_gcontext_t    gc
  10037.  ** @param uint32_t          value_mask
  10038.  ** @param const uint32_t   *value_list
  10039.  ** @returns xcb_void_cookie_t
  10040.  **
  10041.  *****************************************************************************/
  10042.  
  10043. xcb_void_cookie_t
  10044. xcb_change_gc_checked (xcb_connection_t *c  /**< */,
  10045.                        xcb_gcontext_t    gc  /**< */,
  10046.                        uint32_t          value_mask  /**< */,
  10047.                        const uint32_t   *value_list  /**< */);
  10048.  
  10049. /**
  10050.  * Delivers a request to the X server
  10051.  * @param c The connection
  10052.  * @return A cookie
  10053.  *
  10054.  * Delivers a request to the X server.
  10055.  * 
  10056.  */
  10057.  
  10058. /*****************************************************************************
  10059.  **
  10060.  ** xcb_void_cookie_t xcb_change_gc
  10061.  ** 
  10062.  ** @param xcb_connection_t *c
  10063.  ** @param xcb_gcontext_t    gc
  10064.  ** @param uint32_t          value_mask
  10065.  ** @param const uint32_t   *value_list
  10066.  ** @returns xcb_void_cookie_t
  10067.  **
  10068.  *****************************************************************************/
  10069.  
  10070. xcb_void_cookie_t
  10071. xcb_change_gc (xcb_connection_t *c  /**< */,
  10072.                xcb_gcontext_t    gc  /**< */,
  10073.                uint32_t          value_mask  /**< */,
  10074.                const uint32_t   *value_list  /**< */);
  10075.  
  10076. /**
  10077.  * Delivers a request to the X server
  10078.  * @param c The connection
  10079.  * @return A cookie
  10080.  *
  10081.  * Delivers a request to the X server.
  10082.  * 
  10083.  * This form can be used only if the request will not cause
  10084.  * a reply to be generated. Any returned error will be
  10085.  * saved for handling by xcb_request_check().
  10086.  */
  10087.  
  10088. /*****************************************************************************
  10089.  **
  10090.  ** xcb_void_cookie_t xcb_copy_gc_checked
  10091.  ** 
  10092.  ** @param xcb_connection_t *c
  10093.  ** @param xcb_gcontext_t    src_gc
  10094.  ** @param xcb_gcontext_t    dst_gc
  10095.  ** @param uint32_t          value_mask
  10096.  ** @returns xcb_void_cookie_t
  10097.  **
  10098.  *****************************************************************************/
  10099.  
  10100. xcb_void_cookie_t
  10101. xcb_copy_gc_checked (xcb_connection_t *c  /**< */,
  10102.                      xcb_gcontext_t    src_gc  /**< */,
  10103.                      xcb_gcontext_t    dst_gc  /**< */,
  10104.                      uint32_t          value_mask  /**< */);
  10105.  
  10106. /**
  10107.  * Delivers a request to the X server
  10108.  * @param c The connection
  10109.  * @return A cookie
  10110.  *
  10111.  * Delivers a request to the X server.
  10112.  * 
  10113.  */
  10114.  
  10115. /*****************************************************************************
  10116.  **
  10117.  ** xcb_void_cookie_t xcb_copy_gc
  10118.  ** 
  10119.  ** @param xcb_connection_t *c
  10120.  ** @param xcb_gcontext_t    src_gc
  10121.  ** @param xcb_gcontext_t    dst_gc
  10122.  ** @param uint32_t          value_mask
  10123.  ** @returns xcb_void_cookie_t
  10124.  **
  10125.  *****************************************************************************/
  10126.  
  10127. xcb_void_cookie_t
  10128. xcb_copy_gc (xcb_connection_t *c  /**< */,
  10129.              xcb_gcontext_t    src_gc  /**< */,
  10130.              xcb_gcontext_t    dst_gc  /**< */,
  10131.              uint32_t          value_mask  /**< */);
  10132.  
  10133. /**
  10134.  * Delivers a request to the X server
  10135.  * @param c The connection
  10136.  * @return A cookie
  10137.  *
  10138.  * Delivers a request to the X server.
  10139.  * 
  10140.  * This form can be used only if the request will not cause
  10141.  * a reply to be generated. Any returned error will be
  10142.  * saved for handling by xcb_request_check().
  10143.  */
  10144.  
  10145. /*****************************************************************************
  10146.  **
  10147.  ** xcb_void_cookie_t xcb_set_dashes_checked
  10148.  ** 
  10149.  ** @param xcb_connection_t *c
  10150.  ** @param xcb_gcontext_t    gc
  10151.  ** @param uint16_t          dash_offset
  10152.  ** @param uint16_t          dashes_len
  10153.  ** @param const uint8_t    *dashes
  10154.  ** @returns xcb_void_cookie_t
  10155.  **
  10156.  *****************************************************************************/
  10157.  
  10158. xcb_void_cookie_t
  10159. xcb_set_dashes_checked (xcb_connection_t *c  /**< */,
  10160.                         xcb_gcontext_t    gc  /**< */,
  10161.                         uint16_t          dash_offset  /**< */,
  10162.                         uint16_t          dashes_len  /**< */,
  10163.                         const uint8_t    *dashes  /**< */);
  10164.  
  10165. /**
  10166.  * Delivers a request to the X server
  10167.  * @param c The connection
  10168.  * @return A cookie
  10169.  *
  10170.  * Delivers a request to the X server.
  10171.  * 
  10172.  */
  10173.  
  10174. /*****************************************************************************
  10175.  **
  10176.  ** xcb_void_cookie_t xcb_set_dashes
  10177.  ** 
  10178.  ** @param xcb_connection_t *c
  10179.  ** @param xcb_gcontext_t    gc
  10180.  ** @param uint16_t          dash_offset
  10181.  ** @param uint16_t          dashes_len
  10182.  ** @param const uint8_t    *dashes
  10183.  ** @returns xcb_void_cookie_t
  10184.  **
  10185.  *****************************************************************************/
  10186.  
  10187. xcb_void_cookie_t
  10188. xcb_set_dashes (xcb_connection_t *c  /**< */,
  10189.                 xcb_gcontext_t    gc  /**< */,
  10190.                 uint16_t          dash_offset  /**< */,
  10191.                 uint16_t          dashes_len  /**< */,
  10192.                 const uint8_t    *dashes  /**< */);
  10193.  
  10194. /**
  10195.  * Delivers a request to the X server
  10196.  * @param c The connection
  10197.  * @return A cookie
  10198.  *
  10199.  * Delivers a request to the X server.
  10200.  * 
  10201.  * This form can be used only if the request will not cause
  10202.  * a reply to be generated. Any returned error will be
  10203.  * saved for handling by xcb_request_check().
  10204.  */
  10205.  
  10206. /*****************************************************************************
  10207.  **
  10208.  ** xcb_void_cookie_t xcb_set_clip_rectangles_checked
  10209.  ** 
  10210.  ** @param xcb_connection_t      *c
  10211.  ** @param uint8_t                ordering
  10212.  ** @param xcb_gcontext_t         gc
  10213.  ** @param int16_t                clip_x_origin
  10214.  ** @param int16_t                clip_y_origin
  10215.  ** @param uint32_t               rectangles_len
  10216.  ** @param const xcb_rectangle_t *rectangles
  10217.  ** @returns xcb_void_cookie_t
  10218.  **
  10219.  *****************************************************************************/
  10220.  
  10221. xcb_void_cookie_t
  10222. xcb_set_clip_rectangles_checked (xcb_connection_t      *c  /**< */,
  10223.                                  uint8_t                ordering  /**< */,
  10224.                                  xcb_gcontext_t         gc  /**< */,
  10225.                                  int16_t                clip_x_origin  /**< */,
  10226.                                  int16_t                clip_y_origin  /**< */,
  10227.                                  uint32_t               rectangles_len  /**< */,
  10228.                                  const xcb_rectangle_t *rectangles  /**< */);
  10229.  
  10230. /**
  10231.  * Delivers a request to the X server
  10232.  * @param c The connection
  10233.  * @return A cookie
  10234.  *
  10235.  * Delivers a request to the X server.
  10236.  * 
  10237.  */
  10238.  
  10239. /*****************************************************************************
  10240.  **
  10241.  ** xcb_void_cookie_t xcb_set_clip_rectangles
  10242.  ** 
  10243.  ** @param xcb_connection_t      *c
  10244.  ** @param uint8_t                ordering
  10245.  ** @param xcb_gcontext_t         gc
  10246.  ** @param int16_t                clip_x_origin
  10247.  ** @param int16_t                clip_y_origin
  10248.  ** @param uint32_t               rectangles_len
  10249.  ** @param const xcb_rectangle_t *rectangles
  10250.  ** @returns xcb_void_cookie_t
  10251.  **
  10252.  *****************************************************************************/
  10253.  
  10254. xcb_void_cookie_t
  10255. xcb_set_clip_rectangles (xcb_connection_t      *c  /**< */,
  10256.                          uint8_t                ordering  /**< */,
  10257.                          xcb_gcontext_t         gc  /**< */,
  10258.                          int16_t                clip_x_origin  /**< */,
  10259.                          int16_t                clip_y_origin  /**< */,
  10260.                          uint32_t               rectangles_len  /**< */,
  10261.                          const xcb_rectangle_t *rectangles  /**< */);
  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.  * This form can be used only if the request will not cause
  10271.  * a reply to be generated. Any returned error will be
  10272.  * saved for handling by xcb_request_check().
  10273.  */
  10274.  
  10275. /*****************************************************************************
  10276.  **
  10277.  ** xcb_void_cookie_t xcb_free_gc_checked
  10278.  ** 
  10279.  ** @param xcb_connection_t *c
  10280.  ** @param xcb_gcontext_t    gc
  10281.  ** @returns xcb_void_cookie_t
  10282.  **
  10283.  *****************************************************************************/
  10284.  
  10285. xcb_void_cookie_t
  10286. xcb_free_gc_checked (xcb_connection_t *c  /**< */,
  10287.                      xcb_gcontext_t    gc  /**< */);
  10288.  
  10289. /**
  10290.  * Delivers a request to the X server
  10291.  * @param c The connection
  10292.  * @return A cookie
  10293.  *
  10294.  * Delivers a request to the X server.
  10295.  * 
  10296.  */
  10297.  
  10298. /*****************************************************************************
  10299.  **
  10300.  ** xcb_void_cookie_t xcb_free_gc
  10301.  ** 
  10302.  ** @param xcb_connection_t *c
  10303.  ** @param xcb_gcontext_t    gc
  10304.  ** @returns xcb_void_cookie_t
  10305.  **
  10306.  *****************************************************************************/
  10307.  
  10308. xcb_void_cookie_t
  10309. xcb_free_gc (xcb_connection_t *c  /**< */,
  10310.              xcb_gcontext_t    gc  /**< */);
  10311.  
  10312. /**
  10313.  * Delivers a request to the X server
  10314.  * @param c The connection
  10315.  * @return A cookie
  10316.  *
  10317.  * Delivers a request to the X server.
  10318.  * 
  10319.  * This form can be used only if the request will not cause
  10320.  * a reply to be generated. Any returned error will be
  10321.  * saved for handling by xcb_request_check().
  10322.  */
  10323.  
  10324. /*****************************************************************************
  10325.  **
  10326.  ** xcb_void_cookie_t xcb_clear_area_checked
  10327.  ** 
  10328.  ** @param xcb_connection_t *c
  10329.  ** @param uint8_t           exposures
  10330.  ** @param xcb_window_t      window
  10331.  ** @param int16_t           x
  10332.  ** @param int16_t           y
  10333.  ** @param uint16_t          width
  10334.  ** @param uint16_t          height
  10335.  ** @returns xcb_void_cookie_t
  10336.  **
  10337.  *****************************************************************************/
  10338.  
  10339. xcb_void_cookie_t
  10340. xcb_clear_area_checked (xcb_connection_t *c  /**< */,
  10341.                         uint8_t           exposures  /**< */,
  10342.                         xcb_window_t      window  /**< */,
  10343.                         int16_t           x  /**< */,
  10344.                         int16_t           y  /**< */,
  10345.                         uint16_t          width  /**< */,
  10346.                         uint16_t          height  /**< */);
  10347.  
  10348. /**
  10349.  * Delivers a request to the X server
  10350.  * @param c The connection
  10351.  * @return A cookie
  10352.  *
  10353.  * Delivers a request to the X server.
  10354.  * 
  10355.  */
  10356.  
  10357. /*****************************************************************************
  10358.  **
  10359.  ** xcb_void_cookie_t xcb_clear_area
  10360.  ** 
  10361.  ** @param xcb_connection_t *c
  10362.  ** @param uint8_t           exposures
  10363.  ** @param xcb_window_t      window
  10364.  ** @param int16_t           x
  10365.  ** @param int16_t           y
  10366.  ** @param uint16_t          width
  10367.  ** @param uint16_t          height
  10368.  ** @returns xcb_void_cookie_t
  10369.  **
  10370.  *****************************************************************************/
  10371.  
  10372. xcb_void_cookie_t
  10373. xcb_clear_area (xcb_connection_t *c  /**< */,
  10374.                 uint8_t           exposures  /**< */,
  10375.                 xcb_window_t      window  /**< */,
  10376.                 int16_t           x  /**< */,
  10377.                 int16_t           y  /**< */,
  10378.                 uint16_t          width  /**< */,
  10379.                 uint16_t          height  /**< */);
  10380.  
  10381. /**
  10382.  * Delivers a request to the X server
  10383.  * @param c The connection
  10384.  * @return A cookie
  10385.  *
  10386.  * Delivers a request to the X server.
  10387.  * 
  10388.  * This form can be used only if the request will not cause
  10389.  * a reply to be generated. Any returned error will be
  10390.  * saved for handling by xcb_request_check().
  10391.  */
  10392.  
  10393. /*****************************************************************************
  10394.  **
  10395.  ** xcb_void_cookie_t xcb_copy_area_checked
  10396.  ** 
  10397.  ** @param xcb_connection_t *c
  10398.  ** @param xcb_drawable_t    src_drawable
  10399.  ** @param xcb_drawable_t    dst_drawable
  10400.  ** @param xcb_gcontext_t    gc
  10401.  ** @param int16_t           src_x
  10402.  ** @param int16_t           src_y
  10403.  ** @param int16_t           dst_x
  10404.  ** @param int16_t           dst_y
  10405.  ** @param uint16_t          width
  10406.  ** @param uint16_t          height
  10407.  ** @returns xcb_void_cookie_t
  10408.  **
  10409.  *****************************************************************************/
  10410.  
  10411. xcb_void_cookie_t
  10412. xcb_copy_area_checked (xcb_connection_t *c  /**< */,
  10413.                        xcb_drawable_t    src_drawable  /**< */,
  10414.                        xcb_drawable_t    dst_drawable  /**< */,
  10415.                        xcb_gcontext_t    gc  /**< */,
  10416.                        int16_t           src_x  /**< */,
  10417.                        int16_t           src_y  /**< */,
  10418.                        int16_t           dst_x  /**< */,
  10419.                        int16_t           dst_y  /**< */,
  10420.                        uint16_t          width  /**< */,
  10421.                        uint16_t          height  /**< */);
  10422.  
  10423. /**
  10424.  * Delivers a request to the X server
  10425.  * @param c The connection
  10426.  * @return A cookie
  10427.  *
  10428.  * Delivers a request to the X server.
  10429.  * 
  10430.  */
  10431.  
  10432. /*****************************************************************************
  10433.  **
  10434.  ** xcb_void_cookie_t xcb_copy_area
  10435.  ** 
  10436.  ** @param xcb_connection_t *c
  10437.  ** @param xcb_drawable_t    src_drawable
  10438.  ** @param xcb_drawable_t    dst_drawable
  10439.  ** @param xcb_gcontext_t    gc
  10440.  ** @param int16_t           src_x
  10441.  ** @param int16_t           src_y
  10442.  ** @param int16_t           dst_x
  10443.  ** @param int16_t           dst_y
  10444.  ** @param uint16_t          width
  10445.  ** @param uint16_t          height
  10446.  ** @returns xcb_void_cookie_t
  10447.  **
  10448.  *****************************************************************************/
  10449.  
  10450. xcb_void_cookie_t
  10451. xcb_copy_area (xcb_connection_t *c  /**< */,
  10452.                xcb_drawable_t    src_drawable  /**< */,
  10453.                xcb_drawable_t    dst_drawable  /**< */,
  10454.                xcb_gcontext_t    gc  /**< */,
  10455.                int16_t           src_x  /**< */,
  10456.                int16_t           src_y  /**< */,
  10457.                int16_t           dst_x  /**< */,
  10458.                int16_t           dst_y  /**< */,
  10459.                uint16_t          width  /**< */,
  10460.                uint16_t          height  /**< */);
  10461.  
  10462. /**
  10463.  * Delivers a request to the X server
  10464.  * @param c The connection
  10465.  * @return A cookie
  10466.  *
  10467.  * Delivers a request to the X server.
  10468.  * 
  10469.  * This form can be used only if the request will not cause
  10470.  * a reply to be generated. Any returned error will be
  10471.  * saved for handling by xcb_request_check().
  10472.  */
  10473.  
  10474. /*****************************************************************************
  10475.  **
  10476.  ** xcb_void_cookie_t xcb_copy_plane_checked
  10477.  ** 
  10478.  ** @param xcb_connection_t *c
  10479.  ** @param xcb_drawable_t    src_drawable
  10480.  ** @param xcb_drawable_t    dst_drawable
  10481.  ** @param xcb_gcontext_t    gc
  10482.  ** @param int16_t           src_x
  10483.  ** @param int16_t           src_y
  10484.  ** @param int16_t           dst_x
  10485.  ** @param int16_t           dst_y
  10486.  ** @param uint16_t          width
  10487.  ** @param uint16_t          height
  10488.  ** @param uint32_t          bit_plane
  10489.  ** @returns xcb_void_cookie_t
  10490.  **
  10491.  *****************************************************************************/
  10492.  
  10493. xcb_void_cookie_t
  10494. xcb_copy_plane_checked (xcb_connection_t *c  /**< */,
  10495.                         xcb_drawable_t    src_drawable  /**< */,
  10496.                         xcb_drawable_t    dst_drawable  /**< */,
  10497.                         xcb_gcontext_t    gc  /**< */,
  10498.                         int16_t           src_x  /**< */,
  10499.                         int16_t           src_y  /**< */,
  10500.                         int16_t           dst_x  /**< */,
  10501.                         int16_t           dst_y  /**< */,
  10502.                         uint16_t          width  /**< */,
  10503.                         uint16_t          height  /**< */,
  10504.                         uint32_t          bit_plane  /**< */);
  10505.  
  10506. /**
  10507.  * Delivers a request to the X server
  10508.  * @param c The connection
  10509.  * @return A cookie
  10510.  *
  10511.  * Delivers a request to the X server.
  10512.  * 
  10513.  */
  10514.  
  10515. /*****************************************************************************
  10516.  **
  10517.  ** xcb_void_cookie_t xcb_copy_plane
  10518.  ** 
  10519.  ** @param xcb_connection_t *c
  10520.  ** @param xcb_drawable_t    src_drawable
  10521.  ** @param xcb_drawable_t    dst_drawable
  10522.  ** @param xcb_gcontext_t    gc
  10523.  ** @param int16_t           src_x
  10524.  ** @param int16_t           src_y
  10525.  ** @param int16_t           dst_x
  10526.  ** @param int16_t           dst_y
  10527.  ** @param uint16_t          width
  10528.  ** @param uint16_t          height
  10529.  ** @param uint32_t          bit_plane
  10530.  ** @returns xcb_void_cookie_t
  10531.  **
  10532.  *****************************************************************************/
  10533.  
  10534. xcb_void_cookie_t
  10535. xcb_copy_plane (xcb_connection_t *c  /**< */,
  10536.                 xcb_drawable_t    src_drawable  /**< */,
  10537.                 xcb_drawable_t    dst_drawable  /**< */,
  10538.                 xcb_gcontext_t    gc  /**< */,
  10539.                 int16_t           src_x  /**< */,
  10540.                 int16_t           src_y  /**< */,
  10541.                 int16_t           dst_x  /**< */,
  10542.                 int16_t           dst_y  /**< */,
  10543.                 uint16_t          width  /**< */,
  10544.                 uint16_t          height  /**< */,
  10545.                 uint32_t          bit_plane  /**< */);
  10546.  
  10547. /**
  10548.  * Delivers a request to the X server
  10549.  * @param c The connection
  10550.  * @return A cookie
  10551.  *
  10552.  * Delivers a request to the X server.
  10553.  * 
  10554.  * This form can be used only if the request will not cause
  10555.  * a reply to be generated. Any returned error will be
  10556.  * saved for handling by xcb_request_check().
  10557.  */
  10558.  
  10559. /*****************************************************************************
  10560.  **
  10561.  ** xcb_void_cookie_t xcb_poly_point_checked
  10562.  ** 
  10563.  ** @param xcb_connection_t  *c
  10564.  ** @param uint8_t            coordinate_mode
  10565.  ** @param xcb_drawable_t     drawable
  10566.  ** @param xcb_gcontext_t     gc
  10567.  ** @param uint32_t           points_len
  10568.  ** @param const xcb_point_t *points
  10569.  ** @returns xcb_void_cookie_t
  10570.  **
  10571.  *****************************************************************************/
  10572.  
  10573. xcb_void_cookie_t
  10574. xcb_poly_point_checked (xcb_connection_t  *c  /**< */,
  10575.                         uint8_t            coordinate_mode  /**< */,
  10576.                         xcb_drawable_t     drawable  /**< */,
  10577.                         xcb_gcontext_t     gc  /**< */,
  10578.                         uint32_t           points_len  /**< */,
  10579.                         const xcb_point_t *points  /**< */);
  10580.  
  10581. /**
  10582.  * Delivers a request to the X server
  10583.  * @param c The connection
  10584.  * @return A cookie
  10585.  *
  10586.  * Delivers a request to the X server.
  10587.  * 
  10588.  */
  10589.  
  10590. /*****************************************************************************
  10591.  **
  10592.  ** xcb_void_cookie_t xcb_poly_point
  10593.  ** 
  10594.  ** @param xcb_connection_t  *c
  10595.  ** @param uint8_t            coordinate_mode
  10596.  ** @param xcb_drawable_t     drawable
  10597.  ** @param xcb_gcontext_t     gc
  10598.  ** @param uint32_t           points_len
  10599.  ** @param const xcb_point_t *points
  10600.  ** @returns xcb_void_cookie_t
  10601.  **
  10602.  *****************************************************************************/
  10603.  
  10604. xcb_void_cookie_t
  10605. xcb_poly_point (xcb_connection_t  *c  /**< */,
  10606.                 uint8_t            coordinate_mode  /**< */,
  10607.                 xcb_drawable_t     drawable  /**< */,
  10608.                 xcb_gcontext_t     gc  /**< */,
  10609.                 uint32_t           points_len  /**< */,
  10610.                 const xcb_point_t *points  /**< */);
  10611.  
  10612. /**
  10613.  * Delivers a request to the X server
  10614.  * @param c The connection
  10615.  * @return A cookie
  10616.  *
  10617.  * Delivers a request to the X server.
  10618.  * 
  10619.  * This form can be used only if the request will not cause
  10620.  * a reply to be generated. Any returned error will be
  10621.  * saved for handling by xcb_request_check().
  10622.  */
  10623.  
  10624. /*****************************************************************************
  10625.  **
  10626.  ** xcb_void_cookie_t xcb_poly_line_checked
  10627.  ** 
  10628.  ** @param xcb_connection_t  *c
  10629.  ** @param uint8_t            coordinate_mode
  10630.  ** @param xcb_drawable_t     drawable
  10631.  ** @param xcb_gcontext_t     gc
  10632.  ** @param uint32_t           points_len
  10633.  ** @param const xcb_point_t *points
  10634.  ** @returns xcb_void_cookie_t
  10635.  **
  10636.  *****************************************************************************/
  10637.  
  10638. xcb_void_cookie_t
  10639. xcb_poly_line_checked (xcb_connection_t  *c  /**< */,
  10640.                        uint8_t            coordinate_mode  /**< */,
  10641.                        xcb_drawable_t     drawable  /**< */,
  10642.                        xcb_gcontext_t     gc  /**< */,
  10643.                        uint32_t           points_len  /**< */,
  10644.                        const xcb_point_t *points  /**< */);
  10645.  
  10646. /**
  10647.  * Delivers a request to the X server
  10648.  * @param c The connection
  10649.  * @return A cookie
  10650.  *
  10651.  * Delivers a request to the X server.
  10652.  * 
  10653.  */
  10654.  
  10655. /*****************************************************************************
  10656.  **
  10657.  ** xcb_void_cookie_t xcb_poly_line
  10658.  ** 
  10659.  ** @param xcb_connection_t  *c
  10660.  ** @param uint8_t            coordinate_mode
  10661.  ** @param xcb_drawable_t     drawable
  10662.  ** @param xcb_gcontext_t     gc
  10663.  ** @param uint32_t           points_len
  10664.  ** @param const xcb_point_t *points
  10665.  ** @returns xcb_void_cookie_t
  10666.  **
  10667.  *****************************************************************************/
  10668.  
  10669. xcb_void_cookie_t
  10670. xcb_poly_line (xcb_connection_t  *c  /**< */,
  10671.                uint8_t            coordinate_mode  /**< */,
  10672.                xcb_drawable_t     drawable  /**< */,
  10673.                xcb_gcontext_t     gc  /**< */,
  10674.                uint32_t           points_len  /**< */,
  10675.                const xcb_point_t *points  /**< */);
  10676.  
  10677. /**
  10678.  * Get the next element of the iterator
  10679.  * @param i Pointer to a xcb_segment_iterator_t
  10680.  *
  10681.  * Get the next element in the iterator. The member rem is
  10682.  * decreased by one. The member data points to the next
  10683.  * element. The member index is increased by sizeof(xcb_segment_t)
  10684.  */
  10685.  
  10686. /*****************************************************************************
  10687.  **
  10688.  ** void xcb_segment_next
  10689.  ** 
  10690.  ** @param xcb_segment_iterator_t *i
  10691.  ** @returns void
  10692.  **
  10693.  *****************************************************************************/
  10694.  
  10695. void
  10696. xcb_segment_next (xcb_segment_iterator_t *i  /**< */);
  10697.  
  10698. /**
  10699.  * Return the iterator pointing to the last element
  10700.  * @param i An xcb_segment_iterator_t
  10701.  * @return  The iterator pointing to the last element
  10702.  *
  10703.  * Set the current element in the iterator to the last element.
  10704.  * The member rem is set to 0. The member data points to the
  10705.  * last element.
  10706.  */
  10707.  
  10708. /*****************************************************************************
  10709.  **
  10710.  ** xcb_generic_iterator_t xcb_segment_end
  10711.  ** 
  10712.  ** @param xcb_segment_iterator_t i
  10713.  ** @returns xcb_generic_iterator_t
  10714.  **
  10715.  *****************************************************************************/
  10716.  
  10717. xcb_generic_iterator_t
  10718. xcb_segment_end (xcb_segment_iterator_t i  /**< */);
  10719.  
  10720. /**
  10721.  * Delivers a request to the X server
  10722.  * @param c The connection
  10723.  * @return A cookie
  10724.  *
  10725.  * Delivers a request to the X server.
  10726.  * 
  10727.  * This form can be used only if the request will not cause
  10728.  * a reply to be generated. Any returned error will be
  10729.  * saved for handling by xcb_request_check().
  10730.  */
  10731.  
  10732. /*****************************************************************************
  10733.  **
  10734.  ** xcb_void_cookie_t xcb_poly_segment_checked
  10735.  ** 
  10736.  ** @param xcb_connection_t    *c
  10737.  ** @param xcb_drawable_t       drawable
  10738.  ** @param xcb_gcontext_t       gc
  10739.  ** @param uint32_t             segments_len
  10740.  ** @param const xcb_segment_t *segments
  10741.  ** @returns xcb_void_cookie_t
  10742.  **
  10743.  *****************************************************************************/
  10744.  
  10745. xcb_void_cookie_t
  10746. xcb_poly_segment_checked (xcb_connection_t    *c  /**< */,
  10747.                           xcb_drawable_t       drawable  /**< */,
  10748.                           xcb_gcontext_t       gc  /**< */,
  10749.                           uint32_t             segments_len  /**< */,
  10750.                           const xcb_segment_t *segments  /**< */);
  10751.  
  10752. /**
  10753.  * Delivers a request to the X server
  10754.  * @param c The connection
  10755.  * @return A cookie
  10756.  *
  10757.  * Delivers a request to the X server.
  10758.  * 
  10759.  */
  10760.  
  10761. /*****************************************************************************
  10762.  **
  10763.  ** xcb_void_cookie_t xcb_poly_segment
  10764.  ** 
  10765.  ** @param xcb_connection_t    *c
  10766.  ** @param xcb_drawable_t       drawable
  10767.  ** @param xcb_gcontext_t       gc
  10768.  ** @param uint32_t             segments_len
  10769.  ** @param const xcb_segment_t *segments
  10770.  ** @returns xcb_void_cookie_t
  10771.  **
  10772.  *****************************************************************************/
  10773.  
  10774. xcb_void_cookie_t
  10775. xcb_poly_segment (xcb_connection_t    *c  /**< */,
  10776.                   xcb_drawable_t       drawable  /**< */,
  10777.                   xcb_gcontext_t       gc  /**< */,
  10778.                   uint32_t             segments_len  /**< */,
  10779.                   const xcb_segment_t *segments  /**< */);
  10780.  
  10781. /**
  10782.  * Delivers a request to the X server
  10783.  * @param c The connection
  10784.  * @return A cookie
  10785.  *
  10786.  * Delivers a request to the X server.
  10787.  * 
  10788.  * This form can be used only if the request will not cause
  10789.  * a reply to be generated. Any returned error will be
  10790.  * saved for handling by xcb_request_check().
  10791.  */
  10792.  
  10793. /*****************************************************************************
  10794.  **
  10795.  ** xcb_void_cookie_t xcb_poly_rectangle_checked
  10796.  ** 
  10797.  ** @param xcb_connection_t      *c
  10798.  ** @param xcb_drawable_t         drawable
  10799.  ** @param xcb_gcontext_t         gc
  10800.  ** @param uint32_t               rectangles_len
  10801.  ** @param const xcb_rectangle_t *rectangles
  10802.  ** @returns xcb_void_cookie_t
  10803.  **
  10804.  *****************************************************************************/
  10805.  
  10806. xcb_void_cookie_t
  10807. xcb_poly_rectangle_checked (xcb_connection_t      *c  /**< */,
  10808.                             xcb_drawable_t         drawable  /**< */,
  10809.                             xcb_gcontext_t         gc  /**< */,
  10810.                             uint32_t               rectangles_len  /**< */,
  10811.                             const xcb_rectangle_t *rectangles  /**< */);
  10812.  
  10813. /**
  10814.  * Delivers a request to the X server
  10815.  * @param c The connection
  10816.  * @return A cookie
  10817.  *
  10818.  * Delivers a request to the X server.
  10819.  * 
  10820.  */
  10821.  
  10822. /*****************************************************************************
  10823.  **
  10824.  ** xcb_void_cookie_t xcb_poly_rectangle
  10825.  ** 
  10826.  ** @param xcb_connection_t      *c
  10827.  ** @param xcb_drawable_t         drawable
  10828.  ** @param xcb_gcontext_t         gc
  10829.  ** @param uint32_t               rectangles_len
  10830.  ** @param const xcb_rectangle_t *rectangles
  10831.  ** @returns xcb_void_cookie_t
  10832.  **
  10833.  *****************************************************************************/
  10834.  
  10835. xcb_void_cookie_t
  10836. xcb_poly_rectangle (xcb_connection_t      *c  /**< */,
  10837.                     xcb_drawable_t         drawable  /**< */,
  10838.                     xcb_gcontext_t         gc  /**< */,
  10839.                     uint32_t               rectangles_len  /**< */,
  10840.                     const xcb_rectangle_t *rectangles  /**< */);
  10841.  
  10842. /**
  10843.  * Delivers a request to the X server
  10844.  * @param c The connection
  10845.  * @return A cookie
  10846.  *
  10847.  * Delivers a request to the X server.
  10848.  * 
  10849.  * This form can be used only if the request will not cause
  10850.  * a reply to be generated. Any returned error will be
  10851.  * saved for handling by xcb_request_check().
  10852.  */
  10853.  
  10854. /*****************************************************************************
  10855.  **
  10856.  ** xcb_void_cookie_t xcb_poly_arc_checked
  10857.  ** 
  10858.  ** @param xcb_connection_t *c
  10859.  ** @param xcb_drawable_t    drawable
  10860.  ** @param xcb_gcontext_t    gc
  10861.  ** @param uint32_t          arcs_len
  10862.  ** @param const xcb_arc_t  *arcs
  10863.  ** @returns xcb_void_cookie_t
  10864.  **
  10865.  *****************************************************************************/
  10866.  
  10867. xcb_void_cookie_t
  10868. xcb_poly_arc_checked (xcb_connection_t *c  /**< */,
  10869.                       xcb_drawable_t    drawable  /**< */,
  10870.                       xcb_gcontext_t    gc  /**< */,
  10871.                       uint32_t          arcs_len  /**< */,
  10872.                       const xcb_arc_t  *arcs  /**< */);
  10873.  
  10874. /**
  10875.  * Delivers a request to the X server
  10876.  * @param c The connection
  10877.  * @return A cookie
  10878.  *
  10879.  * Delivers a request to the X server.
  10880.  * 
  10881.  */
  10882.  
  10883. /*****************************************************************************
  10884.  **
  10885.  ** xcb_void_cookie_t xcb_poly_arc
  10886.  ** 
  10887.  ** @param xcb_connection_t *c
  10888.  ** @param xcb_drawable_t    drawable
  10889.  ** @param xcb_gcontext_t    gc
  10890.  ** @param uint32_t          arcs_len
  10891.  ** @param const xcb_arc_t  *arcs
  10892.  ** @returns xcb_void_cookie_t
  10893.  **
  10894.  *****************************************************************************/
  10895.  
  10896. xcb_void_cookie_t
  10897. xcb_poly_arc (xcb_connection_t *c  /**< */,
  10898.               xcb_drawable_t    drawable  /**< */,
  10899.               xcb_gcontext_t    gc  /**< */,
  10900.               uint32_t          arcs_len  /**< */,
  10901.               const xcb_arc_t  *arcs  /**< */);
  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_fill_poly_checked
  10918.  ** 
  10919.  ** @param xcb_connection_t  *c
  10920.  ** @param xcb_drawable_t     drawable
  10921.  ** @param xcb_gcontext_t     gc
  10922.  ** @param uint8_t            shape
  10923.  ** @param uint8_t            coordinate_mode
  10924.  ** @param uint32_t           points_len
  10925.  ** @param const xcb_point_t *points
  10926.  ** @returns xcb_void_cookie_t
  10927.  **
  10928.  *****************************************************************************/
  10929.  
  10930. xcb_void_cookie_t
  10931. xcb_fill_poly_checked (xcb_connection_t  *c  /**< */,
  10932.                        xcb_drawable_t     drawable  /**< */,
  10933.                        xcb_gcontext_t     gc  /**< */,
  10934.                        uint8_t            shape  /**< */,
  10935.                        uint8_t            coordinate_mode  /**< */,
  10936.                        uint32_t           points_len  /**< */,
  10937.                        const xcb_point_t *points  /**< */);
  10938.  
  10939. /**
  10940.  * Delivers a request to the X server
  10941.  * @param c The connection
  10942.  * @return A cookie
  10943.  *
  10944.  * Delivers a request to the X server.
  10945.  * 
  10946.  */
  10947.  
  10948. /*****************************************************************************
  10949.  **
  10950.  ** xcb_void_cookie_t xcb_fill_poly
  10951.  ** 
  10952.  ** @param xcb_connection_t  *c
  10953.  ** @param xcb_drawable_t     drawable
  10954.  ** @param xcb_gcontext_t     gc
  10955.  ** @param uint8_t            shape
  10956.  ** @param uint8_t            coordinate_mode
  10957.  ** @param uint32_t           points_len
  10958.  ** @param const xcb_point_t *points
  10959.  ** @returns xcb_void_cookie_t
  10960.  **
  10961.  *****************************************************************************/
  10962.  
  10963. xcb_void_cookie_t
  10964. xcb_fill_poly (xcb_connection_t  *c  /**< */,
  10965.                xcb_drawable_t     drawable  /**< */,
  10966.                xcb_gcontext_t     gc  /**< */,
  10967.                uint8_t            shape  /**< */,
  10968.                uint8_t            coordinate_mode  /**< */,
  10969.                uint32_t           points_len  /**< */,
  10970.                const xcb_point_t *points  /**< */);
  10971.  
  10972. /**
  10973.  * Delivers a request to the X server
  10974.  * @param c The connection
  10975.  * @return A cookie
  10976.  *
  10977.  * Delivers a request to the X server.
  10978.  * 
  10979.  * This form can be used only if the request will not cause
  10980.  * a reply to be generated. Any returned error will be
  10981.  * saved for handling by xcb_request_check().
  10982.  */
  10983.  
  10984. /*****************************************************************************
  10985.  **
  10986.  ** xcb_void_cookie_t xcb_poly_fill_rectangle_checked
  10987.  ** 
  10988.  ** @param xcb_connection_t      *c
  10989.  ** @param xcb_drawable_t         drawable
  10990.  ** @param xcb_gcontext_t         gc
  10991.  ** @param uint32_t               rectangles_len
  10992.  ** @param const xcb_rectangle_t *rectangles
  10993.  ** @returns xcb_void_cookie_t
  10994.  **
  10995.  *****************************************************************************/
  10996.  
  10997. xcb_void_cookie_t
  10998. xcb_poly_fill_rectangle_checked (xcb_connection_t      *c  /**< */,
  10999.                                  xcb_drawable_t         drawable  /**< */,
  11000.                                  xcb_gcontext_t         gc  /**< */,
  11001.                                  uint32_t               rectangles_len  /**< */,
  11002.                                  const xcb_rectangle_t *rectangles  /**< */);
  11003.  
  11004. /**
  11005.  * Delivers a request to the X server
  11006.  * @param c The connection
  11007.  * @return A cookie
  11008.  *
  11009.  * Delivers a request to the X server.
  11010.  * 
  11011.  */
  11012.  
  11013. /*****************************************************************************
  11014.  **
  11015.  ** xcb_void_cookie_t xcb_poly_fill_rectangle
  11016.  ** 
  11017.  ** @param xcb_connection_t      *c
  11018.  ** @param xcb_drawable_t         drawable
  11019.  ** @param xcb_gcontext_t         gc
  11020.  ** @param uint32_t               rectangles_len
  11021.  ** @param const xcb_rectangle_t *rectangles
  11022.  ** @returns xcb_void_cookie_t
  11023.  **
  11024.  *****************************************************************************/
  11025.  
  11026. xcb_void_cookie_t
  11027. xcb_poly_fill_rectangle (xcb_connection_t      *c  /**< */,
  11028.                          xcb_drawable_t         drawable  /**< */,
  11029.                          xcb_gcontext_t         gc  /**< */,
  11030.                          uint32_t               rectangles_len  /**< */,
  11031.                          const xcb_rectangle_t *rectangles  /**< */);
  11032.  
  11033. /**
  11034.  * Delivers a request to the X server
  11035.  * @param c The connection
  11036.  * @return A cookie
  11037.  *
  11038.  * Delivers a request to the X server.
  11039.  * 
  11040.  * This form can be used only if the request will not cause
  11041.  * a reply to be generated. Any returned error will be
  11042.  * saved for handling by xcb_request_check().
  11043.  */
  11044.  
  11045. /*****************************************************************************
  11046.  **
  11047.  ** xcb_void_cookie_t xcb_poly_fill_arc_checked
  11048.  ** 
  11049.  ** @param xcb_connection_t *c
  11050.  ** @param xcb_drawable_t    drawable
  11051.  ** @param xcb_gcontext_t    gc
  11052.  ** @param uint32_t          arcs_len
  11053.  ** @param const xcb_arc_t  *arcs
  11054.  ** @returns xcb_void_cookie_t
  11055.  **
  11056.  *****************************************************************************/
  11057.  
  11058. xcb_void_cookie_t
  11059. xcb_poly_fill_arc_checked (xcb_connection_t *c  /**< */,
  11060.                            xcb_drawable_t    drawable  /**< */,
  11061.                            xcb_gcontext_t    gc  /**< */,
  11062.                            uint32_t          arcs_len  /**< */,
  11063.                            const xcb_arc_t  *arcs  /**< */);
  11064.  
  11065. /**
  11066.  * Delivers a request to the X server
  11067.  * @param c The connection
  11068.  * @return A cookie
  11069.  *
  11070.  * Delivers a request to the X server.
  11071.  * 
  11072.  */
  11073.  
  11074. /*****************************************************************************
  11075.  **
  11076.  ** xcb_void_cookie_t xcb_poly_fill_arc
  11077.  ** 
  11078.  ** @param xcb_connection_t *c
  11079.  ** @param xcb_drawable_t    drawable
  11080.  ** @param xcb_gcontext_t    gc
  11081.  ** @param uint32_t          arcs_len
  11082.  ** @param const xcb_arc_t  *arcs
  11083.  ** @returns xcb_void_cookie_t
  11084.  **
  11085.  *****************************************************************************/
  11086.  
  11087. xcb_void_cookie_t
  11088. xcb_poly_fill_arc (xcb_connection_t *c  /**< */,
  11089.                    xcb_drawable_t    drawable  /**< */,
  11090.                    xcb_gcontext_t    gc  /**< */,
  11091.                    uint32_t          arcs_len  /**< */,
  11092.                    const xcb_arc_t  *arcs  /**< */);
  11093.  
  11094. /**
  11095.  * Delivers a request to the X server
  11096.  * @param c The connection
  11097.  * @return A cookie
  11098.  *
  11099.  * Delivers a request to the X server.
  11100.  * 
  11101.  * This form can be used only if the request will not cause
  11102.  * a reply to be generated. Any returned error will be
  11103.  * saved for handling by xcb_request_check().
  11104.  */
  11105.  
  11106. /*****************************************************************************
  11107.  **
  11108.  ** xcb_void_cookie_t xcb_put_image_checked
  11109.  ** 
  11110.  ** @param xcb_connection_t *c
  11111.  ** @param uint8_t           format
  11112.  ** @param xcb_drawable_t    drawable
  11113.  ** @param xcb_gcontext_t    gc
  11114.  ** @param uint16_t          width
  11115.  ** @param uint16_t          height
  11116.  ** @param int16_t           dst_x
  11117.  ** @param int16_t           dst_y
  11118.  ** @param uint8_t           left_pad
  11119.  ** @param uint8_t           depth
  11120.  ** @param uint32_t          data_len
  11121.  ** @param const uint8_t    *data
  11122.  ** @returns xcb_void_cookie_t
  11123.  **
  11124.  *****************************************************************************/
  11125.  
  11126. xcb_void_cookie_t
  11127. xcb_put_image_checked (xcb_connection_t *c  /**< */,
  11128.                        uint8_t           format  /**< */,
  11129.                        xcb_drawable_t    drawable  /**< */,
  11130.                        xcb_gcontext_t    gc  /**< */,
  11131.                        uint16_t          width  /**< */,
  11132.                        uint16_t          height  /**< */,
  11133.                        int16_t           dst_x  /**< */,
  11134.                        int16_t           dst_y  /**< */,
  11135.                        uint8_t           left_pad  /**< */,
  11136.                        uint8_t           depth  /**< */,
  11137.                        uint32_t          data_len  /**< */,
  11138.                        const uint8_t    *data  /**< */);
  11139.  
  11140. /**
  11141.  * Delivers a request to the X server
  11142.  * @param c The connection
  11143.  * @return A cookie
  11144.  *
  11145.  * Delivers a request to the X server.
  11146.  * 
  11147.  */
  11148.  
  11149. /*****************************************************************************
  11150.  **
  11151.  ** xcb_void_cookie_t xcb_put_image
  11152.  ** 
  11153.  ** @param xcb_connection_t *c
  11154.  ** @param uint8_t           format
  11155.  ** @param xcb_drawable_t    drawable
  11156.  ** @param xcb_gcontext_t    gc
  11157.  ** @param uint16_t          width
  11158.  ** @param uint16_t          height
  11159.  ** @param int16_t           dst_x
  11160.  ** @param int16_t           dst_y
  11161.  ** @param uint8_t           left_pad
  11162.  ** @param uint8_t           depth
  11163.  ** @param uint32_t          data_len
  11164.  ** @param const uint8_t    *data
  11165.  ** @returns xcb_void_cookie_t
  11166.  **
  11167.  *****************************************************************************/
  11168.  
  11169. xcb_void_cookie_t
  11170. xcb_put_image (xcb_connection_t *c  /**< */,
  11171.                uint8_t           format  /**< */,
  11172.                xcb_drawable_t    drawable  /**< */,
  11173.                xcb_gcontext_t    gc  /**< */,
  11174.                uint16_t          width  /**< */,
  11175.                uint16_t          height  /**< */,
  11176.                int16_t           dst_x  /**< */,
  11177.                int16_t           dst_y  /**< */,
  11178.                uint8_t           left_pad  /**< */,
  11179.                uint8_t           depth  /**< */,
  11180.                uint32_t          data_len  /**< */,
  11181.                const uint8_t    *data  /**< */);
  11182.  
  11183. /**
  11184.  * Delivers a request to the X server
  11185.  * @param c The connection
  11186.  * @return A cookie
  11187.  *
  11188.  * Delivers a request to the X server.
  11189.  * 
  11190.  */
  11191.  
  11192. /*****************************************************************************
  11193.  **
  11194.  ** xcb_get_image_cookie_t xcb_get_image
  11195.  ** 
  11196.  ** @param xcb_connection_t *c
  11197.  ** @param uint8_t           format
  11198.  ** @param xcb_drawable_t    drawable
  11199.  ** @param int16_t           x
  11200.  ** @param int16_t           y
  11201.  ** @param uint16_t          width
  11202.  ** @param uint16_t          height
  11203.  ** @param uint32_t          plane_mask
  11204.  ** @returns xcb_get_image_cookie_t
  11205.  **
  11206.  *****************************************************************************/
  11207.  
  11208. xcb_get_image_cookie_t
  11209. xcb_get_image (xcb_connection_t *c  /**< */,
  11210.                uint8_t           format  /**< */,
  11211.                xcb_drawable_t    drawable  /**< */,
  11212.                int16_t           x  /**< */,
  11213.                int16_t           y  /**< */,
  11214.                uint16_t          width  /**< */,
  11215.                uint16_t          height  /**< */,
  11216.                uint32_t          plane_mask  /**< */);
  11217.  
  11218. /**
  11219.  * Delivers a request to the X server
  11220.  * @param c The connection
  11221.  * @return A cookie
  11222.  *
  11223.  * Delivers a request to the X server.
  11224.  * 
  11225.  * This form can be used only if the request will cause
  11226.  * a reply to be generated. Any returned error will be
  11227.  * placed in the event queue.
  11228.  */
  11229.  
  11230. /*****************************************************************************
  11231.  **
  11232.  ** xcb_get_image_cookie_t xcb_get_image_unchecked
  11233.  ** 
  11234.  ** @param xcb_connection_t *c
  11235.  ** @param uint8_t           format
  11236.  ** @param xcb_drawable_t    drawable
  11237.  ** @param int16_t           x
  11238.  ** @param int16_t           y
  11239.  ** @param uint16_t          width
  11240.  ** @param uint16_t          height
  11241.  ** @param uint32_t          plane_mask
  11242.  ** @returns xcb_get_image_cookie_t
  11243.  **
  11244.  *****************************************************************************/
  11245.  
  11246. xcb_get_image_cookie_t
  11247. xcb_get_image_unchecked (xcb_connection_t *c  /**< */,
  11248.                          uint8_t           format  /**< */,
  11249.                          xcb_drawable_t    drawable  /**< */,
  11250.                          int16_t           x  /**< */,
  11251.                          int16_t           y  /**< */,
  11252.                          uint16_t          width  /**< */,
  11253.                          uint16_t          height  /**< */,
  11254.                          uint32_t          plane_mask  /**< */);
  11255.  
  11256.  
  11257. /*****************************************************************************
  11258.  **
  11259.  ** uint8_t * xcb_get_image_data
  11260.  ** 
  11261.  ** @param const xcb_get_image_reply_t *R
  11262.  ** @returns uint8_t *
  11263.  **
  11264.  *****************************************************************************/
  11265.  
  11266. uint8_t *
  11267. xcb_get_image_data (const xcb_get_image_reply_t *R  /**< */);
  11268.  
  11269.  
  11270. /*****************************************************************************
  11271.  **
  11272.  ** int xcb_get_image_data_length
  11273.  ** 
  11274.  ** @param const xcb_get_image_reply_t *R
  11275.  ** @returns int
  11276.  **
  11277.  *****************************************************************************/
  11278.  
  11279. int
  11280. xcb_get_image_data_length (const xcb_get_image_reply_t *R  /**< */);
  11281.  
  11282.  
  11283. /*****************************************************************************
  11284.  **
  11285.  ** xcb_generic_iterator_t xcb_get_image_data_end
  11286.  ** 
  11287.  ** @param const xcb_get_image_reply_t *R
  11288.  ** @returns xcb_generic_iterator_t
  11289.  **
  11290.  *****************************************************************************/
  11291.  
  11292. xcb_generic_iterator_t
  11293. xcb_get_image_data_end (const xcb_get_image_reply_t *R  /**< */);
  11294.  
  11295. /**
  11296.  * Return the reply
  11297.  * @param c      The connection
  11298.  * @param cookie The cookie
  11299.  * @param e      The xcb_generic_error_t supplied
  11300.  *
  11301.  * Returns the reply of the request asked by
  11302.  * 
  11303.  * The parameter @p e supplied to this function must be NULL if
  11304.  * xcb_get_image_unchecked(). is used.
  11305.  * Otherwise, it stores the error if any.
  11306.  */
  11307.  
  11308. /*****************************************************************************
  11309.  **
  11310.  ** xcb_get_image_reply_t * xcb_get_image_reply
  11311.  ** 
  11312.  ** @param xcb_connection_t        *c
  11313.  ** @param xcb_get_image_cookie_t   cookie
  11314.  ** @param xcb_generic_error_t    **e
  11315.  ** @returns xcb_get_image_reply_t *
  11316.  **
  11317.  *****************************************************************************/
  11318.  
  11319. xcb_get_image_reply_t *
  11320. xcb_get_image_reply (xcb_connection_t        *c  /**< */,
  11321.                      xcb_get_image_cookie_t   cookie  /**< */,
  11322.                      xcb_generic_error_t    **e  /**< */);
  11323.  
  11324. /**
  11325.  * Delivers a request to the X server
  11326.  * @param c The connection
  11327.  * @return A cookie
  11328.  *
  11329.  * Delivers a request to the X server.
  11330.  * 
  11331.  * This form can be used only if the request will not cause
  11332.  * a reply to be generated. Any returned error will be
  11333.  * saved for handling by xcb_request_check().
  11334.  */
  11335.  
  11336. /*****************************************************************************
  11337.  **
  11338.  ** xcb_void_cookie_t xcb_poly_text_8_checked
  11339.  ** 
  11340.  ** @param xcb_connection_t *c
  11341.  ** @param xcb_drawable_t    drawable
  11342.  ** @param xcb_gcontext_t    gc
  11343.  ** @param int16_t           x
  11344.  ** @param int16_t           y
  11345.  ** @param uint32_t          items_len
  11346.  ** @param const uint8_t    *items
  11347.  ** @returns xcb_void_cookie_t
  11348.  **
  11349.  *****************************************************************************/
  11350.  
  11351. xcb_void_cookie_t
  11352. xcb_poly_text_8_checked (xcb_connection_t *c  /**< */,
  11353.                          xcb_drawable_t    drawable  /**< */,
  11354.                          xcb_gcontext_t    gc  /**< */,
  11355.                          int16_t           x  /**< */,
  11356.                          int16_t           y  /**< */,
  11357.                          uint32_t          items_len  /**< */,
  11358.                          const uint8_t    *items  /**< */);
  11359.  
  11360. /**
  11361.  * Delivers a request to the X server
  11362.  * @param c The connection
  11363.  * @return A cookie
  11364.  *
  11365.  * Delivers a request to the X server.
  11366.  * 
  11367.  */
  11368.  
  11369. /*****************************************************************************
  11370.  **
  11371.  ** xcb_void_cookie_t xcb_poly_text_8
  11372.  ** 
  11373.  ** @param xcb_connection_t *c
  11374.  ** @param xcb_drawable_t    drawable
  11375.  ** @param xcb_gcontext_t    gc
  11376.  ** @param int16_t           x
  11377.  ** @param int16_t           y
  11378.  ** @param uint32_t          items_len
  11379.  ** @param const uint8_t    *items
  11380.  ** @returns xcb_void_cookie_t
  11381.  **
  11382.  *****************************************************************************/
  11383.  
  11384. xcb_void_cookie_t
  11385. xcb_poly_text_8 (xcb_connection_t *c  /**< */,
  11386.                  xcb_drawable_t    drawable  /**< */,
  11387.                  xcb_gcontext_t    gc  /**< */,
  11388.                  int16_t           x  /**< */,
  11389.                  int16_t           y  /**< */,
  11390.                  uint32_t          items_len  /**< */,
  11391.                  const uint8_t    *items  /**< */);
  11392.  
  11393. /**
  11394.  * Delivers a request to the X server
  11395.  * @param c The connection
  11396.  * @return A cookie
  11397.  *
  11398.  * Delivers a request to the X server.
  11399.  * 
  11400.  * This form can be used only if the request will not cause
  11401.  * a reply to be generated. Any returned error will be
  11402.  * saved for handling by xcb_request_check().
  11403.  */
  11404.  
  11405. /*****************************************************************************
  11406.  **
  11407.  ** xcb_void_cookie_t xcb_poly_text_16_checked
  11408.  ** 
  11409.  ** @param xcb_connection_t *c
  11410.  ** @param xcb_drawable_t    drawable
  11411.  ** @param xcb_gcontext_t    gc
  11412.  ** @param int16_t           x
  11413.  ** @param int16_t           y
  11414.  ** @param uint32_t          items_len
  11415.  ** @param const uint8_t    *items
  11416.  ** @returns xcb_void_cookie_t
  11417.  **
  11418.  *****************************************************************************/
  11419.  
  11420. xcb_void_cookie_t
  11421. xcb_poly_text_16_checked (xcb_connection_t *c  /**< */,
  11422.                           xcb_drawable_t    drawable  /**< */,
  11423.                           xcb_gcontext_t    gc  /**< */,
  11424.                           int16_t           x  /**< */,
  11425.                           int16_t           y  /**< */,
  11426.                           uint32_t          items_len  /**< */,
  11427.                           const uint8_t    *items  /**< */);
  11428.  
  11429. /**
  11430.  * Delivers a request to the X server
  11431.  * @param c The connection
  11432.  * @return A cookie
  11433.  *
  11434.  * Delivers a request to the X server.
  11435.  * 
  11436.  */
  11437.  
  11438. /*****************************************************************************
  11439.  **
  11440.  ** xcb_void_cookie_t xcb_poly_text_16
  11441.  ** 
  11442.  ** @param xcb_connection_t *c
  11443.  ** @param xcb_drawable_t    drawable
  11444.  ** @param xcb_gcontext_t    gc
  11445.  ** @param int16_t           x
  11446.  ** @param int16_t           y
  11447.  ** @param uint32_t          items_len
  11448.  ** @param const uint8_t    *items
  11449.  ** @returns xcb_void_cookie_t
  11450.  **
  11451.  *****************************************************************************/
  11452.  
  11453. xcb_void_cookie_t
  11454. xcb_poly_text_16 (xcb_connection_t *c  /**< */,
  11455.                   xcb_drawable_t    drawable  /**< */,
  11456.                   xcb_gcontext_t    gc  /**< */,
  11457.                   int16_t           x  /**< */,
  11458.                   int16_t           y  /**< */,
  11459.                   uint32_t          items_len  /**< */,
  11460.                   const uint8_t    *items  /**< */);
  11461.  
  11462. /**
  11463.  * Delivers a request to the X server
  11464.  * @param c The connection
  11465.  * @return A cookie
  11466.  *
  11467.  * Delivers a request to the X server.
  11468.  * 
  11469.  * This form can be used only if the request will not cause
  11470.  * a reply to be generated. Any returned error will be
  11471.  * saved for handling by xcb_request_check().
  11472.  */
  11473.  
  11474. /*****************************************************************************
  11475.  **
  11476.  ** xcb_void_cookie_t xcb_image_text_8_checked
  11477.  ** 
  11478.  ** @param xcb_connection_t *c
  11479.  ** @param uint8_t           string_len
  11480.  ** @param xcb_drawable_t    drawable
  11481.  ** @param xcb_gcontext_t    gc
  11482.  ** @param int16_t           x
  11483.  ** @param int16_t           y
  11484.  ** @param const char       *string
  11485.  ** @returns xcb_void_cookie_t
  11486.  **
  11487.  *****************************************************************************/
  11488.  
  11489. xcb_void_cookie_t
  11490. xcb_image_text_8_checked (xcb_connection_t *c  /**< */,
  11491.                           uint8_t           string_len  /**< */,
  11492.                           xcb_drawable_t    drawable  /**< */,
  11493.                           xcb_gcontext_t    gc  /**< */,
  11494.                           int16_t           x  /**< */,
  11495.                           int16_t           y  /**< */,
  11496.                           const char       *string  /**< */);
  11497.  
  11498. /**
  11499.  * Delivers a request to the X server
  11500.  * @param c The connection
  11501.  * @return A cookie
  11502.  *
  11503.  * Delivers a request to the X server.
  11504.  * 
  11505.  */
  11506.  
  11507. /*****************************************************************************
  11508.  **
  11509.  ** xcb_void_cookie_t xcb_image_text_8
  11510.  ** 
  11511.  ** @param xcb_connection_t *c
  11512.  ** @param uint8_t           string_len
  11513.  ** @param xcb_drawable_t    drawable
  11514.  ** @param xcb_gcontext_t    gc
  11515.  ** @param int16_t           x
  11516.  ** @param int16_t           y
  11517.  ** @param const char       *string
  11518.  ** @returns xcb_void_cookie_t
  11519.  **
  11520.  *****************************************************************************/
  11521.  
  11522. xcb_void_cookie_t
  11523. xcb_image_text_8 (xcb_connection_t *c  /**< */,
  11524.                   uint8_t           string_len  /**< */,
  11525.                   xcb_drawable_t    drawable  /**< */,
  11526.                   xcb_gcontext_t    gc  /**< */,
  11527.                   int16_t           x  /**< */,
  11528.                   int16_t           y  /**< */,
  11529.                   const char       *string  /**< */);
  11530.  
  11531. /**
  11532.  * Delivers a request to the X server
  11533.  * @param c The connection
  11534.  * @return A cookie
  11535.  *
  11536.  * Delivers a request to the X server.
  11537.  * 
  11538.  * This form can be used only if the request will not cause
  11539.  * a reply to be generated. Any returned error will be
  11540.  * saved for handling by xcb_request_check().
  11541.  */
  11542.  
  11543. /*****************************************************************************
  11544.  **
  11545.  ** xcb_void_cookie_t xcb_image_text_16_checked
  11546.  ** 
  11547.  ** @param xcb_connection_t   *c
  11548.  ** @param uint8_t             string_len
  11549.  ** @param xcb_drawable_t      drawable
  11550.  ** @param xcb_gcontext_t      gc
  11551.  ** @param int16_t             x
  11552.  ** @param int16_t             y
  11553.  ** @param const xcb_char2b_t *string
  11554.  ** @returns xcb_void_cookie_t
  11555.  **
  11556.  *****************************************************************************/
  11557.  
  11558. xcb_void_cookie_t
  11559. xcb_image_text_16_checked (xcb_connection_t   *c  /**< */,
  11560.                            uint8_t             string_len  /**< */,
  11561.                            xcb_drawable_t      drawable  /**< */,
  11562.                            xcb_gcontext_t      gc  /**< */,
  11563.                            int16_t             x  /**< */,
  11564.                            int16_t             y  /**< */,
  11565.                            const xcb_char2b_t *string  /**< */);
  11566.  
  11567. /**
  11568.  * Delivers a request to the X server
  11569.  * @param c The connection
  11570.  * @return A cookie
  11571.  *
  11572.  * Delivers a request to the X server.
  11573.  * 
  11574.  */
  11575.  
  11576. /*****************************************************************************
  11577.  **
  11578.  ** xcb_void_cookie_t xcb_image_text_16
  11579.  ** 
  11580.  ** @param xcb_connection_t   *c
  11581.  ** @param uint8_t             string_len
  11582.  ** @param xcb_drawable_t      drawable
  11583.  ** @param xcb_gcontext_t      gc
  11584.  ** @param int16_t             x
  11585.  ** @param int16_t             y
  11586.  ** @param const xcb_char2b_t *string
  11587.  ** @returns xcb_void_cookie_t
  11588.  **
  11589.  *****************************************************************************/
  11590.  
  11591. xcb_void_cookie_t
  11592. xcb_image_text_16 (xcb_connection_t   *c  /**< */,
  11593.                    uint8_t             string_len  /**< */,
  11594.                    xcb_drawable_t      drawable  /**< */,
  11595.                    xcb_gcontext_t      gc  /**< */,
  11596.                    int16_t             x  /**< */,
  11597.                    int16_t             y  /**< */,
  11598.                    const xcb_char2b_t *string  /**< */);
  11599.  
  11600. /**
  11601.  * Delivers a request to the X server
  11602.  * @param c The connection
  11603.  * @return A cookie
  11604.  *
  11605.  * Delivers a request to the X server.
  11606.  * 
  11607.  * This form can be used only if the request will not cause
  11608.  * a reply to be generated. Any returned error will be
  11609.  * saved for handling by xcb_request_check().
  11610.  */
  11611.  
  11612. /*****************************************************************************
  11613.  **
  11614.  ** xcb_void_cookie_t xcb_create_colormap_checked
  11615.  ** 
  11616.  ** @param xcb_connection_t *c
  11617.  ** @param uint8_t           alloc
  11618.  ** @param xcb_colormap_t    mid
  11619.  ** @param xcb_window_t      window
  11620.  ** @param xcb_visualid_t    visual
  11621.  ** @returns xcb_void_cookie_t
  11622.  **
  11623.  *****************************************************************************/
  11624.  
  11625. xcb_void_cookie_t
  11626. xcb_create_colormap_checked (xcb_connection_t *c  /**< */,
  11627.                              uint8_t           alloc  /**< */,
  11628.                              xcb_colormap_t    mid  /**< */,
  11629.                              xcb_window_t      window  /**< */,
  11630.                              xcb_visualid_t    visual  /**< */);
  11631.  
  11632. /**
  11633.  * Delivers a request to the X server
  11634.  * @param c The connection
  11635.  * @return A cookie
  11636.  *
  11637.  * Delivers a request to the X server.
  11638.  * 
  11639.  */
  11640.  
  11641. /*****************************************************************************
  11642.  **
  11643.  ** xcb_void_cookie_t xcb_create_colormap
  11644.  ** 
  11645.  ** @param xcb_connection_t *c
  11646.  ** @param uint8_t           alloc
  11647.  ** @param xcb_colormap_t    mid
  11648.  ** @param xcb_window_t      window
  11649.  ** @param xcb_visualid_t    visual
  11650.  ** @returns xcb_void_cookie_t
  11651.  **
  11652.  *****************************************************************************/
  11653.  
  11654. xcb_void_cookie_t
  11655. xcb_create_colormap (xcb_connection_t *c  /**< */,
  11656.                      uint8_t           alloc  /**< */,
  11657.                      xcb_colormap_t    mid  /**< */,
  11658.                      xcb_window_t      window  /**< */,
  11659.                      xcb_visualid_t    visual  /**< */);
  11660.  
  11661. /**
  11662.  * Delivers a request to the X server
  11663.  * @param c The connection
  11664.  * @return A cookie
  11665.  *
  11666.  * Delivers a request to the X server.
  11667.  * 
  11668.  * This form can be used only if the request will not cause
  11669.  * a reply to be generated. Any returned error will be
  11670.  * saved for handling by xcb_request_check().
  11671.  */
  11672.  
  11673. /*****************************************************************************
  11674.  **
  11675.  ** xcb_void_cookie_t xcb_free_colormap_checked
  11676.  ** 
  11677.  ** @param xcb_connection_t *c
  11678.  ** @param xcb_colormap_t    cmap
  11679.  ** @returns xcb_void_cookie_t
  11680.  **
  11681.  *****************************************************************************/
  11682.  
  11683. xcb_void_cookie_t
  11684. xcb_free_colormap_checked (xcb_connection_t *c  /**< */,
  11685.                            xcb_colormap_t    cmap  /**< */);
  11686.  
  11687. /**
  11688.  * Delivers a request to the X server
  11689.  * @param c The connection
  11690.  * @return A cookie
  11691.  *
  11692.  * Delivers a request to the X server.
  11693.  * 
  11694.  */
  11695.  
  11696. /*****************************************************************************
  11697.  **
  11698.  ** xcb_void_cookie_t xcb_free_colormap
  11699.  ** 
  11700.  ** @param xcb_connection_t *c
  11701.  ** @param xcb_colormap_t    cmap
  11702.  ** @returns xcb_void_cookie_t
  11703.  **
  11704.  *****************************************************************************/
  11705.  
  11706. xcb_void_cookie_t
  11707. xcb_free_colormap (xcb_connection_t *c  /**< */,
  11708.                    xcb_colormap_t    cmap  /**< */);
  11709.  
  11710. /**
  11711.  * Delivers a request to the X server
  11712.  * @param c The connection
  11713.  * @return A cookie
  11714.  *
  11715.  * Delivers a request to the X server.
  11716.  * 
  11717.  * This form can be used only if the request will not cause
  11718.  * a reply to be generated. Any returned error will be
  11719.  * saved for handling by xcb_request_check().
  11720.  */
  11721.  
  11722. /*****************************************************************************
  11723.  **
  11724.  ** xcb_void_cookie_t xcb_copy_colormap_and_free_checked
  11725.  ** 
  11726.  ** @param xcb_connection_t *c
  11727.  ** @param xcb_colormap_t    mid
  11728.  ** @param xcb_colormap_t    src_cmap
  11729.  ** @returns xcb_void_cookie_t
  11730.  **
  11731.  *****************************************************************************/
  11732.  
  11733. xcb_void_cookie_t
  11734. xcb_copy_colormap_and_free_checked (xcb_connection_t *c  /**< */,
  11735.                                     xcb_colormap_t    mid  /**< */,
  11736.                                     xcb_colormap_t    src_cmap  /**< */);
  11737.  
  11738. /**
  11739.  * Delivers a request to the X server
  11740.  * @param c The connection
  11741.  * @return A cookie
  11742.  *
  11743.  * Delivers a request to the X server.
  11744.  * 
  11745.  */
  11746.  
  11747. /*****************************************************************************
  11748.  **
  11749.  ** xcb_void_cookie_t xcb_copy_colormap_and_free
  11750.  ** 
  11751.  ** @param xcb_connection_t *c
  11752.  ** @param xcb_colormap_t    mid
  11753.  ** @param xcb_colormap_t    src_cmap
  11754.  ** @returns xcb_void_cookie_t
  11755.  **
  11756.  *****************************************************************************/
  11757.  
  11758. xcb_void_cookie_t
  11759. xcb_copy_colormap_and_free (xcb_connection_t *c  /**< */,
  11760.                             xcb_colormap_t    mid  /**< */,
  11761.                             xcb_colormap_t    src_cmap  /**< */);
  11762.  
  11763. /**
  11764.  * Delivers a request to the X server
  11765.  * @param c The connection
  11766.  * @return A cookie
  11767.  *
  11768.  * Delivers a request to the X server.
  11769.  * 
  11770.  * This form can be used only if the request will not cause
  11771.  * a reply to be generated. Any returned error will be
  11772.  * saved for handling by xcb_request_check().
  11773.  */
  11774.  
  11775. /*****************************************************************************
  11776.  **
  11777.  ** xcb_void_cookie_t xcb_install_colormap_checked
  11778.  ** 
  11779.  ** @param xcb_connection_t *c
  11780.  ** @param xcb_colormap_t    cmap
  11781.  ** @returns xcb_void_cookie_t
  11782.  **
  11783.  *****************************************************************************/
  11784.  
  11785. xcb_void_cookie_t
  11786. xcb_install_colormap_checked (xcb_connection_t *c  /**< */,
  11787.                               xcb_colormap_t    cmap  /**< */);
  11788.  
  11789. /**
  11790.  * Delivers a request to the X server
  11791.  * @param c The connection
  11792.  * @return A cookie
  11793.  *
  11794.  * Delivers a request to the X server.
  11795.  * 
  11796.  */
  11797.  
  11798. /*****************************************************************************
  11799.  **
  11800.  ** xcb_void_cookie_t xcb_install_colormap
  11801.  ** 
  11802.  ** @param xcb_connection_t *c
  11803.  ** @param xcb_colormap_t    cmap
  11804.  ** @returns xcb_void_cookie_t
  11805.  **
  11806.  *****************************************************************************/
  11807.  
  11808. xcb_void_cookie_t
  11809. xcb_install_colormap (xcb_connection_t *c  /**< */,
  11810.                       xcb_colormap_t    cmap  /**< */);
  11811.  
  11812. /**
  11813.  * Delivers a request to the X server
  11814.  * @param c The connection
  11815.  * @return A cookie
  11816.  *
  11817.  * Delivers a request to the X server.
  11818.  * 
  11819.  * This form can be used only if the request will not cause
  11820.  * a reply to be generated. Any returned error will be
  11821.  * saved for handling by xcb_request_check().
  11822.  */
  11823.  
  11824. /*****************************************************************************
  11825.  **
  11826.  ** xcb_void_cookie_t xcb_uninstall_colormap_checked
  11827.  ** 
  11828.  ** @param xcb_connection_t *c
  11829.  ** @param xcb_colormap_t    cmap
  11830.  ** @returns xcb_void_cookie_t
  11831.  **
  11832.  *****************************************************************************/
  11833.  
  11834. xcb_void_cookie_t
  11835. xcb_uninstall_colormap_checked (xcb_connection_t *c  /**< */,
  11836.                                 xcb_colormap_t    cmap  /**< */);
  11837.  
  11838. /**
  11839.  * Delivers a request to the X server
  11840.  * @param c The connection
  11841.  * @return A cookie
  11842.  *
  11843.  * Delivers a request to the X server.
  11844.  * 
  11845.  */
  11846.  
  11847. /*****************************************************************************
  11848.  **
  11849.  ** xcb_void_cookie_t xcb_uninstall_colormap
  11850.  ** 
  11851.  ** @param xcb_connection_t *c
  11852.  ** @param xcb_colormap_t    cmap
  11853.  ** @returns xcb_void_cookie_t
  11854.  **
  11855.  *****************************************************************************/
  11856.  
  11857. xcb_void_cookie_t
  11858. xcb_uninstall_colormap (xcb_connection_t *c  /**< */,
  11859.                         xcb_colormap_t    cmap  /**< */);
  11860.  
  11861. /**
  11862.  * Delivers a request to the X server
  11863.  * @param c The connection
  11864.  * @return A cookie
  11865.  *
  11866.  * Delivers a request to the X server.
  11867.  * 
  11868.  */
  11869.  
  11870. /*****************************************************************************
  11871.  **
  11872.  ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps
  11873.  ** 
  11874.  ** @param xcb_connection_t *c
  11875.  ** @param xcb_window_t      window
  11876.  ** @returns xcb_list_installed_colormaps_cookie_t
  11877.  **
  11878.  *****************************************************************************/
  11879.  
  11880. xcb_list_installed_colormaps_cookie_t
  11881. xcb_list_installed_colormaps (xcb_connection_t *c  /**< */,
  11882.                               xcb_window_t      window  /**< */);
  11883.  
  11884. /**
  11885.  * Delivers a request to the X server
  11886.  * @param c The connection
  11887.  * @return A cookie
  11888.  *
  11889.  * Delivers a request to the X server.
  11890.  * 
  11891.  * This form can be used only if the request will cause
  11892.  * a reply to be generated. Any returned error will be
  11893.  * placed in the event queue.
  11894.  */
  11895.  
  11896. /*****************************************************************************
  11897.  **
  11898.  ** xcb_list_installed_colormaps_cookie_t xcb_list_installed_colormaps_unchecked
  11899.  ** 
  11900.  ** @param xcb_connection_t *c
  11901.  ** @param xcb_window_t      window
  11902.  ** @returns xcb_list_installed_colormaps_cookie_t
  11903.  **
  11904.  *****************************************************************************/
  11905.  
  11906. xcb_list_installed_colormaps_cookie_t
  11907. xcb_list_installed_colormaps_unchecked (xcb_connection_t *c  /**< */,
  11908.                                         xcb_window_t      window  /**< */);
  11909.  
  11910.  
  11911. /*****************************************************************************
  11912.  **
  11913.  ** xcb_colormap_t * xcb_list_installed_colormaps_cmaps
  11914.  ** 
  11915.  ** @param const xcb_list_installed_colormaps_reply_t *R
  11916.  ** @returns xcb_colormap_t *
  11917.  **
  11918.  *****************************************************************************/
  11919.  
  11920. xcb_colormap_t *
  11921. xcb_list_installed_colormaps_cmaps (const xcb_list_installed_colormaps_reply_t *R  /**< */);
  11922.  
  11923.  
  11924. /*****************************************************************************
  11925.  **
  11926.  ** int xcb_list_installed_colormaps_cmaps_length
  11927.  ** 
  11928.  ** @param const xcb_list_installed_colormaps_reply_t *R
  11929.  ** @returns int
  11930.  **
  11931.  *****************************************************************************/
  11932.  
  11933. int
  11934. xcb_list_installed_colormaps_cmaps_length (const xcb_list_installed_colormaps_reply_t *R  /**< */);
  11935.  
  11936.  
  11937. /*****************************************************************************
  11938.  **
  11939.  ** xcb_colormap_iterator_t xcb_list_installed_colormaps_cmaps_iterator
  11940.  ** 
  11941.  ** @param const xcb_list_installed_colormaps_reply_t *R
  11942.  ** @returns xcb_colormap_iterator_t
  11943.  **
  11944.  *****************************************************************************/
  11945.  
  11946. xcb_colormap_iterator_t
  11947. xcb_list_installed_colormaps_cmaps_iterator (const xcb_list_installed_colormaps_reply_t *R  /**< */);
  11948.  
  11949. /**
  11950.  * Return the reply
  11951.  * @param c      The connection
  11952.  * @param cookie The cookie
  11953.  * @param e      The xcb_generic_error_t supplied
  11954.  *
  11955.  * Returns the reply of the request asked by
  11956.  * 
  11957.  * The parameter @p e supplied to this function must be NULL if
  11958.  * xcb_list_installed_colormaps_unchecked(). is used.
  11959.  * Otherwise, it stores the error if any.
  11960.  */
  11961.  
  11962. /*****************************************************************************
  11963.  **
  11964.  ** xcb_list_installed_colormaps_reply_t * xcb_list_installed_colormaps_reply
  11965.  ** 
  11966.  ** @param xcb_connection_t                       *c
  11967.  ** @param xcb_list_installed_colormaps_cookie_t   cookie
  11968.  ** @param xcb_generic_error_t                   **e
  11969.  ** @returns xcb_list_installed_colormaps_reply_t *
  11970.  **
  11971.  *****************************************************************************/
  11972.  
  11973. xcb_list_installed_colormaps_reply_t *
  11974. xcb_list_installed_colormaps_reply (xcb_connection_t                       *c  /**< */,
  11975.                                     xcb_list_installed_colormaps_cookie_t   cookie  /**< */,
  11976.                                     xcb_generic_error_t                   **e  /**< */);
  11977.  
  11978. /**
  11979.  * Delivers a request to the X server
  11980.  * @param c The connection
  11981.  * @return A cookie
  11982.  *
  11983.  * Delivers a request to the X server.
  11984.  * 
  11985.  */
  11986.  
  11987. /*****************************************************************************
  11988.  **
  11989.  ** xcb_alloc_color_cookie_t xcb_alloc_color
  11990.  ** 
  11991.  ** @param xcb_connection_t *c
  11992.  ** @param xcb_colormap_t    cmap
  11993.  ** @param uint16_t          red
  11994.  ** @param uint16_t          green
  11995.  ** @param uint16_t          blue
  11996.  ** @returns xcb_alloc_color_cookie_t
  11997.  **
  11998.  *****************************************************************************/
  11999.  
  12000. xcb_alloc_color_cookie_t
  12001. xcb_alloc_color (xcb_connection_t *c  /**< */,
  12002.                  xcb_colormap_t    cmap  /**< */,
  12003.                  uint16_t          red  /**< */,
  12004.                  uint16_t          green  /**< */,
  12005.                  uint16_t          blue  /**< */);
  12006.  
  12007. /**
  12008.  * Delivers a request to the X server
  12009.  * @param c The connection
  12010.  * @return A cookie
  12011.  *
  12012.  * Delivers a request to the X server.
  12013.  * 
  12014.  * This form can be used only if the request will cause
  12015.  * a reply to be generated. Any returned error will be
  12016.  * placed in the event queue.
  12017.  */
  12018.  
  12019. /*****************************************************************************
  12020.  **
  12021.  ** xcb_alloc_color_cookie_t xcb_alloc_color_unchecked
  12022.  ** 
  12023.  ** @param xcb_connection_t *c
  12024.  ** @param xcb_colormap_t    cmap
  12025.  ** @param uint16_t          red
  12026.  ** @param uint16_t          green
  12027.  ** @param uint16_t          blue
  12028.  ** @returns xcb_alloc_color_cookie_t
  12029.  **
  12030.  *****************************************************************************/
  12031.  
  12032. xcb_alloc_color_cookie_t
  12033. xcb_alloc_color_unchecked (xcb_connection_t *c  /**< */,
  12034.                            xcb_colormap_t    cmap  /**< */,
  12035.                            uint16_t          red  /**< */,
  12036.                            uint16_t          green  /**< */,
  12037.                            uint16_t          blue  /**< */);
  12038.  
  12039. /**
  12040.  * Return the reply
  12041.  * @param c      The connection
  12042.  * @param cookie The cookie
  12043.  * @param e      The xcb_generic_error_t supplied
  12044.  *
  12045.  * Returns the reply of the request asked by
  12046.  * 
  12047.  * The parameter @p e supplied to this function must be NULL if
  12048.  * xcb_alloc_color_unchecked(). is used.
  12049.  * Otherwise, it stores the error if any.
  12050.  */
  12051.  
  12052. /*****************************************************************************
  12053.  **
  12054.  ** xcb_alloc_color_reply_t * xcb_alloc_color_reply
  12055.  ** 
  12056.  ** @param xcb_connection_t          *c
  12057.  ** @param xcb_alloc_color_cookie_t   cookie
  12058.  ** @param xcb_generic_error_t      **e
  12059.  ** @returns xcb_alloc_color_reply_t *
  12060.  **
  12061.  *****************************************************************************/
  12062.  
  12063. xcb_alloc_color_reply_t *
  12064. xcb_alloc_color_reply (xcb_connection_t          *c  /**< */,
  12065.                        xcb_alloc_color_cookie_t   cookie  /**< */,
  12066.                        xcb_generic_error_t      **e  /**< */);
  12067.  
  12068. /**
  12069.  * Delivers a request to the X server
  12070.  * @param c The connection
  12071.  * @return A cookie
  12072.  *
  12073.  * Delivers a request to the X server.
  12074.  * 
  12075.  */
  12076.  
  12077. /*****************************************************************************
  12078.  **
  12079.  ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color
  12080.  ** 
  12081.  ** @param xcb_connection_t *c
  12082.  ** @param xcb_colormap_t    cmap
  12083.  ** @param uint16_t          name_len
  12084.  ** @param const char       *name
  12085.  ** @returns xcb_alloc_named_color_cookie_t
  12086.  **
  12087.  *****************************************************************************/
  12088.  
  12089. xcb_alloc_named_color_cookie_t
  12090. xcb_alloc_named_color (xcb_connection_t *c  /**< */,
  12091.                        xcb_colormap_t    cmap  /**< */,
  12092.                        uint16_t          name_len  /**< */,
  12093.                        const char       *name  /**< */);
  12094.  
  12095. /**
  12096.  * Delivers a request to the X server
  12097.  * @param c The connection
  12098.  * @return A cookie
  12099.  *
  12100.  * Delivers a request to the X server.
  12101.  * 
  12102.  * This form can be used only if the request will cause
  12103.  * a reply to be generated. Any returned error will be
  12104.  * placed in the event queue.
  12105.  */
  12106.  
  12107. /*****************************************************************************
  12108.  **
  12109.  ** xcb_alloc_named_color_cookie_t xcb_alloc_named_color_unchecked
  12110.  ** 
  12111.  ** @param xcb_connection_t *c
  12112.  ** @param xcb_colormap_t    cmap
  12113.  ** @param uint16_t          name_len
  12114.  ** @param const char       *name
  12115.  ** @returns xcb_alloc_named_color_cookie_t
  12116.  **
  12117.  *****************************************************************************/
  12118.  
  12119. xcb_alloc_named_color_cookie_t
  12120. xcb_alloc_named_color_unchecked (xcb_connection_t *c  /**< */,
  12121.                                  xcb_colormap_t    cmap  /**< */,
  12122.                                  uint16_t          name_len  /**< */,
  12123.                                  const char       *name  /**< */);
  12124.  
  12125. /**
  12126.  * Return the reply
  12127.  * @param c      The connection
  12128.  * @param cookie The cookie
  12129.  * @param e      The xcb_generic_error_t supplied
  12130.  *
  12131.  * Returns the reply of the request asked by
  12132.  * 
  12133.  * The parameter @p e supplied to this function must be NULL if
  12134.  * xcb_alloc_named_color_unchecked(). is used.
  12135.  * Otherwise, it stores the error if any.
  12136.  */
  12137.  
  12138. /*****************************************************************************
  12139.  **
  12140.  ** xcb_alloc_named_color_reply_t * xcb_alloc_named_color_reply
  12141.  ** 
  12142.  ** @param xcb_connection_t                *c
  12143.  ** @param xcb_alloc_named_color_cookie_t   cookie
  12144.  ** @param xcb_generic_error_t            **e
  12145.  ** @returns xcb_alloc_named_color_reply_t *
  12146.  **
  12147.  *****************************************************************************/
  12148.  
  12149. xcb_alloc_named_color_reply_t *
  12150. xcb_alloc_named_color_reply (xcb_connection_t                *c  /**< */,
  12151.                              xcb_alloc_named_color_cookie_t   cookie  /**< */,
  12152.                              xcb_generic_error_t            **e  /**< */);
  12153.  
  12154. /**
  12155.  * Delivers a request to the X server
  12156.  * @param c The connection
  12157.  * @return A cookie
  12158.  *
  12159.  * Delivers a request to the X server.
  12160.  * 
  12161.  */
  12162.  
  12163. /*****************************************************************************
  12164.  **
  12165.  ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells
  12166.  ** 
  12167.  ** @param xcb_connection_t *c
  12168.  ** @param uint8_t           contiguous
  12169.  ** @param xcb_colormap_t    cmap
  12170.  ** @param uint16_t          colors
  12171.  ** @param uint16_t          planes
  12172.  ** @returns xcb_alloc_color_cells_cookie_t
  12173.  **
  12174.  *****************************************************************************/
  12175.  
  12176. xcb_alloc_color_cells_cookie_t
  12177. xcb_alloc_color_cells (xcb_connection_t *c  /**< */,
  12178.                        uint8_t           contiguous  /**< */,
  12179.                        xcb_colormap_t    cmap  /**< */,
  12180.                        uint16_t          colors  /**< */,
  12181.                        uint16_t          planes  /**< */);
  12182.  
  12183. /**
  12184.  * Delivers a request to the X server
  12185.  * @param c The connection
  12186.  * @return A cookie
  12187.  *
  12188.  * Delivers a request to the X server.
  12189.  * 
  12190.  * This form can be used only if the request will cause
  12191.  * a reply to be generated. Any returned error will be
  12192.  * placed in the event queue.
  12193.  */
  12194.  
  12195. /*****************************************************************************
  12196.  **
  12197.  ** xcb_alloc_color_cells_cookie_t xcb_alloc_color_cells_unchecked
  12198.  ** 
  12199.  ** @param xcb_connection_t *c
  12200.  ** @param uint8_t           contiguous
  12201.  ** @param xcb_colormap_t    cmap
  12202.  ** @param uint16_t          colors
  12203.  ** @param uint16_t          planes
  12204.  ** @returns xcb_alloc_color_cells_cookie_t
  12205.  **
  12206.  *****************************************************************************/
  12207.  
  12208. xcb_alloc_color_cells_cookie_t
  12209. xcb_alloc_color_cells_unchecked (xcb_connection_t *c  /**< */,
  12210.                                  uint8_t           contiguous  /**< */,
  12211.                                  xcb_colormap_t    cmap  /**< */,
  12212.                                  uint16_t          colors  /**< */,
  12213.                                  uint16_t          planes  /**< */);
  12214.  
  12215.  
  12216. /*****************************************************************************
  12217.  **
  12218.  ** uint32_t * xcb_alloc_color_cells_pixels
  12219.  ** 
  12220.  ** @param const xcb_alloc_color_cells_reply_t *R
  12221.  ** @returns uint32_t *
  12222.  **
  12223.  *****************************************************************************/
  12224.  
  12225. uint32_t *
  12226. xcb_alloc_color_cells_pixels (const xcb_alloc_color_cells_reply_t *R  /**< */);
  12227.  
  12228.  
  12229. /*****************************************************************************
  12230.  **
  12231.  ** int xcb_alloc_color_cells_pixels_length
  12232.  ** 
  12233.  ** @param const xcb_alloc_color_cells_reply_t *R
  12234.  ** @returns int
  12235.  **
  12236.  *****************************************************************************/
  12237.  
  12238. int
  12239. xcb_alloc_color_cells_pixels_length (const xcb_alloc_color_cells_reply_t *R  /**< */);
  12240.  
  12241.  
  12242. /*****************************************************************************
  12243.  **
  12244.  ** xcb_generic_iterator_t xcb_alloc_color_cells_pixels_end
  12245.  ** 
  12246.  ** @param const xcb_alloc_color_cells_reply_t *R
  12247.  ** @returns xcb_generic_iterator_t
  12248.  **
  12249.  *****************************************************************************/
  12250.  
  12251. xcb_generic_iterator_t
  12252. xcb_alloc_color_cells_pixels_end (const xcb_alloc_color_cells_reply_t *R  /**< */);
  12253.  
  12254.  
  12255. /*****************************************************************************
  12256.  **
  12257.  ** uint32_t * xcb_alloc_color_cells_masks
  12258.  ** 
  12259.  ** @param const xcb_alloc_color_cells_reply_t *R
  12260.  ** @returns uint32_t *
  12261.  **
  12262.  *****************************************************************************/
  12263.  
  12264. uint32_t *
  12265. xcb_alloc_color_cells_masks (const xcb_alloc_color_cells_reply_t *R  /**< */);
  12266.  
  12267.  
  12268. /*****************************************************************************
  12269.  **
  12270.  ** int xcb_alloc_color_cells_masks_length
  12271.  ** 
  12272.  ** @param const xcb_alloc_color_cells_reply_t *R
  12273.  ** @returns int
  12274.  **
  12275.  *****************************************************************************/
  12276.  
  12277. int
  12278. xcb_alloc_color_cells_masks_length (const xcb_alloc_color_cells_reply_t *R  /**< */);
  12279.  
  12280.  
  12281. /*****************************************************************************
  12282.  **
  12283.  ** xcb_generic_iterator_t xcb_alloc_color_cells_masks_end
  12284.  ** 
  12285.  ** @param const xcb_alloc_color_cells_reply_t *R
  12286.  ** @returns xcb_generic_iterator_t
  12287.  **
  12288.  *****************************************************************************/
  12289.  
  12290. xcb_generic_iterator_t
  12291. xcb_alloc_color_cells_masks_end (const xcb_alloc_color_cells_reply_t *R  /**< */);
  12292.  
  12293. /**
  12294.  * Return the reply
  12295.  * @param c      The connection
  12296.  * @param cookie The cookie
  12297.  * @param e      The xcb_generic_error_t supplied
  12298.  *
  12299.  * Returns the reply of the request asked by
  12300.  * 
  12301.  * The parameter @p e supplied to this function must be NULL if
  12302.  * xcb_alloc_color_cells_unchecked(). is used.
  12303.  * Otherwise, it stores the error if any.
  12304.  */
  12305.  
  12306. /*****************************************************************************
  12307.  **
  12308.  ** xcb_alloc_color_cells_reply_t * xcb_alloc_color_cells_reply
  12309.  ** 
  12310.  ** @param xcb_connection_t                *c
  12311.  ** @param xcb_alloc_color_cells_cookie_t   cookie
  12312.  ** @param xcb_generic_error_t            **e
  12313.  ** @returns xcb_alloc_color_cells_reply_t *
  12314.  **
  12315.  *****************************************************************************/
  12316.  
  12317. xcb_alloc_color_cells_reply_t *
  12318. xcb_alloc_color_cells_reply (xcb_connection_t                *c  /**< */,
  12319.                              xcb_alloc_color_cells_cookie_t   cookie  /**< */,
  12320.                              xcb_generic_error_t            **e  /**< */);
  12321.  
  12322. /**
  12323.  * Delivers a request to the X server
  12324.  * @param c The connection
  12325.  * @return A cookie
  12326.  *
  12327.  * Delivers a request to the X server.
  12328.  * 
  12329.  */
  12330.  
  12331. /*****************************************************************************
  12332.  **
  12333.  ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes
  12334.  ** 
  12335.  ** @param xcb_connection_t *c
  12336.  ** @param uint8_t           contiguous
  12337.  ** @param xcb_colormap_t    cmap
  12338.  ** @param uint16_t          colors
  12339.  ** @param uint16_t          reds
  12340.  ** @param uint16_t          greens
  12341.  ** @param uint16_t          blues
  12342.  ** @returns xcb_alloc_color_planes_cookie_t
  12343.  **
  12344.  *****************************************************************************/
  12345.  
  12346. xcb_alloc_color_planes_cookie_t
  12347. xcb_alloc_color_planes (xcb_connection_t *c  /**< */,
  12348.                         uint8_t           contiguous  /**< */,
  12349.                         xcb_colormap_t    cmap  /**< */,
  12350.                         uint16_t          colors  /**< */,
  12351.                         uint16_t          reds  /**< */,
  12352.                         uint16_t          greens  /**< */,
  12353.                         uint16_t          blues  /**< */);
  12354.  
  12355. /**
  12356.  * Delivers a request to the X server
  12357.  * @param c The connection
  12358.  * @return A cookie
  12359.  *
  12360.  * Delivers a request to the X server.
  12361.  * 
  12362.  * This form can be used only if the request will cause
  12363.  * a reply to be generated. Any returned error will be
  12364.  * placed in the event queue.
  12365.  */
  12366.  
  12367. /*****************************************************************************
  12368.  **
  12369.  ** xcb_alloc_color_planes_cookie_t xcb_alloc_color_planes_unchecked
  12370.  ** 
  12371.  ** @param xcb_connection_t *c
  12372.  ** @param uint8_t           contiguous
  12373.  ** @param xcb_colormap_t    cmap
  12374.  ** @param uint16_t          colors
  12375.  ** @param uint16_t          reds
  12376.  ** @param uint16_t          greens
  12377.  ** @param uint16_t          blues
  12378.  ** @returns xcb_alloc_color_planes_cookie_t
  12379.  **
  12380.  *****************************************************************************/
  12381.  
  12382. xcb_alloc_color_planes_cookie_t
  12383. xcb_alloc_color_planes_unchecked (xcb_connection_t *c  /**< */,
  12384.                                   uint8_t           contiguous  /**< */,
  12385.                                   xcb_colormap_t    cmap  /**< */,
  12386.                                   uint16_t          colors  /**< */,
  12387.                                   uint16_t          reds  /**< */,
  12388.                                   uint16_t          greens  /**< */,
  12389.                                   uint16_t          blues  /**< */);
  12390.  
  12391.  
  12392. /*****************************************************************************
  12393.  **
  12394.  ** uint32_t * xcb_alloc_color_planes_pixels
  12395.  ** 
  12396.  ** @param const xcb_alloc_color_planes_reply_t *R
  12397.  ** @returns uint32_t *
  12398.  **
  12399.  *****************************************************************************/
  12400.  
  12401. uint32_t *
  12402. xcb_alloc_color_planes_pixels (const xcb_alloc_color_planes_reply_t *R  /**< */);
  12403.  
  12404.  
  12405. /*****************************************************************************
  12406.  **
  12407.  ** int xcb_alloc_color_planes_pixels_length
  12408.  ** 
  12409.  ** @param const xcb_alloc_color_planes_reply_t *R
  12410.  ** @returns int
  12411.  **
  12412.  *****************************************************************************/
  12413.  
  12414. int
  12415. xcb_alloc_color_planes_pixels_length (const xcb_alloc_color_planes_reply_t *R  /**< */);
  12416.  
  12417.  
  12418. /*****************************************************************************
  12419.  **
  12420.  ** xcb_generic_iterator_t xcb_alloc_color_planes_pixels_end
  12421.  ** 
  12422.  ** @param const xcb_alloc_color_planes_reply_t *R
  12423.  ** @returns xcb_generic_iterator_t
  12424.  **
  12425.  *****************************************************************************/
  12426.  
  12427. xcb_generic_iterator_t
  12428. xcb_alloc_color_planes_pixels_end (const xcb_alloc_color_planes_reply_t *R  /**< */);
  12429.  
  12430. /**
  12431.  * Return the reply
  12432.  * @param c      The connection
  12433.  * @param cookie The cookie
  12434.  * @param e      The xcb_generic_error_t supplied
  12435.  *
  12436.  * Returns the reply of the request asked by
  12437.  * 
  12438.  * The parameter @p e supplied to this function must be NULL if
  12439.  * xcb_alloc_color_planes_unchecked(). is used.
  12440.  * Otherwise, it stores the error if any.
  12441.  */
  12442.  
  12443. /*****************************************************************************
  12444.  **
  12445.  ** xcb_alloc_color_planes_reply_t * xcb_alloc_color_planes_reply
  12446.  ** 
  12447.  ** @param xcb_connection_t                 *c
  12448.  ** @param xcb_alloc_color_planes_cookie_t   cookie
  12449.  ** @param xcb_generic_error_t             **e
  12450.  ** @returns xcb_alloc_color_planes_reply_t *
  12451.  **
  12452.  *****************************************************************************/
  12453.  
  12454. xcb_alloc_color_planes_reply_t *
  12455. xcb_alloc_color_planes_reply (xcb_connection_t                 *c  /**< */,
  12456.                               xcb_alloc_color_planes_cookie_t   cookie  /**< */,
  12457.                               xcb_generic_error_t             **e  /**< */);
  12458.  
  12459. /**
  12460.  * Delivers a request to the X server
  12461.  * @param c The connection
  12462.  * @return A cookie
  12463.  *
  12464.  * Delivers a request to the X server.
  12465.  * 
  12466.  * This form can be used only if the request will not cause
  12467.  * a reply to be generated. Any returned error will be
  12468.  * saved for handling by xcb_request_check().
  12469.  */
  12470.  
  12471. /*****************************************************************************
  12472.  **
  12473.  ** xcb_void_cookie_t xcb_free_colors_checked
  12474.  ** 
  12475.  ** @param xcb_connection_t *c
  12476.  ** @param xcb_colormap_t    cmap
  12477.  ** @param uint32_t          plane_mask
  12478.  ** @param uint32_t          pixels_len
  12479.  ** @param const uint32_t   *pixels
  12480.  ** @returns xcb_void_cookie_t
  12481.  **
  12482.  *****************************************************************************/
  12483.  
  12484. xcb_void_cookie_t
  12485. xcb_free_colors_checked (xcb_connection_t *c  /**< */,
  12486.                          xcb_colormap_t    cmap  /**< */,
  12487.                          uint32_t          plane_mask  /**< */,
  12488.                          uint32_t          pixels_len  /**< */,
  12489.                          const uint32_t   *pixels  /**< */);
  12490.  
  12491. /**
  12492.  * Delivers a request to the X server
  12493.  * @param c The connection
  12494.  * @return A cookie
  12495.  *
  12496.  * Delivers a request to the X server.
  12497.  * 
  12498.  */
  12499.  
  12500. /*****************************************************************************
  12501.  **
  12502.  ** xcb_void_cookie_t xcb_free_colors
  12503.  ** 
  12504.  ** @param xcb_connection_t *c
  12505.  ** @param xcb_colormap_t    cmap
  12506.  ** @param uint32_t          plane_mask
  12507.  ** @param uint32_t          pixels_len
  12508.  ** @param const uint32_t   *pixels
  12509.  ** @returns xcb_void_cookie_t
  12510.  **
  12511.  *****************************************************************************/
  12512.  
  12513. xcb_void_cookie_t
  12514. xcb_free_colors (xcb_connection_t *c  /**< */,
  12515.                  xcb_colormap_t    cmap  /**< */,
  12516.                  uint32_t          plane_mask  /**< */,
  12517.                  uint32_t          pixels_len  /**< */,
  12518.                  const uint32_t   *pixels  /**< */);
  12519.  
  12520. /**
  12521.  * Get the next element of the iterator
  12522.  * @param i Pointer to a xcb_coloritem_iterator_t
  12523.  *
  12524.  * Get the next element in the iterator. The member rem is
  12525.  * decreased by one. The member data points to the next
  12526.  * element. The member index is increased by sizeof(xcb_coloritem_t)
  12527.  */
  12528.  
  12529. /*****************************************************************************
  12530.  **
  12531.  ** void xcb_coloritem_next
  12532.  ** 
  12533.  ** @param xcb_coloritem_iterator_t *i
  12534.  ** @returns void
  12535.  **
  12536.  *****************************************************************************/
  12537.  
  12538. void
  12539. xcb_coloritem_next (xcb_coloritem_iterator_t *i  /**< */);
  12540.  
  12541. /**
  12542.  * Return the iterator pointing to the last element
  12543.  * @param i An xcb_coloritem_iterator_t
  12544.  * @return  The iterator pointing to the last element
  12545.  *
  12546.  * Set the current element in the iterator to the last element.
  12547.  * The member rem is set to 0. The member data points to the
  12548.  * last element.
  12549.  */
  12550.  
  12551. /*****************************************************************************
  12552.  **
  12553.  ** xcb_generic_iterator_t xcb_coloritem_end
  12554.  ** 
  12555.  ** @param xcb_coloritem_iterator_t i
  12556.  ** @returns xcb_generic_iterator_t
  12557.  **
  12558.  *****************************************************************************/
  12559.  
  12560. xcb_generic_iterator_t
  12561. xcb_coloritem_end (xcb_coloritem_iterator_t i  /**< */);
  12562.  
  12563. /**
  12564.  * Delivers a request to the X server
  12565.  * @param c The connection
  12566.  * @return A cookie
  12567.  *
  12568.  * Delivers a request to the X server.
  12569.  * 
  12570.  * This form can be used only if the request will not cause
  12571.  * a reply to be generated. Any returned error will be
  12572.  * saved for handling by xcb_request_check().
  12573.  */
  12574.  
  12575. /*****************************************************************************
  12576.  **
  12577.  ** xcb_void_cookie_t xcb_store_colors_checked
  12578.  ** 
  12579.  ** @param xcb_connection_t      *c
  12580.  ** @param xcb_colormap_t         cmap
  12581.  ** @param uint32_t               items_len
  12582.  ** @param const xcb_coloritem_t *items
  12583.  ** @returns xcb_void_cookie_t
  12584.  **
  12585.  *****************************************************************************/
  12586.  
  12587. xcb_void_cookie_t
  12588. xcb_store_colors_checked (xcb_connection_t      *c  /**< */,
  12589.                           xcb_colormap_t         cmap  /**< */,
  12590.                           uint32_t               items_len  /**< */,
  12591.                           const xcb_coloritem_t *items  /**< */);
  12592.  
  12593. /**
  12594.  * Delivers a request to the X server
  12595.  * @param c The connection
  12596.  * @return A cookie
  12597.  *
  12598.  * Delivers a request to the X server.
  12599.  * 
  12600.  */
  12601.  
  12602. /*****************************************************************************
  12603.  **
  12604.  ** xcb_void_cookie_t xcb_store_colors
  12605.  ** 
  12606.  ** @param xcb_connection_t      *c
  12607.  ** @param xcb_colormap_t         cmap
  12608.  ** @param uint32_t               items_len
  12609.  ** @param const xcb_coloritem_t *items
  12610.  ** @returns xcb_void_cookie_t
  12611.  **
  12612.  *****************************************************************************/
  12613.  
  12614. xcb_void_cookie_t
  12615. xcb_store_colors (xcb_connection_t      *c  /**< */,
  12616.                   xcb_colormap_t         cmap  /**< */,
  12617.                   uint32_t               items_len  /**< */,
  12618.                   const xcb_coloritem_t *items  /**< */);
  12619.  
  12620. /**
  12621.  * Delivers a request to the X server
  12622.  * @param c The connection
  12623.  * @return A cookie
  12624.  *
  12625.  * Delivers a request to the X server.
  12626.  * 
  12627.  * This form can be used only if the request will not cause
  12628.  * a reply to be generated. Any returned error will be
  12629.  * saved for handling by xcb_request_check().
  12630.  */
  12631.  
  12632. /*****************************************************************************
  12633.  **
  12634.  ** xcb_void_cookie_t xcb_store_named_color_checked
  12635.  ** 
  12636.  ** @param xcb_connection_t *c
  12637.  ** @param uint8_t           flags
  12638.  ** @param xcb_colormap_t    cmap
  12639.  ** @param uint32_t          pixel
  12640.  ** @param uint16_t          name_len
  12641.  ** @param const char       *name
  12642.  ** @returns xcb_void_cookie_t
  12643.  **
  12644.  *****************************************************************************/
  12645.  
  12646. xcb_void_cookie_t
  12647. xcb_store_named_color_checked (xcb_connection_t *c  /**< */,
  12648.                                uint8_t           flags  /**< */,
  12649.                                xcb_colormap_t    cmap  /**< */,
  12650.                                uint32_t          pixel  /**< */,
  12651.                                uint16_t          name_len  /**< */,
  12652.                                const char       *name  /**< */);
  12653.  
  12654. /**
  12655.  * Delivers a request to the X server
  12656.  * @param c The connection
  12657.  * @return A cookie
  12658.  *
  12659.  * Delivers a request to the X server.
  12660.  * 
  12661.  */
  12662.  
  12663. /*****************************************************************************
  12664.  **
  12665.  ** xcb_void_cookie_t xcb_store_named_color
  12666.  ** 
  12667.  ** @param xcb_connection_t *c
  12668.  ** @param uint8_t           flags
  12669.  ** @param xcb_colormap_t    cmap
  12670.  ** @param uint32_t          pixel
  12671.  ** @param uint16_t          name_len
  12672.  ** @param const char       *name
  12673.  ** @returns xcb_void_cookie_t
  12674.  **
  12675.  *****************************************************************************/
  12676.  
  12677. xcb_void_cookie_t
  12678. xcb_store_named_color (xcb_connection_t *c  /**< */,
  12679.                        uint8_t           flags  /**< */,
  12680.                        xcb_colormap_t    cmap  /**< */,
  12681.                        uint32_t          pixel  /**< */,
  12682.                        uint16_t          name_len  /**< */,
  12683.                        const char       *name  /**< */);
  12684.  
  12685. /**
  12686.  * Get the next element of the iterator
  12687.  * @param i Pointer to a xcb_rgb_iterator_t
  12688.  *
  12689.  * Get the next element in the iterator. The member rem is
  12690.  * decreased by one. The member data points to the next
  12691.  * element. The member index is increased by sizeof(xcb_rgb_t)
  12692.  */
  12693.  
  12694. /*****************************************************************************
  12695.  **
  12696.  ** void xcb_rgb_next
  12697.  ** 
  12698.  ** @param xcb_rgb_iterator_t *i
  12699.  ** @returns void
  12700.  **
  12701.  *****************************************************************************/
  12702.  
  12703. void
  12704. xcb_rgb_next (xcb_rgb_iterator_t *i  /**< */);
  12705.  
  12706. /**
  12707.  * Return the iterator pointing to the last element
  12708.  * @param i An xcb_rgb_iterator_t
  12709.  * @return  The iterator pointing to the last element
  12710.  *
  12711.  * Set the current element in the iterator to the last element.
  12712.  * The member rem is set to 0. The member data points to the
  12713.  * last element.
  12714.  */
  12715.  
  12716. /*****************************************************************************
  12717.  **
  12718.  ** xcb_generic_iterator_t xcb_rgb_end
  12719.  ** 
  12720.  ** @param xcb_rgb_iterator_t i
  12721.  ** @returns xcb_generic_iterator_t
  12722.  **
  12723.  *****************************************************************************/
  12724.  
  12725. xcb_generic_iterator_t
  12726. xcb_rgb_end (xcb_rgb_iterator_t i  /**< */);
  12727.  
  12728. /**
  12729.  * Delivers a request to the X server
  12730.  * @param c The connection
  12731.  * @return A cookie
  12732.  *
  12733.  * Delivers a request to the X server.
  12734.  * 
  12735.  */
  12736.  
  12737. /*****************************************************************************
  12738.  **
  12739.  ** xcb_query_colors_cookie_t xcb_query_colors
  12740.  ** 
  12741.  ** @param xcb_connection_t *c
  12742.  ** @param xcb_colormap_t    cmap
  12743.  ** @param uint32_t          pixels_len
  12744.  ** @param const uint32_t   *pixels
  12745.  ** @returns xcb_query_colors_cookie_t
  12746.  **
  12747.  *****************************************************************************/
  12748.  
  12749. xcb_query_colors_cookie_t
  12750. xcb_query_colors (xcb_connection_t *c  /**< */,
  12751.                   xcb_colormap_t    cmap  /**< */,
  12752.                   uint32_t          pixels_len  /**< */,
  12753.                   const uint32_t   *pixels  /**< */);
  12754.  
  12755. /**
  12756.  * Delivers a request to the X server
  12757.  * @param c The connection
  12758.  * @return A cookie
  12759.  *
  12760.  * Delivers a request to the X server.
  12761.  * 
  12762.  * This form can be used only if the request will cause
  12763.  * a reply to be generated. Any returned error will be
  12764.  * placed in the event queue.
  12765.  */
  12766.  
  12767. /*****************************************************************************
  12768.  **
  12769.  ** xcb_query_colors_cookie_t xcb_query_colors_unchecked
  12770.  ** 
  12771.  ** @param xcb_connection_t *c
  12772.  ** @param xcb_colormap_t    cmap
  12773.  ** @param uint32_t          pixels_len
  12774.  ** @param const uint32_t   *pixels
  12775.  ** @returns xcb_query_colors_cookie_t
  12776.  **
  12777.  *****************************************************************************/
  12778.  
  12779. xcb_query_colors_cookie_t
  12780. xcb_query_colors_unchecked (xcb_connection_t *c  /**< */,
  12781.                             xcb_colormap_t    cmap  /**< */,
  12782.                             uint32_t          pixels_len  /**< */,
  12783.                             const uint32_t   *pixels  /**< */);
  12784.  
  12785.  
  12786. /*****************************************************************************
  12787.  **
  12788.  ** xcb_rgb_t * xcb_query_colors_colors
  12789.  ** 
  12790.  ** @param const xcb_query_colors_reply_t *R
  12791.  ** @returns xcb_rgb_t *
  12792.  **
  12793.  *****************************************************************************/
  12794.  
  12795. xcb_rgb_t *
  12796. xcb_query_colors_colors (const xcb_query_colors_reply_t *R  /**< */);
  12797.  
  12798.  
  12799. /*****************************************************************************
  12800.  **
  12801.  ** int xcb_query_colors_colors_length
  12802.  ** 
  12803.  ** @param const xcb_query_colors_reply_t *R
  12804.  ** @returns int
  12805.  **
  12806.  *****************************************************************************/
  12807.  
  12808. int
  12809. xcb_query_colors_colors_length (const xcb_query_colors_reply_t *R  /**< */);
  12810.  
  12811.  
  12812. /*****************************************************************************
  12813.  **
  12814.  ** xcb_rgb_iterator_t xcb_query_colors_colors_iterator
  12815.  ** 
  12816.  ** @param const xcb_query_colors_reply_t *R
  12817.  ** @returns xcb_rgb_iterator_t
  12818.  **
  12819.  *****************************************************************************/
  12820.  
  12821. xcb_rgb_iterator_t
  12822. xcb_query_colors_colors_iterator (const xcb_query_colors_reply_t *R  /**< */);
  12823.  
  12824. /**
  12825.  * Return the reply
  12826.  * @param c      The connection
  12827.  * @param cookie The cookie
  12828.  * @param e      The xcb_generic_error_t supplied
  12829.  *
  12830.  * Returns the reply of the request asked by
  12831.  * 
  12832.  * The parameter @p e supplied to this function must be NULL if
  12833.  * xcb_query_colors_unchecked(). is used.
  12834.  * Otherwise, it stores the error if any.
  12835.  */
  12836.  
  12837. /*****************************************************************************
  12838.  **
  12839.  ** xcb_query_colors_reply_t * xcb_query_colors_reply
  12840.  ** 
  12841.  ** @param xcb_connection_t           *c
  12842.  ** @param xcb_query_colors_cookie_t   cookie
  12843.  ** @param xcb_generic_error_t       **e
  12844.  ** @returns xcb_query_colors_reply_t *
  12845.  **
  12846.  *****************************************************************************/
  12847.  
  12848. xcb_query_colors_reply_t *
  12849. xcb_query_colors_reply (xcb_connection_t           *c  /**< */,
  12850.                         xcb_query_colors_cookie_t   cookie  /**< */,
  12851.                         xcb_generic_error_t       **e  /**< */);
  12852.  
  12853. /**
  12854.  * Delivers a request to the X server
  12855.  * @param c The connection
  12856.  * @return A cookie
  12857.  *
  12858.  * Delivers a request to the X server.
  12859.  * 
  12860.  */
  12861.  
  12862. /*****************************************************************************
  12863.  **
  12864.  ** xcb_lookup_color_cookie_t xcb_lookup_color
  12865.  ** 
  12866.  ** @param xcb_connection_t *c
  12867.  ** @param xcb_colormap_t    cmap
  12868.  ** @param uint16_t          name_len
  12869.  ** @param const char       *name
  12870.  ** @returns xcb_lookup_color_cookie_t
  12871.  **
  12872.  *****************************************************************************/
  12873.  
  12874. xcb_lookup_color_cookie_t
  12875. xcb_lookup_color (xcb_connection_t *c  /**< */,
  12876.                   xcb_colormap_t    cmap  /**< */,
  12877.                   uint16_t          name_len  /**< */,
  12878.                   const char       *name  /**< */);
  12879.  
  12880. /**
  12881.  * Delivers a request to the X server
  12882.  * @param c The connection
  12883.  * @return A cookie
  12884.  *
  12885.  * Delivers a request to the X server.
  12886.  * 
  12887.  * This form can be used only if the request will cause
  12888.  * a reply to be generated. Any returned error will be
  12889.  * placed in the event queue.
  12890.  */
  12891.  
  12892. /*****************************************************************************
  12893.  **
  12894.  ** xcb_lookup_color_cookie_t xcb_lookup_color_unchecked
  12895.  ** 
  12896.  ** @param xcb_connection_t *c
  12897.  ** @param xcb_colormap_t    cmap
  12898.  ** @param uint16_t          name_len
  12899.  ** @param const char       *name
  12900.  ** @returns xcb_lookup_color_cookie_t
  12901.  **
  12902.  *****************************************************************************/
  12903.  
  12904. xcb_lookup_color_cookie_t
  12905. xcb_lookup_color_unchecked (xcb_connection_t *c  /**< */,
  12906.                             xcb_colormap_t    cmap  /**< */,
  12907.                             uint16_t          name_len  /**< */,
  12908.                             const char       *name  /**< */);
  12909.  
  12910. /**
  12911.  * Return the reply
  12912.  * @param c      The connection
  12913.  * @param cookie The cookie
  12914.  * @param e      The xcb_generic_error_t supplied
  12915.  *
  12916.  * Returns the reply of the request asked by
  12917.  * 
  12918.  * The parameter @p e supplied to this function must be NULL if
  12919.  * xcb_lookup_color_unchecked(). is used.
  12920.  * Otherwise, it stores the error if any.
  12921.  */
  12922.  
  12923. /*****************************************************************************
  12924.  **
  12925.  ** xcb_lookup_color_reply_t * xcb_lookup_color_reply
  12926.  ** 
  12927.  ** @param xcb_connection_t           *c
  12928.  ** @param xcb_lookup_color_cookie_t   cookie
  12929.  ** @param xcb_generic_error_t       **e
  12930.  ** @returns xcb_lookup_color_reply_t *
  12931.  **
  12932.  *****************************************************************************/
  12933.  
  12934. xcb_lookup_color_reply_t *
  12935. xcb_lookup_color_reply (xcb_connection_t           *c  /**< */,
  12936.                         xcb_lookup_color_cookie_t   cookie  /**< */,
  12937.                         xcb_generic_error_t       **e  /**< */);
  12938.  
  12939. /**
  12940.  * Delivers a request to the X server
  12941.  * @param c The connection
  12942.  * @return A cookie
  12943.  *
  12944.  * Delivers a request to the X server.
  12945.  * 
  12946.  * This form can be used only if the request will not cause
  12947.  * a reply to be generated. Any returned error will be
  12948.  * saved for handling by xcb_request_check().
  12949.  */
  12950.  
  12951. /*****************************************************************************
  12952.  **
  12953.  ** xcb_void_cookie_t xcb_create_cursor_checked
  12954.  ** 
  12955.  ** @param xcb_connection_t *c
  12956.  ** @param xcb_cursor_t      cid
  12957.  ** @param xcb_pixmap_t      source
  12958.  ** @param xcb_pixmap_t      mask
  12959.  ** @param uint16_t          fore_red
  12960.  ** @param uint16_t          fore_green
  12961.  ** @param uint16_t          fore_blue
  12962.  ** @param uint16_t          back_red
  12963.  ** @param uint16_t          back_green
  12964.  ** @param uint16_t          back_blue
  12965.  ** @param uint16_t          x
  12966.  ** @param uint16_t          y
  12967.  ** @returns xcb_void_cookie_t
  12968.  **
  12969.  *****************************************************************************/
  12970.  
  12971. xcb_void_cookie_t
  12972. xcb_create_cursor_checked (xcb_connection_t *c  /**< */,
  12973.                            xcb_cursor_t      cid  /**< */,
  12974.                            xcb_pixmap_t      source  /**< */,
  12975.                            xcb_pixmap_t      mask  /**< */,
  12976.                            uint16_t          fore_red  /**< */,
  12977.                            uint16_t          fore_green  /**< */,
  12978.                            uint16_t          fore_blue  /**< */,
  12979.                            uint16_t          back_red  /**< */,
  12980.                            uint16_t          back_green  /**< */,
  12981.                            uint16_t          back_blue  /**< */,
  12982.                            uint16_t          x  /**< */,
  12983.                            uint16_t          y  /**< */);
  12984.  
  12985. /**
  12986.  * Delivers a request to the X server
  12987.  * @param c The connection
  12988.  * @return A cookie
  12989.  *
  12990.  * Delivers a request to the X server.
  12991.  * 
  12992.  */
  12993.  
  12994. /*****************************************************************************
  12995.  **
  12996.  ** xcb_void_cookie_t xcb_create_cursor
  12997.  ** 
  12998.  ** @param xcb_connection_t *c
  12999.  ** @param xcb_cursor_t      cid
  13000.  ** @param xcb_pixmap_t      source
  13001.  ** @param xcb_pixmap_t      mask
  13002.  ** @param uint16_t          fore_red
  13003.  ** @param uint16_t          fore_green
  13004.  ** @param uint16_t          fore_blue
  13005.  ** @param uint16_t          back_red
  13006.  ** @param uint16_t          back_green
  13007.  ** @param uint16_t          back_blue
  13008.  ** @param uint16_t          x
  13009.  ** @param uint16_t          y
  13010.  ** @returns xcb_void_cookie_t
  13011.  **
  13012.  *****************************************************************************/
  13013.  
  13014. xcb_void_cookie_t
  13015. xcb_create_cursor (xcb_connection_t *c  /**< */,
  13016.                    xcb_cursor_t      cid  /**< */,
  13017.                    xcb_pixmap_t      source  /**< */,
  13018.                    xcb_pixmap_t      mask  /**< */,
  13019.                    uint16_t          fore_red  /**< */,
  13020.                    uint16_t          fore_green  /**< */,
  13021.                    uint16_t          fore_blue  /**< */,
  13022.                    uint16_t          back_red  /**< */,
  13023.                    uint16_t          back_green  /**< */,
  13024.                    uint16_t          back_blue  /**< */,
  13025.                    uint16_t          x  /**< */,
  13026.                    uint16_t          y  /**< */);
  13027.  
  13028. /**
  13029.  * Delivers a request to the X server
  13030.  * @param c The connection
  13031.  * @return A cookie
  13032.  *
  13033.  * Delivers a request to the X server.
  13034.  * 
  13035.  * This form can be used only if the request will not cause
  13036.  * a reply to be generated. Any returned error will be
  13037.  * saved for handling by xcb_request_check().
  13038.  */
  13039.  
  13040. /*****************************************************************************
  13041.  **
  13042.  ** xcb_void_cookie_t xcb_create_glyph_cursor_checked
  13043.  ** 
  13044.  ** @param xcb_connection_t *c
  13045.  ** @param xcb_cursor_t      cid
  13046.  ** @param xcb_font_t        source_font
  13047.  ** @param xcb_font_t        mask_font
  13048.  ** @param uint16_t          source_char
  13049.  ** @param uint16_t          mask_char
  13050.  ** @param uint16_t          fore_red
  13051.  ** @param uint16_t          fore_green
  13052.  ** @param uint16_t          fore_blue
  13053.  ** @param uint16_t          back_red
  13054.  ** @param uint16_t          back_green
  13055.  ** @param uint16_t          back_blue
  13056.  ** @returns xcb_void_cookie_t
  13057.  **
  13058.  *****************************************************************************/
  13059.  
  13060. xcb_void_cookie_t
  13061. xcb_create_glyph_cursor_checked (xcb_connection_t *c  /**< */,
  13062.                                  xcb_cursor_t      cid  /**< */,
  13063.                                  xcb_font_t        source_font  /**< */,
  13064.                                  xcb_font_t        mask_font  /**< */,
  13065.                                  uint16_t          source_char  /**< */,
  13066.                                  uint16_t          mask_char  /**< */,
  13067.                                  uint16_t          fore_red  /**< */,
  13068.                                  uint16_t          fore_green  /**< */,
  13069.                                  uint16_t          fore_blue  /**< */,
  13070.                                  uint16_t          back_red  /**< */,
  13071.                                  uint16_t          back_green  /**< */,
  13072.                                  uint16_t          back_blue  /**< */);
  13073.  
  13074. /**
  13075.  * Delivers a request to the X server
  13076.  * @param c The connection
  13077.  * @return A cookie
  13078.  *
  13079.  * Delivers a request to the X server.
  13080.  * 
  13081.  */
  13082.  
  13083. /*****************************************************************************
  13084.  **
  13085.  ** xcb_void_cookie_t xcb_create_glyph_cursor
  13086.  ** 
  13087.  ** @param xcb_connection_t *c
  13088.  ** @param xcb_cursor_t      cid
  13089.  ** @param xcb_font_t        source_font
  13090.  ** @param xcb_font_t        mask_font
  13091.  ** @param uint16_t          source_char
  13092.  ** @param uint16_t          mask_char
  13093.  ** @param uint16_t          fore_red
  13094.  ** @param uint16_t          fore_green
  13095.  ** @param uint16_t          fore_blue
  13096.  ** @param uint16_t          back_red
  13097.  ** @param uint16_t          back_green
  13098.  ** @param uint16_t          back_blue
  13099.  ** @returns xcb_void_cookie_t
  13100.  **
  13101.  *****************************************************************************/
  13102.  
  13103. xcb_void_cookie_t
  13104. xcb_create_glyph_cursor (xcb_connection_t *c  /**< */,
  13105.                          xcb_cursor_t      cid  /**< */,
  13106.                          xcb_font_t        source_font  /**< */,
  13107.                          xcb_font_t        mask_font  /**< */,
  13108.                          uint16_t          source_char  /**< */,
  13109.                          uint16_t          mask_char  /**< */,
  13110.                          uint16_t          fore_red  /**< */,
  13111.                          uint16_t          fore_green  /**< */,
  13112.                          uint16_t          fore_blue  /**< */,
  13113.                          uint16_t          back_red  /**< */,
  13114.                          uint16_t          back_green  /**< */,
  13115.                          uint16_t          back_blue  /**< */);
  13116.  
  13117. /**
  13118.  * Delivers a request to the X server
  13119.  * @param c The connection
  13120.  * @return A cookie
  13121.  *
  13122.  * Delivers a request to the X server.
  13123.  * 
  13124.  * This form can be used only if the request will not cause
  13125.  * a reply to be generated. Any returned error will be
  13126.  * saved for handling by xcb_request_check().
  13127.  */
  13128.  
  13129. /*****************************************************************************
  13130.  **
  13131.  ** xcb_void_cookie_t xcb_free_cursor_checked
  13132.  ** 
  13133.  ** @param xcb_connection_t *c
  13134.  ** @param xcb_cursor_t      cursor
  13135.  ** @returns xcb_void_cookie_t
  13136.  **
  13137.  *****************************************************************************/
  13138.  
  13139. xcb_void_cookie_t
  13140. xcb_free_cursor_checked (xcb_connection_t *c  /**< */,
  13141.                          xcb_cursor_t      cursor  /**< */);
  13142.  
  13143. /**
  13144.  * Delivers a request to the X server
  13145.  * @param c The connection
  13146.  * @return A cookie
  13147.  *
  13148.  * Delivers a request to the X server.
  13149.  * 
  13150.  */
  13151.  
  13152. /*****************************************************************************
  13153.  **
  13154.  ** xcb_void_cookie_t xcb_free_cursor
  13155.  ** 
  13156.  ** @param xcb_connection_t *c
  13157.  ** @param xcb_cursor_t      cursor
  13158.  ** @returns xcb_void_cookie_t
  13159.  **
  13160.  *****************************************************************************/
  13161.  
  13162. xcb_void_cookie_t
  13163. xcb_free_cursor (xcb_connection_t *c  /**< */,
  13164.                  xcb_cursor_t      cursor  /**< */);
  13165.  
  13166. /**
  13167.  * Delivers a request to the X server
  13168.  * @param c The connection
  13169.  * @return A cookie
  13170.  *
  13171.  * Delivers a request to the X server.
  13172.  * 
  13173.  * This form can be used only if the request will not cause
  13174.  * a reply to be generated. Any returned error will be
  13175.  * saved for handling by xcb_request_check().
  13176.  */
  13177.  
  13178. /*****************************************************************************
  13179.  **
  13180.  ** xcb_void_cookie_t xcb_recolor_cursor_checked
  13181.  ** 
  13182.  ** @param xcb_connection_t *c
  13183.  ** @param xcb_cursor_t      cursor
  13184.  ** @param uint16_t          fore_red
  13185.  ** @param uint16_t          fore_green
  13186.  ** @param uint16_t          fore_blue
  13187.  ** @param uint16_t          back_red
  13188.  ** @param uint16_t          back_green
  13189.  ** @param uint16_t          back_blue
  13190.  ** @returns xcb_void_cookie_t
  13191.  **
  13192.  *****************************************************************************/
  13193.  
  13194. xcb_void_cookie_t
  13195. xcb_recolor_cursor_checked (xcb_connection_t *c  /**< */,
  13196.                             xcb_cursor_t      cursor  /**< */,
  13197.                             uint16_t          fore_red  /**< */,
  13198.                             uint16_t          fore_green  /**< */,
  13199.                             uint16_t          fore_blue  /**< */,
  13200.                             uint16_t          back_red  /**< */,
  13201.                             uint16_t          back_green  /**< */,
  13202.                             uint16_t          back_blue  /**< */);
  13203.  
  13204. /**
  13205.  * Delivers a request to the X server
  13206.  * @param c The connection
  13207.  * @return A cookie
  13208.  *
  13209.  * Delivers a request to the X server.
  13210.  * 
  13211.  */
  13212.  
  13213. /*****************************************************************************
  13214.  **
  13215.  ** xcb_void_cookie_t xcb_recolor_cursor
  13216.  ** 
  13217.  ** @param xcb_connection_t *c
  13218.  ** @param xcb_cursor_t      cursor
  13219.  ** @param uint16_t          fore_red
  13220.  ** @param uint16_t          fore_green
  13221.  ** @param uint16_t          fore_blue
  13222.  ** @param uint16_t          back_red
  13223.  ** @param uint16_t          back_green
  13224.  ** @param uint16_t          back_blue
  13225.  ** @returns xcb_void_cookie_t
  13226.  **
  13227.  *****************************************************************************/
  13228.  
  13229. xcb_void_cookie_t
  13230. xcb_recolor_cursor (xcb_connection_t *c  /**< */,
  13231.                     xcb_cursor_t      cursor  /**< */,
  13232.                     uint16_t          fore_red  /**< */,
  13233.                     uint16_t          fore_green  /**< */,
  13234.                     uint16_t          fore_blue  /**< */,
  13235.                     uint16_t          back_red  /**< */,
  13236.                     uint16_t          back_green  /**< */,
  13237.                     uint16_t          back_blue  /**< */);
  13238.  
  13239. /**
  13240.  * Delivers a request to the X server
  13241.  * @param c The connection
  13242.  * @return A cookie
  13243.  *
  13244.  * Delivers a request to the X server.
  13245.  * 
  13246.  */
  13247.  
  13248. /*****************************************************************************
  13249.  **
  13250.  ** xcb_query_best_size_cookie_t xcb_query_best_size
  13251.  ** 
  13252.  ** @param xcb_connection_t *c
  13253.  ** @param uint8_t           _class
  13254.  ** @param xcb_drawable_t    drawable
  13255.  ** @param uint16_t          width
  13256.  ** @param uint16_t          height
  13257.  ** @returns xcb_query_best_size_cookie_t
  13258.  **
  13259.  *****************************************************************************/
  13260.  
  13261. xcb_query_best_size_cookie_t
  13262. xcb_query_best_size (xcb_connection_t *c  /**< */,
  13263.                      uint8_t           _class  /**< */,
  13264.                      xcb_drawable_t    drawable  /**< */,
  13265.                      uint16_t          width  /**< */,
  13266.                      uint16_t          height  /**< */);
  13267.  
  13268. /**
  13269.  * Delivers a request to the X server
  13270.  * @param c The connection
  13271.  * @return A cookie
  13272.  *
  13273.  * Delivers a request to the X server.
  13274.  * 
  13275.  * This form can be used only if the request will cause
  13276.  * a reply to be generated. Any returned error will be
  13277.  * placed in the event queue.
  13278.  */
  13279.  
  13280. /*****************************************************************************
  13281.  **
  13282.  ** xcb_query_best_size_cookie_t xcb_query_best_size_unchecked
  13283.  ** 
  13284.  ** @param xcb_connection_t *c
  13285.  ** @param uint8_t           _class
  13286.  ** @param xcb_drawable_t    drawable
  13287.  ** @param uint16_t          width
  13288.  ** @param uint16_t          height
  13289.  ** @returns xcb_query_best_size_cookie_t
  13290.  **
  13291.  *****************************************************************************/
  13292.  
  13293. xcb_query_best_size_cookie_t
  13294. xcb_query_best_size_unchecked (xcb_connection_t *c  /**< */,
  13295.                                uint8_t           _class  /**< */,
  13296.                                xcb_drawable_t    drawable  /**< */,
  13297.                                uint16_t          width  /**< */,
  13298.                                uint16_t          height  /**< */);
  13299.  
  13300. /**
  13301.  * Return the reply
  13302.  * @param c      The connection
  13303.  * @param cookie The cookie
  13304.  * @param e      The xcb_generic_error_t supplied
  13305.  *
  13306.  * Returns the reply of the request asked by
  13307.  * 
  13308.  * The parameter @p e supplied to this function must be NULL if
  13309.  * xcb_query_best_size_unchecked(). is used.
  13310.  * Otherwise, it stores the error if any.
  13311.  */
  13312.  
  13313. /*****************************************************************************
  13314.  **
  13315.  ** xcb_query_best_size_reply_t * xcb_query_best_size_reply
  13316.  ** 
  13317.  ** @param xcb_connection_t              *c
  13318.  ** @param xcb_query_best_size_cookie_t   cookie
  13319.  ** @param xcb_generic_error_t          **e
  13320.  ** @returns xcb_query_best_size_reply_t *
  13321.  **
  13322.  *****************************************************************************/
  13323.  
  13324. xcb_query_best_size_reply_t *
  13325. xcb_query_best_size_reply (xcb_connection_t              *c  /**< */,
  13326.                            xcb_query_best_size_cookie_t   cookie  /**< */,
  13327.                            xcb_generic_error_t          **e  /**< */);
  13328.  
  13329. /**
  13330.  * Delivers a request to the X server
  13331.  * @param c The connection
  13332.  * @return A cookie
  13333.  *
  13334.  * Delivers a request to the X server.
  13335.  * 
  13336.  */
  13337.  
  13338. /*****************************************************************************
  13339.  **
  13340.  ** xcb_query_extension_cookie_t xcb_query_extension
  13341.  ** 
  13342.  ** @param xcb_connection_t *c
  13343.  ** @param uint16_t          name_len
  13344.  ** @param const char       *name
  13345.  ** @returns xcb_query_extension_cookie_t
  13346.  **
  13347.  *****************************************************************************/
  13348.  
  13349. xcb_query_extension_cookie_t
  13350. xcb_query_extension (xcb_connection_t *c  /**< */,
  13351.                      uint16_t          name_len  /**< */,
  13352.                      const char       *name  /**< */);
  13353.  
  13354. /**
  13355.  * Delivers a request to the X server
  13356.  * @param c The connection
  13357.  * @return A cookie
  13358.  *
  13359.  * Delivers a request to the X server.
  13360.  * 
  13361.  * This form can be used only if the request will cause
  13362.  * a reply to be generated. Any returned error will be
  13363.  * placed in the event queue.
  13364.  */
  13365.  
  13366. /*****************************************************************************
  13367.  **
  13368.  ** xcb_query_extension_cookie_t xcb_query_extension_unchecked
  13369.  ** 
  13370.  ** @param xcb_connection_t *c
  13371.  ** @param uint16_t          name_len
  13372.  ** @param const char       *name
  13373.  ** @returns xcb_query_extension_cookie_t
  13374.  **
  13375.  *****************************************************************************/
  13376.  
  13377. xcb_query_extension_cookie_t
  13378. xcb_query_extension_unchecked (xcb_connection_t *c  /**< */,
  13379.                                uint16_t          name_len  /**< */,
  13380.                                const char       *name  /**< */);
  13381.  
  13382. /**
  13383.  * Return the reply
  13384.  * @param c      The connection
  13385.  * @param cookie The cookie
  13386.  * @param e      The xcb_generic_error_t supplied
  13387.  *
  13388.  * Returns the reply of the request asked by
  13389.  * 
  13390.  * The parameter @p e supplied to this function must be NULL if
  13391.  * xcb_query_extension_unchecked(). is used.
  13392.  * Otherwise, it stores the error if any.
  13393.  */
  13394.  
  13395. /*****************************************************************************
  13396.  **
  13397.  ** xcb_query_extension_reply_t * xcb_query_extension_reply
  13398.  ** 
  13399.  ** @param xcb_connection_t              *c
  13400.  ** @param xcb_query_extension_cookie_t   cookie
  13401.  ** @param xcb_generic_error_t          **e
  13402.  ** @returns xcb_query_extension_reply_t *
  13403.  **
  13404.  *****************************************************************************/
  13405.  
  13406. xcb_query_extension_reply_t *
  13407. xcb_query_extension_reply (xcb_connection_t              *c  /**< */,
  13408.                            xcb_query_extension_cookie_t   cookie  /**< */,
  13409.                            xcb_generic_error_t          **e  /**< */);
  13410.  
  13411. /**
  13412.  * Delivers a request to the X server
  13413.  * @param c The connection
  13414.  * @return A cookie
  13415.  *
  13416.  * Delivers a request to the X server.
  13417.  * 
  13418.  */
  13419.  
  13420. /*****************************************************************************
  13421.  **
  13422.  ** xcb_list_extensions_cookie_t xcb_list_extensions
  13423.  ** 
  13424.  ** @param xcb_connection_t *c
  13425.  ** @returns xcb_list_extensions_cookie_t
  13426.  **
  13427.  *****************************************************************************/
  13428.  
  13429. xcb_list_extensions_cookie_t
  13430. xcb_list_extensions (xcb_connection_t *c  /**< */);
  13431.  
  13432. /**
  13433.  * Delivers a request to the X server
  13434.  * @param c The connection
  13435.  * @return A cookie
  13436.  *
  13437.  * Delivers a request to the X server.
  13438.  * 
  13439.  * This form can be used only if the request will cause
  13440.  * a reply to be generated. Any returned error will be
  13441.  * placed in the event queue.
  13442.  */
  13443.  
  13444. /*****************************************************************************
  13445.  **
  13446.  ** xcb_list_extensions_cookie_t xcb_list_extensions_unchecked
  13447.  ** 
  13448.  ** @param xcb_connection_t *c
  13449.  ** @returns xcb_list_extensions_cookie_t
  13450.  **
  13451.  *****************************************************************************/
  13452.  
  13453. xcb_list_extensions_cookie_t
  13454. xcb_list_extensions_unchecked (xcb_connection_t *c  /**< */);
  13455.  
  13456.  
  13457. /*****************************************************************************
  13458.  **
  13459.  ** int xcb_list_extensions_names_length
  13460.  ** 
  13461.  ** @param const xcb_list_extensions_reply_t *R
  13462.  ** @returns int
  13463.  **
  13464.  *****************************************************************************/
  13465.  
  13466. int
  13467. xcb_list_extensions_names_length (const xcb_list_extensions_reply_t *R  /**< */);
  13468.  
  13469.  
  13470. /*****************************************************************************
  13471.  **
  13472.  ** xcb_str_iterator_t xcb_list_extensions_names_iterator
  13473.  ** 
  13474.  ** @param const xcb_list_extensions_reply_t *R
  13475.  ** @returns xcb_str_iterator_t
  13476.  **
  13477.  *****************************************************************************/
  13478.  
  13479. xcb_str_iterator_t
  13480. xcb_list_extensions_names_iterator (const xcb_list_extensions_reply_t *R  /**< */);
  13481.  
  13482. /**
  13483.  * Return the reply
  13484.  * @param c      The connection
  13485.  * @param cookie The cookie
  13486.  * @param e      The xcb_generic_error_t supplied
  13487.  *
  13488.  * Returns the reply of the request asked by
  13489.  * 
  13490.  * The parameter @p e supplied to this function must be NULL if
  13491.  * xcb_list_extensions_unchecked(). is used.
  13492.  * Otherwise, it stores the error if any.
  13493.  */
  13494.  
  13495. /*****************************************************************************
  13496.  **
  13497.  ** xcb_list_extensions_reply_t * xcb_list_extensions_reply
  13498.  ** 
  13499.  ** @param xcb_connection_t              *c
  13500.  ** @param xcb_list_extensions_cookie_t   cookie
  13501.  ** @param xcb_generic_error_t          **e
  13502.  ** @returns xcb_list_extensions_reply_t *
  13503.  **
  13504.  *****************************************************************************/
  13505.  
  13506. xcb_list_extensions_reply_t *
  13507. xcb_list_extensions_reply (xcb_connection_t              *c  /**< */,
  13508.                            xcb_list_extensions_cookie_t   cookie  /**< */,
  13509.                            xcb_generic_error_t          **e  /**< */);
  13510.  
  13511. /**
  13512.  * Delivers a request to the X server
  13513.  * @param c The connection
  13514.  * @return A cookie
  13515.  *
  13516.  * Delivers a request to the X server.
  13517.  * 
  13518.  * This form can be used only if the request will not cause
  13519.  * a reply to be generated. Any returned error will be
  13520.  * saved for handling by xcb_request_check().
  13521.  */
  13522.  
  13523. /*****************************************************************************
  13524.  **
  13525.  ** xcb_void_cookie_t xcb_change_keyboard_mapping_checked
  13526.  ** 
  13527.  ** @param xcb_connection_t   *c
  13528.  ** @param uint8_t             keycode_count
  13529.  ** @param xcb_keycode_t       first_keycode
  13530.  ** @param uint8_t             keysyms_per_keycode
  13531.  ** @param const xcb_keysym_t *keysyms
  13532.  ** @returns xcb_void_cookie_t
  13533.  **
  13534.  *****************************************************************************/
  13535.  
  13536. xcb_void_cookie_t
  13537. xcb_change_keyboard_mapping_checked (xcb_connection_t   *c  /**< */,
  13538.                                      uint8_t             keycode_count  /**< */,
  13539.                                      xcb_keycode_t       first_keycode  /**< */,
  13540.                                      uint8_t             keysyms_per_keycode  /**< */,
  13541.                                      const xcb_keysym_t *keysyms  /**< */);
  13542.  
  13543. /**
  13544.  * Delivers a request to the X server
  13545.  * @param c The connection
  13546.  * @return A cookie
  13547.  *
  13548.  * Delivers a request to the X server.
  13549.  * 
  13550.  */
  13551.  
  13552. /*****************************************************************************
  13553.  **
  13554.  ** xcb_void_cookie_t xcb_change_keyboard_mapping
  13555.  ** 
  13556.  ** @param xcb_connection_t   *c
  13557.  ** @param uint8_t             keycode_count
  13558.  ** @param xcb_keycode_t       first_keycode
  13559.  ** @param uint8_t             keysyms_per_keycode
  13560.  ** @param const xcb_keysym_t *keysyms
  13561.  ** @returns xcb_void_cookie_t
  13562.  **
  13563.  *****************************************************************************/
  13564.  
  13565. xcb_void_cookie_t
  13566. xcb_change_keyboard_mapping (xcb_connection_t   *c  /**< */,
  13567.                              uint8_t             keycode_count  /**< */,
  13568.                              xcb_keycode_t       first_keycode  /**< */,
  13569.                              uint8_t             keysyms_per_keycode  /**< */,
  13570.                              const xcb_keysym_t *keysyms  /**< */);
  13571.  
  13572. /**
  13573.  * Delivers a request to the X server
  13574.  * @param c The connection
  13575.  * @return A cookie
  13576.  *
  13577.  * Delivers a request to the X server.
  13578.  * 
  13579.  */
  13580.  
  13581. /*****************************************************************************
  13582.  **
  13583.  ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping
  13584.  ** 
  13585.  ** @param xcb_connection_t *c
  13586.  ** @param xcb_keycode_t     first_keycode
  13587.  ** @param uint8_t           count
  13588.  ** @returns xcb_get_keyboard_mapping_cookie_t
  13589.  **
  13590.  *****************************************************************************/
  13591.  
  13592. xcb_get_keyboard_mapping_cookie_t
  13593. xcb_get_keyboard_mapping (xcb_connection_t *c  /**< */,
  13594.                           xcb_keycode_t     first_keycode  /**< */,
  13595.                           uint8_t           count  /**< */);
  13596.  
  13597. /**
  13598.  * Delivers a request to the X server
  13599.  * @param c The connection
  13600.  * @return A cookie
  13601.  *
  13602.  * Delivers a request to the X server.
  13603.  * 
  13604.  * This form can be used only if the request will cause
  13605.  * a reply to be generated. Any returned error will be
  13606.  * placed in the event queue.
  13607.  */
  13608.  
  13609. /*****************************************************************************
  13610.  **
  13611.  ** xcb_get_keyboard_mapping_cookie_t xcb_get_keyboard_mapping_unchecked
  13612.  ** 
  13613.  ** @param xcb_connection_t *c
  13614.  ** @param xcb_keycode_t     first_keycode
  13615.  ** @param uint8_t           count
  13616.  ** @returns xcb_get_keyboard_mapping_cookie_t
  13617.  **
  13618.  *****************************************************************************/
  13619.  
  13620. xcb_get_keyboard_mapping_cookie_t
  13621. xcb_get_keyboard_mapping_unchecked (xcb_connection_t *c  /**< */,
  13622.                                     xcb_keycode_t     first_keycode  /**< */,
  13623.                                     uint8_t           count  /**< */);
  13624.  
  13625.  
  13626. /*****************************************************************************
  13627.  **
  13628.  ** xcb_keysym_t * xcb_get_keyboard_mapping_keysyms
  13629.  ** 
  13630.  ** @param const xcb_get_keyboard_mapping_reply_t *R
  13631.  ** @returns xcb_keysym_t *
  13632.  **
  13633.  *****************************************************************************/
  13634.  
  13635. xcb_keysym_t *
  13636. xcb_get_keyboard_mapping_keysyms (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
  13637.  
  13638.  
  13639. /*****************************************************************************
  13640.  **
  13641.  ** int xcb_get_keyboard_mapping_keysyms_length
  13642.  ** 
  13643.  ** @param const xcb_get_keyboard_mapping_reply_t *R
  13644.  ** @returns int
  13645.  **
  13646.  *****************************************************************************/
  13647.  
  13648. int
  13649. xcb_get_keyboard_mapping_keysyms_length (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
  13650.  
  13651.  
  13652. /*****************************************************************************
  13653.  **
  13654.  ** xcb_keysym_iterator_t xcb_get_keyboard_mapping_keysyms_iterator
  13655.  ** 
  13656.  ** @param const xcb_get_keyboard_mapping_reply_t *R
  13657.  ** @returns xcb_keysym_iterator_t
  13658.  **
  13659.  *****************************************************************************/
  13660.  
  13661. xcb_keysym_iterator_t
  13662. xcb_get_keyboard_mapping_keysyms_iterator (const xcb_get_keyboard_mapping_reply_t *R  /**< */);
  13663.  
  13664. /**
  13665.  * Return the reply
  13666.  * @param c      The connection
  13667.  * @param cookie The cookie
  13668.  * @param e      The xcb_generic_error_t supplied
  13669.  *
  13670.  * Returns the reply of the request asked by
  13671.  * 
  13672.  * The parameter @p e supplied to this function must be NULL if
  13673.  * xcb_get_keyboard_mapping_unchecked(). is used.
  13674.  * Otherwise, it stores the error if any.
  13675.  */
  13676.  
  13677. /*****************************************************************************
  13678.  **
  13679.  ** xcb_get_keyboard_mapping_reply_t * xcb_get_keyboard_mapping_reply
  13680.  ** 
  13681.  ** @param xcb_connection_t                   *c
  13682.  ** @param xcb_get_keyboard_mapping_cookie_t   cookie
  13683.  ** @param xcb_generic_error_t               **e
  13684.  ** @returns xcb_get_keyboard_mapping_reply_t *
  13685.  **
  13686.  *****************************************************************************/
  13687.  
  13688. xcb_get_keyboard_mapping_reply_t *
  13689. xcb_get_keyboard_mapping_reply (xcb_connection_t                   *c  /**< */,
  13690.                                 xcb_get_keyboard_mapping_cookie_t   cookie  /**< */,
  13691.                                 xcb_generic_error_t               **e  /**< */);
  13692.  
  13693. /**
  13694.  * Delivers a request to the X server
  13695.  * @param c The connection
  13696.  * @return A cookie
  13697.  *
  13698.  * Delivers a request to the X server.
  13699.  * 
  13700.  * This form can be used only if the request will not cause
  13701.  * a reply to be generated. Any returned error will be
  13702.  * saved for handling by xcb_request_check().
  13703.  */
  13704.  
  13705. /*****************************************************************************
  13706.  **
  13707.  ** xcb_void_cookie_t xcb_change_keyboard_control_checked
  13708.  ** 
  13709.  ** @param xcb_connection_t *c
  13710.  ** @param uint32_t          value_mask
  13711.  ** @param const uint32_t   *value_list
  13712.  ** @returns xcb_void_cookie_t
  13713.  **
  13714.  *****************************************************************************/
  13715.  
  13716. xcb_void_cookie_t
  13717. xcb_change_keyboard_control_checked (xcb_connection_t *c  /**< */,
  13718.                                      uint32_t          value_mask  /**< */,
  13719.                                      const uint32_t   *value_list  /**< */);
  13720.  
  13721. /**
  13722.  * Delivers a request to the X server
  13723.  * @param c The connection
  13724.  * @return A cookie
  13725.  *
  13726.  * Delivers a request to the X server.
  13727.  * 
  13728.  */
  13729.  
  13730. /*****************************************************************************
  13731.  **
  13732.  ** xcb_void_cookie_t xcb_change_keyboard_control
  13733.  ** 
  13734.  ** @param xcb_connection_t *c
  13735.  ** @param uint32_t          value_mask
  13736.  ** @param const uint32_t   *value_list
  13737.  ** @returns xcb_void_cookie_t
  13738.  **
  13739.  *****************************************************************************/
  13740.  
  13741. xcb_void_cookie_t
  13742. xcb_change_keyboard_control (xcb_connection_t *c  /**< */,
  13743.                              uint32_t          value_mask  /**< */,
  13744.                              const uint32_t   *value_list  /**< */);
  13745.  
  13746. /**
  13747.  * Delivers a request to the X server
  13748.  * @param c The connection
  13749.  * @return A cookie
  13750.  *
  13751.  * Delivers a request to the X server.
  13752.  * 
  13753.  */
  13754.  
  13755. /*****************************************************************************
  13756.  **
  13757.  ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control
  13758.  ** 
  13759.  ** @param xcb_connection_t *c
  13760.  ** @returns xcb_get_keyboard_control_cookie_t
  13761.  **
  13762.  *****************************************************************************/
  13763.  
  13764. xcb_get_keyboard_control_cookie_t
  13765. xcb_get_keyboard_control (xcb_connection_t *c  /**< */);
  13766.  
  13767. /**
  13768.  * Delivers a request to the X server
  13769.  * @param c The connection
  13770.  * @return A cookie
  13771.  *
  13772.  * Delivers a request to the X server.
  13773.  * 
  13774.  * This form can be used only if the request will cause
  13775.  * a reply to be generated. Any returned error will be
  13776.  * placed in the event queue.
  13777.  */
  13778.  
  13779. /*****************************************************************************
  13780.  **
  13781.  ** xcb_get_keyboard_control_cookie_t xcb_get_keyboard_control_unchecked
  13782.  ** 
  13783.  ** @param xcb_connection_t *c
  13784.  ** @returns xcb_get_keyboard_control_cookie_t
  13785.  **
  13786.  *****************************************************************************/
  13787.  
  13788. xcb_get_keyboard_control_cookie_t
  13789. xcb_get_keyboard_control_unchecked (xcb_connection_t *c  /**< */);
  13790.  
  13791. /**
  13792.  * Return the reply
  13793.  * @param c      The connection
  13794.  * @param cookie The cookie
  13795.  * @param e      The xcb_generic_error_t supplied
  13796.  *
  13797.  * Returns the reply of the request asked by
  13798.  * 
  13799.  * The parameter @p e supplied to this function must be NULL if
  13800.  * xcb_get_keyboard_control_unchecked(). is used.
  13801.  * Otherwise, it stores the error if any.
  13802.  */
  13803.  
  13804. /*****************************************************************************
  13805.  **
  13806.  ** xcb_get_keyboard_control_reply_t * xcb_get_keyboard_control_reply
  13807.  ** 
  13808.  ** @param xcb_connection_t                   *c
  13809.  ** @param xcb_get_keyboard_control_cookie_t   cookie
  13810.  ** @param xcb_generic_error_t               **e
  13811.  ** @returns xcb_get_keyboard_control_reply_t *
  13812.  **
  13813.  *****************************************************************************/
  13814.  
  13815. xcb_get_keyboard_control_reply_t *
  13816. xcb_get_keyboard_control_reply (xcb_connection_t                   *c  /**< */,
  13817.                                 xcb_get_keyboard_control_cookie_t   cookie  /**< */,
  13818.                                 xcb_generic_error_t               **e  /**< */);
  13819.  
  13820. /**
  13821.  * Delivers a request to the X server
  13822.  * @param c The connection
  13823.  * @return A cookie
  13824.  *
  13825.  * Delivers a request to the X server.
  13826.  * 
  13827.  * This form can be used only if the request will not cause
  13828.  * a reply to be generated. Any returned error will be
  13829.  * saved for handling by xcb_request_check().
  13830.  */
  13831.  
  13832. /*****************************************************************************
  13833.  **
  13834.  ** xcb_void_cookie_t xcb_bell_checked
  13835.  ** 
  13836.  ** @param xcb_connection_t *c
  13837.  ** @param int8_t            percent
  13838.  ** @returns xcb_void_cookie_t
  13839.  **
  13840.  *****************************************************************************/
  13841.  
  13842. xcb_void_cookie_t
  13843. xcb_bell_checked (xcb_connection_t *c  /**< */,
  13844.                   int8_t            percent  /**< */);
  13845.  
  13846. /**
  13847.  * Delivers a request to the X server
  13848.  * @param c The connection
  13849.  * @return A cookie
  13850.  *
  13851.  * Delivers a request to the X server.
  13852.  * 
  13853.  */
  13854.  
  13855. /*****************************************************************************
  13856.  **
  13857.  ** xcb_void_cookie_t xcb_bell
  13858.  ** 
  13859.  ** @param xcb_connection_t *c
  13860.  ** @param int8_t            percent
  13861.  ** @returns xcb_void_cookie_t
  13862.  **
  13863.  *****************************************************************************/
  13864.  
  13865. xcb_void_cookie_t
  13866. xcb_bell (xcb_connection_t *c  /**< */,
  13867.           int8_t            percent  /**< */);
  13868.  
  13869. /**
  13870.  * Delivers a request to the X server
  13871.  * @param c The connection
  13872.  * @return A cookie
  13873.  *
  13874.  * Delivers a request to the X server.
  13875.  * 
  13876.  * This form can be used only if the request will not cause
  13877.  * a reply to be generated. Any returned error will be
  13878.  * saved for handling by xcb_request_check().
  13879.  */
  13880.  
  13881. /*****************************************************************************
  13882.  **
  13883.  ** xcb_void_cookie_t xcb_change_pointer_control_checked
  13884.  ** 
  13885.  ** @param xcb_connection_t *c
  13886.  ** @param int16_t           acceleration_numerator
  13887.  ** @param int16_t           acceleration_denominator
  13888.  ** @param int16_t           threshold
  13889.  ** @param uint8_t           do_acceleration
  13890.  ** @param uint8_t           do_threshold
  13891.  ** @returns xcb_void_cookie_t
  13892.  **
  13893.  *****************************************************************************/
  13894.  
  13895. xcb_void_cookie_t
  13896. xcb_change_pointer_control_checked (xcb_connection_t *c  /**< */,
  13897.                                     int16_t           acceleration_numerator  /**< */,
  13898.                                     int16_t           acceleration_denominator  /**< */,
  13899.                                     int16_t           threshold  /**< */,
  13900.                                     uint8_t           do_acceleration  /**< */,
  13901.                                     uint8_t           do_threshold  /**< */);
  13902.  
  13903. /**
  13904.  * Delivers a request to the X server
  13905.  * @param c The connection
  13906.  * @return A cookie
  13907.  *
  13908.  * Delivers a request to the X server.
  13909.  * 
  13910.  */
  13911.  
  13912. /*****************************************************************************
  13913.  **
  13914.  ** xcb_void_cookie_t xcb_change_pointer_control
  13915.  ** 
  13916.  ** @param xcb_connection_t *c
  13917.  ** @param int16_t           acceleration_numerator
  13918.  ** @param int16_t           acceleration_denominator
  13919.  ** @param int16_t           threshold
  13920.  ** @param uint8_t           do_acceleration
  13921.  ** @param uint8_t           do_threshold
  13922.  ** @returns xcb_void_cookie_t
  13923.  **
  13924.  *****************************************************************************/
  13925.  
  13926. xcb_void_cookie_t
  13927. xcb_change_pointer_control (xcb_connection_t *c  /**< */,
  13928.                             int16_t           acceleration_numerator  /**< */,
  13929.                             int16_t           acceleration_denominator  /**< */,
  13930.                             int16_t           threshold  /**< */,
  13931.                             uint8_t           do_acceleration  /**< */,
  13932.                             uint8_t           do_threshold  /**< */);
  13933.  
  13934. /**
  13935.  * Delivers a request to the X server
  13936.  * @param c The connection
  13937.  * @return A cookie
  13938.  *
  13939.  * Delivers a request to the X server.
  13940.  * 
  13941.  */
  13942.  
  13943. /*****************************************************************************
  13944.  **
  13945.  ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control
  13946.  ** 
  13947.  ** @param xcb_connection_t *c
  13948.  ** @returns xcb_get_pointer_control_cookie_t
  13949.  **
  13950.  *****************************************************************************/
  13951.  
  13952. xcb_get_pointer_control_cookie_t
  13953. xcb_get_pointer_control (xcb_connection_t *c  /**< */);
  13954.  
  13955. /**
  13956.  * Delivers a request to the X server
  13957.  * @param c The connection
  13958.  * @return A cookie
  13959.  *
  13960.  * Delivers a request to the X server.
  13961.  * 
  13962.  * This form can be used only if the request will cause
  13963.  * a reply to be generated. Any returned error will be
  13964.  * placed in the event queue.
  13965.  */
  13966.  
  13967. /*****************************************************************************
  13968.  **
  13969.  ** xcb_get_pointer_control_cookie_t xcb_get_pointer_control_unchecked
  13970.  ** 
  13971.  ** @param xcb_connection_t *c
  13972.  ** @returns xcb_get_pointer_control_cookie_t
  13973.  **
  13974.  *****************************************************************************/
  13975.  
  13976. xcb_get_pointer_control_cookie_t
  13977. xcb_get_pointer_control_unchecked (xcb_connection_t *c  /**< */);
  13978.  
  13979. /**
  13980.  * Return the reply
  13981.  * @param c      The connection
  13982.  * @param cookie The cookie
  13983.  * @param e      The xcb_generic_error_t supplied
  13984.  *
  13985.  * Returns the reply of the request asked by
  13986.  * 
  13987.  * The parameter @p e supplied to this function must be NULL if
  13988.  * xcb_get_pointer_control_unchecked(). is used.
  13989.  * Otherwise, it stores the error if any.
  13990.  */
  13991.  
  13992. /*****************************************************************************
  13993.  **
  13994.  ** xcb_get_pointer_control_reply_t * xcb_get_pointer_control_reply
  13995.  ** 
  13996.  ** @param xcb_connection_t                  *c
  13997.  ** @param xcb_get_pointer_control_cookie_t   cookie
  13998.  ** @param xcb_generic_error_t              **e
  13999.  ** @returns xcb_get_pointer_control_reply_t *
  14000.  **
  14001.  *****************************************************************************/
  14002.  
  14003. xcb_get_pointer_control_reply_t *
  14004. xcb_get_pointer_control_reply (xcb_connection_t                  *c  /**< */,
  14005.                                xcb_get_pointer_control_cookie_t   cookie  /**< */,
  14006.                                xcb_generic_error_t              **e  /**< */);
  14007.  
  14008. /**
  14009.  * Delivers a request to the X server
  14010.  * @param c The connection
  14011.  * @return A cookie
  14012.  *
  14013.  * Delivers a request to the X server.
  14014.  * 
  14015.  * This form can be used only if the request will not cause
  14016.  * a reply to be generated. Any returned error will be
  14017.  * saved for handling by xcb_request_check().
  14018.  */
  14019.  
  14020. /*****************************************************************************
  14021.  **
  14022.  ** xcb_void_cookie_t xcb_set_screen_saver_checked
  14023.  ** 
  14024.  ** @param xcb_connection_t *c
  14025.  ** @param int16_t           timeout
  14026.  ** @param int16_t           interval
  14027.  ** @param uint8_t           prefer_blanking
  14028.  ** @param uint8_t           allow_exposures
  14029.  ** @returns xcb_void_cookie_t
  14030.  **
  14031.  *****************************************************************************/
  14032.  
  14033. xcb_void_cookie_t
  14034. xcb_set_screen_saver_checked (xcb_connection_t *c  /**< */,
  14035.                               int16_t           timeout  /**< */,
  14036.                               int16_t           interval  /**< */,
  14037.                               uint8_t           prefer_blanking  /**< */,
  14038.                               uint8_t           allow_exposures  /**< */);
  14039.  
  14040. /**
  14041.  * Delivers a request to the X server
  14042.  * @param c The connection
  14043.  * @return A cookie
  14044.  *
  14045.  * Delivers a request to the X server.
  14046.  * 
  14047.  */
  14048.  
  14049. /*****************************************************************************
  14050.  **
  14051.  ** xcb_void_cookie_t xcb_set_screen_saver
  14052.  ** 
  14053.  ** @param xcb_connection_t *c
  14054.  ** @param int16_t           timeout
  14055.  ** @param int16_t           interval
  14056.  ** @param uint8_t           prefer_blanking
  14057.  ** @param uint8_t           allow_exposures
  14058.  ** @returns xcb_void_cookie_t
  14059.  **
  14060.  *****************************************************************************/
  14061.  
  14062. xcb_void_cookie_t
  14063. xcb_set_screen_saver (xcb_connection_t *c  /**< */,
  14064.                       int16_t           timeout  /**< */,
  14065.                       int16_t           interval  /**< */,
  14066.                       uint8_t           prefer_blanking  /**< */,
  14067.                       uint8_t           allow_exposures  /**< */);
  14068.  
  14069. /**
  14070.  * Delivers a request to the X server
  14071.  * @param c The connection
  14072.  * @return A cookie
  14073.  *
  14074.  * Delivers a request to the X server.
  14075.  * 
  14076.  */
  14077.  
  14078. /*****************************************************************************
  14079.  **
  14080.  ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver
  14081.  ** 
  14082.  ** @param xcb_connection_t *c
  14083.  ** @returns xcb_get_screen_saver_cookie_t
  14084.  **
  14085.  *****************************************************************************/
  14086.  
  14087. xcb_get_screen_saver_cookie_t
  14088. xcb_get_screen_saver (xcb_connection_t *c  /**< */);
  14089.  
  14090. /**
  14091.  * Delivers a request to the X server
  14092.  * @param c The connection
  14093.  * @return A cookie
  14094.  *
  14095.  * Delivers a request to the X server.
  14096.  * 
  14097.  * This form can be used only if the request will cause
  14098.  * a reply to be generated. Any returned error will be
  14099.  * placed in the event queue.
  14100.  */
  14101.  
  14102. /*****************************************************************************
  14103.  **
  14104.  ** xcb_get_screen_saver_cookie_t xcb_get_screen_saver_unchecked
  14105.  ** 
  14106.  ** @param xcb_connection_t *c
  14107.  ** @returns xcb_get_screen_saver_cookie_t
  14108.  **
  14109.  *****************************************************************************/
  14110.  
  14111. xcb_get_screen_saver_cookie_t
  14112. xcb_get_screen_saver_unchecked (xcb_connection_t *c  /**< */);
  14113.  
  14114. /**
  14115.  * Return the reply
  14116.  * @param c      The connection
  14117.  * @param cookie The cookie
  14118.  * @param e      The xcb_generic_error_t supplied
  14119.  *
  14120.  * Returns the reply of the request asked by
  14121.  * 
  14122.  * The parameter @p e supplied to this function must be NULL if
  14123.  * xcb_get_screen_saver_unchecked(). is used.
  14124.  * Otherwise, it stores the error if any.
  14125.  */
  14126.  
  14127. /*****************************************************************************
  14128.  **
  14129.  ** xcb_get_screen_saver_reply_t * xcb_get_screen_saver_reply
  14130.  ** 
  14131.  ** @param xcb_connection_t               *c
  14132.  ** @param xcb_get_screen_saver_cookie_t   cookie
  14133.  ** @param xcb_generic_error_t           **e
  14134.  ** @returns xcb_get_screen_saver_reply_t *
  14135.  **
  14136.  *****************************************************************************/
  14137.  
  14138. xcb_get_screen_saver_reply_t *
  14139. xcb_get_screen_saver_reply (xcb_connection_t               *c  /**< */,
  14140.                             xcb_get_screen_saver_cookie_t   cookie  /**< */,
  14141.                             xcb_generic_error_t           **e  /**< */);
  14142.  
  14143. /**
  14144.  * Delivers a request to the X server
  14145.  * @param c The connection
  14146.  * @return A cookie
  14147.  *
  14148.  * Delivers a request to the X server.
  14149.  * 
  14150.  * This form can be used only if the request will not cause
  14151.  * a reply to be generated. Any returned error will be
  14152.  * saved for handling by xcb_request_check().
  14153.  */
  14154.  
  14155. /*****************************************************************************
  14156.  **
  14157.  ** xcb_void_cookie_t xcb_change_hosts_checked
  14158.  ** 
  14159.  ** @param xcb_connection_t *c
  14160.  ** @param uint8_t           mode
  14161.  ** @param uint8_t           family
  14162.  ** @param uint16_t          address_len
  14163.  ** @param const char       *address
  14164.  ** @returns xcb_void_cookie_t
  14165.  **
  14166.  *****************************************************************************/
  14167.  
  14168. xcb_void_cookie_t
  14169. xcb_change_hosts_checked (xcb_connection_t *c  /**< */,
  14170.                           uint8_t           mode  /**< */,
  14171.                           uint8_t           family  /**< */,
  14172.                           uint16_t          address_len  /**< */,
  14173.                           const char       *address  /**< */);
  14174.  
  14175. /**
  14176.  * Delivers a request to the X server
  14177.  * @param c The connection
  14178.  * @return A cookie
  14179.  *
  14180.  * Delivers a request to the X server.
  14181.  * 
  14182.  */
  14183.  
  14184. /*****************************************************************************
  14185.  **
  14186.  ** xcb_void_cookie_t xcb_change_hosts
  14187.  ** 
  14188.  ** @param xcb_connection_t *c
  14189.  ** @param uint8_t           mode
  14190.  ** @param uint8_t           family
  14191.  ** @param uint16_t          address_len
  14192.  ** @param const char       *address
  14193.  ** @returns xcb_void_cookie_t
  14194.  **
  14195.  *****************************************************************************/
  14196.  
  14197. xcb_void_cookie_t
  14198. xcb_change_hosts (xcb_connection_t *c  /**< */,
  14199.                   uint8_t           mode  /**< */,
  14200.                   uint8_t           family  /**< */,
  14201.                   uint16_t          address_len  /**< */,
  14202.                   const char       *address  /**< */);
  14203.  
  14204.  
  14205. /*****************************************************************************
  14206.  **
  14207.  ** uint8_t * xcb_host_address
  14208.  ** 
  14209.  ** @param const xcb_host_t *R
  14210.  ** @returns uint8_t *
  14211.  **
  14212.  *****************************************************************************/
  14213.  
  14214. uint8_t *
  14215. xcb_host_address (const xcb_host_t *R  /**< */);
  14216.  
  14217.  
  14218. /*****************************************************************************
  14219.  **
  14220.  ** int xcb_host_address_length
  14221.  ** 
  14222.  ** @param const xcb_host_t *R
  14223.  ** @returns int
  14224.  **
  14225.  *****************************************************************************/
  14226.  
  14227. int
  14228. xcb_host_address_length (const xcb_host_t *R  /**< */);
  14229.  
  14230.  
  14231. /*****************************************************************************
  14232.  **
  14233.  ** xcb_generic_iterator_t xcb_host_address_end
  14234.  ** 
  14235.  ** @param const xcb_host_t *R
  14236.  ** @returns xcb_generic_iterator_t
  14237.  **
  14238.  *****************************************************************************/
  14239.  
  14240. xcb_generic_iterator_t
  14241. xcb_host_address_end (const xcb_host_t *R  /**< */);
  14242.  
  14243. /**
  14244.  * Get the next element of the iterator
  14245.  * @param i Pointer to a xcb_host_iterator_t
  14246.  *
  14247.  * Get the next element in the iterator. The member rem is
  14248.  * decreased by one. The member data points to the next
  14249.  * element. The member index is increased by sizeof(xcb_host_t)
  14250.  */
  14251.  
  14252. /*****************************************************************************
  14253.  **
  14254.  ** void xcb_host_next
  14255.  ** 
  14256.  ** @param xcb_host_iterator_t *i
  14257.  ** @returns void
  14258.  **
  14259.  *****************************************************************************/
  14260.  
  14261. void
  14262. xcb_host_next (xcb_host_iterator_t *i  /**< */);
  14263.  
  14264. /**
  14265.  * Return the iterator pointing to the last element
  14266.  * @param i An xcb_host_iterator_t
  14267.  * @return  The iterator pointing to the last element
  14268.  *
  14269.  * Set the current element in the iterator to the last element.
  14270.  * The member rem is set to 0. The member data points to the
  14271.  * last element.
  14272.  */
  14273.  
  14274. /*****************************************************************************
  14275.  **
  14276.  ** xcb_generic_iterator_t xcb_host_end
  14277.  ** 
  14278.  ** @param xcb_host_iterator_t i
  14279.  ** @returns xcb_generic_iterator_t
  14280.  **
  14281.  *****************************************************************************/
  14282.  
  14283. xcb_generic_iterator_t
  14284. xcb_host_end (xcb_host_iterator_t i  /**< */);
  14285.  
  14286. /**
  14287.  * Delivers a request to the X server
  14288.  * @param c The connection
  14289.  * @return A cookie
  14290.  *
  14291.  * Delivers a request to the X server.
  14292.  * 
  14293.  */
  14294.  
  14295. /*****************************************************************************
  14296.  **
  14297.  ** xcb_list_hosts_cookie_t xcb_list_hosts
  14298.  ** 
  14299.  ** @param xcb_connection_t *c
  14300.  ** @returns xcb_list_hosts_cookie_t
  14301.  **
  14302.  *****************************************************************************/
  14303.  
  14304. xcb_list_hosts_cookie_t
  14305. xcb_list_hosts (xcb_connection_t *c  /**< */);
  14306.  
  14307. /**
  14308.  * Delivers a request to the X server
  14309.  * @param c The connection
  14310.  * @return A cookie
  14311.  *
  14312.  * Delivers a request to the X server.
  14313.  * 
  14314.  * This form can be used only if the request will cause
  14315.  * a reply to be generated. Any returned error will be
  14316.  * placed in the event queue.
  14317.  */
  14318.  
  14319. /*****************************************************************************
  14320.  **
  14321.  ** xcb_list_hosts_cookie_t xcb_list_hosts_unchecked
  14322.  ** 
  14323.  ** @param xcb_connection_t *c
  14324.  ** @returns xcb_list_hosts_cookie_t
  14325.  **
  14326.  *****************************************************************************/
  14327.  
  14328. xcb_list_hosts_cookie_t
  14329. xcb_list_hosts_unchecked (xcb_connection_t *c  /**< */);
  14330.  
  14331.  
  14332. /*****************************************************************************
  14333.  **
  14334.  ** int xcb_list_hosts_hosts_length
  14335.  ** 
  14336.  ** @param const xcb_list_hosts_reply_t *R
  14337.  ** @returns int
  14338.  **
  14339.  *****************************************************************************/
  14340.  
  14341. int
  14342. xcb_list_hosts_hosts_length (const xcb_list_hosts_reply_t *R  /**< */);
  14343.  
  14344.  
  14345. /*****************************************************************************
  14346.  **
  14347.  ** xcb_host_iterator_t xcb_list_hosts_hosts_iterator
  14348.  ** 
  14349.  ** @param const xcb_list_hosts_reply_t *R
  14350.  ** @returns xcb_host_iterator_t
  14351.  **
  14352.  *****************************************************************************/
  14353.  
  14354. xcb_host_iterator_t
  14355. xcb_list_hosts_hosts_iterator (const xcb_list_hosts_reply_t *R  /**< */);
  14356.  
  14357. /**
  14358.  * Return the reply
  14359.  * @param c      The connection
  14360.  * @param cookie The cookie
  14361.  * @param e      The xcb_generic_error_t supplied
  14362.  *
  14363.  * Returns the reply of the request asked by
  14364.  * 
  14365.  * The parameter @p e supplied to this function must be NULL if
  14366.  * xcb_list_hosts_unchecked(). is used.
  14367.  * Otherwise, it stores the error if any.
  14368.  */
  14369.  
  14370. /*****************************************************************************
  14371.  **
  14372.  ** xcb_list_hosts_reply_t * xcb_list_hosts_reply
  14373.  ** 
  14374.  ** @param xcb_connection_t         *c
  14375.  ** @param xcb_list_hosts_cookie_t   cookie
  14376.  ** @param xcb_generic_error_t     **e
  14377.  ** @returns xcb_list_hosts_reply_t *
  14378.  **
  14379.  *****************************************************************************/
  14380.  
  14381. xcb_list_hosts_reply_t *
  14382. xcb_list_hosts_reply (xcb_connection_t         *c  /**< */,
  14383.                       xcb_list_hosts_cookie_t   cookie  /**< */,
  14384.                       xcb_generic_error_t     **e  /**< */);
  14385.  
  14386. /**
  14387.  * Delivers a request to the X server
  14388.  * @param c The connection
  14389.  * @return A cookie
  14390.  *
  14391.  * Delivers a request to the X server.
  14392.  * 
  14393.  * This form can be used only if the request will not cause
  14394.  * a reply to be generated. Any returned error will be
  14395.  * saved for handling by xcb_request_check().
  14396.  */
  14397.  
  14398. /*****************************************************************************
  14399.  **
  14400.  ** xcb_void_cookie_t xcb_set_access_control_checked
  14401.  ** 
  14402.  ** @param xcb_connection_t *c
  14403.  ** @param uint8_t           mode
  14404.  ** @returns xcb_void_cookie_t
  14405.  **
  14406.  *****************************************************************************/
  14407.  
  14408. xcb_void_cookie_t
  14409. xcb_set_access_control_checked (xcb_connection_t *c  /**< */,
  14410.                                 uint8_t           mode  /**< */);
  14411.  
  14412. /**
  14413.  * Delivers a request to the X server
  14414.  * @param c The connection
  14415.  * @return A cookie
  14416.  *
  14417.  * Delivers a request to the X server.
  14418.  * 
  14419.  */
  14420.  
  14421. /*****************************************************************************
  14422.  **
  14423.  ** xcb_void_cookie_t xcb_set_access_control
  14424.  ** 
  14425.  ** @param xcb_connection_t *c
  14426.  ** @param uint8_t           mode
  14427.  ** @returns xcb_void_cookie_t
  14428.  **
  14429.  *****************************************************************************/
  14430.  
  14431. xcb_void_cookie_t
  14432. xcb_set_access_control (xcb_connection_t *c  /**< */,
  14433.                         uint8_t           mode  /**< */);
  14434.  
  14435. /**
  14436.  * Delivers a request to the X server
  14437.  * @param c The connection
  14438.  * @return A cookie
  14439.  *
  14440.  * Delivers a request to the X server.
  14441.  * 
  14442.  * This form can be used only if the request will not cause
  14443.  * a reply to be generated. Any returned error will be
  14444.  * saved for handling by xcb_request_check().
  14445.  */
  14446.  
  14447. /*****************************************************************************
  14448.  **
  14449.  ** xcb_void_cookie_t xcb_set_close_down_mode_checked
  14450.  ** 
  14451.  ** @param xcb_connection_t *c
  14452.  ** @param uint8_t           mode
  14453.  ** @returns xcb_void_cookie_t
  14454.  **
  14455.  *****************************************************************************/
  14456.  
  14457. xcb_void_cookie_t
  14458. xcb_set_close_down_mode_checked (xcb_connection_t *c  /**< */,
  14459.                                  uint8_t           mode  /**< */);
  14460.  
  14461. /**
  14462.  * Delivers a request to the X server
  14463.  * @param c The connection
  14464.  * @return A cookie
  14465.  *
  14466.  * Delivers a request to the X server.
  14467.  * 
  14468.  */
  14469.  
  14470. /*****************************************************************************
  14471.  **
  14472.  ** xcb_void_cookie_t xcb_set_close_down_mode
  14473.  ** 
  14474.  ** @param xcb_connection_t *c
  14475.  ** @param uint8_t           mode
  14476.  ** @returns xcb_void_cookie_t
  14477.  **
  14478.  *****************************************************************************/
  14479.  
  14480. xcb_void_cookie_t
  14481. xcb_set_close_down_mode (xcb_connection_t *c  /**< */,
  14482.                          uint8_t           mode  /**< */);
  14483.  
  14484. /**
  14485.  * Delivers a request to the X server
  14486.  * @param c The connection
  14487.  * @return A cookie
  14488.  *
  14489.  * Delivers a request to the X server.
  14490.  * 
  14491.  * This form can be used only if the request will not cause
  14492.  * a reply to be generated. Any returned error will be
  14493.  * saved for handling by xcb_request_check().
  14494.  */
  14495.  
  14496. /*****************************************************************************
  14497.  **
  14498.  ** xcb_void_cookie_t xcb_kill_client_checked
  14499.  ** 
  14500.  ** @param xcb_connection_t *c
  14501.  ** @param uint32_t          resource
  14502.  ** @returns xcb_void_cookie_t
  14503.  **
  14504.  *****************************************************************************/
  14505.  
  14506. xcb_void_cookie_t
  14507. xcb_kill_client_checked (xcb_connection_t *c  /**< */,
  14508.                          uint32_t          resource  /**< */);
  14509.  
  14510. /**
  14511.  * Delivers a request to the X server
  14512.  * @param c The connection
  14513.  * @return A cookie
  14514.  *
  14515.  * Delivers a request to the X server.
  14516.  * 
  14517.  */
  14518.  
  14519. /*****************************************************************************
  14520.  **
  14521.  ** xcb_void_cookie_t xcb_kill_client
  14522.  ** 
  14523.  ** @param xcb_connection_t *c
  14524.  ** @param uint32_t          resource
  14525.  ** @returns xcb_void_cookie_t
  14526.  **
  14527.  *****************************************************************************/
  14528.  
  14529. xcb_void_cookie_t
  14530. xcb_kill_client (xcb_connection_t *c  /**< */,
  14531.                  uint32_t          resource  /**< */);
  14532.  
  14533. /**
  14534.  * Delivers a request to the X server
  14535.  * @param c The connection
  14536.  * @return A cookie
  14537.  *
  14538.  * Delivers a request to the X server.
  14539.  * 
  14540.  * This form can be used only if the request will not cause
  14541.  * a reply to be generated. Any returned error will be
  14542.  * saved for handling by xcb_request_check().
  14543.  */
  14544.  
  14545. /*****************************************************************************
  14546.  **
  14547.  ** xcb_void_cookie_t xcb_rotate_properties_checked
  14548.  ** 
  14549.  ** @param xcb_connection_t *c
  14550.  ** @param xcb_window_t      window
  14551.  ** @param uint16_t          atoms_len
  14552.  ** @param int16_t           delta
  14553.  ** @param const xcb_atom_t *atoms
  14554.  ** @returns xcb_void_cookie_t
  14555.  **
  14556.  *****************************************************************************/
  14557.  
  14558. xcb_void_cookie_t
  14559. xcb_rotate_properties_checked (xcb_connection_t *c  /**< */,
  14560.                                xcb_window_t      window  /**< */,
  14561.                                uint16_t          atoms_len  /**< */,
  14562.                                int16_t           delta  /**< */,
  14563.                                const xcb_atom_t *atoms  /**< */);
  14564.  
  14565. /**
  14566.  * Delivers a request to the X server
  14567.  * @param c The connection
  14568.  * @return A cookie
  14569.  *
  14570.  * Delivers a request to the X server.
  14571.  * 
  14572.  */
  14573.  
  14574. /*****************************************************************************
  14575.  **
  14576.  ** xcb_void_cookie_t xcb_rotate_properties
  14577.  ** 
  14578.  ** @param xcb_connection_t *c
  14579.  ** @param xcb_window_t      window
  14580.  ** @param uint16_t          atoms_len
  14581.  ** @param int16_t           delta
  14582.  ** @param const xcb_atom_t *atoms
  14583.  ** @returns xcb_void_cookie_t
  14584.  **
  14585.  *****************************************************************************/
  14586.  
  14587. xcb_void_cookie_t
  14588. xcb_rotate_properties (xcb_connection_t *c  /**< */,
  14589.                        xcb_window_t      window  /**< */,
  14590.                        uint16_t          atoms_len  /**< */,
  14591.                        int16_t           delta  /**< */,
  14592.                        const xcb_atom_t *atoms  /**< */);
  14593.  
  14594. /**
  14595.  * Delivers a request to the X server
  14596.  * @param c The connection
  14597.  * @return A cookie
  14598.  *
  14599.  * Delivers a request to the X server.
  14600.  * 
  14601.  * This form can be used only if the request will not cause
  14602.  * a reply to be generated. Any returned error will be
  14603.  * saved for handling by xcb_request_check().
  14604.  */
  14605.  
  14606. /*****************************************************************************
  14607.  **
  14608.  ** xcb_void_cookie_t xcb_force_screen_saver_checked
  14609.  ** 
  14610.  ** @param xcb_connection_t *c
  14611.  ** @param uint8_t           mode
  14612.  ** @returns xcb_void_cookie_t
  14613.  **
  14614.  *****************************************************************************/
  14615.  
  14616. xcb_void_cookie_t
  14617. xcb_force_screen_saver_checked (xcb_connection_t *c  /**< */,
  14618.                                 uint8_t           mode  /**< */);
  14619.  
  14620. /**
  14621.  * Delivers a request to the X server
  14622.  * @param c The connection
  14623.  * @return A cookie
  14624.  *
  14625.  * Delivers a request to the X server.
  14626.  * 
  14627.  */
  14628.  
  14629. /*****************************************************************************
  14630.  **
  14631.  ** xcb_void_cookie_t xcb_force_screen_saver
  14632.  ** 
  14633.  ** @param xcb_connection_t *c
  14634.  ** @param uint8_t           mode
  14635.  ** @returns xcb_void_cookie_t
  14636.  **
  14637.  *****************************************************************************/
  14638.  
  14639. xcb_void_cookie_t
  14640. xcb_force_screen_saver (xcb_connection_t *c  /**< */,
  14641.                         uint8_t           mode  /**< */);
  14642.  
  14643. /**
  14644.  * Delivers a request to the X server
  14645.  * @param c The connection
  14646.  * @return A cookie
  14647.  *
  14648.  * Delivers a request to the X server.
  14649.  * 
  14650.  */
  14651.  
  14652. /*****************************************************************************
  14653.  **
  14654.  ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping
  14655.  ** 
  14656.  ** @param xcb_connection_t *c
  14657.  ** @param uint8_t           map_len
  14658.  ** @param const uint8_t    *map
  14659.  ** @returns xcb_set_pointer_mapping_cookie_t
  14660.  **
  14661.  *****************************************************************************/
  14662.  
  14663. xcb_set_pointer_mapping_cookie_t
  14664. xcb_set_pointer_mapping (xcb_connection_t *c  /**< */,
  14665.                          uint8_t           map_len  /**< */,
  14666.                          const uint8_t    *map  /**< */);
  14667.  
  14668. /**
  14669.  * Delivers a request to the X server
  14670.  * @param c The connection
  14671.  * @return A cookie
  14672.  *
  14673.  * Delivers a request to the X server.
  14674.  * 
  14675.  * This form can be used only if the request will cause
  14676.  * a reply to be generated. Any returned error will be
  14677.  * placed in the event queue.
  14678.  */
  14679.  
  14680. /*****************************************************************************
  14681.  **
  14682.  ** xcb_set_pointer_mapping_cookie_t xcb_set_pointer_mapping_unchecked
  14683.  ** 
  14684.  ** @param xcb_connection_t *c
  14685.  ** @param uint8_t           map_len
  14686.  ** @param const uint8_t    *map
  14687.  ** @returns xcb_set_pointer_mapping_cookie_t
  14688.  **
  14689.  *****************************************************************************/
  14690.  
  14691. xcb_set_pointer_mapping_cookie_t
  14692. xcb_set_pointer_mapping_unchecked (xcb_connection_t *c  /**< */,
  14693.                                    uint8_t           map_len  /**< */,
  14694.                                    const uint8_t    *map  /**< */);
  14695.  
  14696. /**
  14697.  * Return the reply
  14698.  * @param c      The connection
  14699.  * @param cookie The cookie
  14700.  * @param e      The xcb_generic_error_t supplied
  14701.  *
  14702.  * Returns the reply of the request asked by
  14703.  * 
  14704.  * The parameter @p e supplied to this function must be NULL if
  14705.  * xcb_set_pointer_mapping_unchecked(). is used.
  14706.  * Otherwise, it stores the error if any.
  14707.  */
  14708.  
  14709. /*****************************************************************************
  14710.  **
  14711.  ** xcb_set_pointer_mapping_reply_t * xcb_set_pointer_mapping_reply
  14712.  ** 
  14713.  ** @param xcb_connection_t                  *c
  14714.  ** @param xcb_set_pointer_mapping_cookie_t   cookie
  14715.  ** @param xcb_generic_error_t              **e
  14716.  ** @returns xcb_set_pointer_mapping_reply_t *
  14717.  **
  14718.  *****************************************************************************/
  14719.  
  14720. xcb_set_pointer_mapping_reply_t *
  14721. xcb_set_pointer_mapping_reply (xcb_connection_t                  *c  /**< */,
  14722.                                xcb_set_pointer_mapping_cookie_t   cookie  /**< */,
  14723.                                xcb_generic_error_t              **e  /**< */);
  14724.  
  14725. /**
  14726.  * Delivers a request to the X server
  14727.  * @param c The connection
  14728.  * @return A cookie
  14729.  *
  14730.  * Delivers a request to the X server.
  14731.  * 
  14732.  */
  14733.  
  14734. /*****************************************************************************
  14735.  **
  14736.  ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping
  14737.  ** 
  14738.  ** @param xcb_connection_t *c
  14739.  ** @returns xcb_get_pointer_mapping_cookie_t
  14740.  **
  14741.  *****************************************************************************/
  14742.  
  14743. xcb_get_pointer_mapping_cookie_t
  14744. xcb_get_pointer_mapping (xcb_connection_t *c  /**< */);
  14745.  
  14746. /**
  14747.  * Delivers a request to the X server
  14748.  * @param c The connection
  14749.  * @return A cookie
  14750.  *
  14751.  * Delivers a request to the X server.
  14752.  * 
  14753.  * This form can be used only if the request will cause
  14754.  * a reply to be generated. Any returned error will be
  14755.  * placed in the event queue.
  14756.  */
  14757.  
  14758. /*****************************************************************************
  14759.  **
  14760.  ** xcb_get_pointer_mapping_cookie_t xcb_get_pointer_mapping_unchecked
  14761.  ** 
  14762.  ** @param xcb_connection_t *c
  14763.  ** @returns xcb_get_pointer_mapping_cookie_t
  14764.  **
  14765.  *****************************************************************************/
  14766.  
  14767. xcb_get_pointer_mapping_cookie_t
  14768. xcb_get_pointer_mapping_unchecked (xcb_connection_t *c  /**< */);
  14769.  
  14770.  
  14771. /*****************************************************************************
  14772.  **
  14773.  ** uint8_t * xcb_get_pointer_mapping_map
  14774.  ** 
  14775.  ** @param const xcb_get_pointer_mapping_reply_t *R
  14776.  ** @returns uint8_t *
  14777.  **
  14778.  *****************************************************************************/
  14779.  
  14780. uint8_t *
  14781. xcb_get_pointer_mapping_map (const xcb_get_pointer_mapping_reply_t *R  /**< */);
  14782.  
  14783.  
  14784. /*****************************************************************************
  14785.  **
  14786.  ** int xcb_get_pointer_mapping_map_length
  14787.  ** 
  14788.  ** @param const xcb_get_pointer_mapping_reply_t *R
  14789.  ** @returns int
  14790.  **
  14791.  *****************************************************************************/
  14792.  
  14793. int
  14794. xcb_get_pointer_mapping_map_length (const xcb_get_pointer_mapping_reply_t *R  /**< */);
  14795.  
  14796.  
  14797. /*****************************************************************************
  14798.  **
  14799.  ** xcb_generic_iterator_t xcb_get_pointer_mapping_map_end
  14800.  ** 
  14801.  ** @param const xcb_get_pointer_mapping_reply_t *R
  14802.  ** @returns xcb_generic_iterator_t
  14803.  **
  14804.  *****************************************************************************/
  14805.  
  14806. xcb_generic_iterator_t
  14807. xcb_get_pointer_mapping_map_end (const xcb_get_pointer_mapping_reply_t *R  /**< */);
  14808.  
  14809. /**
  14810.  * Return the reply
  14811.  * @param c      The connection
  14812.  * @param cookie The cookie
  14813.  * @param e      The xcb_generic_error_t supplied
  14814.  *
  14815.  * Returns the reply of the request asked by
  14816.  * 
  14817.  * The parameter @p e supplied to this function must be NULL if
  14818.  * xcb_get_pointer_mapping_unchecked(). is used.
  14819.  * Otherwise, it stores the error if any.
  14820.  */
  14821.  
  14822. /*****************************************************************************
  14823.  **
  14824.  ** xcb_get_pointer_mapping_reply_t * xcb_get_pointer_mapping_reply
  14825.  ** 
  14826.  ** @param xcb_connection_t                  *c
  14827.  ** @param xcb_get_pointer_mapping_cookie_t   cookie
  14828.  ** @param xcb_generic_error_t              **e
  14829.  ** @returns xcb_get_pointer_mapping_reply_t *
  14830.  **
  14831.  *****************************************************************************/
  14832.  
  14833. xcb_get_pointer_mapping_reply_t *
  14834. xcb_get_pointer_mapping_reply (xcb_connection_t                  *c  /**< */,
  14835.                                xcb_get_pointer_mapping_cookie_t   cookie  /**< */,
  14836.                                xcb_generic_error_t              **e  /**< */);
  14837.  
  14838. /**
  14839.  * Delivers a request to the X server
  14840.  * @param c The connection
  14841.  * @return A cookie
  14842.  *
  14843.  * Delivers a request to the X server.
  14844.  * 
  14845.  */
  14846.  
  14847. /*****************************************************************************
  14848.  **
  14849.  ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping
  14850.  ** 
  14851.  ** @param xcb_connection_t    *c
  14852.  ** @param uint8_t              keycodes_per_modifier
  14853.  ** @param const xcb_keycode_t *keycodes
  14854.  ** @returns xcb_set_modifier_mapping_cookie_t
  14855.  **
  14856.  *****************************************************************************/
  14857.  
  14858. xcb_set_modifier_mapping_cookie_t
  14859. xcb_set_modifier_mapping (xcb_connection_t    *c  /**< */,
  14860.                           uint8_t              keycodes_per_modifier  /**< */,
  14861.                           const xcb_keycode_t *keycodes  /**< */);
  14862.  
  14863. /**
  14864.  * Delivers a request to the X server
  14865.  * @param c The connection
  14866.  * @return A cookie
  14867.  *
  14868.  * Delivers a request to the X server.
  14869.  * 
  14870.  * This form can be used only if the request will cause
  14871.  * a reply to be generated. Any returned error will be
  14872.  * placed in the event queue.
  14873.  */
  14874.  
  14875. /*****************************************************************************
  14876.  **
  14877.  ** xcb_set_modifier_mapping_cookie_t xcb_set_modifier_mapping_unchecked
  14878.  ** 
  14879.  ** @param xcb_connection_t    *c
  14880.  ** @param uint8_t              keycodes_per_modifier
  14881.  ** @param const xcb_keycode_t *keycodes
  14882.  ** @returns xcb_set_modifier_mapping_cookie_t
  14883.  **
  14884.  *****************************************************************************/
  14885.  
  14886. xcb_set_modifier_mapping_cookie_t
  14887. xcb_set_modifier_mapping_unchecked (xcb_connection_t    *c  /**< */,
  14888.                                     uint8_t              keycodes_per_modifier  /**< */,
  14889.                                     const xcb_keycode_t *keycodes  /**< */);
  14890.  
  14891. /**
  14892.  * Return the reply
  14893.  * @param c      The connection
  14894.  * @param cookie The cookie
  14895.  * @param e      The xcb_generic_error_t supplied
  14896.  *
  14897.  * Returns the reply of the request asked by
  14898.  * 
  14899.  * The parameter @p e supplied to this function must be NULL if
  14900.  * xcb_set_modifier_mapping_unchecked(). is used.
  14901.  * Otherwise, it stores the error if any.
  14902.  */
  14903.  
  14904. /*****************************************************************************
  14905.  **
  14906.  ** xcb_set_modifier_mapping_reply_t * xcb_set_modifier_mapping_reply
  14907.  ** 
  14908.  ** @param xcb_connection_t                   *c
  14909.  ** @param xcb_set_modifier_mapping_cookie_t   cookie
  14910.  ** @param xcb_generic_error_t               **e
  14911.  ** @returns xcb_set_modifier_mapping_reply_t *
  14912.  **
  14913.  *****************************************************************************/
  14914.  
  14915. xcb_set_modifier_mapping_reply_t *
  14916. xcb_set_modifier_mapping_reply (xcb_connection_t                   *c  /**< */,
  14917.                                 xcb_set_modifier_mapping_cookie_t   cookie  /**< */,
  14918.                                 xcb_generic_error_t               **e  /**< */);
  14919.  
  14920. /**
  14921.  * Delivers a request to the X server
  14922.  * @param c The connection
  14923.  * @return A cookie
  14924.  *
  14925.  * Delivers a request to the X server.
  14926.  * 
  14927.  */
  14928.  
  14929. /*****************************************************************************
  14930.  **
  14931.  ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping
  14932.  ** 
  14933.  ** @param xcb_connection_t *c
  14934.  ** @returns xcb_get_modifier_mapping_cookie_t
  14935.  **
  14936.  *****************************************************************************/
  14937.  
  14938. xcb_get_modifier_mapping_cookie_t
  14939. xcb_get_modifier_mapping (xcb_connection_t *c  /**< */);
  14940.  
  14941. /**
  14942.  * Delivers a request to the X server
  14943.  * @param c The connection
  14944.  * @return A cookie
  14945.  *
  14946.  * Delivers a request to the X server.
  14947.  * 
  14948.  * This form can be used only if the request will cause
  14949.  * a reply to be generated. Any returned error will be
  14950.  * placed in the event queue.
  14951.  */
  14952.  
  14953. /*****************************************************************************
  14954.  **
  14955.  ** xcb_get_modifier_mapping_cookie_t xcb_get_modifier_mapping_unchecked
  14956.  ** 
  14957.  ** @param xcb_connection_t *c
  14958.  ** @returns xcb_get_modifier_mapping_cookie_t
  14959.  **
  14960.  *****************************************************************************/
  14961.  
  14962. xcb_get_modifier_mapping_cookie_t
  14963. xcb_get_modifier_mapping_unchecked (xcb_connection_t *c  /**< */);
  14964.  
  14965.  
  14966. /*****************************************************************************
  14967.  **
  14968.  ** xcb_keycode_t * xcb_get_modifier_mapping_keycodes
  14969.  ** 
  14970.  ** @param const xcb_get_modifier_mapping_reply_t *R
  14971.  ** @returns xcb_keycode_t *
  14972.  **
  14973.  *****************************************************************************/
  14974.  
  14975. xcb_keycode_t *
  14976. xcb_get_modifier_mapping_keycodes (const xcb_get_modifier_mapping_reply_t *R  /**< */);
  14977.  
  14978.  
  14979. /*****************************************************************************
  14980.  **
  14981.  ** int xcb_get_modifier_mapping_keycodes_length
  14982.  ** 
  14983.  ** @param const xcb_get_modifier_mapping_reply_t *R
  14984.  ** @returns int
  14985.  **
  14986.  *****************************************************************************/
  14987.  
  14988. int
  14989. xcb_get_modifier_mapping_keycodes_length (const xcb_get_modifier_mapping_reply_t *R  /**< */);
  14990.  
  14991.  
  14992. /*****************************************************************************
  14993.  **
  14994.  ** xcb_keycode_iterator_t xcb_get_modifier_mapping_keycodes_iterator
  14995.  ** 
  14996.  ** @param const xcb_get_modifier_mapping_reply_t *R
  14997.  ** @returns xcb_keycode_iterator_t
  14998.  **
  14999.  *****************************************************************************/
  15000.  
  15001. xcb_keycode_iterator_t
  15002. xcb_get_modifier_mapping_keycodes_iterator (const xcb_get_modifier_mapping_reply_t *R  /**< */);
  15003.  
  15004. /**
  15005.  * Return the reply
  15006.  * @param c      The connection
  15007.  * @param cookie The cookie
  15008.  * @param e      The xcb_generic_error_t supplied
  15009.  *
  15010.  * Returns the reply of the request asked by
  15011.  * 
  15012.  * The parameter @p e supplied to this function must be NULL if
  15013.  * xcb_get_modifier_mapping_unchecked(). is used.
  15014.  * Otherwise, it stores the error if any.
  15015.  */
  15016.  
  15017. /*****************************************************************************
  15018.  **
  15019.  ** xcb_get_modifier_mapping_reply_t * xcb_get_modifier_mapping_reply
  15020.  ** 
  15021.  ** @param xcb_connection_t                   *c
  15022.  ** @param xcb_get_modifier_mapping_cookie_t   cookie
  15023.  ** @param xcb_generic_error_t               **e
  15024.  ** @returns xcb_get_modifier_mapping_reply_t *
  15025.  **
  15026.  *****************************************************************************/
  15027.  
  15028. xcb_get_modifier_mapping_reply_t *
  15029. xcb_get_modifier_mapping_reply (xcb_connection_t                   *c  /**< */,
  15030.                                 xcb_get_modifier_mapping_cookie_t   cookie  /**< */,
  15031.                                 xcb_generic_error_t               **e  /**< */);
  15032.  
  15033. /**
  15034.  * Delivers a request to the X server
  15035.  * @param c The connection
  15036.  * @return A cookie
  15037.  *
  15038.  * Delivers a request to the X server.
  15039.  * 
  15040.  * This form can be used only if the request will not cause
  15041.  * a reply to be generated. Any returned error will be
  15042.  * saved for handling by xcb_request_check().
  15043.  */
  15044.  
  15045. /*****************************************************************************
  15046.  **
  15047.  ** xcb_void_cookie_t xcb_no_operation_checked
  15048.  ** 
  15049.  ** @param xcb_connection_t *c
  15050.  ** @returns xcb_void_cookie_t
  15051.  **
  15052.  *****************************************************************************/
  15053.  
  15054. xcb_void_cookie_t
  15055. xcb_no_operation_checked (xcb_connection_t *c  /**< */);
  15056.  
  15057. /**
  15058.  * Delivers a request to the X server
  15059.  * @param c The connection
  15060.  * @return A cookie
  15061.  *
  15062.  * Delivers a request to the X server.
  15063.  * 
  15064.  */
  15065.  
  15066. /*****************************************************************************
  15067.  **
  15068.  ** xcb_void_cookie_t xcb_no_operation
  15069.  ** 
  15070.  ** @param xcb_connection_t *c
  15071.  ** @returns xcb_void_cookie_t
  15072.  **
  15073.  *****************************************************************************/
  15074.  
  15075. xcb_void_cookie_t
  15076. xcb_no_operation (xcb_connection_t *c  /**< */);
  15077.  
  15078.  
  15079. #endif
  15080.  
  15081. /**
  15082.  * @}
  15083.  */
  15084.