* This file generated automatically from res.xml by c_client.py.
* @defgroup XCB_Res_API XCB Res API
* @brief Res XCB Protocol Implementation.
#define XCB_RES_MAJOR_VERSION 1
#define XCB_RES_MINOR_VERSION 2
extern xcb_extension_t xcb_res_id;
* @brief xcb_res_client_t
typedef struct xcb_res_client_t {
* @brief xcb_res_client_iterator_t
typedef struct xcb_res_client_iterator_t {
} xcb_res_client_iterator_t;
typedef struct xcb_res_type_t {
xcb_atom_t resource_type;
* @brief xcb_res_type_iterator_t
typedef struct xcb_res_type_iterator_t {
} xcb_res_type_iterator_t;
typedef enum xcb_res_client_id_mask_t {
XCB_RES_CLIENT_ID_MASK_CLIENT_XID = 1,
XCB_RES_CLIENT_ID_MASK_LOCAL_CLIENT_PID = 2
} xcb_res_client_id_mask_t;
* @brief xcb_res_client_id_spec_t
typedef struct xcb_res_client_id_spec_t {
} xcb_res_client_id_spec_t;
* @brief xcb_res_client_id_spec_iterator_t
typedef struct xcb_res_client_id_spec_iterator_t {
xcb_res_client_id_spec_t *data;
} xcb_res_client_id_spec_iterator_t;
* @brief xcb_res_client_id_value_t
typedef struct xcb_res_client_id_value_t {
xcb_res_client_id_spec_t spec;
} xcb_res_client_id_value_t;
* @brief xcb_res_client_id_value_iterator_t
typedef struct xcb_res_client_id_value_iterator_t {
xcb_res_client_id_value_t *data;
} xcb_res_client_id_value_iterator_t;
* @brief xcb_res_resource_id_spec_t
typedef struct xcb_res_resource_id_spec_t {
} xcb_res_resource_id_spec_t;
* @brief xcb_res_resource_id_spec_iterator_t
typedef struct xcb_res_resource_id_spec_iterator_t {
xcb_res_resource_id_spec_t *data;
} xcb_res_resource_id_spec_iterator_t;
* @brief xcb_res_resource_size_spec_t
typedef struct xcb_res_resource_size_spec_t {
xcb_res_resource_id_spec_t spec;
} xcb_res_resource_size_spec_t;
* @brief xcb_res_resource_size_spec_iterator_t
typedef struct xcb_res_resource_size_spec_iterator_t {
xcb_res_resource_size_spec_t *data;
} xcb_res_resource_size_spec_iterator_t;
* @brief xcb_res_resource_size_value_t
typedef struct xcb_res_resource_size_value_t {
xcb_res_resource_size_spec_t size;
uint32_t num_cross_references;
} xcb_res_resource_size_value_t;
* @brief xcb_res_resource_size_value_iterator_t
typedef struct xcb_res_resource_size_value_iterator_t {
xcb_res_resource_size_value_t *data;
} xcb_res_resource_size_value_iterator_t;
* @brief xcb_res_query_version_cookie_t
typedef struct xcb_res_query_version_cookie_t {
} xcb_res_query_version_cookie_t;
/** Opcode for xcb_res_query_version. */
#define XCB_RES_QUERY_VERSION 0
* @brief xcb_res_query_version_request_t
typedef struct xcb_res_query_version_request_t {
} xcb_res_query_version_request_t;
* @brief xcb_res_query_version_reply_t
typedef struct xcb_res_query_version_reply_t {
} xcb_res_query_version_reply_t;
* @brief xcb_res_query_clients_cookie_t
typedef struct xcb_res_query_clients_cookie_t {
} xcb_res_query_clients_cookie_t;
/** Opcode for xcb_res_query_clients. */
#define XCB_RES_QUERY_CLIENTS 1
* @brief xcb_res_query_clients_request_t
typedef struct xcb_res_query_clients_request_t {
} xcb_res_query_clients_request_t;
* @brief xcb_res_query_clients_reply_t
typedef struct xcb_res_query_clients_reply_t {
} xcb_res_query_clients_reply_t;
* @brief xcb_res_query_client_resources_cookie_t
typedef struct xcb_res_query_client_resources_cookie_t {
} xcb_res_query_client_resources_cookie_t;
/** Opcode for xcb_res_query_client_resources. */
#define XCB_RES_QUERY_CLIENT_RESOURCES 2
* @brief xcb_res_query_client_resources_request_t
typedef struct xcb_res_query_client_resources_request_t {
} xcb_res_query_client_resources_request_t;
* @brief xcb_res_query_client_resources_reply_t
typedef struct xcb_res_query_client_resources_reply_t {
} xcb_res_query_client_resources_reply_t;
* @brief xcb_res_query_client_pixmap_bytes_cookie_t
typedef struct xcb_res_query_client_pixmap_bytes_cookie_t {
} xcb_res_query_client_pixmap_bytes_cookie_t;
/** Opcode for xcb_res_query_client_pixmap_bytes. */
#define XCB_RES_QUERY_CLIENT_PIXMAP_BYTES 3
* @brief xcb_res_query_client_pixmap_bytes_request_t
typedef struct xcb_res_query_client_pixmap_bytes_request_t {
} xcb_res_query_client_pixmap_bytes_request_t;
* @brief xcb_res_query_client_pixmap_bytes_reply_t
typedef struct xcb_res_query_client_pixmap_bytes_reply_t {
} xcb_res_query_client_pixmap_bytes_reply_t;
* @brief xcb_res_query_client_ids_cookie_t
typedef struct xcb_res_query_client_ids_cookie_t {
} xcb_res_query_client_ids_cookie_t;
/** Opcode for xcb_res_query_client_ids. */
#define XCB_RES_QUERY_CLIENT_IDS 4
* @brief xcb_res_query_client_ids_request_t
typedef struct xcb_res_query_client_ids_request_t {
} xcb_res_query_client_ids_request_t;
* @brief xcb_res_query_client_ids_reply_t
typedef struct xcb_res_query_client_ids_reply_t {
} xcb_res_query_client_ids_reply_t;
* @brief xcb_res_query_resource_bytes_cookie_t
typedef struct xcb_res_query_resource_bytes_cookie_t {
} xcb_res_query_resource_bytes_cookie_t;
/** Opcode for xcb_res_query_resource_bytes. */
#define XCB_RES_QUERY_RESOURCE_BYTES 5
* @brief xcb_res_query_resource_bytes_request_t
typedef struct xcb_res_query_resource_bytes_request_t {
} xcb_res_query_resource_bytes_request_t;
* @brief xcb_res_query_resource_bytes_reply_t
typedef struct xcb_res_query_resource_bytes_reply_t {
} xcb_res_query_resource_bytes_reply_t;
* Get the next element of the iterator
* @param i Pointer to a xcb_res_client_iterator_t
* Get the next element in the iterator. The member rem is
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_res_client_t)
xcb_res_client_next (xcb_res_client_iterator_t *i);
* Return the iterator pointing to the last element
* @param i An xcb_res_client_iterator_t
* @return The iterator pointing to the last element
* Set the current element in the iterator to the last element.
* The member rem is set to 0. The member data points to the
xcb_res_client_end (xcb_res_client_iterator_t i);
* Get the next element of the iterator
* @param i Pointer to a xcb_res_type_iterator_t
* Get the next element in the iterator. The member rem is
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_res_type_t)
xcb_res_type_next (xcb_res_type_iterator_t *i);
* Return the iterator pointing to the last element
* @param i An xcb_res_type_iterator_t
* @return The iterator pointing to the last element
* Set the current element in the iterator to the last element.
* The member rem is set to 0. The member data points to the
xcb_res_type_end (xcb_res_type_iterator_t i);
* Get the next element of the iterator
* @param i Pointer to a xcb_res_client_id_spec_iterator_t
* Get the next element in the iterator. The member rem is
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_res_client_id_spec_t)
xcb_res_client_id_spec_next (xcb_res_client_id_spec_iterator_t *i);
* Return the iterator pointing to the last element
* @param i An xcb_res_client_id_spec_iterator_t
* @return The iterator pointing to the last element
* Set the current element in the iterator to the last element.
* The member rem is set to 0. The member data points to the
xcb_res_client_id_spec_end (xcb_res_client_id_spec_iterator_t i);
xcb_res_client_id_value_sizeof (const void *_buffer);
xcb_res_client_id_value_value (const xcb_res_client_id_value_t *R);
xcb_res_client_id_value_value_length (const xcb_res_client_id_value_t *R);
xcb_res_client_id_value_value_end (const xcb_res_client_id_value_t *R);
* Get the next element of the iterator
* @param i Pointer to a xcb_res_client_id_value_iterator_t
* Get the next element in the iterator. The member rem is
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_res_client_id_value_t)
xcb_res_client_id_value_next (xcb_res_client_id_value_iterator_t *i);
* Return the iterator pointing to the last element
* @param i An xcb_res_client_id_value_iterator_t
* @return The iterator pointing to the last element
* Set the current element in the iterator to the last element.
* The member rem is set to 0. The member data points to the
xcb_res_client_id_value_end (xcb_res_client_id_value_iterator_t i);
* Get the next element of the iterator
* @param i Pointer to a xcb_res_resource_id_spec_iterator_t
* Get the next element in the iterator. The member rem is
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_res_resource_id_spec_t)
xcb_res_resource_id_spec_next (xcb_res_resource_id_spec_iterator_t *i);
* Return the iterator pointing to the last element
* @param i An xcb_res_resource_id_spec_iterator_t
* @return The iterator pointing to the last element
* Set the current element in the iterator to the last element.
* The member rem is set to 0. The member data points to the
xcb_res_resource_id_spec_end (xcb_res_resource_id_spec_iterator_t i);
* Get the next element of the iterator
* @param i Pointer to a xcb_res_resource_size_spec_iterator_t
* Get the next element in the iterator. The member rem is
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_res_resource_size_spec_t)
xcb_res_resource_size_spec_next (xcb_res_resource_size_spec_iterator_t *i);
* Return the iterator pointing to the last element
* @param i An xcb_res_resource_size_spec_iterator_t
* @return The iterator pointing to the last element
* Set the current element in the iterator to the last element.
* The member rem is set to 0. The member data points to the
xcb_res_resource_size_spec_end (xcb_res_resource_size_spec_iterator_t i);
xcb_res_resource_size_value_sizeof (const void *_buffer);
xcb_res_resource_size_spec_t *
xcb_res_resource_size_value_cross_references (const xcb_res_resource_size_value_t *R);