XCB
1.8.1
|
00001 /* 00002 * This file generated automatically from xc_misc.xml by c_client.py. 00003 * Edit at your peril. 00004 */ 00005 00012 #ifndef __XC_MISC_H 00013 #define __XC_MISC_H 00014 00015 #include "xcb.h" 00016 00017 #ifdef __cplusplus 00018 extern "C" { 00019 #endif 00020 00021 #define XCB_XCMISC_MAJOR_VERSION 1 00022 #define XCB_XCMISC_MINOR_VERSION 1 00023 00024 extern xcb_extension_t xcb_xc_misc_id; 00025 00029 typedef struct xcb_xc_misc_get_version_cookie_t { 00030 unsigned int sequence; 00031 } xcb_xc_misc_get_version_cookie_t; 00032 00034 #define XCB_XC_MISC_GET_VERSION 0 00035 00039 typedef struct xcb_xc_misc_get_version_request_t { 00040 uint8_t major_opcode; 00041 uint8_t minor_opcode; 00042 uint16_t length; 00043 uint16_t client_major_version; 00044 uint16_t client_minor_version; 00045 } xcb_xc_misc_get_version_request_t; 00046 00050 typedef struct xcb_xc_misc_get_version_reply_t { 00051 uint8_t response_type; 00052 uint8_t pad0; 00053 uint16_t sequence; 00054 uint32_t length; 00055 uint16_t server_major_version; 00056 uint16_t server_minor_version; 00057 } xcb_xc_misc_get_version_reply_t; 00058 00062 typedef struct xcb_xc_misc_get_xid_range_cookie_t { 00063 unsigned int sequence; 00064 } xcb_xc_misc_get_xid_range_cookie_t; 00065 00067 #define XCB_XC_MISC_GET_XID_RANGE 1 00068 00072 typedef struct xcb_xc_misc_get_xid_range_request_t { 00073 uint8_t major_opcode; 00074 uint8_t minor_opcode; 00075 uint16_t length; 00076 } xcb_xc_misc_get_xid_range_request_t; 00077 00081 typedef struct xcb_xc_misc_get_xid_range_reply_t { 00082 uint8_t response_type; 00083 uint8_t pad0; 00084 uint16_t sequence; 00085 uint32_t length; 00086 uint32_t start_id; 00087 uint32_t count; 00088 } xcb_xc_misc_get_xid_range_reply_t; 00089 00093 typedef struct xcb_xc_misc_get_xid_list_cookie_t { 00094 unsigned int sequence; 00095 } xcb_xc_misc_get_xid_list_cookie_t; 00096 00098 #define XCB_XC_MISC_GET_XID_LIST 2 00099 00103 typedef struct xcb_xc_misc_get_xid_list_request_t { 00104 uint8_t major_opcode; 00105 uint8_t minor_opcode; 00106 uint16_t length; 00107 uint32_t count; 00108 } xcb_xc_misc_get_xid_list_request_t; 00109 00113 typedef struct xcb_xc_misc_get_xid_list_reply_t { 00114 uint8_t response_type; 00115 uint8_t pad0; 00116 uint16_t sequence; 00117 uint32_t length; 00118 uint32_t ids_len; 00119 uint8_t pad1[20]; 00120 } xcb_xc_misc_get_xid_list_reply_t; 00121 00131 /***************************************************************************** 00132 ** 00133 ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version 00134 ** 00135 ** @param xcb_connection_t *c 00136 ** @param uint16_t client_major_version 00137 ** @param uint16_t client_minor_version 00138 ** @returns xcb_xc_misc_get_version_cookie_t 00139 ** 00140 *****************************************************************************/ 00141 00142 xcb_xc_misc_get_version_cookie_t 00143 xcb_xc_misc_get_version (xcb_connection_t *c , 00144 uint16_t client_major_version , 00145 uint16_t client_minor_version ); 00146 00159 /***************************************************************************** 00160 ** 00161 ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version_unchecked 00162 ** 00163 ** @param xcb_connection_t *c 00164 ** @param uint16_t client_major_version 00165 ** @param uint16_t client_minor_version 00166 ** @returns xcb_xc_misc_get_version_cookie_t 00167 ** 00168 *****************************************************************************/ 00169 00170 xcb_xc_misc_get_version_cookie_t 00171 xcb_xc_misc_get_version_unchecked (xcb_connection_t *c , 00172 uint16_t client_major_version , 00173 uint16_t client_minor_version ); 00174 00190 /***************************************************************************** 00191 ** 00192 ** xcb_xc_misc_get_version_reply_t * xcb_xc_misc_get_version_reply 00193 ** 00194 ** @param xcb_connection_t *c 00195 ** @param xcb_xc_misc_get_version_cookie_t cookie 00196 ** @param xcb_generic_error_t **e 00197 ** @returns xcb_xc_misc_get_version_reply_t * 00198 ** 00199 *****************************************************************************/ 00200 00201 xcb_xc_misc_get_version_reply_t * 00202 xcb_xc_misc_get_version_reply (xcb_connection_t *c , 00203 xcb_xc_misc_get_version_cookie_t cookie , 00204 xcb_generic_error_t **e ); 00205 00215 /***************************************************************************** 00216 ** 00217 ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range 00218 ** 00219 ** @param xcb_connection_t *c 00220 ** @returns xcb_xc_misc_get_xid_range_cookie_t 00221 ** 00222 *****************************************************************************/ 00223 00224 xcb_xc_misc_get_xid_range_cookie_t 00225 xcb_xc_misc_get_xid_range (xcb_connection_t *c ); 00226 00239 /***************************************************************************** 00240 ** 00241 ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range_unchecked 00242 ** 00243 ** @param xcb_connection_t *c 00244 ** @returns xcb_xc_misc_get_xid_range_cookie_t 00245 ** 00246 *****************************************************************************/ 00247 00248 xcb_xc_misc_get_xid_range_cookie_t 00249 xcb_xc_misc_get_xid_range_unchecked (xcb_connection_t *c ); 00250 00266 /***************************************************************************** 00267 ** 00268 ** xcb_xc_misc_get_xid_range_reply_t * xcb_xc_misc_get_xid_range_reply 00269 ** 00270 ** @param xcb_connection_t *c 00271 ** @param xcb_xc_misc_get_xid_range_cookie_t cookie 00272 ** @param xcb_generic_error_t **e 00273 ** @returns xcb_xc_misc_get_xid_range_reply_t * 00274 ** 00275 *****************************************************************************/ 00276 00277 xcb_xc_misc_get_xid_range_reply_t * 00278 xcb_xc_misc_get_xid_range_reply (xcb_connection_t *c , 00279 xcb_xc_misc_get_xid_range_cookie_t cookie , 00280 xcb_generic_error_t **e ); 00281 00282 int 00283 xcb_xc_misc_get_xid_list_sizeof (const void *_buffer ); 00284 00294 /***************************************************************************** 00295 ** 00296 ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list 00297 ** 00298 ** @param xcb_connection_t *c 00299 ** @param uint32_t count 00300 ** @returns xcb_xc_misc_get_xid_list_cookie_t 00301 ** 00302 *****************************************************************************/ 00303 00304 xcb_xc_misc_get_xid_list_cookie_t 00305 xcb_xc_misc_get_xid_list (xcb_connection_t *c , 00306 uint32_t count ); 00307 00320 /***************************************************************************** 00321 ** 00322 ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list_unchecked 00323 ** 00324 ** @param xcb_connection_t *c 00325 ** @param uint32_t count 00326 ** @returns xcb_xc_misc_get_xid_list_cookie_t 00327 ** 00328 *****************************************************************************/ 00329 00330 xcb_xc_misc_get_xid_list_cookie_t 00331 xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c , 00332 uint32_t count ); 00333 00334 00335 /***************************************************************************** 00336 ** 00337 ** uint32_t * xcb_xc_misc_get_xid_list_ids 00338 ** 00339 ** @param const xcb_xc_misc_get_xid_list_reply_t *R 00340 ** @returns uint32_t * 00341 ** 00342 *****************************************************************************/ 00343 00344 uint32_t * 00345 xcb_xc_misc_get_xid_list_ids (const xcb_xc_misc_get_xid_list_reply_t *R ); 00346 00347 00348 /***************************************************************************** 00349 ** 00350 ** int xcb_xc_misc_get_xid_list_ids_length 00351 ** 00352 ** @param const xcb_xc_misc_get_xid_list_reply_t *R 00353 ** @returns int 00354 ** 00355 *****************************************************************************/ 00356 00357 int 00358 xcb_xc_misc_get_xid_list_ids_length (const xcb_xc_misc_get_xid_list_reply_t *R ); 00359 00360 00361 /***************************************************************************** 00362 ** 00363 ** xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end 00364 ** 00365 ** @param const xcb_xc_misc_get_xid_list_reply_t *R 00366 ** @returns xcb_generic_iterator_t 00367 ** 00368 *****************************************************************************/ 00369 00370 xcb_generic_iterator_t 00371 xcb_xc_misc_get_xid_list_ids_end (const xcb_xc_misc_get_xid_list_reply_t *R ); 00372 00388 /***************************************************************************** 00389 ** 00390 ** xcb_xc_misc_get_xid_list_reply_t * xcb_xc_misc_get_xid_list_reply 00391 ** 00392 ** @param xcb_connection_t *c 00393 ** @param xcb_xc_misc_get_xid_list_cookie_t cookie 00394 ** @param xcb_generic_error_t **e 00395 ** @returns xcb_xc_misc_get_xid_list_reply_t * 00396 ** 00397 *****************************************************************************/ 00398 00399 xcb_xc_misc_get_xid_list_reply_t * 00400 xcb_xc_misc_get_xid_list_reply (xcb_connection_t *c , 00401 xcb_xc_misc_get_xid_list_cookie_t cookie , 00402 xcb_generic_error_t **e ); 00403 00404 00405 #ifdef __cplusplus 00406 } 00407 #endif 00408 00409 #endif 00410