Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/AnonR/smanonr..../usr/include/xcb
File: xtest.h
/*
[0] Fix | Delete
* This file generated automatically from xtest.xml by c_client.py.
[1] Fix | Delete
* Edit at your peril.
[2] Fix | Delete
*/
[3] Fix | Delete
[4] Fix | Delete
/**
[5] Fix | Delete
* @defgroup XCB_Test_API XCB Test API
[6] Fix | Delete
* @brief Test XCB Protocol Implementation.
[7] Fix | Delete
* @{
[8] Fix | Delete
**/
[9] Fix | Delete
[10] Fix | Delete
#ifndef __XTEST_H
[11] Fix | Delete
#define __XTEST_H
[12] Fix | Delete
[13] Fix | Delete
#include "xcb.h"
[14] Fix | Delete
#include "xproto.h"
[15] Fix | Delete
[16] Fix | Delete
#ifdef __cplusplus
[17] Fix | Delete
extern "C" {
[18] Fix | Delete
#endif
[19] Fix | Delete
[20] Fix | Delete
#define XCB_TEST_MAJOR_VERSION 2
[21] Fix | Delete
#define XCB_TEST_MINOR_VERSION 2
[22] Fix | Delete
[23] Fix | Delete
extern xcb_extension_t xcb_test_id;
[24] Fix | Delete
[25] Fix | Delete
/**
[26] Fix | Delete
* @brief xcb_test_get_version_cookie_t
[27] Fix | Delete
**/
[28] Fix | Delete
typedef struct xcb_test_get_version_cookie_t {
[29] Fix | Delete
unsigned int sequence;
[30] Fix | Delete
} xcb_test_get_version_cookie_t;
[31] Fix | Delete
[32] Fix | Delete
/** Opcode for xcb_test_get_version. */
[33] Fix | Delete
#define XCB_TEST_GET_VERSION 0
[34] Fix | Delete
[35] Fix | Delete
/**
[36] Fix | Delete
* @brief xcb_test_get_version_request_t
[37] Fix | Delete
**/
[38] Fix | Delete
typedef struct xcb_test_get_version_request_t {
[39] Fix | Delete
uint8_t major_opcode;
[40] Fix | Delete
uint8_t minor_opcode;
[41] Fix | Delete
uint16_t length;
[42] Fix | Delete
uint8_t major_version;
[43] Fix | Delete
uint8_t pad0;
[44] Fix | Delete
uint16_t minor_version;
[45] Fix | Delete
} xcb_test_get_version_request_t;
[46] Fix | Delete
[47] Fix | Delete
/**
[48] Fix | Delete
* @brief xcb_test_get_version_reply_t
[49] Fix | Delete
**/
[50] Fix | Delete
typedef struct xcb_test_get_version_reply_t {
[51] Fix | Delete
uint8_t response_type;
[52] Fix | Delete
uint8_t major_version;
[53] Fix | Delete
uint16_t sequence;
[54] Fix | Delete
uint32_t length;
[55] Fix | Delete
uint16_t minor_version;
[56] Fix | Delete
} xcb_test_get_version_reply_t;
[57] Fix | Delete
[58] Fix | Delete
typedef enum xcb_test_cursor_t {
[59] Fix | Delete
XCB_TEST_CURSOR_NONE = 0,
[60] Fix | Delete
XCB_TEST_CURSOR_CURRENT = 1
[61] Fix | Delete
} xcb_test_cursor_t;
[62] Fix | Delete
[63] Fix | Delete
/**
[64] Fix | Delete
* @brief xcb_test_compare_cursor_cookie_t
[65] Fix | Delete
**/
[66] Fix | Delete
typedef struct xcb_test_compare_cursor_cookie_t {
[67] Fix | Delete
unsigned int sequence;
[68] Fix | Delete
} xcb_test_compare_cursor_cookie_t;
[69] Fix | Delete
[70] Fix | Delete
/** Opcode for xcb_test_compare_cursor. */
[71] Fix | Delete
#define XCB_TEST_COMPARE_CURSOR 1
[72] Fix | Delete
[73] Fix | Delete
/**
[74] Fix | Delete
* @brief xcb_test_compare_cursor_request_t
[75] Fix | Delete
**/
[76] Fix | Delete
typedef struct xcb_test_compare_cursor_request_t {
[77] Fix | Delete
uint8_t major_opcode;
[78] Fix | Delete
uint8_t minor_opcode;
[79] Fix | Delete
uint16_t length;
[80] Fix | Delete
xcb_window_t window;
[81] Fix | Delete
xcb_cursor_t cursor;
[82] Fix | Delete
} xcb_test_compare_cursor_request_t;
[83] Fix | Delete
[84] Fix | Delete
/**
[85] Fix | Delete
* @brief xcb_test_compare_cursor_reply_t
[86] Fix | Delete
**/
[87] Fix | Delete
typedef struct xcb_test_compare_cursor_reply_t {
[88] Fix | Delete
uint8_t response_type;
[89] Fix | Delete
uint8_t same;
[90] Fix | Delete
uint16_t sequence;
[91] Fix | Delete
uint32_t length;
[92] Fix | Delete
} xcb_test_compare_cursor_reply_t;
[93] Fix | Delete
[94] Fix | Delete
/** Opcode for xcb_test_fake_input. */
[95] Fix | Delete
#define XCB_TEST_FAKE_INPUT 2
[96] Fix | Delete
[97] Fix | Delete
/**
[98] Fix | Delete
* @brief xcb_test_fake_input_request_t
[99] Fix | Delete
**/
[100] Fix | Delete
typedef struct xcb_test_fake_input_request_t {
[101] Fix | Delete
uint8_t major_opcode;
[102] Fix | Delete
uint8_t minor_opcode;
[103] Fix | Delete
uint16_t length;
[104] Fix | Delete
uint8_t type;
[105] Fix | Delete
uint8_t detail;
[106] Fix | Delete
uint8_t pad0[2];
[107] Fix | Delete
uint32_t time;
[108] Fix | Delete
xcb_window_t root;
[109] Fix | Delete
uint8_t pad1[8];
[110] Fix | Delete
int16_t rootX;
[111] Fix | Delete
int16_t rootY;
[112] Fix | Delete
uint8_t pad2[7];
[113] Fix | Delete
uint8_t deviceid;
[114] Fix | Delete
} xcb_test_fake_input_request_t;
[115] Fix | Delete
[116] Fix | Delete
/** Opcode for xcb_test_grab_control. */
[117] Fix | Delete
#define XCB_TEST_GRAB_CONTROL 3
[118] Fix | Delete
[119] Fix | Delete
/**
[120] Fix | Delete
* @brief xcb_test_grab_control_request_t
[121] Fix | Delete
**/
[122] Fix | Delete
typedef struct xcb_test_grab_control_request_t {
[123] Fix | Delete
uint8_t major_opcode;
[124] Fix | Delete
uint8_t minor_opcode;
[125] Fix | Delete
uint16_t length;
[126] Fix | Delete
uint8_t impervious;
[127] Fix | Delete
uint8_t pad0[3];
[128] Fix | Delete
} xcb_test_grab_control_request_t;
[129] Fix | Delete
[130] Fix | Delete
/**
[131] Fix | Delete
*
[132] Fix | Delete
* @param c The connection
[133] Fix | Delete
* @return A cookie
[134] Fix | Delete
*
[135] Fix | Delete
* Delivers a request to the X server.
[136] Fix | Delete
*
[137] Fix | Delete
*/
[138] Fix | Delete
xcb_test_get_version_cookie_t
[139] Fix | Delete
xcb_test_get_version (xcb_connection_t *c,
[140] Fix | Delete
uint8_t major_version,
[141] Fix | Delete
uint16_t minor_version);
[142] Fix | Delete
[143] Fix | Delete
/**
[144] Fix | Delete
*
[145] Fix | Delete
* @param c The connection
[146] Fix | Delete
* @return A cookie
[147] Fix | Delete
*
[148] Fix | Delete
* Delivers a request to the X server.
[149] Fix | Delete
*
[150] Fix | Delete
* This form can be used only if the request will cause
[151] Fix | Delete
* a reply to be generated. Any returned error will be
[152] Fix | Delete
* placed in the event queue.
[153] Fix | Delete
*/
[154] Fix | Delete
xcb_test_get_version_cookie_t
[155] Fix | Delete
xcb_test_get_version_unchecked (xcb_connection_t *c,
[156] Fix | Delete
uint8_t major_version,
[157] Fix | Delete
uint16_t minor_version);
[158] Fix | Delete
[159] Fix | Delete
/**
[160] Fix | Delete
* Return the reply
[161] Fix | Delete
* @param c The connection
[162] Fix | Delete
* @param cookie The cookie
[163] Fix | Delete
* @param e The xcb_generic_error_t supplied
[164] Fix | Delete
*
[165] Fix | Delete
* Returns the reply of the request asked by
[166] Fix | Delete
*
[167] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[168] Fix | Delete
* xcb_test_get_version_unchecked(). is used.
[169] Fix | Delete
* Otherwise, it stores the error if any.
[170] Fix | Delete
*
[171] Fix | Delete
* The returned value must be freed by the caller using free().
[172] Fix | Delete
*/
[173] Fix | Delete
xcb_test_get_version_reply_t *
[174] Fix | Delete
xcb_test_get_version_reply (xcb_connection_t *c,
[175] Fix | Delete
xcb_test_get_version_cookie_t cookie /**< */,
[176] Fix | Delete
xcb_generic_error_t **e);
[177] Fix | Delete
[178] Fix | Delete
/**
[179] Fix | Delete
*
[180] Fix | Delete
* @param c The connection
[181] Fix | Delete
* @return A cookie
[182] Fix | Delete
*
[183] Fix | Delete
* Delivers a request to the X server.
[184] Fix | Delete
*
[185] Fix | Delete
*/
[186] Fix | Delete
xcb_test_compare_cursor_cookie_t
[187] Fix | Delete
xcb_test_compare_cursor (xcb_connection_t *c,
[188] Fix | Delete
xcb_window_t window,
[189] Fix | Delete
xcb_cursor_t cursor);
[190] Fix | Delete
[191] Fix | Delete
/**
[192] Fix | Delete
*
[193] Fix | Delete
* @param c The connection
[194] Fix | Delete
* @return A cookie
[195] Fix | Delete
*
[196] Fix | Delete
* Delivers a request to the X server.
[197] Fix | Delete
*
[198] Fix | Delete
* This form can be used only if the request will cause
[199] Fix | Delete
* a reply to be generated. Any returned error will be
[200] Fix | Delete
* placed in the event queue.
[201] Fix | Delete
*/
[202] Fix | Delete
xcb_test_compare_cursor_cookie_t
[203] Fix | Delete
xcb_test_compare_cursor_unchecked (xcb_connection_t *c,
[204] Fix | Delete
xcb_window_t window,
[205] Fix | Delete
xcb_cursor_t cursor);
[206] Fix | Delete
[207] Fix | Delete
/**
[208] Fix | Delete
* Return the reply
[209] Fix | Delete
* @param c The connection
[210] Fix | Delete
* @param cookie The cookie
[211] Fix | Delete
* @param e The xcb_generic_error_t supplied
[212] Fix | Delete
*
[213] Fix | Delete
* Returns the reply of the request asked by
[214] Fix | Delete
*
[215] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[216] Fix | Delete
* xcb_test_compare_cursor_unchecked(). is used.
[217] Fix | Delete
* Otherwise, it stores the error if any.
[218] Fix | Delete
*
[219] Fix | Delete
* The returned value must be freed by the caller using free().
[220] Fix | Delete
*/
[221] Fix | Delete
xcb_test_compare_cursor_reply_t *
[222] Fix | Delete
xcb_test_compare_cursor_reply (xcb_connection_t *c,
[223] Fix | Delete
xcb_test_compare_cursor_cookie_t cookie /**< */,
[224] Fix | Delete
xcb_generic_error_t **e);
[225] Fix | Delete
[226] Fix | Delete
/**
[227] Fix | Delete
*
[228] Fix | Delete
* @param c The connection
[229] Fix | Delete
* @return A cookie
[230] Fix | Delete
*
[231] Fix | Delete
* Delivers a request to the X server.
[232] Fix | Delete
*
[233] Fix | Delete
* This form can be used only if the request will not cause
[234] Fix | Delete
* a reply to be generated. Any returned error will be
[235] Fix | Delete
* saved for handling by xcb_request_check().
[236] Fix | Delete
*/
[237] Fix | Delete
xcb_void_cookie_t
[238] Fix | Delete
xcb_test_fake_input_checked (xcb_connection_t *c,
[239] Fix | Delete
uint8_t type,
[240] Fix | Delete
uint8_t detail,
[241] Fix | Delete
uint32_t time,
[242] Fix | Delete
xcb_window_t root,
[243] Fix | Delete
int16_t rootX,
[244] Fix | Delete
int16_t rootY,
[245] Fix | Delete
uint8_t deviceid);
[246] Fix | Delete
[247] Fix | Delete
/**
[248] Fix | Delete
*
[249] Fix | Delete
* @param c The connection
[250] Fix | Delete
* @return A cookie
[251] Fix | Delete
*
[252] Fix | Delete
* Delivers a request to the X server.
[253] Fix | Delete
*
[254] Fix | Delete
*/
[255] Fix | Delete
xcb_void_cookie_t
[256] Fix | Delete
xcb_test_fake_input (xcb_connection_t *c,
[257] Fix | Delete
uint8_t type,
[258] Fix | Delete
uint8_t detail,
[259] Fix | Delete
uint32_t time,
[260] Fix | Delete
xcb_window_t root,
[261] Fix | Delete
int16_t rootX,
[262] Fix | Delete
int16_t rootY,
[263] Fix | Delete
uint8_t deviceid);
[264] Fix | Delete
[265] Fix | Delete
/**
[266] Fix | Delete
*
[267] Fix | Delete
* @param c The connection
[268] Fix | Delete
* @return A cookie
[269] Fix | Delete
*
[270] Fix | Delete
* Delivers a request to the X server.
[271] Fix | Delete
*
[272] Fix | Delete
* This form can be used only if the request will not cause
[273] Fix | Delete
* a reply to be generated. Any returned error will be
[274] Fix | Delete
* saved for handling by xcb_request_check().
[275] Fix | Delete
*/
[276] Fix | Delete
xcb_void_cookie_t
[277] Fix | Delete
xcb_test_grab_control_checked (xcb_connection_t *c,
[278] Fix | Delete
uint8_t impervious);
[279] Fix | Delete
[280] Fix | Delete
/**
[281] Fix | Delete
*
[282] Fix | Delete
* @param c The connection
[283] Fix | Delete
* @return A cookie
[284] Fix | Delete
*
[285] Fix | Delete
* Delivers a request to the X server.
[286] Fix | Delete
*
[287] Fix | Delete
*/
[288] Fix | Delete
xcb_void_cookie_t
[289] Fix | Delete
xcb_test_grab_control (xcb_connection_t *c,
[290] Fix | Delete
uint8_t impervious);
[291] Fix | Delete
[292] Fix | Delete
[293] Fix | Delete
#ifdef __cplusplus
[294] Fix | Delete
}
[295] Fix | Delete
#endif
[296] Fix | Delete
[297] Fix | Delete
#endif
[298] Fix | Delete
[299] Fix | Delete
/**
[300] Fix | Delete
* @}
[301] Fix | Delete
*/
[302] Fix | Delete
[303] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function