XCB  1.11.1
xparsec.h
1 /*
2  * This file generated automatically from xparsec.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
12 #ifndef __XPARSEC_H
13 #define __XPARSEC_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_XPARSEC_MAJOR_VERSION 1
23 #define XCB_XPARSEC_MINOR_VERSION 0
24 
25 extern xcb_extension_t xcb_xparsec_id;
26 
31  unsigned int sequence;
33 
35 #define XCB_XPARSEC_QUERY_VERSION 0
36 
41  uint8_t major_opcode;
42  uint8_t minor_opcode;
43  uint16_t length;
44  uint8_t client_major;
45  uint8_t client_minor;
47 
52  uint8_t response_type;
53  uint8_t pad0;
54  uint16_t sequence;
55  uint32_t length;
56  uint16_t server_major;
57  uint16_t server_minor;
59 
64  unsigned int sequence;
66 
68 #define XCB_XPARSEC_GET_DRAWABLE_CONTEXT 7
69 
74  uint8_t major_opcode;
75  uint8_t minor_opcode;
76  uint16_t length;
77  xcb_drawable_t drawable;
79 
84  uint8_t response_type;
85  uint8_t pad0;
86  uint16_t sequence;
87  uint32_t length;
88  uint32_t context_len;
89  uint8_t pad1[20];
91 
96  unsigned int sequence;
98 
100 #define XCB_XPARSEC_GET_PROPERTY_CONTEXT 12
101 
106  uint8_t major_opcode;
107  uint8_t minor_opcode;
108  uint16_t length;
109  xcb_window_t window;
110  xcb_atom_t property;
112 
117  uint8_t response_type;
118  uint8_t pad0;
119  uint16_t sequence;
120  uint32_t length;
121  uint32_t context_len;
122  uint8_t pad1[20];
124 
129  unsigned int sequence;
131 
133 #define XCB_XPARSEC_GET_SELECTION_CONTEXT 19
134 
139  uint8_t major_opcode;
140  uint8_t minor_opcode;
141  uint16_t length;
142  xcb_atom_t selection;
144 
149  uint8_t response_type;
150  uint8_t pad0;
151  uint16_t sequence;
152  uint32_t length;
153  uint32_t context_len;
154  uint8_t pad1[20];
156 
167  uint8_t client_major ,
168  uint8_t client_minor );
169 
183  uint8_t client_major ,
184  uint8_t client_minor );
185 
203  xcb_generic_error_t **e );
204 
205 int
206 xcb_xparsec_get_drawable_context_sizeof (const void *_buffer );
207 
218  xcb_drawable_t drawable );
219 
233  xcb_drawable_t drawable );
234 
235 char *
236 xcb_xparsec_get_drawable_context_context (const xcb_xparsec_get_drawable_context_reply_t *R );
237 
238 int
239 xcb_xparsec_get_drawable_context_context_length (const xcb_xparsec_get_drawable_context_reply_t *R );
240 
242 xcb_xparsec_get_drawable_context_context_end (const xcb_xparsec_get_drawable_context_reply_t *R );
243 
261  xcb_generic_error_t **e );
262 
263 int
264 xcb_xparsec_get_property_context_sizeof (const void *_buffer );
265 
276  xcb_window_t window ,
277  xcb_atom_t property );
278 
292  xcb_window_t window ,
293  xcb_atom_t property );
294 
295 char *
296 xcb_xparsec_get_property_context_context (const xcb_xparsec_get_property_context_reply_t *R );
297 
298 int
299 xcb_xparsec_get_property_context_context_length (const xcb_xparsec_get_property_context_reply_t *R );
300 
302 xcb_xparsec_get_property_context_context_end (const xcb_xparsec_get_property_context_reply_t *R );
303 
321  xcb_generic_error_t **e );
322 
323 int
324 xcb_xparsec_get_selection_context_sizeof (const void *_buffer );
325 
336  xcb_atom_t selection );
337 
351  xcb_atom_t selection );
352 
353 char *
354 xcb_xparsec_get_selection_context_context (const xcb_xparsec_get_selection_context_reply_t *R );
355 
356 int
357 xcb_xparsec_get_selection_context_context_length (const xcb_xparsec_get_selection_context_reply_t *R );
358 
360 xcb_xparsec_get_selection_context_context_end (const xcb_xparsec_get_selection_context_reply_t *R );
361 
379  xcb_generic_error_t **e );
380 
381 
382 #ifdef __cplusplus
383 }
384 #endif
385 
386 #endif
387