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 
00118 
00119 /*****************************************************************************
00120  **
00121  ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version
00122  ** 
00123  ** @param xcb_connection_t *c
00124  ** @param uint16_t          client_major_version
00125  ** @param uint16_t          client_minor_version
00126  ** @returns xcb_xc_misc_get_version_cookie_t
00127  **
00128  *****************************************************************************/
00129  
00130 xcb_xc_misc_get_version_cookie_t
00131 xcb_xc_misc_get_version (xcb_connection_t *c  ,
00132                          uint16_t          client_major_version  ,
00133                          uint16_t          client_minor_version  );
00134 
00135 
00136 /*****************************************************************************
00137  **
00138  ** xcb_xc_misc_get_version_cookie_t xcb_xc_misc_get_version_unchecked
00139  ** 
00140  ** @param xcb_connection_t *c
00141  ** @param uint16_t          client_major_version
00142  ** @param uint16_t          client_minor_version
00143  ** @returns xcb_xc_misc_get_version_cookie_t
00144  **
00145  *****************************************************************************/
00146  
00147 xcb_xc_misc_get_version_cookie_t
00148 xcb_xc_misc_get_version_unchecked (xcb_connection_t *c  ,
00149                                    uint16_t          client_major_version  ,
00150                                    uint16_t          client_minor_version  );
00151 
00152 
00153 /*****************************************************************************
00154  **
00155  ** xcb_xc_misc_get_version_reply_t * xcb_xc_misc_get_version_reply
00156  ** 
00157  ** @param xcb_connection_t                  *c
00158  ** @param xcb_xc_misc_get_version_cookie_t   cookie
00159  ** @param xcb_generic_error_t              **e
00160  ** @returns xcb_xc_misc_get_version_reply_t *
00161  **
00162  *****************************************************************************/
00163  
00164 xcb_xc_misc_get_version_reply_t *
00165 xcb_xc_misc_get_version_reply (xcb_connection_t                  *c  ,
00166                                xcb_xc_misc_get_version_cookie_t   cookie  ,
00167                                xcb_generic_error_t              **e  );
00168 
00169 
00170 /*****************************************************************************
00171  **
00172  ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range
00173  ** 
00174  ** @param xcb_connection_t *c
00175  ** @returns xcb_xc_misc_get_xid_range_cookie_t
00176  **
00177  *****************************************************************************/
00178  
00179 xcb_xc_misc_get_xid_range_cookie_t
00180 xcb_xc_misc_get_xid_range (xcb_connection_t *c  );
00181 
00182 
00183 /*****************************************************************************
00184  **
00185  ** xcb_xc_misc_get_xid_range_cookie_t xcb_xc_misc_get_xid_range_unchecked
00186  ** 
00187  ** @param xcb_connection_t *c
00188  ** @returns xcb_xc_misc_get_xid_range_cookie_t
00189  **
00190  *****************************************************************************/
00191  
00192 xcb_xc_misc_get_xid_range_cookie_t
00193 xcb_xc_misc_get_xid_range_unchecked (xcb_connection_t *c  );
00194 
00195 
00196 /*****************************************************************************
00197  **
00198  ** xcb_xc_misc_get_xid_range_reply_t * xcb_xc_misc_get_xid_range_reply
00199  ** 
00200  ** @param xcb_connection_t                    *c
00201  ** @param xcb_xc_misc_get_xid_range_cookie_t   cookie
00202  ** @param xcb_generic_error_t                **e
00203  ** @returns xcb_xc_misc_get_xid_range_reply_t *
00204  **
00205  *****************************************************************************/
00206  
00207 xcb_xc_misc_get_xid_range_reply_t *
00208 xcb_xc_misc_get_xid_range_reply (xcb_connection_t                    *c  ,
00209                                  xcb_xc_misc_get_xid_range_cookie_t   cookie  ,
00210                                  xcb_generic_error_t                **e  );
00211 
00212 
00213 /*****************************************************************************
00214  **
00215  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list
00216  ** 
00217  ** @param xcb_connection_t *c
00218  ** @param uint32_t          count
00219  ** @returns xcb_xc_misc_get_xid_list_cookie_t
00220  **
00221  *****************************************************************************/
00222  
00223 xcb_xc_misc_get_xid_list_cookie_t
00224 xcb_xc_misc_get_xid_list (xcb_connection_t *c  ,
00225                           uint32_t          count  );
00226 
00227 
00228 /*****************************************************************************
00229  **
00230  ** xcb_xc_misc_get_xid_list_cookie_t xcb_xc_misc_get_xid_list_unchecked
00231  ** 
00232  ** @param xcb_connection_t *c
00233  ** @param uint32_t          count
00234  ** @returns xcb_xc_misc_get_xid_list_cookie_t
00235  **
00236  *****************************************************************************/
00237  
00238 xcb_xc_misc_get_xid_list_cookie_t
00239 xcb_xc_misc_get_xid_list_unchecked (xcb_connection_t *c  ,
00240                                     uint32_t          count  );
00241 
00242 
00243 /*****************************************************************************
00244  **
00245  ** uint32_t * xcb_xc_misc_get_xid_list_ids
00246  ** 
00247  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00248  ** @returns uint32_t *
00249  **
00250  *****************************************************************************/
00251  
00252 uint32_t *
00253 xcb_xc_misc_get_xid_list_ids (const xcb_xc_misc_get_xid_list_reply_t *R  );
00254 
00255 
00256 /*****************************************************************************
00257  **
00258  ** int xcb_xc_misc_get_xid_list_ids_length
00259  ** 
00260  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00261  ** @returns int
00262  **
00263  *****************************************************************************/
00264  
00265 int
00266 xcb_xc_misc_get_xid_list_ids_length (const xcb_xc_misc_get_xid_list_reply_t *R  );
00267 
00268 
00269 /*****************************************************************************
00270  **
00271  ** xcb_generic_iterator_t xcb_xc_misc_get_xid_list_ids_end
00272  ** 
00273  ** @param const xcb_xc_misc_get_xid_list_reply_t *R
00274  ** @returns xcb_generic_iterator_t
00275  **
00276  *****************************************************************************/
00277  
00278 xcb_generic_iterator_t
00279 xcb_xc_misc_get_xid_list_ids_end (const xcb_xc_misc_get_xid_list_reply_t *R  );
00280 
00281 
00282 /*****************************************************************************
00283  **
00284  ** xcb_xc_misc_get_xid_list_reply_t * xcb_xc_misc_get_xid_list_reply
00285  ** 
00286  ** @param xcb_connection_t                   *c
00287  ** @param xcb_xc_misc_get_xid_list_cookie_t   cookie
00288  ** @param xcb_generic_error_t               **e
00289  ** @returns xcb_xc_misc_get_xid_list_reply_t *
00290  **
00291  *****************************************************************************/
00292  
00293 xcb_xc_misc_get_xid_list_reply_t *
00294 xcb_xc_misc_get_xid_list_reply (xcb_connection_t                   *c  ,
00295                                 xcb_xc_misc_get_xid_list_cookie_t   cookie  ,
00296                                 xcb_generic_error_t               **e  );
00297 
00298 
00299 #endif
00300 

Generated on Fri Aug 24 17:52:20 2007 for XCB by  doxygen 1.5.2