xevie.h

00001 /*
00002  * This file generated automatically from xevie.xml by c-client.xsl using XSLT.
00003  * Edit at your peril.
00004  */
00005 
00012 #ifndef __XEVIE_H
00013 #define __XEVIE_H
00014 
00015 #include "xcb.h"
00016 
00017 #define XCB_XEVIE_MAJOR_VERSION 1
00018 #define XCB_XEVIE_MINOR_VERSION 0
00019   
00020 extern xcb_extension_t xcb_xevie_id;
00021 
00025 typedef struct xcb_xevie_query_version_cookie_t {
00026     unsigned int sequence; 
00027 } xcb_xevie_query_version_cookie_t;
00028 
00030 #define XCB_XEVIE_QUERY_VERSION 0
00031 
00035 typedef struct xcb_xevie_query_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_xevie_query_version_request_t;
00042 
00046 typedef struct xcb_xevie_query_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     uint8_t  pad1[20]; 
00054 } xcb_xevie_query_version_reply_t;
00055 
00059 typedef struct xcb_xevie_start_cookie_t {
00060     unsigned int sequence; 
00061 } xcb_xevie_start_cookie_t;
00062 
00064 #define XCB_XEVIE_START 1
00065 
00069 typedef struct xcb_xevie_start_request_t {
00070     uint8_t  major_opcode; 
00071     uint8_t  minor_opcode; 
00072     uint16_t length; 
00073     uint32_t screen; 
00074 } xcb_xevie_start_request_t;
00075 
00079 typedef struct xcb_xevie_start_reply_t {
00080     uint8_t  response_type; 
00081     uint8_t  pad0; 
00082     uint16_t sequence; 
00083     uint32_t length; 
00084     uint8_t  pad1[24]; 
00085 } xcb_xevie_start_reply_t;
00086 
00090 typedef struct xcb_xevie_end_cookie_t {
00091     unsigned int sequence; 
00092 } xcb_xevie_end_cookie_t;
00093 
00095 #define XCB_XEVIE_END 2
00096 
00100 typedef struct xcb_xevie_end_request_t {
00101     uint8_t  major_opcode; 
00102     uint8_t  minor_opcode; 
00103     uint16_t length; 
00104     uint32_t cmap; 
00105 } xcb_xevie_end_request_t;
00106 
00110 typedef struct xcb_xevie_end_reply_t {
00111     uint8_t  response_type; 
00112     uint8_t  pad0; 
00113     uint16_t sequence; 
00114     uint32_t length; 
00115     uint8_t  pad1[24]; 
00116 } xcb_xevie_end_reply_t;
00117 
00118 typedef enum xcb_xevie_datatype_t {
00119     XCB_XEVIE_DATATYPE_UNMODIFIED,
00120     XCB_XEVIE_DATATYPE_MODIFIED
00121 } xcb_xevie_datatype_t;
00122 
00126 typedef struct xcb_xevie_event_t {
00127     uint8_t pad0[32]; 
00128 } xcb_xevie_event_t;
00129 
00133 typedef struct xcb_xevie_event_iterator_t {
00134     xcb_xevie_event_t *data; 
00135     int                rem; 
00136     int                index; 
00137 } xcb_xevie_event_iterator_t;
00138 
00142 typedef struct xcb_xevie_send_cookie_t {
00143     unsigned int sequence; 
00144 } xcb_xevie_send_cookie_t;
00145 
00147 #define XCB_XEVIE_SEND 3
00148 
00152 typedef struct xcb_xevie_send_request_t {
00153     uint8_t           major_opcode; 
00154     uint8_t           minor_opcode; 
00155     uint16_t          length; 
00156     xcb_xevie_event_t event; 
00157     uint32_t          data_type; 
00158     uint8_t           pad0[64]; 
00159 } xcb_xevie_send_request_t;
00160 
00164 typedef struct xcb_xevie_send_reply_t {
00165     uint8_t  response_type; 
00166     uint8_t  pad0; 
00167     uint16_t sequence; 
00168     uint32_t length; 
00169     uint8_t  pad1[24]; 
00170 } xcb_xevie_send_reply_t;
00171 
00175 typedef struct xcb_xevie_select_input_cookie_t {
00176     unsigned int sequence; 
00177 } xcb_xevie_select_input_cookie_t;
00178 
00180 #define XCB_XEVIE_SELECT_INPUT 4
00181 
00185 typedef struct xcb_xevie_select_input_request_t {
00186     uint8_t  major_opcode; 
00187     uint8_t  minor_opcode; 
00188     uint16_t length; 
00189     uint32_t event_mask; 
00190 } xcb_xevie_select_input_request_t;
00191 
00195 typedef struct xcb_xevie_select_input_reply_t {
00196     uint8_t  response_type; 
00197     uint8_t  pad0; 
00198     uint16_t sequence; 
00199     uint32_t length; 
00200     uint8_t  pad1[24]; 
00201 } xcb_xevie_select_input_reply_t;
00202 
00212 /*****************************************************************************
00213  **
00214  ** xcb_xevie_query_version_cookie_t xcb_xevie_query_version
00215  ** 
00216  ** @param xcb_connection_t *c
00217  ** @param uint16_t          client_major_version
00218  ** @param uint16_t          client_minor_version
00219  ** @returns xcb_xevie_query_version_cookie_t
00220  **
00221  *****************************************************************************/
00222  
00223 xcb_xevie_query_version_cookie_t
00224 xcb_xevie_query_version (xcb_connection_t *c  ,
00225                          uint16_t          client_major_version  ,
00226                          uint16_t          client_minor_version  );
00227 
00240 /*****************************************************************************
00241  **
00242  ** xcb_xevie_query_version_cookie_t xcb_xevie_query_version_unchecked
00243  ** 
00244  ** @param xcb_connection_t *c
00245  ** @param uint16_t          client_major_version
00246  ** @param uint16_t          client_minor_version
00247  ** @returns xcb_xevie_query_version_cookie_t
00248  **
00249  *****************************************************************************/
00250  
00251 xcb_xevie_query_version_cookie_t
00252 xcb_xevie_query_version_unchecked (xcb_connection_t *c  ,
00253                                    uint16_t          client_major_version  ,
00254                                    uint16_t          client_minor_version  );
00255 
00269 /*****************************************************************************
00270  **
00271  ** xcb_xevie_query_version_reply_t * xcb_xevie_query_version_reply
00272  ** 
00273  ** @param xcb_connection_t                  *c
00274  ** @param xcb_xevie_query_version_cookie_t   cookie
00275  ** @param xcb_generic_error_t              **e
00276  ** @returns xcb_xevie_query_version_reply_t *
00277  **
00278  *****************************************************************************/
00279  
00280 xcb_xevie_query_version_reply_t *
00281 xcb_xevie_query_version_reply (xcb_connection_t                  *c  ,
00282                                xcb_xevie_query_version_cookie_t   cookie  ,
00283                                xcb_generic_error_t              **e  );
00284 
00294 /*****************************************************************************
00295  **
00296  ** xcb_xevie_start_cookie_t xcb_xevie_start
00297  ** 
00298  ** @param xcb_connection_t *c
00299  ** @param uint32_t          screen
00300  ** @returns xcb_xevie_start_cookie_t
00301  **
00302  *****************************************************************************/
00303  
00304 xcb_xevie_start_cookie_t
00305 xcb_xevie_start (xcb_connection_t *c  ,
00306                  uint32_t          screen  );
00307 
00320 /*****************************************************************************
00321  **
00322  ** xcb_xevie_start_cookie_t xcb_xevie_start_unchecked
00323  ** 
00324  ** @param xcb_connection_t *c
00325  ** @param uint32_t          screen
00326  ** @returns xcb_xevie_start_cookie_t
00327  **
00328  *****************************************************************************/
00329  
00330 xcb_xevie_start_cookie_t
00331 xcb_xevie_start_unchecked (xcb_connection_t *c  ,
00332                            uint32_t          screen  );
00333 
00347 /*****************************************************************************
00348  **
00349  ** xcb_xevie_start_reply_t * xcb_xevie_start_reply
00350  ** 
00351  ** @param xcb_connection_t          *c
00352  ** @param xcb_xevie_start_cookie_t   cookie
00353  ** @param xcb_generic_error_t      **e
00354  ** @returns xcb_xevie_start_reply_t *
00355  **
00356  *****************************************************************************/
00357  
00358 xcb_xevie_start_reply_t *
00359 xcb_xevie_start_reply (xcb_connection_t          *c  ,
00360                        xcb_xevie_start_cookie_t   cookie  ,
00361                        xcb_generic_error_t      **e  );
00362 
00372 /*****************************************************************************
00373  **
00374  ** xcb_xevie_end_cookie_t xcb_xevie_end
00375  ** 
00376  ** @param xcb_connection_t *c
00377  ** @param uint32_t          cmap
00378  ** @returns xcb_xevie_end_cookie_t
00379  **
00380  *****************************************************************************/
00381  
00382 xcb_xevie_end_cookie_t
00383 xcb_xevie_end (xcb_connection_t *c  ,
00384                uint32_t          cmap  );
00385 
00398 /*****************************************************************************
00399  **
00400  ** xcb_xevie_end_cookie_t xcb_xevie_end_unchecked
00401  ** 
00402  ** @param xcb_connection_t *c
00403  ** @param uint32_t          cmap
00404  ** @returns xcb_xevie_end_cookie_t
00405  **
00406  *****************************************************************************/
00407  
00408 xcb_xevie_end_cookie_t
00409 xcb_xevie_end_unchecked (xcb_connection_t *c  ,
00410                          uint32_t          cmap  );
00411 
00425 /*****************************************************************************
00426  **
00427  ** xcb_xevie_end_reply_t * xcb_xevie_end_reply
00428  ** 
00429  ** @param xcb_connection_t        *c
00430  ** @param xcb_xevie_end_cookie_t   cookie
00431  ** @param xcb_generic_error_t    **e
00432  ** @returns xcb_xevie_end_reply_t *
00433  **
00434  *****************************************************************************/
00435  
00436 xcb_xevie_end_reply_t *
00437 xcb_xevie_end_reply (xcb_connection_t        *c  ,
00438                      xcb_xevie_end_cookie_t   cookie  ,
00439                      xcb_generic_error_t    **e  );
00440 
00450 /*****************************************************************************
00451  **
00452  ** void xcb_xevie_event_next
00453  ** 
00454  ** @param xcb_xevie_event_iterator_t *i
00455  ** @returns void
00456  **
00457  *****************************************************************************/
00458  
00459 void
00460 xcb_xevie_event_next (xcb_xevie_event_iterator_t *i  );
00461 
00472 /*****************************************************************************
00473  **
00474  ** xcb_generic_iterator_t xcb_xevie_event_end
00475  ** 
00476  ** @param xcb_xevie_event_iterator_t i
00477  ** @returns xcb_generic_iterator_t
00478  **
00479  *****************************************************************************/
00480  
00481 xcb_generic_iterator_t
00482 xcb_xevie_event_end (xcb_xevie_event_iterator_t i  );
00483 
00493 /*****************************************************************************
00494  **
00495  ** xcb_xevie_send_cookie_t xcb_xevie_send
00496  ** 
00497  ** @param xcb_connection_t  *c
00498  ** @param xcb_xevie_event_t  event
00499  ** @param uint32_t           data_type
00500  ** @returns xcb_xevie_send_cookie_t
00501  **
00502  *****************************************************************************/
00503  
00504 xcb_xevie_send_cookie_t
00505 xcb_xevie_send (xcb_connection_t  *c  ,
00506                 xcb_xevie_event_t  event  ,
00507                 uint32_t           data_type  );
00508 
00521 /*****************************************************************************
00522  **
00523  ** xcb_xevie_send_cookie_t xcb_xevie_send_unchecked
00524  ** 
00525  ** @param xcb_connection_t  *c
00526  ** @param xcb_xevie_event_t  event
00527  ** @param uint32_t           data_type
00528  ** @returns xcb_xevie_send_cookie_t
00529  **
00530  *****************************************************************************/
00531  
00532 xcb_xevie_send_cookie_t
00533 xcb_xevie_send_unchecked (xcb_connection_t  *c  ,
00534                           xcb_xevie_event_t  event  ,
00535                           uint32_t           data_type  );
00536 
00550 /*****************************************************************************
00551  **
00552  ** xcb_xevie_send_reply_t * xcb_xevie_send_reply
00553  ** 
00554  ** @param xcb_connection_t         *c
00555  ** @param xcb_xevie_send_cookie_t   cookie
00556  ** @param xcb_generic_error_t     **e
00557  ** @returns xcb_xevie_send_reply_t *
00558  **
00559  *****************************************************************************/
00560  
00561 xcb_xevie_send_reply_t *
00562 xcb_xevie_send_reply (xcb_connection_t         *c  ,
00563                       xcb_xevie_send_cookie_t   cookie  ,
00564                       xcb_generic_error_t     **e  );
00565 
00575 /*****************************************************************************
00576  **
00577  ** xcb_xevie_select_input_cookie_t xcb_xevie_select_input
00578  ** 
00579  ** @param xcb_connection_t *c
00580  ** @param uint32_t          event_mask
00581  ** @returns xcb_xevie_select_input_cookie_t
00582  **
00583  *****************************************************************************/
00584  
00585 xcb_xevie_select_input_cookie_t
00586 xcb_xevie_select_input (xcb_connection_t *c  ,
00587                         uint32_t          event_mask  );
00588 
00601 /*****************************************************************************
00602  **
00603  ** xcb_xevie_select_input_cookie_t xcb_xevie_select_input_unchecked
00604  ** 
00605  ** @param xcb_connection_t *c
00606  ** @param uint32_t          event_mask
00607  ** @returns xcb_xevie_select_input_cookie_t
00608  **
00609  *****************************************************************************/
00610  
00611 xcb_xevie_select_input_cookie_t
00612 xcb_xevie_select_input_unchecked (xcb_connection_t *c  ,
00613                                   uint32_t          event_mask  );
00614 
00628 /*****************************************************************************
00629  **
00630  ** xcb_xevie_select_input_reply_t * xcb_xevie_select_input_reply
00631  ** 
00632  ** @param xcb_connection_t                 *c
00633  ** @param xcb_xevie_select_input_cookie_t   cookie
00634  ** @param xcb_generic_error_t             **e
00635  ** @returns xcb_xevie_select_input_reply_t *
00636  **
00637  *****************************************************************************/
00638  
00639 xcb_xevie_select_input_reply_t *
00640 xcb_xevie_select_input_reply (xcb_connection_t                 *c  ,
00641                               xcb_xevie_select_input_cookie_t   cookie  ,
00642                               xcb_generic_error_t             **e  );
00643 
00644 
00645 #endif
00646 

Generated on Wed Feb 13 13:57:26 2008 for XCB by  doxygen 1.5.4