Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/xcb
File: xevie.h
/*
[0] Fix | Delete
* This file generated automatically from xevie.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_Xevie_API XCB Xevie API
[6] Fix | Delete
* @brief Xevie XCB Protocol Implementation.
[7] Fix | Delete
* @{
[8] Fix | Delete
**/
[9] Fix | Delete
[10] Fix | Delete
#ifndef __XEVIE_H
[11] Fix | Delete
#define __XEVIE_H
[12] Fix | Delete
[13] Fix | Delete
#include "xcb.h"
[14] Fix | Delete
[15] Fix | Delete
#ifdef __cplusplus
[16] Fix | Delete
extern "C" {
[17] Fix | Delete
#endif
[18] Fix | Delete
[19] Fix | Delete
#define XCB_XEVIE_MAJOR_VERSION 1
[20] Fix | Delete
#define XCB_XEVIE_MINOR_VERSION 0
[21] Fix | Delete
[22] Fix | Delete
extern xcb_extension_t xcb_xevie_id;
[23] Fix | Delete
[24] Fix | Delete
/**
[25] Fix | Delete
* @brief xcb_xevie_query_version_cookie_t
[26] Fix | Delete
**/
[27] Fix | Delete
typedef struct xcb_xevie_query_version_cookie_t {
[28] Fix | Delete
unsigned int sequence;
[29] Fix | Delete
} xcb_xevie_query_version_cookie_t;
[30] Fix | Delete
[31] Fix | Delete
/** Opcode for xcb_xevie_query_version. */
[32] Fix | Delete
#define XCB_XEVIE_QUERY_VERSION 0
[33] Fix | Delete
[34] Fix | Delete
/**
[35] Fix | Delete
* @brief xcb_xevie_query_version_request_t
[36] Fix | Delete
**/
[37] Fix | Delete
typedef struct xcb_xevie_query_version_request_t {
[38] Fix | Delete
uint8_t major_opcode;
[39] Fix | Delete
uint8_t minor_opcode;
[40] Fix | Delete
uint16_t length;
[41] Fix | Delete
uint16_t client_major_version;
[42] Fix | Delete
uint16_t client_minor_version;
[43] Fix | Delete
} xcb_xevie_query_version_request_t;
[44] Fix | Delete
[45] Fix | Delete
/**
[46] Fix | Delete
* @brief xcb_xevie_query_version_reply_t
[47] Fix | Delete
**/
[48] Fix | Delete
typedef struct xcb_xevie_query_version_reply_t {
[49] Fix | Delete
uint8_t response_type;
[50] Fix | Delete
uint8_t pad0;
[51] Fix | Delete
uint16_t sequence;
[52] Fix | Delete
uint32_t length;
[53] Fix | Delete
uint16_t server_major_version;
[54] Fix | Delete
uint16_t server_minor_version;
[55] Fix | Delete
uint8_t pad1[20];
[56] Fix | Delete
} xcb_xevie_query_version_reply_t;
[57] Fix | Delete
[58] Fix | Delete
/**
[59] Fix | Delete
* @brief xcb_xevie_start_cookie_t
[60] Fix | Delete
**/
[61] Fix | Delete
typedef struct xcb_xevie_start_cookie_t {
[62] Fix | Delete
unsigned int sequence;
[63] Fix | Delete
} xcb_xevie_start_cookie_t;
[64] Fix | Delete
[65] Fix | Delete
/** Opcode for xcb_xevie_start. */
[66] Fix | Delete
#define XCB_XEVIE_START 1
[67] Fix | Delete
[68] Fix | Delete
/**
[69] Fix | Delete
* @brief xcb_xevie_start_request_t
[70] Fix | Delete
**/
[71] Fix | Delete
typedef struct xcb_xevie_start_request_t {
[72] Fix | Delete
uint8_t major_opcode;
[73] Fix | Delete
uint8_t minor_opcode;
[74] Fix | Delete
uint16_t length;
[75] Fix | Delete
uint32_t screen;
[76] Fix | Delete
} xcb_xevie_start_request_t;
[77] Fix | Delete
[78] Fix | Delete
/**
[79] Fix | Delete
* @brief xcb_xevie_start_reply_t
[80] Fix | Delete
**/
[81] Fix | Delete
typedef struct xcb_xevie_start_reply_t {
[82] Fix | Delete
uint8_t response_type;
[83] Fix | Delete
uint8_t pad0;
[84] Fix | Delete
uint16_t sequence;
[85] Fix | Delete
uint32_t length;
[86] Fix | Delete
uint8_t pad1[24];
[87] Fix | Delete
} xcb_xevie_start_reply_t;
[88] Fix | Delete
[89] Fix | Delete
/**
[90] Fix | Delete
* @brief xcb_xevie_end_cookie_t
[91] Fix | Delete
**/
[92] Fix | Delete
typedef struct xcb_xevie_end_cookie_t {
[93] Fix | Delete
unsigned int sequence;
[94] Fix | Delete
} xcb_xevie_end_cookie_t;
[95] Fix | Delete
[96] Fix | Delete
/** Opcode for xcb_xevie_end. */
[97] Fix | Delete
#define XCB_XEVIE_END 2
[98] Fix | Delete
[99] Fix | Delete
/**
[100] Fix | Delete
* @brief xcb_xevie_end_request_t
[101] Fix | Delete
**/
[102] Fix | Delete
typedef struct xcb_xevie_end_request_t {
[103] Fix | Delete
uint8_t major_opcode;
[104] Fix | Delete
uint8_t minor_opcode;
[105] Fix | Delete
uint16_t length;
[106] Fix | Delete
uint32_t cmap;
[107] Fix | Delete
} xcb_xevie_end_request_t;
[108] Fix | Delete
[109] Fix | Delete
/**
[110] Fix | Delete
* @brief xcb_xevie_end_reply_t
[111] Fix | Delete
**/
[112] Fix | Delete
typedef struct xcb_xevie_end_reply_t {
[113] Fix | Delete
uint8_t response_type;
[114] Fix | Delete
uint8_t pad0;
[115] Fix | Delete
uint16_t sequence;
[116] Fix | Delete
uint32_t length;
[117] Fix | Delete
uint8_t pad1[24];
[118] Fix | Delete
} xcb_xevie_end_reply_t;
[119] Fix | Delete
[120] Fix | Delete
typedef enum xcb_xevie_datatype_t {
[121] Fix | Delete
XCB_XEVIE_DATATYPE_UNMODIFIED = 0,
[122] Fix | Delete
XCB_XEVIE_DATATYPE_MODIFIED = 1
[123] Fix | Delete
} xcb_xevie_datatype_t;
[124] Fix | Delete
[125] Fix | Delete
/**
[126] Fix | Delete
* @brief xcb_xevie_event_t
[127] Fix | Delete
**/
[128] Fix | Delete
typedef struct xcb_xevie_event_t {
[129] Fix | Delete
uint8_t pad0[32];
[130] Fix | Delete
} xcb_xevie_event_t;
[131] Fix | Delete
[132] Fix | Delete
/**
[133] Fix | Delete
* @brief xcb_xevie_event_iterator_t
[134] Fix | Delete
**/
[135] Fix | Delete
typedef struct xcb_xevie_event_iterator_t {
[136] Fix | Delete
xcb_xevie_event_t *data;
[137] Fix | Delete
int rem;
[138] Fix | Delete
int index;
[139] Fix | Delete
} xcb_xevie_event_iterator_t;
[140] Fix | Delete
[141] Fix | Delete
/**
[142] Fix | Delete
* @brief xcb_xevie_send_cookie_t
[143] Fix | Delete
**/
[144] Fix | Delete
typedef struct xcb_xevie_send_cookie_t {
[145] Fix | Delete
unsigned int sequence;
[146] Fix | Delete
} xcb_xevie_send_cookie_t;
[147] Fix | Delete
[148] Fix | Delete
/** Opcode for xcb_xevie_send. */
[149] Fix | Delete
#define XCB_XEVIE_SEND 3
[150] Fix | Delete
[151] Fix | Delete
/**
[152] Fix | Delete
* @brief xcb_xevie_send_request_t
[153] Fix | Delete
**/
[154] Fix | Delete
typedef struct xcb_xevie_send_request_t {
[155] Fix | Delete
uint8_t major_opcode;
[156] Fix | Delete
uint8_t minor_opcode;
[157] Fix | Delete
uint16_t length;
[158] Fix | Delete
xcb_xevie_event_t event;
[159] Fix | Delete
uint32_t data_type;
[160] Fix | Delete
uint8_t pad0[64];
[161] Fix | Delete
} xcb_xevie_send_request_t;
[162] Fix | Delete
[163] Fix | Delete
/**
[164] Fix | Delete
* @brief xcb_xevie_send_reply_t
[165] Fix | Delete
**/
[166] Fix | Delete
typedef struct xcb_xevie_send_reply_t {
[167] Fix | Delete
uint8_t response_type;
[168] Fix | Delete
uint8_t pad0;
[169] Fix | Delete
uint16_t sequence;
[170] Fix | Delete
uint32_t length;
[171] Fix | Delete
uint8_t pad1[24];
[172] Fix | Delete
} xcb_xevie_send_reply_t;
[173] Fix | Delete
[174] Fix | Delete
/**
[175] Fix | Delete
* @brief xcb_xevie_select_input_cookie_t
[176] Fix | Delete
**/
[177] Fix | Delete
typedef struct xcb_xevie_select_input_cookie_t {
[178] Fix | Delete
unsigned int sequence;
[179] Fix | Delete
} xcb_xevie_select_input_cookie_t;
[180] Fix | Delete
[181] Fix | Delete
/** Opcode for xcb_xevie_select_input. */
[182] Fix | Delete
#define XCB_XEVIE_SELECT_INPUT 4
[183] Fix | Delete
[184] Fix | Delete
/**
[185] Fix | Delete
* @brief xcb_xevie_select_input_request_t
[186] Fix | Delete
**/
[187] Fix | Delete
typedef struct xcb_xevie_select_input_request_t {
[188] Fix | Delete
uint8_t major_opcode;
[189] Fix | Delete
uint8_t minor_opcode;
[190] Fix | Delete
uint16_t length;
[191] Fix | Delete
uint32_t event_mask;
[192] Fix | Delete
} xcb_xevie_select_input_request_t;
[193] Fix | Delete
[194] Fix | Delete
/**
[195] Fix | Delete
* @brief xcb_xevie_select_input_reply_t
[196] Fix | Delete
**/
[197] Fix | Delete
typedef struct xcb_xevie_select_input_reply_t {
[198] Fix | Delete
uint8_t response_type;
[199] Fix | Delete
uint8_t pad0;
[200] Fix | Delete
uint16_t sequence;
[201] Fix | Delete
uint32_t length;
[202] Fix | Delete
uint8_t pad1[24];
[203] Fix | Delete
} xcb_xevie_select_input_reply_t;
[204] Fix | Delete
[205] Fix | Delete
/**
[206] Fix | Delete
*
[207] Fix | Delete
* @param c The connection
[208] Fix | Delete
* @return A cookie
[209] Fix | Delete
*
[210] Fix | Delete
* Delivers a request to the X server.
[211] Fix | Delete
*
[212] Fix | Delete
*/
[213] Fix | Delete
xcb_xevie_query_version_cookie_t
[214] Fix | Delete
xcb_xevie_query_version (xcb_connection_t *c,
[215] Fix | Delete
uint16_t client_major_version,
[216] Fix | Delete
uint16_t client_minor_version);
[217] Fix | Delete
[218] Fix | Delete
/**
[219] Fix | Delete
*
[220] Fix | Delete
* @param c The connection
[221] Fix | Delete
* @return A cookie
[222] Fix | Delete
*
[223] Fix | Delete
* Delivers a request to the X server.
[224] Fix | Delete
*
[225] Fix | Delete
* This form can be used only if the request will cause
[226] Fix | Delete
* a reply to be generated. Any returned error will be
[227] Fix | Delete
* placed in the event queue.
[228] Fix | Delete
*/
[229] Fix | Delete
xcb_xevie_query_version_cookie_t
[230] Fix | Delete
xcb_xevie_query_version_unchecked (xcb_connection_t *c,
[231] Fix | Delete
uint16_t client_major_version,
[232] Fix | Delete
uint16_t client_minor_version);
[233] Fix | Delete
[234] Fix | Delete
/**
[235] Fix | Delete
* Return the reply
[236] Fix | Delete
* @param c The connection
[237] Fix | Delete
* @param cookie The cookie
[238] Fix | Delete
* @param e The xcb_generic_error_t supplied
[239] Fix | Delete
*
[240] Fix | Delete
* Returns the reply of the request asked by
[241] Fix | Delete
*
[242] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[243] Fix | Delete
* xcb_xevie_query_version_unchecked(). is used.
[244] Fix | Delete
* Otherwise, it stores the error if any.
[245] Fix | Delete
*
[246] Fix | Delete
* The returned value must be freed by the caller using free().
[247] Fix | Delete
*/
[248] Fix | Delete
xcb_xevie_query_version_reply_t *
[249] Fix | Delete
xcb_xevie_query_version_reply (xcb_connection_t *c,
[250] Fix | Delete
xcb_xevie_query_version_cookie_t cookie /**< */,
[251] Fix | Delete
xcb_generic_error_t **e);
[252] Fix | Delete
[253] Fix | Delete
/**
[254] Fix | Delete
*
[255] Fix | Delete
* @param c The connection
[256] Fix | Delete
* @return A cookie
[257] Fix | Delete
*
[258] Fix | Delete
* Delivers a request to the X server.
[259] Fix | Delete
*
[260] Fix | Delete
*/
[261] Fix | Delete
xcb_xevie_start_cookie_t
[262] Fix | Delete
xcb_xevie_start (xcb_connection_t *c,
[263] Fix | Delete
uint32_t screen);
[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 cause
[273] Fix | Delete
* a reply to be generated. Any returned error will be
[274] Fix | Delete
* placed in the event queue.
[275] Fix | Delete
*/
[276] Fix | Delete
xcb_xevie_start_cookie_t
[277] Fix | Delete
xcb_xevie_start_unchecked (xcb_connection_t *c,
[278] Fix | Delete
uint32_t screen);
[279] Fix | Delete
[280] Fix | Delete
/**
[281] Fix | Delete
* Return the reply
[282] Fix | Delete
* @param c The connection
[283] Fix | Delete
* @param cookie The cookie
[284] Fix | Delete
* @param e The xcb_generic_error_t supplied
[285] Fix | Delete
*
[286] Fix | Delete
* Returns the reply of the request asked by
[287] Fix | Delete
*
[288] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[289] Fix | Delete
* xcb_xevie_start_unchecked(). is used.
[290] Fix | Delete
* Otherwise, it stores the error if any.
[291] Fix | Delete
*
[292] Fix | Delete
* The returned value must be freed by the caller using free().
[293] Fix | Delete
*/
[294] Fix | Delete
xcb_xevie_start_reply_t *
[295] Fix | Delete
xcb_xevie_start_reply (xcb_connection_t *c,
[296] Fix | Delete
xcb_xevie_start_cookie_t cookie /**< */,
[297] Fix | Delete
xcb_generic_error_t **e);
[298] Fix | Delete
[299] Fix | Delete
/**
[300] Fix | Delete
*
[301] Fix | Delete
* @param c The connection
[302] Fix | Delete
* @return A cookie
[303] Fix | Delete
*
[304] Fix | Delete
* Delivers a request to the X server.
[305] Fix | Delete
*
[306] Fix | Delete
*/
[307] Fix | Delete
xcb_xevie_end_cookie_t
[308] Fix | Delete
xcb_xevie_end (xcb_connection_t *c,
[309] Fix | Delete
uint32_t cmap);
[310] Fix | Delete
[311] Fix | Delete
/**
[312] Fix | Delete
*
[313] Fix | Delete
* @param c The connection
[314] Fix | Delete
* @return A cookie
[315] Fix | Delete
*
[316] Fix | Delete
* Delivers a request to the X server.
[317] Fix | Delete
*
[318] Fix | Delete
* This form can be used only if the request will cause
[319] Fix | Delete
* a reply to be generated. Any returned error will be
[320] Fix | Delete
* placed in the event queue.
[321] Fix | Delete
*/
[322] Fix | Delete
xcb_xevie_end_cookie_t
[323] Fix | Delete
xcb_xevie_end_unchecked (xcb_connection_t *c,
[324] Fix | Delete
uint32_t cmap);
[325] Fix | Delete
[326] Fix | Delete
/**
[327] Fix | Delete
* Return the reply
[328] Fix | Delete
* @param c The connection
[329] Fix | Delete
* @param cookie The cookie
[330] Fix | Delete
* @param e The xcb_generic_error_t supplied
[331] Fix | Delete
*
[332] Fix | Delete
* Returns the reply of the request asked by
[333] Fix | Delete
*
[334] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[335] Fix | Delete
* xcb_xevie_end_unchecked(). is used.
[336] Fix | Delete
* Otherwise, it stores the error if any.
[337] Fix | Delete
*
[338] Fix | Delete
* The returned value must be freed by the caller using free().
[339] Fix | Delete
*/
[340] Fix | Delete
xcb_xevie_end_reply_t *
[341] Fix | Delete
xcb_xevie_end_reply (xcb_connection_t *c,
[342] Fix | Delete
xcb_xevie_end_cookie_t cookie /**< */,
[343] Fix | Delete
xcb_generic_error_t **e);
[344] Fix | Delete
[345] Fix | Delete
/**
[346] Fix | Delete
* Get the next element of the iterator
[347] Fix | Delete
* @param i Pointer to a xcb_xevie_event_iterator_t
[348] Fix | Delete
*
[349] Fix | Delete
* Get the next element in the iterator. The member rem is
[350] Fix | Delete
* decreased by one. The member data points to the next
[351] Fix | Delete
* element. The member index is increased by sizeof(xcb_xevie_event_t)
[352] Fix | Delete
*/
[353] Fix | Delete
void
[354] Fix | Delete
xcb_xevie_event_next (xcb_xevie_event_iterator_t *i);
[355] Fix | Delete
[356] Fix | Delete
/**
[357] Fix | Delete
* Return the iterator pointing to the last element
[358] Fix | Delete
* @param i An xcb_xevie_event_iterator_t
[359] Fix | Delete
* @return The iterator pointing to the last element
[360] Fix | Delete
*
[361] Fix | Delete
* Set the current element in the iterator to the last element.
[362] Fix | Delete
* The member rem is set to 0. The member data points to the
[363] Fix | Delete
* last element.
[364] Fix | Delete
*/
[365] Fix | Delete
xcb_generic_iterator_t
[366] Fix | Delete
xcb_xevie_event_end (xcb_xevie_event_iterator_t i);
[367] Fix | Delete
[368] Fix | Delete
/**
[369] Fix | Delete
*
[370] Fix | Delete
* @param c The connection
[371] Fix | Delete
* @return A cookie
[372] Fix | Delete
*
[373] Fix | Delete
* Delivers a request to the X server.
[374] Fix | Delete
*
[375] Fix | Delete
*/
[376] Fix | Delete
xcb_xevie_send_cookie_t
[377] Fix | Delete
xcb_xevie_send (xcb_connection_t *c,
[378] Fix | Delete
xcb_xevie_event_t event,
[379] Fix | Delete
uint32_t data_type);
[380] Fix | Delete
[381] Fix | Delete
/**
[382] Fix | Delete
*
[383] Fix | Delete
* @param c The connection
[384] Fix | Delete
* @return A cookie
[385] Fix | Delete
*
[386] Fix | Delete
* Delivers a request to the X server.
[387] Fix | Delete
*
[388] Fix | Delete
* This form can be used only if the request will cause
[389] Fix | Delete
* a reply to be generated. Any returned error will be
[390] Fix | Delete
* placed in the event queue.
[391] Fix | Delete
*/
[392] Fix | Delete
xcb_xevie_send_cookie_t
[393] Fix | Delete
xcb_xevie_send_unchecked (xcb_connection_t *c,
[394] Fix | Delete
xcb_xevie_event_t event,
[395] Fix | Delete
uint32_t data_type);
[396] Fix | Delete
[397] Fix | Delete
/**
[398] Fix | Delete
* Return the reply
[399] Fix | Delete
* @param c The connection
[400] Fix | Delete
* @param cookie The cookie
[401] Fix | Delete
* @param e The xcb_generic_error_t supplied
[402] Fix | Delete
*
[403] Fix | Delete
* Returns the reply of the request asked by
[404] Fix | Delete
*
[405] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[406] Fix | Delete
* xcb_xevie_send_unchecked(). is used.
[407] Fix | Delete
* Otherwise, it stores the error if any.
[408] Fix | Delete
*
[409] Fix | Delete
* The returned value must be freed by the caller using free().
[410] Fix | Delete
*/
[411] Fix | Delete
xcb_xevie_send_reply_t *
[412] Fix | Delete
xcb_xevie_send_reply (xcb_connection_t *c,
[413] Fix | Delete
xcb_xevie_send_cookie_t cookie /**< */,
[414] Fix | Delete
xcb_generic_error_t **e);
[415] Fix | Delete
[416] Fix | Delete
/**
[417] Fix | Delete
*
[418] Fix | Delete
* @param c The connection
[419] Fix | Delete
* @return A cookie
[420] Fix | Delete
*
[421] Fix | Delete
* Delivers a request to the X server.
[422] Fix | Delete
*
[423] Fix | Delete
*/
[424] Fix | Delete
xcb_xevie_select_input_cookie_t
[425] Fix | Delete
xcb_xevie_select_input (xcb_connection_t *c,
[426] Fix | Delete
uint32_t event_mask);
[427] Fix | Delete
[428] Fix | Delete
/**
[429] Fix | Delete
*
[430] Fix | Delete
* @param c The connection
[431] Fix | Delete
* @return A cookie
[432] Fix | Delete
*
[433] Fix | Delete
* Delivers a request to the X server.
[434] Fix | Delete
*
[435] Fix | Delete
* This form can be used only if the request will cause
[436] Fix | Delete
* a reply to be generated. Any returned error will be
[437] Fix | Delete
* placed in the event queue.
[438] Fix | Delete
*/
[439] Fix | Delete
xcb_xevie_select_input_cookie_t
[440] Fix | Delete
xcb_xevie_select_input_unchecked (xcb_connection_t *c,
[441] Fix | Delete
uint32_t event_mask);
[442] Fix | Delete
[443] Fix | Delete
/**
[444] Fix | Delete
* Return the reply
[445] Fix | Delete
* @param c The connection
[446] Fix | Delete
* @param cookie The cookie
[447] Fix | Delete
* @param e The xcb_generic_error_t supplied
[448] Fix | Delete
*
[449] Fix | Delete
* Returns the reply of the request asked by
[450] Fix | Delete
*
[451] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[452] Fix | Delete
* xcb_xevie_select_input_unchecked(). is used.
[453] Fix | Delete
* Otherwise, it stores the error if any.
[454] Fix | Delete
*
[455] Fix | Delete
* The returned value must be freed by the caller using free().
[456] Fix | Delete
*/
[457] Fix | Delete
xcb_xevie_select_input_reply_t *
[458] Fix | Delete
xcb_xevie_select_input_reply (xcb_connection_t *c,
[459] Fix | Delete
xcb_xevie_select_input_cookie_t cookie /**< */,
[460] Fix | Delete
xcb_generic_error_t **e);
[461] Fix | Delete
[462] Fix | Delete
[463] Fix | Delete
#ifdef __cplusplus
[464] Fix | Delete
}
[465] Fix | Delete
#endif
[466] Fix | Delete
[467] Fix | Delete
#endif
[468] Fix | Delete
[469] Fix | Delete
/**
[470] Fix | Delete
* @}
[471] Fix | Delete
*/
[472] Fix | Delete
[473] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function