XCB: xevie.h Source File

XCB 1.17.0

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
18extern "C" {
19#endif
20
21#define XCB_XEVIE_MAJOR_VERSION 1
22#define XCB_XEVIE_MINOR_VERSION 0
23
24extern xcb_extension_t xcb_xevie_id;
25
29 typedef struct xcb_xevie_query_version_cookie_t {
30 unsigned int sequence;
31} xcb_xevie_query_version_cookie_t;
32
34#define XCB_XEVIE_QUERY_VERSION 0
35
39 typedef struct xcb_xevie_query_version_request_t {
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;
45} xcb_xevie_query_version_request_t;
46
50 typedef struct xcb_xevie_query_version_reply_t {
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];
58} xcb_xevie_query_version_reply_t;
59
63 typedef struct xcb_xevie_start_cookie_t {
64 unsigned int sequence;
65} xcb_xevie_start_cookie_t;
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;
78} xcb_xevie_start_request_t;
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];
89} xcb_xevie_start_reply_t;
90
94 typedef struct xcb_xevie_end_cookie_t {
95 unsigned int sequence;
96} xcb_xevie_end_cookie_t;
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;
109} xcb_xevie_end_request_t;
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];
120} xcb_xevie_end_reply_t;
121
122typedef 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];
132} xcb_xevie_event_t;
133
137 typedef struct xcb_xevie_event_iterator_t {
138 xcb_xevie_event_t *data;
139 int rem;
140 int index;
141} xcb_xevie_event_iterator_t;
142
146 typedef struct xcb_xevie_send_cookie_t {
147 unsigned int sequence;
148} xcb_xevie_send_cookie_t;
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];
163} xcb_xevie_send_request_t;
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];
174} xcb_xevie_send_reply_t;
175
179 typedef struct xcb_xevie_select_input_cookie_t {
180 unsigned int sequence;
181} xcb_xevie_select_input_cookie_t;
182
184#define XCB_XEVIE_SELECT_INPUT 4
185
189 typedef struct xcb_xevie_select_input_request_t {
190 uint8_t major_opcode;
191 uint8_t minor_opcode;
192 uint16_t length;
193 uint32_t event_mask;
194} xcb_xevie_select_input_request_t;
195
199 typedef struct xcb_xevie_select_input_reply_t {
200 uint8_t response_type;
201 uint8_t pad0;
202 uint16_t sequence;
203 uint32_t length;
204 uint8_t pad1[24];
205} xcb_xevie_select_input_reply_t;
206
215 xcb_xevie_query_version_cookie_t
216 xcb_xevie_query_version (xcb_connection_t *c,
217 uint16_t client_major_version,
218 uint16_t client_minor_version);
219
231 xcb_xevie_query_version_cookie_t
232 xcb_xevie_query_version_unchecked (xcb_connection_t *c,
233 uint16_t client_major_version,
234 uint16_t client_minor_version);
235
250 xcb_xevie_query_version_reply_t *
251 xcb_xevie_query_version_reply (xcb_connection_t *c,
252 xcb_xevie_query_version_cookie_t cookie ,
253 xcb_generic_error_t **e);
254
263 xcb_xevie_start_cookie_t
264 xcb_xevie_start (xcb_connection_t *c,
265 uint32_t screen);
266
278 xcb_xevie_start_cookie_t
279 xcb_xevie_start_unchecked (xcb_connection_t *c,
280 uint32_t screen);
281
296 xcb_xevie_start_reply_t *
297 xcb_xevie_start_reply (xcb_connection_t *c,
298 xcb_xevie_start_cookie_t cookie ,
299 xcb_generic_error_t **e);
300
309 xcb_xevie_end_cookie_t
310 xcb_xevie_end (xcb_connection_t *c,
311 uint32_t cmap);
312
324 xcb_xevie_end_cookie_t
325 xcb_xevie_end_unchecked (xcb_connection_t *c,
326 uint32_t cmap);
327
342 xcb_xevie_end_reply_t *
343 xcb_xevie_end_reply (xcb_connection_t *c,
344 xcb_xevie_end_cookie_t cookie ,
345 xcb_generic_error_t **e);
346
355void
356 xcb_xevie_event_next (xcb_xevie_event_iterator_t *i);
357
367 xcb_generic_iterator_t
368 xcb_xevie_event_end (xcb_xevie_event_iterator_t i);
369
378 xcb_xevie_send_cookie_t
379 xcb_xevie_send (xcb_connection_t *c,
380 xcb_xevie_event_t event,
381 uint32_t data_type);
382
394 xcb_xevie_send_cookie_t
395 xcb_xevie_send_unchecked (xcb_connection_t *c,
396 xcb_xevie_event_t event,
397 uint32_t data_type);
398
413 xcb_xevie_send_reply_t *
414 xcb_xevie_send_reply (xcb_connection_t *c,
415 xcb_xevie_send_cookie_t cookie ,
416 xcb_generic_error_t **e);
417
426 xcb_xevie_select_input_cookie_t
427 xcb_xevie_select_input (xcb_connection_t *c,
428 uint32_t event_mask);
429
441 xcb_xevie_select_input_cookie_t
442 xcb_xevie_select_input_unchecked (xcb_connection_t *c,
443 uint32_t event_mask);
444
459 xcb_xevie_select_input_reply_t *
460 xcb_xevie_select_input_reply (xcb_connection_t *c,
461 xcb_xevie_select_input_cookie_t cookie ,
462 xcb_generic_error_t **e);
463
464
465#ifdef __cplusplus
466}
467#endif
468
469#endif
470
xcb_xevie_query_version_reply
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_xevie_send_unchecked
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_query_version
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
xcb_xevie_end
xcb_xevie_end_cookie_t xcb_xevie_end(xcb_connection_t *c, uint32_t cmap)
Definition: xevie.c:145
xcb_xevie_select_input
xcb_xevie_select_input_cookie_t xcb_xevie_select_input(xcb_connection_t *c, uint32_t event_mask)
Definition: xevie.c:289
xcb_xevie_event_next
void xcb_xevie_event_next(xcb_xevie_event_iterator_t *i)
Definition: xevie.c:205
xcb_xevie_event_end
xcb_generic_iterator_t xcb_xevie_event_end(xcb_xevie_event_iterator_t i)
Definition: xevie.c:213
xcb_xevie_send
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
xcb_xevie_start_unchecked
xcb_xevie_start_cookie_t xcb_xevie_start_unchecked(xcb_connection_t *c, uint32_t screen)
Definition: xevie.c:111
xcb_xevie_select_input_unchecked
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_send_reply
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_query_version_unchecked
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
xcb_xevie_start_reply
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
xcb_xevie_start
xcb_xevie_start_cookie_t xcb_xevie_start(xcb_connection_t *c, uint32_t screen)
Definition: xevie.c:85
xcb_xevie_end_unchecked
xcb_xevie_end_cookie_t xcb_xevie_end_unchecked(xcb_connection_t *c, uint32_t cmap)
Definition: xevie.c:171
xcb_xevie_end_reply
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_select_input_reply
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
xcb_connection_t
Definition: xcbint.h:208
xcb_extension_t
Definition: xcbext.h:39
xcb_generic_error_t
Generic error.
Definition: xcb.h:186
xcb_generic_iterator_t
Generic iterator.
Definition: xcb.h:118
xcb_xevie_end_cookie_t
xcb_xevie_end_cookie_t
Definition: xevie.h:94
xcb_xevie_end_reply_t
xcb_xevie_end_reply_t
Definition: xevie.h:114
xcb_xevie_end_request_t
xcb_xevie_end_request_t
Definition: xevie.h:104
xcb_xevie_event_iterator_t
xcb_xevie_event_iterator_t
Definition: xevie.h:137
xcb_xevie_event_t
xcb_xevie_event_t
Definition: xevie.h:130
xcb_xevie_query_version_cookie_t
xcb_xevie_query_version_cookie_t
Definition: xevie.h:29
xcb_xevie_query_version_reply_t
xcb_xevie_query_version_reply_t
Definition: xevie.h:50
xcb_xevie_query_version_request_t
xcb_xevie_query_version_request_t
Definition: xevie.h:39
xcb_xevie_select_input_cookie_t
xcb_xevie_select_input_cookie_t
Definition: xevie.h:179
xcb_xevie_select_input_reply_t
xcb_xevie_select_input_reply_t
Definition: xevie.h:199
xcb_xevie_select_input_request_t
xcb_xevie_select_input_request_t
Definition: xevie.h:189
xcb_xevie_send_cookie_t
xcb_xevie_send_cookie_t
Definition: xevie.h:146
xcb_xevie_send_reply_t
xcb_xevie_send_reply_t
Definition: xevie.h:168
xcb_xevie_send_request_t
xcb_xevie_send_request_t
Definition: xevie.h:156
xcb_xevie_start_cookie_t
xcb_xevie_start_cookie_t
Definition: xevie.h:63
xcb_xevie_start_reply_t
xcb_xevie_start_reply_t
Definition: xevie.h:83
xcb_xevie_start_request_t
xcb_xevie_start_request_t
Definition: xevie.h:73
xcb.h