XCB  1.12
Data Structures | Macros | Typedefs | Functions | Variables
XCB BigRequests API

BigRequests XCB Protocol Implementation. More...

Data Structures

struct  xcb_big_requests_enable_cookie_t
 xcb_big_requests_enable_cookie_t More...
 
struct  xcb_big_requests_enable_request_t
 xcb_big_requests_enable_request_t More...
 
struct  xcb_big_requests_enable_reply_t
 xcb_big_requests_enable_reply_t More...
 

Macros

#define XCB_BIGREQUESTS_MAJOR_VERSION   0
 
#define XCB_BIGREQUESTS_MINOR_VERSION   0
 
#define XCB_BIG_REQUESTS_ENABLE   0
 

Typedefs

typedef struct xcb_big_requests_enable_cookie_t xcb_big_requests_enable_cookie_t
 xcb_big_requests_enable_cookie_t
 
typedef struct xcb_big_requests_enable_request_t xcb_big_requests_enable_request_t
 xcb_big_requests_enable_request_t
 
typedef struct xcb_big_requests_enable_reply_t xcb_big_requests_enable_reply_t
 xcb_big_requests_enable_reply_t
 

Functions

xcb_big_requests_enable_cookie_t xcb_big_requests_enable (xcb_connection_t *c)
 
xcb_big_requests_enable_cookie_t xcb_big_requests_enable_unchecked (xcb_connection_t *c)
 
xcb_big_requests_enable_reply_txcb_big_requests_enable_reply (xcb_connection_t *c, xcb_big_requests_enable_cookie_t cookie, xcb_generic_error_t **e)
 

Variables

xcb_extension_t xcb_big_requests_id
 

Detailed Description

BigRequests XCB Protocol Implementation.

Macro Definition Documentation

#define XCB_BIG_REQUESTS_ENABLE   0

Opcode for xcb_big_requests_enable.

Referenced by xcb_big_requests_enable(), and xcb_big_requests_enable_unchecked().

Function Documentation

xcb_big_requests_enable_cookie_t xcb_big_requests_enable ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

References XCB_BIG_REQUESTS_ENABLE.

Referenced by xcb_prefetch_maximum_request_length().

xcb_big_requests_enable_reply_t* xcb_big_requests_enable_reply ( xcb_connection_t c,
xcb_big_requests_enable_cookie_t  cookie,
xcb_generic_error_t **  e 
)

Return the reply

Parameters
cThe connection
cookieThe cookie
eThe xcb_generic_error_t supplied

Returns the reply of the request asked by

The parameter e supplied to this function must be NULL if xcb_big_requests_enable_unchecked(). is used. Otherwise, it stores the error if any.

The returned value must be freed by the caller using free().

Referenced by xcb_get_maximum_request_length().

xcb_big_requests_enable_cookie_t xcb_big_requests_enable_unchecked ( xcb_connection_t c)
Parameters
cThe connection
Returns
A cookie

Delivers a request to the X server.

This form can be used only if the request will cause a reply to be generated. Any returned error will be placed in the event queue.

References XCB_BIG_REQUESTS_ENABLE.