* This file generated automatically from xproto.xml by c_client.py.
* @defgroup XCB__API XCB API
* @brief XCB Protocol Implementation.
typedef struct xcb_char2b_t {
* @brief xcb_char2b_iterator_t
typedef struct xcb_char2b_iterator_t {
typedef uint32_t xcb_window_t;
* @brief xcb_window_iterator_t
typedef struct xcb_window_iterator_t {
typedef uint32_t xcb_pixmap_t;
* @brief xcb_pixmap_iterator_t
typedef struct xcb_pixmap_iterator_t {
typedef uint32_t xcb_cursor_t;
* @brief xcb_cursor_iterator_t
typedef struct xcb_cursor_iterator_t {
typedef uint32_t xcb_font_t;
* @brief xcb_font_iterator_t
typedef struct xcb_font_iterator_t {
typedef uint32_t xcb_gcontext_t;
* @brief xcb_gcontext_iterator_t
typedef struct xcb_gcontext_iterator_t {
} xcb_gcontext_iterator_t;
typedef uint32_t xcb_colormap_t;
* @brief xcb_colormap_iterator_t
typedef struct xcb_colormap_iterator_t {
} xcb_colormap_iterator_t;
typedef uint32_t xcb_atom_t;
* @brief xcb_atom_iterator_t
typedef struct xcb_atom_iterator_t {
typedef uint32_t xcb_drawable_t;
* @brief xcb_drawable_iterator_t
typedef struct xcb_drawable_iterator_t {
} xcb_drawable_iterator_t;
typedef uint32_t xcb_fontable_t;
* @brief xcb_fontable_iterator_t
typedef struct xcb_fontable_iterator_t {
} xcb_fontable_iterator_t;
typedef uint32_t xcb_bool32_t;
* @brief xcb_bool32_iterator_t
typedef struct xcb_bool32_iterator_t {
typedef uint32_t xcb_visualid_t;
* @brief xcb_visualid_iterator_t
typedef struct xcb_visualid_iterator_t {
} xcb_visualid_iterator_t;
typedef uint32_t xcb_timestamp_t;
* @brief xcb_timestamp_iterator_t
typedef struct xcb_timestamp_iterator_t {
} xcb_timestamp_iterator_t;
typedef uint32_t xcb_keysym_t;
* @brief xcb_keysym_iterator_t
typedef struct xcb_keysym_iterator_t {
typedef uint8_t xcb_keycode_t;
* @brief xcb_keycode_iterator_t
typedef struct xcb_keycode_iterator_t {
} xcb_keycode_iterator_t;
typedef uint32_t xcb_keycode32_t;
* @brief xcb_keycode32_iterator_t
typedef struct xcb_keycode32_iterator_t {
} xcb_keycode32_iterator_t;
typedef uint8_t xcb_button_t;
* @brief xcb_button_iterator_t
typedef struct xcb_button_iterator_t {
typedef struct xcb_point_t {
* @brief xcb_point_iterator_t
typedef struct xcb_point_iterator_t {
typedef struct xcb_rectangle_t {
* @brief xcb_rectangle_iterator_t
typedef struct xcb_rectangle_iterator_t {
} xcb_rectangle_iterator_t;
typedef struct xcb_arc_t {
* @brief xcb_arc_iterator_t
typedef struct xcb_arc_iterator_t {
typedef struct xcb_format_t {
* @brief xcb_format_iterator_t
typedef struct xcb_format_iterator_t {
typedef enum xcb_visual_class_t {
XCB_VISUAL_CLASS_STATIC_GRAY = 0,
XCB_VISUAL_CLASS_GRAY_SCALE = 1,
XCB_VISUAL_CLASS_STATIC_COLOR = 2,
XCB_VISUAL_CLASS_PSEUDO_COLOR = 3,
XCB_VISUAL_CLASS_TRUE_COLOR = 4,
XCB_VISUAL_CLASS_DIRECT_COLOR = 5
* @brief xcb_visualtype_t
typedef struct xcb_visualtype_t {
xcb_visualid_t visual_id;
uint8_t bits_per_rgb_value;
uint16_t colormap_entries;
* @brief xcb_visualtype_iterator_t
typedef struct xcb_visualtype_iterator_t {
} xcb_visualtype_iterator_t;
typedef struct xcb_depth_t {
* @brief xcb_depth_iterator_t
typedef struct xcb_depth_iterator_t {
typedef enum xcb_event_mask_t {
XCB_EVENT_MASK_NO_EVENT = 0,
XCB_EVENT_MASK_KEY_PRESS = 1,
XCB_EVENT_MASK_KEY_RELEASE = 2,
XCB_EVENT_MASK_BUTTON_PRESS = 4,
XCB_EVENT_MASK_BUTTON_RELEASE = 8,
XCB_EVENT_MASK_ENTER_WINDOW = 16,
XCB_EVENT_MASK_LEAVE_WINDOW = 32,
XCB_EVENT_MASK_POINTER_MOTION = 64,
XCB_EVENT_MASK_POINTER_MOTION_HINT = 128,
XCB_EVENT_MASK_BUTTON_1_MOTION = 256,
XCB_EVENT_MASK_BUTTON_2_MOTION = 512,
XCB_EVENT_MASK_BUTTON_3_MOTION = 1024,
XCB_EVENT_MASK_BUTTON_4_MOTION = 2048,
XCB_EVENT_MASK_BUTTON_5_MOTION = 4096,
XCB_EVENT_MASK_BUTTON_MOTION = 8192,
XCB_EVENT_MASK_KEYMAP_STATE = 16384,
XCB_EVENT_MASK_EXPOSURE = 32768,
XCB_EVENT_MASK_VISIBILITY_CHANGE = 65536,
XCB_EVENT_MASK_STRUCTURE_NOTIFY = 131072,
XCB_EVENT_MASK_RESIZE_REDIRECT = 262144,
XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY = 524288,
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT = 1048576,
XCB_EVENT_MASK_FOCUS_CHANGE = 2097152,
XCB_EVENT_MASK_PROPERTY_CHANGE = 4194304,
XCB_EVENT_MASK_COLOR_MAP_CHANGE = 8388608,
XCB_EVENT_MASK_OWNER_GRAB_BUTTON = 16777216
typedef enum xcb_backing_store_t {
XCB_BACKING_STORE_NOT_USEFUL = 0,
XCB_BACKING_STORE_WHEN_MAPPED = 1,
XCB_BACKING_STORE_ALWAYS = 2
typedef struct xcb_screen_t {
xcb_colormap_t default_colormap;
uint32_t current_input_masks;
uint16_t width_in_pixels;
uint16_t height_in_pixels;
uint16_t width_in_millimeters;
uint16_t height_in_millimeters;
uint16_t min_installed_maps;
uint16_t max_installed_maps;
xcb_visualid_t root_visual;
uint8_t allowed_depths_len;
* @brief xcb_screen_iterator_t
typedef struct xcb_screen_iterator_t {
* @brief xcb_setup_request_t
typedef struct xcb_setup_request_t {
uint16_t protocol_major_version;
uint16_t protocol_minor_version;
uint16_t authorization_protocol_name_len;
uint16_t authorization_protocol_data_len;
* @brief xcb_setup_request_iterator_t
typedef struct xcb_setup_request_iterator_t {
xcb_setup_request_t *data;
} xcb_setup_request_iterator_t;
* @brief xcb_setup_failed_t
typedef struct xcb_setup_failed_t {
uint16_t protocol_major_version;
uint16_t protocol_minor_version;
* @brief xcb_setup_failed_iterator_t
typedef struct xcb_setup_failed_iterator_t {
xcb_setup_failed_t *data;
} xcb_setup_failed_iterator_t;
* @brief xcb_setup_authenticate_t
typedef struct xcb_setup_authenticate_t {
} xcb_setup_authenticate_t;
* @brief xcb_setup_authenticate_iterator_t
typedef struct xcb_setup_authenticate_iterator_t {
xcb_setup_authenticate_t *data;
} xcb_setup_authenticate_iterator_t;
typedef enum xcb_image_order_t {
XCB_IMAGE_ORDER_LSB_FIRST = 0,
XCB_IMAGE_ORDER_MSB_FIRST = 1
typedef struct xcb_setup_t {
uint16_t protocol_major_version;
uint16_t protocol_minor_version;
uint32_t resource_id_base;
uint32_t resource_id_mask;
uint32_t motion_buffer_size;
uint16_t maximum_request_length;
uint8_t pixmap_formats_len;
uint8_t image_byte_order;
uint8_t bitmap_format_bit_order;
uint8_t bitmap_format_scanline_unit;
uint8_t bitmap_format_scanline_pad;
xcb_keycode_t min_keycode;
xcb_keycode_t max_keycode;
* @brief xcb_setup_iterator_t