XCB  1.12
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;
43  uint16_t client_major_version;
44  uint16_t client_minor_version;
46 
51  uint8_t response_type;
52  uint8_t pad0;
53  uint16_t sequence;
54  uint32_t length;
55  uint16_t server_major_version;
56  uint16_t server_minor_version;
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 = 0,
124  XCB_XEVIE_DATATYPE_MODIFIED = 1
125 } xcb_xevie_datatype_t;
126 
130 typedef struct xcb_xevie_event_t {
131  uint8_t pad0[32];
133 
138  xcb_xevie_event_t *data;
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;
160  xcb_xevie_event_t event;
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 
217  uint16_t client_major_version,
218  uint16_t client_minor_version);
219 
233  uint16_t client_major_version,
234  uint16_t client_minor_version);
235 
253  xcb_generic_error_t **e);
254 
265  uint32_t screen);
266 
280  uint32_t screen);
281 
298  xcb_xevie_start_cookie_t cookie ,
299  xcb_generic_error_t **e);
300 
311  uint32_t cmap);
312 
326  uint32_t cmap);
327 
344  xcb_xevie_end_cookie_t cookie ,
345  xcb_generic_error_t **e);
346 
355 void
357 
369 
380  xcb_xevie_event_t event,
381  uint32_t data_type);
382 
396  xcb_xevie_event_t event,
397  uint32_t data_type);
398 
415  xcb_xevie_send_cookie_t cookie ,
416  xcb_generic_error_t **e);
417 
428  uint32_t event_mask);
429 
443  uint32_t event_mask);
444 
462  xcb_generic_error_t **e);
463 
464 
465 #ifdef __cplusplus
466 }
467 #endif
468 
469 #endif
470 
Generic error.
Definition: xcb.h:170
xcb_xevie_query_version_cookie_t xcb_xevie_query_version_unchecked(xcb_connection_t *c, uint16_t client_major_version, uint16_t client_minor_version)
Definition: xevie.c:49
struct xcb_xevie_select_input_cookie_t xcb_xevie_select_input_cookie_t
xcb_xevie_select_input_cookie_t
xcb_xevie_start_reply_t * xcb_xevie_start_reply(xcb_connection_t *c, xcb_xevie_start_cookie_t cookie, xcb_generic_error_t **e)
Definition: xevie.c:137
struct xcb_xevie_event_iterator_t xcb_xevie_event_iterator_t
xcb_xevie_event_iterator_t
struct xcb_xevie_start_reply_t xcb_xevie_start_reply_t
xcb_xevie_start_reply_t
xcb_xevie_select_input_cookie_t xcb_xevie_select_input(xcb_connection_t *c, uint32_t event_mask)
Definition: xevie.c:289
struct xcb_xevie_send_reply_t xcb_xevie_send_reply_t
xcb_xevie_send_reply_t
struct xcb_xevie_start_request_t xcb_xevie_start_request_t
xcb_xevie_start_request_t
void xcb_xevie_event_next(xcb_xevie_event_iterator_t *i)
Definition: xevie.c:205
Definition: xcbext.h:39
xcb_xevie_end_cookie_t xcb_xevie_end_unchecked(xcb_connection_t *c, uint32_t cmap)
Definition: xevie.c:171
struct xcb_xevie_end_cookie_t xcb_xevie_end_cookie_t
xcb_xevie_end_cookie_t
Generic iterator.
Definition: xcb.h:114
struct xcb_xevie_send_cookie_t xcb_xevie_send_cookie_t
xcb_xevie_send_cookie_t
xcb_xevie_start_cookie_t xcb_xevie_start(xcb_connection_t *c, uint32_t screen)
Definition: xevie.c:85
xcb_xevie_select_input_reply_t
Definition: xevie.h:199
xcb_xevie_send_request_t
Definition: xevie.h:156
xcb_xevie_end_reply_t
Definition: xevie.h:114
xcb_xevie_query_version_cookie_t xcb_xevie_query_version(xcb_connection_t *c, uint16_t client_major_version, uint16_t client_minor_version)
Definition: xevie.c:21
struct xcb_xevie_end_reply_t xcb_xevie_end_reply_t
xcb_xevie_end_reply_t
xcb_xevie_query_version_reply_t
Definition: xevie.h:50
struct xcb_xevie_query_version_reply_t xcb_xevie_query_version_reply_t
xcb_xevie_query_version_reply_t
xcb_xevie_event_t
Definition: xevie.h:130
xcb_xevie_select_input_cookie_t xcb_xevie_select_input_unchecked(xcb_connection_t *c, uint32_t event_mask)
Definition: xevie.c:315
xcb_xevie_query_version_reply_t * xcb_xevie_query_version_reply(xcb_connection_t *c, xcb_xevie_query_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: xevie.c:77
xcb_generic_iterator_t xcb_xevie_event_end(xcb_xevie_event_iterator_t i)
Definition: xevie.c:213
xcb_xevie_send_reply_t
Definition: xevie.h:168
xcb_xevie_select_input_request_t
Definition: xevie.h:189
xcb_xevie_start_reply_t
Definition: xevie.h:83
xcb_xevie_end_reply_t * xcb_xevie_end_reply(xcb_connection_t *c, xcb_xevie_end_cookie_t cookie, xcb_generic_error_t **e)
Definition: xevie.c:197
xcb_xevie_query_version_request_t
Definition: xevie.h:39
struct xcb_xevie_event_t xcb_xevie_event_t
xcb_xevie_event_t
xcb_xevie_send_cookie_t xcb_xevie_send_unchecked(xcb_connection_t *c, xcb_xevie_event_t event, uint32_t data_type)
Definition: xevie.c:252
xcb_xevie_send_reply_t * xcb_xevie_send_reply(xcb_connection_t *c, xcb_xevie_send_cookie_t cookie, xcb_generic_error_t **e)
Definition: xevie.c:281
xcb_xevie_event_iterator_t
Definition: xevie.h:137
struct xcb_xevie_query_version_request_t xcb_xevie_query_version_request_t
xcb_xevie_query_version_request_t
xcb_xevie_start_cookie_t xcb_xevie_start_unchecked(xcb_connection_t *c, uint32_t screen)
Definition: xevie.c:111
xcb_xevie_end_cookie_t xcb_xevie_end(xcb_connection_t *c, uint32_t cmap)
Definition: xevie.c:145
struct xcb_xevie_start_cookie_t xcb_xevie_start_cookie_t
xcb_xevie_start_cookie_t
struct xcb_xevie_end_request_t xcb_xevie_end_request_t
xcb_xevie_end_request_t
xcb_xevie_end_request_t
Definition: xevie.h:104
xcb_xevie_start_request_t
Definition: xevie.h:73
xcb_xevie_select_input_reply_t * xcb_xevie_select_input_reply(xcb_connection_t *c, xcb_xevie_select_input_cookie_t cookie, xcb_generic_error_t **e)
Definition: xevie.c:341
struct xcb_xevie_send_request_t xcb_xevie_send_request_t
xcb_xevie_send_request_t
struct xcb_xevie_select_input_request_t xcb_xevie_select_input_request_t
xcb_xevie_select_input_request_t
Definition: xcbint.h:198
struct xcb_xevie_query_version_cookie_t xcb_xevie_query_version_cookie_t
xcb_xevie_query_version_cookie_t
xcb_xevie_send_cookie_t xcb_xevie_send(xcb_connection_t *c, xcb_xevie_event_t event, uint32_t data_type)
Definition: xevie.c:223
struct xcb_xevie_select_input_reply_t xcb_xevie_select_input_reply_t
xcb_xevie_select_input_reply_t