dlangui/3rdparty/X11/xcb/xc_misc.d

304 lines
9.2 KiB
D

/*
* This file generated automatically from xc_misc.xml by c-client.xsl using XSLT.
* Edit at your peril.
*/
/**
* @defgroup XCB_XCMisc_API XCB XCMisc API
* @brief XCMisc XCB Protocol Implementation.
* @{
**/
module std.c.linux.X11.xcb.xc_misc;
version(USE_XCB):
import std.c.linux.X11.xcb.xcb;
const int XCB_XCMISC_MAJOR_VERSION =1;
const int XCB_XCMISC_MINOR_VERSION =1;
extern(C) extern xcb_extension_t xcb_xc_misc_id;
/**
* @brief xcb_xc_misc_get_version_cookie_t
**/
struct xcb_xc_misc_get_version_cookie_t {
uint sequence; /**< */
} ;
/** Opcode for xcb_xc_misc_get_version. */
const uint XCB_XC_MISC_GET_VERSION = 0;
/**
* @brief xcb_xc_misc_get_version_request_t
**/
struct xcb_xc_misc_get_version_request_t {
ubyte major_opcode; /**< */
ubyte minor_opcode; /**< */
ushort length; /**< */
ushort client_major_version; /**< */
ushort client_minor_version; /**< */
} ;
/**
* @brief xcb_xc_misc_get_version_reply_t
**/
struct xcb_xc_misc_get_version_reply_t {
ubyte response_type; /**< */
ubyte pad0; /**< */
ushort sequence; /**< */
uint length; /**< */
ushort server_major_version; /**< */
ushort server_minor_version; /**< */
} ;
/**
* @brief xcb_xc_misc_get_xid_range_cookie_t
**/
struct xcb_xc_misc_get_xid_range_cookie_t {
uint sequence; /**< */
} ;
/** Opcode for xcb_xc_misc_get_xid_range. */
const uint XCB_XC_MISC_GET_XID_RANGE = 1;
/**
* @brief xcb_xc_misc_get_xid_range_request_t
**/
struct xcb_xc_misc_get_xid_range_request_t {
ubyte major_opcode; /**< */
ubyte minor_opcode; /**< */
ushort length; /**< */
} ;
/**
* @brief xcb_xc_misc_get_xid_range_reply_t
**/
struct xcb_xc_misc_get_xid_range_reply_t {
ubyte response_type; /**< */
ubyte pad0; /**< */
ushort sequence; /**< */
uint length; /**< */
uint start_id; /**< */
uint count; /**< */
} ;
/**
* @brief xcb_xc_misc_get_xid_list_cookie_t
**/
struct xcb_xc_misc_get_xid_list_cookie_t {
uint sequence; /**< */
} ;
/** Opcode for xcb_xc_misc_get_xid_list. */
const uint XCB_XC_MISC_GET_XID_LIST = 2;
/**
* @brief xcb_xc_misc_get_xid_list_request_t
**/
struct xcb_xc_misc_get_xid_list_request_t {
ubyte major_opcode; /**< */
ubyte minor_opcode; /**< */
ushort length; /**< */
uint count; /**< */
} ;
/**
* @brief xcb_xc_misc_get_xid_list_reply_t
**/
struct xcb_xc_misc_get_xid_list_reply_t {
ubyte response_type; /**< */
ubyte pad0; /**< */
ushort sequence; /**< */
uint length; /**< */
uint ids_len; /**< */
ubyte pad1[20]; /**< */
} ;
/*****************************************************************************
**
** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version
**
** @param xcb_connection_t *c
** @param ushort client_major_version
** @param ushort client_minor_version
** @returns xcb_xc_misc_get_version_cookie_t
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_version_cookie_t
xcb_xc_misc_get_version (xcb_connection_t *c /**< */,
ushort client_major_version /**< */,
ushort client_minor_version /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version_unchecked
**
** @param xcb_connection_t *c
** @param ushort client_major_version
** @param ushort client_minor_version
** @returns xcb_xc_misc_get_version_cookie_t
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_version_cookie_t
xcb_xc_misc_get_version_unchecked (xcb_connection_t *c /**< */,
ushort client_major_version /**< */,
ushort client_minor_version /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_version_reply_t * xcb_xc_misc_get_version_reply
**
** @param xcb_connection_t *c
** @param xcb_xc_misc_get_version_cookie_t cookie
** @param xcb_generic_error_t **e
** @returns xcb_xc_misc_get_version_reply_t *
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_version_reply_t *
xcb_xc_misc_get_version_reply (xcb_connection_t *c /**< */,
xcb_xc_misc_get_version_cookie_t cookie /**< */,
xcb_generic_error_t **e /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range
**
** @param xcb_connection_t *c
** @returns xcb_xc_misc_get_xid_range_cookie_t
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_xid_range_cookie_t
xcb_xc_misc_get_xid_range (xcb_connection_t *c /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range_unchecked
**
** @param xcb_connection_t *c
** @returns xcb_xc_misc_get_xid_range_cookie_t
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_xid_range_cookie_t
xcb_xc_misc_get_xid_range_unchecked (xcb_connection_t *c /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_xid_range_reply_t * xcb_xc_misc_get_xid_range_reply
**
** @param xcb_connection_t *c
** @param xcb_xc_misc_get_xid_range_cookie_t cookie
** @param xcb_generic_error_t **e
** @returns xcb_xc_misc_get_xid_range_reply_t *
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_xid_range_reply_t *
xcb_xc_misc_get_xid_range_reply (xcb_connection_t *c /**< */,
xcb_xc_misc_get_xid_range_cookie_t cookie /**< */,
xcb_generic_error_t **e /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list
**
** @param xcb_connection_t *c
** @param uint count
** @returns xcb_xc_misc_get_xid_list_cookie_t
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_xid_list_cookie_t
xcb_xc_misc_get_xid_list (xcb_connection_t *c /**< */,
uint count /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list_unchecked
**
** @param xcb_connection_t *c
** @param uint count
** @returns xcb_xc_misc_get_xid_list_cookie_t
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_xid_list_cookie_t
xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c /**< */,
uint count /**< */);
/*****************************************************************************
**
** uint * xcb_xc_misc_get_xid_list_ids
**
** @param /+const+/ xcb_xc_misc_get_xid_list_reply_t *R
** @returns uint *
**
*****************************************************************************/
extern(C) uint *
xcb_xc_misc_get_xid_list_ids (/+const+/ xcb_xc_misc_get_xid_list_reply_t *R /**< */);
/*****************************************************************************
**
** int xcb_xc_misc_get_xid_list_ids_length
**
** @param /+const+/ xcb_xc_misc_get_xid_list_reply_t *R
** @returns int
**
*****************************************************************************/
extern(C) int
xcb_xc_misc_get_xid_list_ids_length (/+const+/ xcb_xc_misc_get_xid_list_reply_t *R /**< */);
/*****************************************************************************
**
** xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end
**
** @param /+const+/ xcb_xc_misc_get_xid_list_reply_t *R
** @returns xcb_generic_iterator_t
**
*****************************************************************************/
extern(C) xcb_generic_iterator_t
xcb_xc_misc_get_xid_list_ids_end (/+const+/ xcb_xc_misc_get_xid_list_reply_t *R /**< */);
/*****************************************************************************
**
** xcb_xc_misc_get_xid_list_reply_t * xcb_xc_misc_get_xid_list_reply
**
** @param xcb_connection_t *c
** @param xcb_xc_misc_get_xid_list_cookie_t cookie
** @param xcb_generic_error_t **e
** @returns xcb_xc_misc_get_xid_list_reply_t *
**
*****************************************************************************/
extern(C) xcb_xc_misc_get_xid_list_reply_t *
xcb_xc_misc_get_xid_list_reply (xcb_connection_t *c /**< */,
xcb_xc_misc_get_xid_list_cookie_t cookie /**< */,
xcb_generic_error_t **e /**< */);
/**
* @}
*/