XCB  1.12
xtest.h
1 /*
2  * This file generated automatically from xtest.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
12 #ifndef __XTEST_H
13 #define __XTEST_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_TEST_MAJOR_VERSION 2
23 #define XCB_TEST_MINOR_VERSION 2
24 
25 extern xcb_extension_t xcb_test_id;
26 
31  unsigned int sequence;
33 
35 #define XCB_TEST_GET_VERSION 0
36 
41  uint8_t major_opcode;
42  uint8_t minor_opcode;
43  uint16_t length;
44  uint8_t major_version;
45  uint8_t pad0;
46  uint16_t minor_version;
48 
53  uint8_t response_type;
54  uint8_t major_version;
55  uint16_t sequence;
56  uint32_t length;
57  uint16_t minor_version;
59 
60 typedef enum xcb_test_cursor_t {
61  XCB_TEST_CURSOR_NONE = 0,
62  XCB_TEST_CURSOR_CURRENT = 1
63 } xcb_test_cursor_t;
64 
69  unsigned int sequence;
71 
73 #define XCB_TEST_COMPARE_CURSOR 1
74 
79  uint8_t major_opcode;
80  uint8_t minor_opcode;
81  uint16_t length;
82  xcb_window_t window;
83  xcb_cursor_t cursor;
85 
90  uint8_t response_type;
91  uint8_t same;
92  uint16_t sequence;
93  uint32_t length;
95 
97 #define XCB_TEST_FAKE_INPUT 2
98 
103  uint8_t major_opcode;
104  uint8_t minor_opcode;
105  uint16_t length;
106  uint8_t type;
107  uint8_t detail;
108  uint8_t pad0[2];
109  uint32_t time;
110  xcb_window_t root;
111  uint8_t pad1[8];
112  int16_t rootX;
113  int16_t rootY;
114  uint8_t pad2[7];
115  uint8_t deviceid;
117 
119 #define XCB_TEST_GRAB_CONTROL 3
120 
125  uint8_t major_opcode;
126  uint8_t minor_opcode;
127  uint16_t length;
128  uint8_t impervious;
129  uint8_t pad0[3];
131 
142  uint8_t major_version,
143  uint16_t minor_version);
144 
158  uint8_t major_version,
159  uint16_t minor_version);
160 
178  xcb_generic_error_t **e);
179 
190  xcb_window_t window,
191  xcb_cursor_t cursor);
192 
206  xcb_window_t window,
207  xcb_cursor_t cursor);
208 
226  xcb_generic_error_t **e);
227 
241  uint8_t type,
242  uint8_t detail,
243  uint32_t time,
244  xcb_window_t root,
245  int16_t rootX,
246  int16_t rootY,
247  uint8_t deviceid);
248 
259  uint8_t type,
260  uint8_t detail,
261  uint32_t time,
262  xcb_window_t root,
263  int16_t rootX,
264  int16_t rootY,
265  uint8_t deviceid);
266 
280  uint8_t impervious);
281 
292  uint8_t impervious);
293 
294 
295 #ifdef __cplusplus
296 }
297 #endif
298 
299 #endif
300 
Generic error.
Definition: xcb.h:170
xcb_test_compare_cursor_cookie_t xcb_test_compare_cursor(xcb_connection_t *c, xcb_window_t window, xcb_cursor_t cursor)
Definition: xtest.c:88
xcb_test_get_version_cookie_t xcb_test_get_version_unchecked(xcb_connection_t *c, uint8_t major_version, uint16_t minor_version)
Definition: xtest.c:51
struct xcb_test_fake_input_request_t xcb_test_fake_input_request_t
xcb_test_fake_input_request_t
Definition: xcbext.h:39
xcb_void_cookie_t xcb_test_grab_control_checked(xcb_connection_t *c, uint8_t impervious)
Definition: xtest.c:234
xcb_test_get_version_reply_t * xcb_test_get_version_reply(xcb_connection_t *c, xcb_test_get_version_cookie_t cookie, xcb_generic_error_t **e)
Definition: xtest.c:80
xcb_test_fake_input_request_t
Definition: xtest.h:102
struct xcb_test_compare_cursor_cookie_t xcb_test_compare_cursor_cookie_t
xcb_test_compare_cursor_cookie_t
struct xcb_test_compare_cursor_reply_t xcb_test_compare_cursor_reply_t
xcb_test_compare_cursor_reply_t
xcb_void_cookie_t xcb_test_grab_control(xcb_connection_t *c, uint8_t impervious)
Definition: xtest.c:261
xcb_test_get_version_request_t
Definition: xtest.h:40
xcb_test_compare_cursor_reply_t * xcb_test_compare_cursor_reply(xcb_connection_t *c, xcb_test_compare_cursor_cookie_t cookie, xcb_generic_error_t **e)
Definition: xtest.c:144
struct xcb_test_get_version_cookie_t xcb_test_get_version_cookie_t
xcb_test_get_version_cookie_t
xcb_test_compare_cursor_cookie_t xcb_test_compare_cursor_unchecked(xcb_connection_t *c, xcb_window_t window, xcb_cursor_t cursor)
Definition: xtest.c:116
struct xcb_test_get_version_request_t xcb_test_get_version_request_t
xcb_test_get_version_request_t
xcb_void_cookie_t xcb_test_fake_input(xcb_connection_t *c, uint8_t type, uint8_t detail, uint32_t time, xcb_window_t root, int16_t rootX, int16_t rootY, uint8_t deviceid)
Definition: xtest.c:193
xcb_void_cookie_t xcb_test_fake_input_checked(xcb_connection_t *c, uint8_t type, uint8_t detail, uint32_t time, xcb_window_t root, int16_t rootX, int16_t rootY, uint8_t deviceid)
Definition: xtest.c:152
xcb_test_compare_cursor_request_t
Definition: xtest.h:78
xcb_test_get_version_reply_t
Definition: xtest.h:52
xcb_test_get_version_cookie_t xcb_test_get_version(xcb_connection_t *c, uint8_t major_version, uint16_t minor_version)
Definition: xtest.c:22
struct xcb_test_compare_cursor_request_t xcb_test_compare_cursor_request_t
xcb_test_compare_cursor_request_t
xcb_test_grab_control_request_t
Definition: xtest.h:124
xcb_test_compare_cursor_reply_t
Definition: xtest.h:89
Definition: xcbint.h:198
struct xcb_test_get_version_reply_t xcb_test_get_version_reply_t
xcb_test_get_version_reply_t
struct xcb_test_grab_control_request_t xcb_test_grab_control_request_t
xcb_test_grab_control_request_t