XCB 1.9
xevie.h
00001 /*
00002  * This file generated automatically from xevie.xml by c_client.py.
00003  * Edit at your peril.
00004  */
00005 
00012 #ifndef __XEVIE_H
00013 #define __XEVIE_H
00014 
00015 #include "xcb.h"
00016 
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020 
00021 #define XCB_XEVIE_MAJOR_VERSION 1
00022 #define XCB_XEVIE_MINOR_VERSION 0
00023   
00024 extern xcb_extension_t xcb_xevie_id;
00025 
00029 typedef struct xcb_xevie_query_version_cookie_t {
00030     unsigned int sequence; 
00031 } xcb_xevie_query_version_cookie_t;
00032 
00034 #define XCB_XEVIE_QUERY_VERSION 0
00035 
00039 typedef struct xcb_xevie_query_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_xevie_query_version_request_t;
00046 
00050 typedef struct xcb_xevie_query_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     uint8_t  pad1[20]; 
00058 } xcb_xevie_query_version_reply_t;
00059 
00063 typedef struct xcb_xevie_start_cookie_t {
00064     unsigned int sequence; 
00065 } xcb_xevie_start_cookie_t;
00066 
00068 #define XCB_XEVIE_START 1
00069 
00073 typedef struct xcb_xevie_start_request_t {
00074     uint8_t  major_opcode; 
00075     uint8_t  minor_opcode; 
00076     uint16_t length; 
00077     uint32_t screen; 
00078 } xcb_xevie_start_request_t;
00079 
00083 typedef struct xcb_xevie_start_reply_t {
00084     uint8_t  response_type; 
00085     uint8_t  pad0; 
00086     uint16_t sequence; 
00087     uint32_t length; 
00088     uint8_t  pad1[24]; 
00089 } xcb_xevie_start_reply_t;
00090 
00094 typedef struct xcb_xevie_end_cookie_t {
00095     unsigned int sequence; 
00096 } xcb_xevie_end_cookie_t;
00097 
00099 #define XCB_XEVIE_END 2
00100 
00104 typedef struct xcb_xevie_end_request_t {
00105     uint8_t  major_opcode; 
00106     uint8_t  minor_opcode; 
00107     uint16_t length; 
00108     uint32_t cmap; 
00109 } xcb_xevie_end_request_t;
00110 
00114 typedef struct xcb_xevie_end_reply_t {
00115     uint8_t  response_type; 
00116     uint8_t  pad0; 
00117     uint16_t sequence; 
00118     uint32_t length; 
00119     uint8_t  pad1[24]; 
00120 } xcb_xevie_end_reply_t;
00121 
00122 typedef enum xcb_xevie_datatype_t {
00123     XCB_XEVIE_DATATYPE_UNMODIFIED,
00124     XCB_XEVIE_DATATYPE_MODIFIED
00125 } xcb_xevie_datatype_t;
00126 
00130 typedef struct xcb_xevie_event_t {
00131     uint8_t pad0[32]; 
00132 } xcb_xevie_event_t;
00133 
00137 typedef struct xcb_xevie_event_iterator_t {
00138     xcb_xevie_event_t *data; 
00139     int                rem; 
00140     int                index; 
00141 } xcb_xevie_event_iterator_t;
00142 
00146 typedef struct xcb_xevie_send_cookie_t {
00147     unsigned int sequence; 
00148 } xcb_xevie_send_cookie_t;
00149 
00151 #define XCB_XEVIE_SEND 3
00152 
00156 typedef struct xcb_xevie_send_request_t {
00157     uint8_t           major_opcode; 
00158     uint8_t           minor_opcode; 
00159     uint16_t          length; 
00160     xcb_xevie_event_t event; 
00161     uint32_t          data_type; 
00162     uint8_t           pad0[64]; 
00163 } xcb_xevie_send_request_t;
00164 
00168 typedef struct xcb_xevie_send_reply_t {
00169     uint8_t  response_type; 
00170     uint8_t  pad0; 
00171     uint16_t sequence; 
00172     uint32_t length; 
00173     uint8_t  pad1[24]; 
00174 } xcb_xevie_send_reply_t;
00175 
00179 typedef struct xcb_xevie_select_input_cookie_t {
00180     unsigned int sequence; 
00181 } xcb_xevie_select_input_cookie_t;
00182 
00184 #define XCB_XEVIE_SELECT_INPUT 4
00185 
00189 typedef struct xcb_xevie_select_input_request_t {
00190     uint8_t  major_opcode; 
00191     uint8_t  minor_opcode; 
00192     uint16_t length; 
00193     uint32_t event_mask; 
00194 } xcb_xevie_select_input_request_t;
00195 
00199 typedef struct xcb_xevie_select_input_reply_t {
00200     uint8_t  response_type; 
00201     uint8_t  pad0; 
00202     uint16_t sequence; 
00203     uint32_t length; 
00204     uint8_t  pad1[24]; 
00205 } xcb_xevie_select_input_reply_t;
00206 
00216 /*****************************************************************************
00217  **
00218  ** xcb_xevie_query_version_cookie_t xcb_xevie_query_version
00219  ** 
00220  ** @param xcb_connection_t *c
00221  ** @param uint16_t          client_major_version
00222  ** @param uint16_t          client_minor_version
00223  ** @returns xcb_xevie_query_version_cookie_t
00224  **
00225  *****************************************************************************/
00226  
00227 xcb_xevie_query_version_cookie_t
00228 xcb_xevie_query_version (xcb_connection_t *c  ,
00229                          uint16_t          client_major_version  ,
00230                          uint16_t          client_minor_version  );
00231 
00244 /*****************************************************************************
00245  **
00246  ** xcb_xevie_query_version_cookie_t xcb_xevie_query_version_unchecked
00247  ** 
00248  ** @param xcb_connection_t *c
00249  ** @param uint16_t          client_major_version
00250  ** @param uint16_t          client_minor_version
00251  ** @returns xcb_xevie_query_version_cookie_t
00252  **
00253  *****************************************************************************/
00254  
00255 xcb_xevie_query_version_cookie_t
00256 xcb_xevie_query_version_unchecked (xcb_connection_t *c  ,
00257                                    uint16_t          client_major_version  ,
00258                                    uint16_t          client_minor_version  );
00259 
00275 /*****************************************************************************
00276  **
00277  ** xcb_xevie_query_version_reply_t * xcb_xevie_query_version_reply
00278  ** 
00279  ** @param xcb_connection_t                  *c
00280  ** @param xcb_xevie_query_version_cookie_t   cookie
00281  ** @param xcb_generic_error_t              **e
00282  ** @returns xcb_xevie_query_version_reply_t *
00283  **
00284  *****************************************************************************/
00285  
00286 xcb_xevie_query_version_reply_t *
00287 xcb_xevie_query_version_reply (xcb_connection_t                  *c  ,
00288                                xcb_xevie_query_version_cookie_t   cookie  ,
00289                                xcb_generic_error_t              **e  );
00290 
00300 /*****************************************************************************
00301  **
00302  ** xcb_xevie_start_cookie_t xcb_xevie_start
00303  ** 
00304  ** @param xcb_connection_t *c
00305  ** @param uint32_t          screen
00306  ** @returns xcb_xevie_start_cookie_t
00307  **
00308  *****************************************************************************/
00309  
00310 xcb_xevie_start_cookie_t
00311 xcb_xevie_start (xcb_connection_t *c  ,
00312                  uint32_t          screen  );
00313 
00326 /*****************************************************************************
00327  **
00328  ** xcb_xevie_start_cookie_t xcb_xevie_start_unchecked
00329  ** 
00330  ** @param xcb_connection_t *c
00331  ** @param uint32_t          screen
00332  ** @returns xcb_xevie_start_cookie_t
00333  **
00334  *****************************************************************************/
00335  
00336 xcb_xevie_start_cookie_t
00337 xcb_xevie_start_unchecked (xcb_connection_t *c  ,
00338                            uint32_t          screen  );
00339 
00355 /*****************************************************************************
00356  **
00357  ** xcb_xevie_start_reply_t * xcb_xevie_start_reply
00358  ** 
00359  ** @param xcb_connection_t          *c
00360  ** @param xcb_xevie_start_cookie_t   cookie
00361  ** @param xcb_generic_error_t      **e
00362  ** @returns xcb_xevie_start_reply_t *
00363  **
00364  *****************************************************************************/
00365  
00366 xcb_xevie_start_reply_t *
00367 xcb_xevie_start_reply (xcb_connection_t          *c  ,
00368                        xcb_xevie_start_cookie_t   cookie  ,
00369                        xcb_generic_error_t      **e  );
00370 
00380 /*****************************************************************************
00381  **
00382  ** xcb_xevie_end_cookie_t xcb_xevie_end
00383  ** 
00384  ** @param xcb_connection_t *c
00385  ** @param uint32_t          cmap
00386  ** @returns xcb_xevie_end_cookie_t
00387  **
00388  *****************************************************************************/
00389  
00390 xcb_xevie_end_cookie_t
00391 xcb_xevie_end (xcb_connection_t *c  ,
00392                uint32_t          cmap  );
00393 
00406 /*****************************************************************************
00407  **
00408  ** xcb_xevie_end_cookie_t xcb_xevie_end_unchecked
00409  ** 
00410  ** @param xcb_connection_t *c
00411  ** @param uint32_t          cmap
00412  ** @returns xcb_xevie_end_cookie_t
00413  **
00414  *****************************************************************************/
00415  
00416 xcb_xevie_end_cookie_t
00417 xcb_xevie_end_unchecked (xcb_connection_t *c  ,
00418                          uint32_t          cmap  );
00419 
00435 /*****************************************************************************
00436  **
00437  ** xcb_xevie_end_reply_t * xcb_xevie_end_reply
00438  ** 
00439  ** @param xcb_connection_t        *c
00440  ** @param xcb_xevie_end_cookie_t   cookie
00441  ** @param xcb_generic_error_t    **e
00442  ** @returns xcb_xevie_end_reply_t *
00443  **
00444  *****************************************************************************/
00445  
00446 xcb_xevie_end_reply_t *
00447 xcb_xevie_end_reply (xcb_connection_t        *c  ,
00448                      xcb_xevie_end_cookie_t   cookie  ,
00449                      xcb_generic_error_t    **e  );
00450 
00460 /*****************************************************************************
00461  **
00462  ** void xcb_xevie_event_next
00463  ** 
00464  ** @param xcb_xevie_event_iterator_t *i
00465  ** @returns void
00466  **
00467  *****************************************************************************/
00468  
00469 void
00470 xcb_xevie_event_next (xcb_xevie_event_iterator_t *i  );
00471 
00482 /*****************************************************************************
00483  **
00484  ** xcb_generic_iterator_t xcb_xevie_event_end
00485  ** 
00486  ** @param xcb_xevie_event_iterator_t i
00487  ** @returns xcb_generic_iterator_t
00488  **
00489  *****************************************************************************/
00490  
00491 xcb_generic_iterator_t
00492 xcb_xevie_event_end (xcb_xevie_event_iterator_t i  );
00493 
00503 /*****************************************************************************
00504  **
00505  ** xcb_xevie_send_cookie_t xcb_xevie_send
00506  ** 
00507  ** @param xcb_connection_t  *c
00508  ** @param xcb_xevie_event_t  event
00509  ** @param uint32_t           data_type
00510  ** @returns xcb_xevie_send_cookie_t
00511  **
00512  *****************************************************************************/
00513  
00514 xcb_xevie_send_cookie_t
00515 xcb_xevie_send (xcb_connection_t  *c  ,
00516                 xcb_xevie_event_t  event  ,
00517                 uint32_t           data_type  );
00518 
00531 /*****************************************************************************
00532  **
00533  ** xcb_xevie_send_cookie_t xcb_xevie_send_unchecked
00534  ** 
00535  ** @param xcb_connection_t  *c
00536  ** @param xcb_xevie_event_t  event
00537  ** @param uint32_t           data_type
00538  ** @returns xcb_xevie_send_cookie_t
00539  **
00540  *****************************************************************************/
00541  
00542 xcb_xevie_send_cookie_t
00543 xcb_xevie_send_unchecked (xcb_connection_t  *c  ,
00544                           xcb_xevie_event_t  event  ,
00545                           uint32_t           data_type  );
00546 
00562 /*****************************************************************************
00563  **
00564  ** xcb_xevie_send_reply_t * xcb_xevie_send_reply
00565  ** 
00566  ** @param xcb_connection_t         *c
00567  ** @param xcb_xevie_send_cookie_t   cookie
00568  ** @param xcb_generic_error_t     **e
00569  ** @returns xcb_xevie_send_reply_t *
00570  **
00571  *****************************************************************************/
00572  
00573 xcb_xevie_send_reply_t *
00574 xcb_xevie_send_reply (xcb_connection_t         *c  ,
00575                       xcb_xevie_send_cookie_t   cookie  ,
00576                       xcb_generic_error_t     **e  );
00577 
00587 /*****************************************************************************
00588  **
00589  ** xcb_xevie_select_input_cookie_t xcb_xevie_select_input
00590  ** 
00591  ** @param xcb_connection_t *c
00592  ** @param uint32_t          event_mask
00593  ** @returns xcb_xevie_select_input_cookie_t
00594  **
00595  *****************************************************************************/
00596  
00597 xcb_xevie_select_input_cookie_t
00598 xcb_xevie_select_input (xcb_connection_t *c  ,
00599                         uint32_t          event_mask  );
00600 
00613 /*****************************************************************************
00614  **
00615  ** xcb_xevie_select_input_cookie_t xcb_xevie_select_input_unchecked
00616  ** 
00617  ** @param xcb_connection_t *c
00618  ** @param uint32_t          event_mask
00619  ** @returns xcb_xevie_select_input_cookie_t
00620  **
00621  *****************************************************************************/
00622  
00623 xcb_xevie_select_input_cookie_t
00624 xcb_xevie_select_input_unchecked (xcb_connection_t *c  ,
00625                                   uint32_t          event_mask  );
00626 
00642 /*****************************************************************************
00643  **
00644  ** xcb_xevie_select_input_reply_t * xcb_xevie_select_input_reply
00645  ** 
00646  ** @param xcb_connection_t                 *c
00647  ** @param xcb_xevie_select_input_cookie_t   cookie
00648  ** @param xcb_generic_error_t             **e
00649  ** @returns xcb_xevie_select_input_reply_t *
00650  **
00651  *****************************************************************************/
00652  
00653 xcb_xevie_select_input_reply_t *
00654 xcb_xevie_select_input_reply (xcb_connection_t                 *c  ,
00655                               xcb_xevie_select_input_cookie_t   cookie  ,
00656                               xcb_generic_error_t             **e  );
00657 
00658 
00659 #ifdef __cplusplus
00660 }
00661 #endif
00662 
00663 #endif
00664