2 * This file generated automatically from bigreq.xml by c_client.py.
7 * @defgroup XCB_BigRequests_API XCB BigRequests API
8 * @brief BigRequests XCB Protocol Implementation.
21 #define XCB_BIGREQUESTS_MAJOR_VERSION 0
22 #define XCB_BIGREQUESTS_MINOR_VERSION 0
24 extern xcb_extension_t xcb_big_requests_id
;
27 * @brief xcb_big_requests_enable_cookie_t
29 typedef struct xcb_big_requests_enable_cookie_t
{
30 unsigned int sequence
; /**< */
31 } xcb_big_requests_enable_cookie_t
;
33 /** Opcode for xcb_big_requests_enable. */
34 #define XCB_BIG_REQUESTS_ENABLE 0
37 * @brief xcb_big_requests_enable_request_t
39 typedef struct xcb_big_requests_enable_request_t
{
40 uint8_t major_opcode
; /**< */
41 uint8_t minor_opcode
; /**< */
42 uint16_t length
; /**< */
43 } xcb_big_requests_enable_request_t
;
46 * @brief xcb_big_requests_enable_reply_t
48 typedef struct xcb_big_requests_enable_reply_t
{
49 uint8_t response_type
; /**< */
51 uint16_t sequence
; /**< */
52 uint32_t length
; /**< */
53 uint32_t maximum_request_length
; /**< */
54 } xcb_big_requests_enable_reply_t
;
58 * @param c The connection
61 * Delivers a request to the X server.
64 xcb_big_requests_enable_cookie_t
65 xcb_big_requests_enable (xcb_connection_t
*c
/**< */);
69 * @param c The connection
72 * Delivers a request to the X server.
74 * This form can be used only if the request will cause
75 * a reply to be generated. Any returned error will be
76 * placed in the event queue.
78 xcb_big_requests_enable_cookie_t
79 xcb_big_requests_enable_unchecked (xcb_connection_t
*c
/**< */);
83 * @param c The connection
84 * @param cookie The cookie
85 * @param e The xcb_generic_error_t supplied
87 * Returns the reply of the request asked by
89 * The parameter @p e supplied to this function must be NULL if
90 * xcb_big_requests_enable_unchecked(). is used.
91 * Otherwise, it stores the error if any.
93 * The returned value must be freed by the caller using free().
95 xcb_big_requests_enable_reply_t
*
96 xcb_big_requests_enable_reply (xcb_connection_t
*c
/**< */,
97 xcb_big_requests_enable_cookie_t cookie
/**< */,
98 xcb_generic_error_t
**e
/**< */);