xc_misc.h

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 
00291 /*****************************************************************************
00292  **
00293  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list
00294  ** 
00295  ** @param xcb_connection_t *c
00296  ** @param uint32_t          count
00297  ** @returns xcb_xc_misc_get_xid_list_cookie_t
00298  **
00299  *****************************************************************************/
00300  
00301 xcb_xc_misc_get_xid_list_cookie_t
00302 xcb_xc_misc_get_xid_list (xcb_connection_t *c  ,
00303                           uint32_t          count  );
00304 
00317 /*****************************************************************************
00318  **
00319  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list_unchecked
00320  ** 
00321  ** @param xcb_connection_t *c
00322  ** @param uint32_t          count
00323  ** @returns xcb_xc_misc_get_xid_list_cookie_t
00324  **
00325  *****************************************************************************/
00326  
00327 xcb_xc_misc_get_xid_list_cookie_t
00328 xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c  ,
00329                                     uint32_t          count  );
00330 
00331 
00332 /*****************************************************************************
00333  **
00334  ** uint32_t * xcb_xc_misc_get_xid_list_ids
00335  ** 
00336  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00337  ** @returns uint32_t *
00338  **
00339  *****************************************************************************/
00340  
00341 uint32_t *
00342 xcb_xc_misc_get_xid_list_ids (const xcb_xc_misc_get_xid_list_reply_t *R  );
00343 
00344 
00345 /*****************************************************************************
00346  **
00347  ** int xcb_xc_misc_get_xid_list_ids_length
00348  ** 
00349  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00350  ** @returns int
00351  **
00352  *****************************************************************************/
00353  
00354 int
00355 xcb_xc_misc_get_xid_list_ids_length (const xcb_xc_misc_get_xid_list_reply_t *R  );
00356 
00357 
00358 /*****************************************************************************
00359  **
00360  ** xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end
00361  ** 
00362  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00363  ** @returns xcb_generic_iterator_t
00364  **
00365  *****************************************************************************/
00366  
00367 xcb_generic_iterator_t
00368 xcb_xc_misc_get_xid_list_ids_end (const xcb_xc_misc_get_xid_list_reply_t *R  );
00369 
00385 /*****************************************************************************
00386  **
00387  ** xcb_xc_misc_get_xid_list_reply_t * xcb_xc_misc_get_xid_list_reply
00388  ** 
00389  ** @param xcb_connection_t                   *c
00390  ** @param xcb_xc_misc_get_xid_list_cookie_t   cookie
00391  ** @param xcb_generic_error_t               **e
00392  ** @returns xcb_xc_misc_get_xid_list_reply_t *
00393  **
00394  *****************************************************************************/
00395  
00396 xcb_xc_misc_get_xid_list_reply_t *
00397 xcb_xc_misc_get_xid_list_reply (xcb_connection_t                   *c  ,
00398                                 xcb_xc_misc_get_xid_list_cookie_t   cookie  ,
00399                                 xcb_generic_error_t               **e  );
00400 
00401 
00402 #ifdef __cplusplus
00403 }
00404 #endif
00405 
00406 #endif
00407 

Generated on Sun Aug 22 17:43:36 2010 for XCB by  doxygen 1.5.4