xc_misc.h

00001 /*
00002  * This file generated automatically from xc_misc.xml by c-client.xsl using XSLT.
00003  * Edit at your peril.
00004  */
00005 
00012 #ifndef __XC_MISC_H
00013 #define __XC_MISC_H
00014 
00015 #include "xcb.h"
00016 
00017 #define XCB_XCMISC_MAJOR_VERSION 1
00018 #define XCB_XCMISC_MINOR_VERSION 1
00019   
00020 extern xcb_extension_t xcb_xc_misc_id;
00021 
00025 typedef struct xcb_xc_misc_get_version_cookie_t {
00026     unsigned int sequence; 
00027 } xcb_xc_misc_get_version_cookie_t;
00028 
00030 #define XCB_XC_MISC_GET_VERSION 0
00031 
00035 typedef struct xcb_xc_misc_get_version_request_t {
00036     uint8_t  major_opcode; 
00037     uint8_t  minor_opcode; 
00038     uint16_t length; 
00039     uint16_t client_major_version; 
00040     uint16_t client_minor_version; 
00041 } xcb_xc_misc_get_version_request_t;
00042 
00046 typedef struct xcb_xc_misc_get_version_reply_t {
00047     uint8_t  response_type; 
00048     uint8_t  pad0; 
00049     uint16_t sequence; 
00050     uint32_t length; 
00051     uint16_t server_major_version; 
00052     uint16_t server_minor_version; 
00053 } xcb_xc_misc_get_version_reply_t;
00054 
00058 typedef struct xcb_xc_misc_get_xid_range_cookie_t {
00059     unsigned int sequence; 
00060 } xcb_xc_misc_get_xid_range_cookie_t;
00061 
00063 #define XCB_XC_MISC_GET_XID_RANGE 1
00064 
00068 typedef struct xcb_xc_misc_get_xid_range_request_t {
00069     uint8_t  major_opcode; 
00070     uint8_t  minor_opcode; 
00071     uint16_t length; 
00072 } xcb_xc_misc_get_xid_range_request_t;
00073 
00077 typedef struct xcb_xc_misc_get_xid_range_reply_t {
00078     uint8_t  response_type; 
00079     uint8_t  pad0; 
00080     uint16_t sequence; 
00081     uint32_t length; 
00082     uint32_t start_id; 
00083     uint32_t count; 
00084 } xcb_xc_misc_get_xid_range_reply_t;
00085 
00089 typedef struct xcb_xc_misc_get_xid_list_cookie_t {
00090     unsigned int sequence; 
00091 } xcb_xc_misc_get_xid_list_cookie_t;
00092 
00094 #define XCB_XC_MISC_GET_XID_LIST 2
00095 
00099 typedef struct xcb_xc_misc_get_xid_list_request_t {
00100     uint8_t  major_opcode; 
00101     uint8_t  minor_opcode; 
00102     uint16_t length; 
00103     uint32_t count; 
00104 } xcb_xc_misc_get_xid_list_request_t;
00105 
00109 typedef struct xcb_xc_misc_get_xid_list_reply_t {
00110     uint8_t  response_type; 
00111     uint8_t  pad0; 
00112     uint16_t sequence; 
00113     uint32_t length; 
00114     uint32_t ids_len; 
00115     uint8_t  pad1[20]; 
00116 } xcb_xc_misc_get_xid_list_reply_t;
00117 
00127 /*****************************************************************************
00128  **
00129  ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version
00130  ** 
00131  ** @param xcb_connection_t *c
00132  ** @param uint16_t          client_major_version
00133  ** @param uint16_t          client_minor_version
00134  ** @returns xcb_xc_misc_get_version_cookie_t
00135  **
00136  *****************************************************************************/
00137  
00138 xcb_xc_misc_get_version_cookie_t
00139 xcb_xc_misc_get_version (xcb_connection_t *c  ,
00140                          uint16_t          client_major_version  ,
00141                          uint16_t          client_minor_version  );
00142 
00155 /*****************************************************************************
00156  **
00157  ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version_unchecked
00158  ** 
00159  ** @param xcb_connection_t *c
00160  ** @param uint16_t          client_major_version
00161  ** @param uint16_t          client_minor_version
00162  ** @returns xcb_xc_misc_get_version_cookie_t
00163  **
00164  *****************************************************************************/
00165  
00166 xcb_xc_misc_get_version_cookie_t
00167 xcb_xc_misc_get_version_unchecked (xcb_connection_t *c  ,
00168                                    uint16_t          client_major_version  ,
00169                                    uint16_t          client_minor_version  );
00170 
00184 /*****************************************************************************
00185  **
00186  ** xcb_xc_misc_get_version_reply_t * xcb_xc_misc_get_version_reply
00187  ** 
00188  ** @param xcb_connection_t                  *c
00189  ** @param xcb_xc_misc_get_version_cookie_t   cookie
00190  ** @param xcb_generic_error_t              **e
00191  ** @returns xcb_xc_misc_get_version_reply_t *
00192  **
00193  *****************************************************************************/
00194  
00195 xcb_xc_misc_get_version_reply_t *
00196 xcb_xc_misc_get_version_reply (xcb_connection_t                  *c  ,
00197                                xcb_xc_misc_get_version_cookie_t   cookie  ,
00198                                xcb_generic_error_t              **e  );
00199 
00209 /*****************************************************************************
00210  **
00211  ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range
00212  ** 
00213  ** @param xcb_connection_t *c
00214  ** @returns xcb_xc_misc_get_xid_range_cookie_t
00215  **
00216  *****************************************************************************/
00217  
00218 xcb_xc_misc_get_xid_range_cookie_t
00219 xcb_xc_misc_get_xid_range (xcb_connection_t *c  );
00220 
00233 /*****************************************************************************
00234  **
00235  ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range_unchecked
00236  ** 
00237  ** @param xcb_connection_t *c
00238  ** @returns xcb_xc_misc_get_xid_range_cookie_t
00239  **
00240  *****************************************************************************/
00241  
00242 xcb_xc_misc_get_xid_range_cookie_t
00243 xcb_xc_misc_get_xid_range_unchecked (xcb_connection_t *c  );
00244 
00258 /*****************************************************************************
00259  **
00260  ** xcb_xc_misc_get_xid_range_reply_t * xcb_xc_misc_get_xid_range_reply
00261  ** 
00262  ** @param xcb_connection_t                    *c
00263  ** @param xcb_xc_misc_get_xid_range_cookie_t   cookie
00264  ** @param xcb_generic_error_t                **e
00265  ** @returns xcb_xc_misc_get_xid_range_reply_t *
00266  **
00267  *****************************************************************************/
00268  
00269 xcb_xc_misc_get_xid_range_reply_t *
00270 xcb_xc_misc_get_xid_range_reply (xcb_connection_t                    *c  ,
00271                                  xcb_xc_misc_get_xid_range_cookie_t   cookie  ,
00272                                  xcb_generic_error_t                **e  );
00273 
00283 /*****************************************************************************
00284  **
00285  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list
00286  ** 
00287  ** @param xcb_connection_t *c
00288  ** @param uint32_t          count
00289  ** @returns xcb_xc_misc_get_xid_list_cookie_t
00290  **
00291  *****************************************************************************/
00292  
00293 xcb_xc_misc_get_xid_list_cookie_t
00294 xcb_xc_misc_get_xid_list (xcb_connection_t *c  ,
00295                           uint32_t          count  );
00296 
00309 /*****************************************************************************
00310  **
00311  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list_unchecked
00312  ** 
00313  ** @param xcb_connection_t *c
00314  ** @param uint32_t          count
00315  ** @returns xcb_xc_misc_get_xid_list_cookie_t
00316  **
00317  *****************************************************************************/
00318  
00319 xcb_xc_misc_get_xid_list_cookie_t
00320 xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c  ,
00321                                     uint32_t          count  );
00322 
00323 
00324 /*****************************************************************************
00325  **
00326  ** uint32_t * xcb_xc_misc_get_xid_list_ids
00327  ** 
00328  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00329  ** @returns uint32_t *
00330  **
00331  *****************************************************************************/
00332  
00333 uint32_t *
00334 xcb_xc_misc_get_xid_list_ids (const xcb_xc_misc_get_xid_list_reply_t *R  );
00335 
00336 
00337 /*****************************************************************************
00338  **
00339  ** int xcb_xc_misc_get_xid_list_ids_length
00340  ** 
00341  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00342  ** @returns int
00343  **
00344  *****************************************************************************/
00345  
00346 int
00347 xcb_xc_misc_get_xid_list_ids_length (const xcb_xc_misc_get_xid_list_reply_t *R  );
00348 
00349 
00350 /*****************************************************************************
00351  **
00352  ** xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end
00353  ** 
00354  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00355  ** @returns xcb_generic_iterator_t
00356  **
00357  *****************************************************************************/
00358  
00359 xcb_generic_iterator_t
00360 xcb_xc_misc_get_xid_list_ids_end (const xcb_xc_misc_get_xid_list_reply_t *R  );
00361 
00375 /*****************************************************************************
00376  **
00377  ** xcb_xc_misc_get_xid_list_reply_t * xcb_xc_misc_get_xid_list_reply
00378  ** 
00379  ** @param xcb_connection_t                   *c
00380  ** @param xcb_xc_misc_get_xid_list_cookie_t   cookie
00381  ** @param xcb_generic_error_t               **e
00382  ** @returns xcb_xc_misc_get_xid_list_reply_t *
00383  **
00384  *****************************************************************************/
00385  
00386 xcb_xc_misc_get_xid_list_reply_t *
00387 xcb_xc_misc_get_xid_list_reply (xcb_connection_t                   *c  ,
00388                                 xcb_xc_misc_get_xid_list_cookie_t   cookie  ,
00389                                 xcb_generic_error_t               **e  );
00390 
00391 
00392 #endif
00393 

Generated on Wed May 28 11:47:21 2008 for XCB by  doxygen 1.5.4