Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../usr/include/xcb
File: damage.h
/*
[0] Fix | Delete
* This file generated automatically from damage.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_Damage_API XCB Damage API
[6] Fix | Delete
* @brief Damage XCB Protocol Implementation.
[7] Fix | Delete
* @{
[8] Fix | Delete
**/
[9] Fix | Delete
[10] Fix | Delete
#ifndef __DAMAGE_H
[11] Fix | Delete
#define __DAMAGE_H
[12] Fix | Delete
[13] Fix | Delete
#include "xcb.h"
[14] Fix | Delete
#include "xproto.h"
[15] Fix | Delete
#include "xfixes.h"
[16] Fix | Delete
[17] Fix | Delete
#ifdef __cplusplus
[18] Fix | Delete
extern "C" {
[19] Fix | Delete
#endif
[20] Fix | Delete
[21] Fix | Delete
#define XCB_DAMAGE_MAJOR_VERSION 1
[22] Fix | Delete
#define XCB_DAMAGE_MINOR_VERSION 1
[23] Fix | Delete
[24] Fix | Delete
extern xcb_extension_t xcb_damage_id;
[25] Fix | Delete
[26] Fix | Delete
typedef uint32_t xcb_damage_damage_t;
[27] Fix | Delete
[28] Fix | Delete
/**
[29] Fix | Delete
* @brief xcb_damage_damage_iterator_t
[30] Fix | Delete
**/
[31] Fix | Delete
typedef struct xcb_damage_damage_iterator_t {
[32] Fix | Delete
xcb_damage_damage_t *data;
[33] Fix | Delete
int rem;
[34] Fix | Delete
int index;
[35] Fix | Delete
} xcb_damage_damage_iterator_t;
[36] Fix | Delete
[37] Fix | Delete
typedef enum xcb_damage_report_level_t {
[38] Fix | Delete
XCB_DAMAGE_REPORT_LEVEL_RAW_RECTANGLES = 0,
[39] Fix | Delete
XCB_DAMAGE_REPORT_LEVEL_DELTA_RECTANGLES = 1,
[40] Fix | Delete
XCB_DAMAGE_REPORT_LEVEL_BOUNDING_BOX = 2,
[41] Fix | Delete
XCB_DAMAGE_REPORT_LEVEL_NON_EMPTY = 3
[42] Fix | Delete
} xcb_damage_report_level_t;
[43] Fix | Delete
[44] Fix | Delete
/** Opcode for xcb_damage_bad_damage. */
[45] Fix | Delete
#define XCB_DAMAGE_BAD_DAMAGE 0
[46] Fix | Delete
[47] Fix | Delete
/**
[48] Fix | Delete
* @brief xcb_damage_bad_damage_error_t
[49] Fix | Delete
**/
[50] Fix | Delete
typedef struct xcb_damage_bad_damage_error_t {
[51] Fix | Delete
uint8_t response_type;
[52] Fix | Delete
uint8_t error_code;
[53] Fix | Delete
uint16_t sequence;
[54] Fix | Delete
} xcb_damage_bad_damage_error_t;
[55] Fix | Delete
[56] Fix | Delete
/**
[57] Fix | Delete
* @brief xcb_damage_query_version_cookie_t
[58] Fix | Delete
**/
[59] Fix | Delete
typedef struct xcb_damage_query_version_cookie_t {
[60] Fix | Delete
unsigned int sequence;
[61] Fix | Delete
} xcb_damage_query_version_cookie_t;
[62] Fix | Delete
[63] Fix | Delete
/** Opcode for xcb_damage_query_version. */
[64] Fix | Delete
#define XCB_DAMAGE_QUERY_VERSION 0
[65] Fix | Delete
[66] Fix | Delete
/**
[67] Fix | Delete
* @brief xcb_damage_query_version_request_t
[68] Fix | Delete
**/
[69] Fix | Delete
typedef struct xcb_damage_query_version_request_t {
[70] Fix | Delete
uint8_t major_opcode;
[71] Fix | Delete
uint8_t minor_opcode;
[72] Fix | Delete
uint16_t length;
[73] Fix | Delete
uint32_t client_major_version;
[74] Fix | Delete
uint32_t client_minor_version;
[75] Fix | Delete
} xcb_damage_query_version_request_t;
[76] Fix | Delete
[77] Fix | Delete
/**
[78] Fix | Delete
* @brief xcb_damage_query_version_reply_t
[79] Fix | Delete
**/
[80] Fix | Delete
typedef struct xcb_damage_query_version_reply_t {
[81] Fix | Delete
uint8_t response_type;
[82] Fix | Delete
uint8_t pad0;
[83] Fix | Delete
uint16_t sequence;
[84] Fix | Delete
uint32_t length;
[85] Fix | Delete
uint32_t major_version;
[86] Fix | Delete
uint32_t minor_version;
[87] Fix | Delete
uint8_t pad1[16];
[88] Fix | Delete
} xcb_damage_query_version_reply_t;
[89] Fix | Delete
[90] Fix | Delete
/** Opcode for xcb_damage_create. */
[91] Fix | Delete
#define XCB_DAMAGE_CREATE 1
[92] Fix | Delete
[93] Fix | Delete
/**
[94] Fix | Delete
* @brief xcb_damage_create_request_t
[95] Fix | Delete
**/
[96] Fix | Delete
typedef struct xcb_damage_create_request_t {
[97] Fix | Delete
uint8_t major_opcode;
[98] Fix | Delete
uint8_t minor_opcode;
[99] Fix | Delete
uint16_t length;
[100] Fix | Delete
xcb_damage_damage_t damage;
[101] Fix | Delete
xcb_drawable_t drawable;
[102] Fix | Delete
uint8_t level;
[103] Fix | Delete
uint8_t pad0[3];
[104] Fix | Delete
} xcb_damage_create_request_t;
[105] Fix | Delete
[106] Fix | Delete
/** Opcode for xcb_damage_destroy. */
[107] Fix | Delete
#define XCB_DAMAGE_DESTROY 2
[108] Fix | Delete
[109] Fix | Delete
/**
[110] Fix | Delete
* @brief xcb_damage_destroy_request_t
[111] Fix | Delete
**/
[112] Fix | Delete
typedef struct xcb_damage_destroy_request_t {
[113] Fix | Delete
uint8_t major_opcode;
[114] Fix | Delete
uint8_t minor_opcode;
[115] Fix | Delete
uint16_t length;
[116] Fix | Delete
xcb_damage_damage_t damage;
[117] Fix | Delete
} xcb_damage_destroy_request_t;
[118] Fix | Delete
[119] Fix | Delete
/** Opcode for xcb_damage_subtract. */
[120] Fix | Delete
#define XCB_DAMAGE_SUBTRACT 3
[121] Fix | Delete
[122] Fix | Delete
/**
[123] Fix | Delete
* @brief xcb_damage_subtract_request_t
[124] Fix | Delete
**/
[125] Fix | Delete
typedef struct xcb_damage_subtract_request_t {
[126] Fix | Delete
uint8_t major_opcode;
[127] Fix | Delete
uint8_t minor_opcode;
[128] Fix | Delete
uint16_t length;
[129] Fix | Delete
xcb_damage_damage_t damage;
[130] Fix | Delete
xcb_xfixes_region_t repair;
[131] Fix | Delete
xcb_xfixes_region_t parts;
[132] Fix | Delete
} xcb_damage_subtract_request_t;
[133] Fix | Delete
[134] Fix | Delete
/** Opcode for xcb_damage_add. */
[135] Fix | Delete
#define XCB_DAMAGE_ADD 4
[136] Fix | Delete
[137] Fix | Delete
/**
[138] Fix | Delete
* @brief xcb_damage_add_request_t
[139] Fix | Delete
**/
[140] Fix | Delete
typedef struct xcb_damage_add_request_t {
[141] Fix | Delete
uint8_t major_opcode;
[142] Fix | Delete
uint8_t minor_opcode;
[143] Fix | Delete
uint16_t length;
[144] Fix | Delete
xcb_drawable_t drawable;
[145] Fix | Delete
xcb_xfixes_region_t region;
[146] Fix | Delete
} xcb_damage_add_request_t;
[147] Fix | Delete
[148] Fix | Delete
/** Opcode for xcb_damage_notify. */
[149] Fix | Delete
#define XCB_DAMAGE_NOTIFY 0
[150] Fix | Delete
[151] Fix | Delete
/**
[152] Fix | Delete
* @brief xcb_damage_notify_event_t
[153] Fix | Delete
**/
[154] Fix | Delete
typedef struct xcb_damage_notify_event_t {
[155] Fix | Delete
uint8_t response_type;
[156] Fix | Delete
uint8_t level;
[157] Fix | Delete
uint16_t sequence;
[158] Fix | Delete
xcb_drawable_t drawable;
[159] Fix | Delete
xcb_damage_damage_t damage;
[160] Fix | Delete
xcb_timestamp_t timestamp;
[161] Fix | Delete
xcb_rectangle_t area;
[162] Fix | Delete
xcb_rectangle_t geometry;
[163] Fix | Delete
} xcb_damage_notify_event_t;
[164] Fix | Delete
[165] Fix | Delete
/**
[166] Fix | Delete
* Get the next element of the iterator
[167] Fix | Delete
* @param i Pointer to a xcb_damage_damage_iterator_t
[168] Fix | Delete
*
[169] Fix | Delete
* Get the next element in the iterator. The member rem is
[170] Fix | Delete
* decreased by one. The member data points to the next
[171] Fix | Delete
* element. The member index is increased by sizeof(xcb_damage_damage_t)
[172] Fix | Delete
*/
[173] Fix | Delete
void
[174] Fix | Delete
xcb_damage_damage_next (xcb_damage_damage_iterator_t *i);
[175] Fix | Delete
[176] Fix | Delete
/**
[177] Fix | Delete
* Return the iterator pointing to the last element
[178] Fix | Delete
* @param i An xcb_damage_damage_iterator_t
[179] Fix | Delete
* @return The iterator pointing to the last element
[180] Fix | Delete
*
[181] Fix | Delete
* Set the current element in the iterator to the last element.
[182] Fix | Delete
* The member rem is set to 0. The member data points to the
[183] Fix | Delete
* last element.
[184] Fix | Delete
*/
[185] Fix | Delete
xcb_generic_iterator_t
[186] Fix | Delete
xcb_damage_damage_end (xcb_damage_damage_iterator_t i);
[187] Fix | Delete
[188] Fix | Delete
/**
[189] Fix | Delete
*
[190] Fix | Delete
* @param c The connection
[191] Fix | Delete
* @return A cookie
[192] Fix | Delete
*
[193] Fix | Delete
* Delivers a request to the X server.
[194] Fix | Delete
*
[195] Fix | Delete
*/
[196] Fix | Delete
xcb_damage_query_version_cookie_t
[197] Fix | Delete
xcb_damage_query_version (xcb_connection_t *c,
[198] Fix | Delete
uint32_t client_major_version,
[199] Fix | Delete
uint32_t client_minor_version);
[200] Fix | Delete
[201] Fix | Delete
/**
[202] Fix | Delete
*
[203] Fix | Delete
* @param c The connection
[204] Fix | Delete
* @return A cookie
[205] Fix | Delete
*
[206] Fix | Delete
* Delivers a request to the X server.
[207] Fix | Delete
*
[208] Fix | Delete
* This form can be used only if the request will cause
[209] Fix | Delete
* a reply to be generated. Any returned error will be
[210] Fix | Delete
* placed in the event queue.
[211] Fix | Delete
*/
[212] Fix | Delete
xcb_damage_query_version_cookie_t
[213] Fix | Delete
xcb_damage_query_version_unchecked (xcb_connection_t *c,
[214] Fix | Delete
uint32_t client_major_version,
[215] Fix | Delete
uint32_t client_minor_version);
[216] Fix | Delete
[217] Fix | Delete
/**
[218] Fix | Delete
* Return the reply
[219] Fix | Delete
* @param c The connection
[220] Fix | Delete
* @param cookie The cookie
[221] Fix | Delete
* @param e The xcb_generic_error_t supplied
[222] Fix | Delete
*
[223] Fix | Delete
* Returns the reply of the request asked by
[224] Fix | Delete
*
[225] Fix | Delete
* The parameter @p e supplied to this function must be NULL if
[226] Fix | Delete
* xcb_damage_query_version_unchecked(). is used.
[227] Fix | Delete
* Otherwise, it stores the error if any.
[228] Fix | Delete
*
[229] Fix | Delete
* The returned value must be freed by the caller using free().
[230] Fix | Delete
*/
[231] Fix | Delete
xcb_damage_query_version_reply_t *
[232] Fix | Delete
xcb_damage_query_version_reply (xcb_connection_t *c,
[233] Fix | Delete
xcb_damage_query_version_cookie_t cookie /**< */,
[234] Fix | Delete
xcb_generic_error_t **e);
[235] Fix | Delete
[236] Fix | Delete
/**
[237] Fix | Delete
*
[238] Fix | Delete
* @param c The connection
[239] Fix | Delete
* @return A cookie
[240] Fix | Delete
*
[241] Fix | Delete
* Delivers a request to the X server.
[242] Fix | Delete
*
[243] Fix | Delete
* This form can be used only if the request will not cause
[244] Fix | Delete
* a reply to be generated. Any returned error will be
[245] Fix | Delete
* saved for handling by xcb_request_check().
[246] Fix | Delete
*/
[247] Fix | Delete
xcb_void_cookie_t
[248] Fix | Delete
xcb_damage_create_checked (xcb_connection_t *c,
[249] Fix | Delete
xcb_damage_damage_t damage,
[250] Fix | Delete
xcb_drawable_t drawable,
[251] Fix | Delete
uint8_t level);
[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_void_cookie_t
[262] Fix | Delete
xcb_damage_create (xcb_connection_t *c,
[263] Fix | Delete
xcb_damage_damage_t damage,
[264] Fix | Delete
xcb_drawable_t drawable,
[265] Fix | Delete
uint8_t level);
[266] Fix | Delete
[267] Fix | Delete
/**
[268] Fix | Delete
*
[269] Fix | Delete
* @param c The connection
[270] Fix | Delete
* @return A cookie
[271] Fix | Delete
*
[272] Fix | Delete
* Delivers a request to the X server.
[273] Fix | Delete
*
[274] Fix | Delete
* This form can be used only if the request will not cause
[275] Fix | Delete
* a reply to be generated. Any returned error will be
[276] Fix | Delete
* saved for handling by xcb_request_check().
[277] Fix | Delete
*/
[278] Fix | Delete
xcb_void_cookie_t
[279] Fix | Delete
xcb_damage_destroy_checked (xcb_connection_t *c,
[280] Fix | Delete
xcb_damage_damage_t damage);
[281] Fix | Delete
[282] Fix | Delete
/**
[283] Fix | Delete
*
[284] Fix | Delete
* @param c The connection
[285] Fix | Delete
* @return A cookie
[286] Fix | Delete
*
[287] Fix | Delete
* Delivers a request to the X server.
[288] Fix | Delete
*
[289] Fix | Delete
*/
[290] Fix | Delete
xcb_void_cookie_t
[291] Fix | Delete
xcb_damage_destroy (xcb_connection_t *c,
[292] Fix | Delete
xcb_damage_damage_t damage);
[293] Fix | Delete
[294] Fix | Delete
/**
[295] Fix | Delete
*
[296] Fix | Delete
* @param c The connection
[297] Fix | Delete
* @return A cookie
[298] Fix | Delete
*
[299] Fix | Delete
* Delivers a request to the X server.
[300] Fix | Delete
*
[301] Fix | Delete
* This form can be used only if the request will not cause
[302] Fix | Delete
* a reply to be generated. Any returned error will be
[303] Fix | Delete
* saved for handling by xcb_request_check().
[304] Fix | Delete
*/
[305] Fix | Delete
xcb_void_cookie_t
[306] Fix | Delete
xcb_damage_subtract_checked (xcb_connection_t *c,
[307] Fix | Delete
xcb_damage_damage_t damage,
[308] Fix | Delete
xcb_xfixes_region_t repair,
[309] Fix | Delete
xcb_xfixes_region_t parts);
[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
*/
[319] Fix | Delete
xcb_void_cookie_t
[320] Fix | Delete
xcb_damage_subtract (xcb_connection_t *c,
[321] Fix | Delete
xcb_damage_damage_t damage,
[322] Fix | Delete
xcb_xfixes_region_t repair,
[323] Fix | Delete
xcb_xfixes_region_t parts);
[324] Fix | Delete
[325] Fix | Delete
/**
[326] Fix | Delete
*
[327] Fix | Delete
* @param c The connection
[328] Fix | Delete
* @return A cookie
[329] Fix | Delete
*
[330] Fix | Delete
* Delivers a request to the X server.
[331] Fix | Delete
*
[332] Fix | Delete
* This form can be used only if the request will not cause
[333] Fix | Delete
* a reply to be generated. Any returned error will be
[334] Fix | Delete
* saved for handling by xcb_request_check().
[335] Fix | Delete
*/
[336] Fix | Delete
xcb_void_cookie_t
[337] Fix | Delete
xcb_damage_add_checked (xcb_connection_t *c,
[338] Fix | Delete
xcb_drawable_t drawable,
[339] Fix | Delete
xcb_xfixes_region_t region);
[340] Fix | Delete
[341] Fix | Delete
/**
[342] Fix | Delete
*
[343] Fix | Delete
* @param c The connection
[344] Fix | Delete
* @return A cookie
[345] Fix | Delete
*
[346] Fix | Delete
* Delivers a request to the X server.
[347] Fix | Delete
*
[348] Fix | Delete
*/
[349] Fix | Delete
xcb_void_cookie_t
[350] Fix | Delete
xcb_damage_add (xcb_connection_t *c,
[351] Fix | Delete
xcb_drawable_t drawable,
[352] Fix | Delete
xcb_xfixes_region_t region);
[353] Fix | Delete
[354] Fix | Delete
[355] Fix | Delete
#ifdef __cplusplus
[356] Fix | Delete
}
[357] Fix | Delete
#endif
[358] Fix | Delete
[359] Fix | Delete
#endif
[360] Fix | Delete
[361] Fix | Delete
/**
[362] Fix | Delete
* @}
[363] Fix | Delete
*/
[364] Fix | Delete
[365] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function