XCB  1.9
xevie.h
1 /*
2  * This file generated automatically from xevie.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
12 #ifndef __XEVIE_H
13 #define __XEVIE_H
14 
15 #include "xcb.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #define XCB_XEVIE_MAJOR_VERSION 1
22 #define XCB_XEVIE_MINOR_VERSION 0
23 
24 extern xcb_extension_t xcb_xevie_id;
25 
30  unsigned int sequence;
32 
34 #define XCB_XEVIE_QUERY_VERSION 0
35 
40  uint8_t major_opcode;
41  uint8_t minor_opcode;
42  uint16_t length;
46 
51  uint8_t response_type;
52  uint8_t pad0;
53  uint16_t sequence;
54  uint32_t length;
57  uint8_t pad1[20];
59 
63 typedef struct xcb_xevie_start_cookie_t {
64  unsigned int sequence;
66 
68 #define XCB_XEVIE_START 1
69 
73 typedef struct xcb_xevie_start_request_t {
74  uint8_t major_opcode;
75  uint8_t minor_opcode;
76  uint16_t length;
77  uint32_t screen;
79 
83 typedef struct xcb_xevie_start_reply_t {
84  uint8_t response_type;
85  uint8_t pad0;
86  uint16_t sequence;
87  uint32_t length;
88  uint8_t pad1[24];
90 
94 typedef struct xcb_xevie_end_cookie_t {
95  unsigned int sequence;
97 
99 #define XCB_XEVIE_END 2
100 
104 typedef struct xcb_xevie_end_request_t {
105  uint8_t major_opcode;
106  uint8_t minor_opcode;
107  uint16_t length;
108  uint32_t cmap;
110 
114 typedef struct xcb_xevie_end_reply_t {
115  uint8_t response_type;
116  uint8_t pad0;
117  uint16_t sequence;
118  uint32_t length;
119  uint8_t pad1[24];
121 
122 typedef enum xcb_xevie_datatype_t {
123  XCB_XEVIE_DATATYPE_UNMODIFIED,
124  XCB_XEVIE_DATATYPE_MODIFIED
125 } xcb_xevie_datatype_t;
126 
130 typedef struct xcb_xevie_event_t {
131  uint8_t pad0[32];
133 
139  int rem;
140  int index;
142 
146 typedef struct xcb_xevie_send_cookie_t {
147  unsigned int sequence;
149 
151 #define XCB_XEVIE_SEND 3
152 
156 typedef struct xcb_xevie_send_request_t {
157  uint8_t major_opcode;
158  uint8_t minor_opcode;
159  uint16_t length;
161  uint32_t data_type;
162  uint8_t pad0[64];
164 
168 typedef struct xcb_xevie_send_reply_t {
169  uint8_t response_type;
170  uint8_t pad0;
171  uint16_t sequence;
172  uint32_t length;
173  uint8_t pad1[24];
175 
180  unsigned int sequence;
182 
184 #define XCB_XEVIE_SELECT_INPUT 4
185 
190  uint8_t major_opcode;
191  uint8_t minor_opcode;
192  uint16_t length;
193  uint32_t event_mask;
195 
200  uint8_t response_type;
201  uint8_t pad0;
202  uint16_t sequence;
203  uint32_t length;
204  uint8_t pad1[24];
206 
216 /*****************************************************************************
217  **
218  ** xcb_xevie_query_version_cookie_t xcb_xevie_query_version
219  **
220  ** @param xcb_connection_t *c
221  ** @param uint16_t client_major_version
222  ** @param uint16_t client_minor_version
223  ** @returns xcb_xevie_query_version_cookie_t
224  **
225  *****************************************************************************/
226 
229  uint16_t client_major_version ,
230  uint16_t client_minor_version );
231 
244 /*****************************************************************************
245  **
246  ** xcb_xevie_query_version_cookie_t xcb_xevie_query_version_unchecked
247  **
248  ** @param xcb_connection_t *c
249  ** @param uint16_t client_major_version
250  ** @param uint16_t client_minor_version
251  ** @returns xcb_xevie_query_version_cookie_t
252  **
253  *****************************************************************************/
254 
257  uint16_t client_major_version ,
258  uint16_t client_minor_version );
259 
275 /*****************************************************************************
276  **
277  ** xcb_xevie_query_version_reply_t * xcb_xevie_query_version_reply
278  **
279  ** @param xcb_connection_t *c
280  ** @param xcb_xevie_query_version_cookie_t cookie
281  ** @param xcb_generic_error_t **e
282  ** @returns xcb_xevie_query_version_reply_t *
283  **
284  *****************************************************************************/
285 
289  xcb_generic_error_t **e );
290 
300 /*****************************************************************************
301  **
302  ** xcb_xevie_start_cookie_t xcb_xevie_start
303  **
304  ** @param xcb_connection_t *c
305  ** @param uint32_t screen
306  ** @returns xcb_xevie_start_cookie_t
307  **
308  *****************************************************************************/
309 
312  uint32_t screen );
313 
326 /*****************************************************************************
327  **
328  ** xcb_xevie_start_cookie_t xcb_xevie_start_unchecked
329  **
330  ** @param xcb_connection_t *c
331  ** @param uint32_t screen
332  ** @returns xcb_xevie_start_cookie_t
333  **
334  *****************************************************************************/
335 
338  uint32_t screen );
339 
355 /*****************************************************************************
356  **
357  ** xcb_xevie_start_reply_t * xcb_xevie_start_reply
358  **
359  ** @param xcb_connection_t *c
360  ** @param xcb_xevie_start_cookie_t cookie
361  ** @param xcb_generic_error_t **e
362  ** @returns xcb_xevie_start_reply_t *
363  **
364  *****************************************************************************/
365 
368  xcb_xevie_start_cookie_t cookie ,
369  xcb_generic_error_t **e );
370 
380 /*****************************************************************************
381  **
382  ** xcb_xevie_end_cookie_t xcb_xevie_end
383  **
384  ** @param xcb_connection_t *c
385  ** @param uint32_t cmap
386  ** @returns xcb_xevie_end_cookie_t
387  **
388  *****************************************************************************/
389 
392  uint32_t cmap );
393 
406 /*****************************************************************************
407  **
408  ** xcb_xevie_end_cookie_t xcb_xevie_end_unchecked
409  **
410  ** @param xcb_connection_t *c
411  ** @param uint32_t cmap
412  ** @returns xcb_xevie_end_cookie_t
413  **
414  *****************************************************************************/
415 
418  uint32_t cmap );
419 
435 /*****************************************************************************
436  **
437  ** xcb_xevie_end_reply_t * xcb_xevie_end_reply
438  **
439  ** @param xcb_connection_t *c
440  ** @param xcb_xevie_end_cookie_t cookie
441  ** @param xcb_generic_error_t **e
442  ** @returns xcb_xevie_end_reply_t *
443  **
444  *****************************************************************************/
445 
448  xcb_xevie_end_cookie_t cookie ,
449  xcb_generic_error_t **e );
450 
460 /*****************************************************************************
461  **
462  ** void xcb_xevie_event_next
463  **
464  ** @param xcb_xevie_event_iterator_t *i
465  ** @returns void
466  **
467  *****************************************************************************/
468 
469 void
471 
482 /*****************************************************************************
483  **
484  ** xcb_generic_iterator_t xcb_xevie_event_end
485  **
486  ** @param xcb_xevie_event_iterator_t i
487  ** @returns xcb_generic_iterator_t
488  **
489  *****************************************************************************/
490 
493 
503 /*****************************************************************************
504  **
505  ** xcb_xevie_send_cookie_t xcb_xevie_send
506  **
507  ** @param xcb_connection_t *c
508  ** @param xcb_xevie_event_t event
509  ** @param uint32_t data_type
510  ** @returns xcb_xevie_send_cookie_t
511  **
512  *****************************************************************************/
513 
516  xcb_xevie_event_t event ,
517  uint32_t data_type );
518 
531 /*****************************************************************************
532  **
533  ** xcb_xevie_send_cookie_t xcb_xevie_send_unchecked
534  **
535  ** @param xcb_connection_t *c
536  ** @param xcb_xevie_event_t event
537  ** @param uint32_t data_type
538  ** @returns xcb_xevie_send_cookie_t
539  **
540  *****************************************************************************/
541 
544  xcb_xevie_event_t event ,
545  uint32_t data_type );
546 
562 /*****************************************************************************
563  **
564  ** xcb_xevie_send_reply_t * xcb_xevie_send_reply
565  **
566  ** @param xcb_connection_t *c
567  ** @param xcb_xevie_send_cookie_t cookie
568  ** @param xcb_generic_error_t **e
569  ** @returns xcb_xevie_send_reply_t *
570  **
571  *****************************************************************************/
572 
575  xcb_xevie_send_cookie_t cookie ,
576  xcb_generic_error_t **e );
577 
587 /*****************************************************************************
588  **
589  ** xcb_xevie_select_input_cookie_t xcb_xevie_select_input
590  **
591  ** @param xcb_connection_t *c
592  ** @param uint32_t event_mask
593  ** @returns xcb_xevie_select_input_cookie_t
594  **
595  *****************************************************************************/
596 
599  uint32_t event_mask );
600 
613 /*****************************************************************************
614  **
615  ** xcb_xevie_select_input_cookie_t xcb_xevie_select_input_unchecked
616  **
617  ** @param xcb_connection_t *c
618  ** @param uint32_t event_mask
619  ** @returns xcb_xevie_select_input_cookie_t
620  **
621  *****************************************************************************/
622 
625  uint32_t event_mask );
626 
642 /*****************************************************************************
643  **
644  ** xcb_xevie_select_input_reply_t * xcb_xevie_select_input_reply
645  **
646  ** @param xcb_connection_t *c
647  ** @param xcb_xevie_select_input_cookie_t cookie
648  ** @param xcb_generic_error_t **e
649  ** @returns xcb_xevie_select_input_reply_t *
650  **
651  *****************************************************************************/
652 
656  xcb_generic_error_t **e );
657 
658 
659 #ifdef __cplusplus
660 }
661 #endif
662 
663 #endif
664