xref: /minix/external/mit/xorg/lib/libxcb/files/xkb.h (revision 0a6a1f1d)
1 /*
2  * This file generated automatically from xkb.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_xkb_API XCB xkb API
8  * @brief xkb XCB Protocol Implementation.
9  * @{
10  **/
11 
12 #ifndef __XKB_H
13 #define __XKB_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_XKB_MAJOR_VERSION 1
23 #define XCB_XKB_MINOR_VERSION 0
24 
25 extern xcb_extension_t xcb_xkb_id;
26 
27 typedef enum xcb_xkb_const_t {
28     XCB_XKB_CONST_MAX_LEGAL_KEY_CODE = 255,
29     XCB_XKB_CONST_PER_KEY_BIT_ARRAY_SIZE = 32,
30     XCB_XKB_CONST_KEY_NAME_LENGTH = 4
31 } xcb_xkb_const_t;
32 
33 typedef enum xcb_xkb_event_type_t {
34     XCB_XKB_EVENT_TYPE_NEW_KEYBOARD_NOTIFY = 1,
35     XCB_XKB_EVENT_TYPE_MAP_NOTIFY = 2,
36     XCB_XKB_EVENT_TYPE_STATE_NOTIFY = 4,
37     XCB_XKB_EVENT_TYPE_CONTROLS_NOTIFY = 8,
38     XCB_XKB_EVENT_TYPE_INDICATOR_STATE_NOTIFY = 16,
39     XCB_XKB_EVENT_TYPE_INDICATOR_MAP_NOTIFY = 32,
40     XCB_XKB_EVENT_TYPE_NAMES_NOTIFY = 64,
41     XCB_XKB_EVENT_TYPE_COMPAT_MAP_NOTIFY = 128,
42     XCB_XKB_EVENT_TYPE_BELL_NOTIFY = 256,
43     XCB_XKB_EVENT_TYPE_ACTION_MESSAGE = 512,
44     XCB_XKB_EVENT_TYPE_ACCESS_X_NOTIFY = 1024,
45     XCB_XKB_EVENT_TYPE_EXTENSION_DEVICE_NOTIFY = 2048
46 } xcb_xkb_event_type_t;
47 
48 typedef enum xcb_xkb_nkn_detail_t {
49     XCB_XKB_NKN_DETAIL_KEYCODES = 1,
50     XCB_XKB_NKN_DETAIL_GEOMETRY = 2,
51     XCB_XKB_NKN_DETAIL_DEVICE_ID = 4
52 } xcb_xkb_nkn_detail_t;
53 
54 typedef enum xcb_xkb_axn_detail_t {
55     XCB_XKB_AXN_DETAIL_SK_PRESS = 1,
56     XCB_XKB_AXN_DETAIL_SK_ACCEPT = 2,
57     XCB_XKB_AXN_DETAIL_SK_REJECT = 4,
58     XCB_XKB_AXN_DETAIL_SK_RELEASE = 8,
59     XCB_XKB_AXN_DETAIL_BK_ACCEPT = 16,
60     XCB_XKB_AXN_DETAIL_BK_REJECT = 32,
61     XCB_XKB_AXN_DETAIL_AXK_WARNING = 64
62 } xcb_xkb_axn_detail_t;
63 
64 typedef enum xcb_xkb_map_part_t {
65     XCB_XKB_MAP_PART_KEY_TYPES = 1,
66     XCB_XKB_MAP_PART_KEY_SYMS = 2,
67     XCB_XKB_MAP_PART_MODIFIER_MAP = 4,
68     XCB_XKB_MAP_PART_EXPLICIT_COMPONENTS = 8,
69     XCB_XKB_MAP_PART_KEY_ACTIONS = 16,
70     XCB_XKB_MAP_PART_KEY_BEHAVIORS = 32,
71     XCB_XKB_MAP_PART_VIRTUAL_MODS = 64,
72     XCB_XKB_MAP_PART_VIRTUAL_MOD_MAP = 128
73 } xcb_xkb_map_part_t;
74 
75 typedef enum xcb_xkb_set_map_flags_t {
76     XCB_XKB_SET_MAP_FLAGS_RESIZE_TYPES = 1,
77     XCB_XKB_SET_MAP_FLAGS_RECOMPUTE_ACTIONS = 2
78 } xcb_xkb_set_map_flags_t;
79 
80 typedef enum xcb_xkb_state_part_t {
81     XCB_XKB_STATE_PART_MODIFIER_STATE = 1,
82     XCB_XKB_STATE_PART_MODIFIER_BASE = 2,
83     XCB_XKB_STATE_PART_MODIFIER_LATCH = 4,
84     XCB_XKB_STATE_PART_MODIFIER_LOCK = 8,
85     XCB_XKB_STATE_PART_GROUP_STATE = 16,
86     XCB_XKB_STATE_PART_GROUP_BASE = 32,
87     XCB_XKB_STATE_PART_GROUP_LATCH = 64,
88     XCB_XKB_STATE_PART_GROUP_LOCK = 128,
89     XCB_XKB_STATE_PART_COMPAT_STATE = 256,
90     XCB_XKB_STATE_PART_GRAB_MODS = 512,
91     XCB_XKB_STATE_PART_COMPAT_GRAB_MODS = 1024,
92     XCB_XKB_STATE_PART_LOOKUP_MODS = 2048,
93     XCB_XKB_STATE_PART_COMPAT_LOOKUP_MODS = 4096,
94     XCB_XKB_STATE_PART_POINTER_BUTTONS = 8192
95 } xcb_xkb_state_part_t;
96 
97 typedef enum xcb_xkb_bool_ctrl_t {
98     XCB_XKB_BOOL_CTRL_REPEAT_KEYS = 1,
99     XCB_XKB_BOOL_CTRL_SLOW_KEYS = 2,
100     XCB_XKB_BOOL_CTRL_BOUNCE_KEYS = 4,
101     XCB_XKB_BOOL_CTRL_STICKY_KEYS = 8,
102     XCB_XKB_BOOL_CTRL_MOUSE_KEYS = 16,
103     XCB_XKB_BOOL_CTRL_MOUSE_KEYS_ACCEL = 32,
104     XCB_XKB_BOOL_CTRL_ACCESS_X_KEYS = 64,
105     XCB_XKB_BOOL_CTRL_ACCESS_X_TIMEOUT_MASK = 128,
106     XCB_XKB_BOOL_CTRL_ACCESS_X_FEEDBACK_MASK = 256,
107     XCB_XKB_BOOL_CTRL_AUDIBLE_BELL_MASK = 512,
108     XCB_XKB_BOOL_CTRL_OVERLAY_1_MASK = 1024,
109     XCB_XKB_BOOL_CTRL_OVERLAY_2_MASK = 2048,
110     XCB_XKB_BOOL_CTRL_IGNORE_GROUP_LOCK_MASK = 4096
111 } xcb_xkb_bool_ctrl_t;
112 
113 typedef enum xcb_xkb_control_t {
114     XCB_XKB_CONTROL_GROUPS_WRAP = 134217728,
115     XCB_XKB_CONTROL_INTERNAL_MODS = 268435456,
116     XCB_XKB_CONTROL_IGNORE_LOCK_MODS = 536870912,
117     XCB_XKB_CONTROL_PER_KEY_REPEAT = 1073741824,
118     XCB_XKB_CONTROL_CONTROLS_ENABLED = 2147483648
119 } xcb_xkb_control_t;
120 
121 typedef enum xcb_xkb_ax_option_t {
122     XCB_XKB_AX_OPTION_SK_PRESS_FB = 1,
123     XCB_XKB_AX_OPTION_SK_ACCEPT_FB = 2,
124     XCB_XKB_AX_OPTION_FEATURE_FB = 4,
125     XCB_XKB_AX_OPTION_SLOW_WARN_FB = 8,
126     XCB_XKB_AX_OPTION_INDICATOR_FB = 16,
127     XCB_XKB_AX_OPTION_STICKY_KEYS_FB = 32,
128     XCB_XKB_AX_OPTION_TWO_KEYS = 64,
129     XCB_XKB_AX_OPTION_LATCH_TO_LOCK = 128,
130     XCB_XKB_AX_OPTION_SK_RELEASE_FB = 256,
131     XCB_XKB_AX_OPTION_SK_REJECT_FB = 512,
132     XCB_XKB_AX_OPTION_BK_REJECT_FB = 1024,
133     XCB_XKB_AX_OPTION_DUMB_BELL = 2048
134 } xcb_xkb_ax_option_t;
135 
136 typedef uint16_t xcb_xkb_device_spec_t;
137 
138 /**
139  * @brief xcb_xkb_device_spec_iterator_t
140  **/
141 typedef struct xcb_xkb_device_spec_iterator_t {
142     xcb_xkb_device_spec_t *data; /**<  */
143     int                    rem; /**<  */
144     int                    index; /**<  */
145 } xcb_xkb_device_spec_iterator_t;
146 
147 typedef enum xcb_xkb_led_class_result_t {
148     XCB_XKB_LED_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
149     XCB_XKB_LED_CLASS_RESULT_LED_FEEDBACK_CLASS = 4
150 } xcb_xkb_led_class_result_t;
151 
152 typedef enum xcb_xkb_led_class_t {
153     XCB_XKB_LED_CLASS_KBD_FEEDBACK_CLASS = 0,
154     XCB_XKB_LED_CLASS_LED_FEEDBACK_CLASS = 4,
155     XCB_XKB_LED_CLASS_DFLT_XI_CLASS = 768,
156     XCB_XKB_LED_CLASS_ALL_XI_CLASSES = 1280
157 } xcb_xkb_led_class_t;
158 
159 typedef uint16_t xcb_xkb_led_class_spec_t;
160 
161 /**
162  * @brief xcb_xkb_led_class_spec_iterator_t
163  **/
164 typedef struct xcb_xkb_led_class_spec_iterator_t {
165     xcb_xkb_led_class_spec_t *data; /**<  */
166     int                       rem; /**<  */
167     int                       index; /**<  */
168 } xcb_xkb_led_class_spec_iterator_t;
169 
170 typedef enum xcb_xkb_bell_class_result_t {
171     XCB_XKB_BELL_CLASS_RESULT_KBD_FEEDBACK_CLASS = 0,
172     XCB_XKB_BELL_CLASS_RESULT_BELL_FEEDBACK_CLASS = 5
173 } xcb_xkb_bell_class_result_t;
174 
175 typedef enum xcb_xkb_bell_class_t {
176     XCB_XKB_BELL_CLASS_KBD_FEEDBACK_CLASS = 0,
177     XCB_XKB_BELL_CLASS_BELL_FEEDBACK_CLASS = 5,
178     XCB_XKB_BELL_CLASS_DFLT_XI_CLASS = 768
179 } xcb_xkb_bell_class_t;
180 
181 typedef uint16_t xcb_xkb_bell_class_spec_t;
182 
183 /**
184  * @brief xcb_xkb_bell_class_spec_iterator_t
185  **/
186 typedef struct xcb_xkb_bell_class_spec_iterator_t {
187     xcb_xkb_bell_class_spec_t *data; /**<  */
188     int                        rem; /**<  */
189     int                        index; /**<  */
190 } xcb_xkb_bell_class_spec_iterator_t;
191 
192 typedef enum xcb_xkb_id_t {
193     XCB_XKB_ID_USE_CORE_KBD = 256,
194     XCB_XKB_ID_USE_CORE_PTR = 512,
195     XCB_XKB_ID_DFLT_XI_CLASS = 768,
196     XCB_XKB_ID_DFLT_XI_ID = 1024,
197     XCB_XKB_ID_ALL_XI_CLASS = 1280,
198     XCB_XKB_ID_ALL_XI_ID = 1536,
199     XCB_XKB_ID_XI_NONE = 65280
200 } xcb_xkb_id_t;
201 
202 typedef uint16_t xcb_xkb_id_spec_t;
203 
204 /**
205  * @brief xcb_xkb_id_spec_iterator_t
206  **/
207 typedef struct xcb_xkb_id_spec_iterator_t {
208     xcb_xkb_id_spec_t *data; /**<  */
209     int                rem; /**<  */
210     int                index; /**<  */
211 } xcb_xkb_id_spec_iterator_t;
212 
213 typedef enum xcb_xkb_group_t {
214     XCB_XKB_GROUP_1 = 0,
215     XCB_XKB_GROUP_2 = 1,
216     XCB_XKB_GROUP_3 = 2,
217     XCB_XKB_GROUP_4 = 3
218 } xcb_xkb_group_t;
219 
220 typedef enum xcb_xkb_groups_t {
221     XCB_XKB_GROUPS_ANY = 254,
222     XCB_XKB_GROUPS_ALL = 255
223 } xcb_xkb_groups_t;
224 
225 typedef enum xcb_xkb_set_of_group_t {
226     XCB_XKB_SET_OF_GROUP_GROUP_1 = 1,
227     XCB_XKB_SET_OF_GROUP_GROUP_2 = 2,
228     XCB_XKB_SET_OF_GROUP_GROUP_3 = 4,
229     XCB_XKB_SET_OF_GROUP_GROUP_4 = 8
230 } xcb_xkb_set_of_group_t;
231 
232 typedef enum xcb_xkb_set_of_groups_t {
233     XCB_XKB_SET_OF_GROUPS_ANY = 128
234 } xcb_xkb_set_of_groups_t;
235 
236 typedef enum xcb_xkb_groups_wrap_t {
237     XCB_XKB_GROUPS_WRAP_WRAP_INTO_RANGE = 0,
238     XCB_XKB_GROUPS_WRAP_CLAMP_INTO_RANGE = 64,
239     XCB_XKB_GROUPS_WRAP_REDIRECT_INTO_RANGE = 128
240 } xcb_xkb_groups_wrap_t;
241 
242 typedef enum xcb_xkb_v_mods_high_t {
243     XCB_XKB_V_MODS_HIGH_15 = 128,
244     XCB_XKB_V_MODS_HIGH_14 = 64,
245     XCB_XKB_V_MODS_HIGH_13 = 32,
246     XCB_XKB_V_MODS_HIGH_12 = 16,
247     XCB_XKB_V_MODS_HIGH_11 = 8,
248     XCB_XKB_V_MODS_HIGH_10 = 4,
249     XCB_XKB_V_MODS_HIGH_9 = 2,
250     XCB_XKB_V_MODS_HIGH_8 = 1
251 } xcb_xkb_v_mods_high_t;
252 
253 typedef enum xcb_xkb_v_mods_low_t {
254     XCB_XKB_V_MODS_LOW_7 = 128,
255     XCB_XKB_V_MODS_LOW_6 = 64,
256     XCB_XKB_V_MODS_LOW_5 = 32,
257     XCB_XKB_V_MODS_LOW_4 = 16,
258     XCB_XKB_V_MODS_LOW_3 = 8,
259     XCB_XKB_V_MODS_LOW_2 = 4,
260     XCB_XKB_V_MODS_LOW_1 = 2,
261     XCB_XKB_V_MODS_LOW_0 = 1
262 } xcb_xkb_v_mods_low_t;
263 
264 typedef enum xcb_xkb_v_mod_t {
265     XCB_XKB_V_MOD_15 = 32768,
266     XCB_XKB_V_MOD_14 = 16384,
267     XCB_XKB_V_MOD_13 = 8192,
268     XCB_XKB_V_MOD_12 = 4096,
269     XCB_XKB_V_MOD_11 = 2048,
270     XCB_XKB_V_MOD_10 = 1024,
271     XCB_XKB_V_MOD_9 = 512,
272     XCB_XKB_V_MOD_8 = 256,
273     XCB_XKB_V_MOD_7 = 128,
274     XCB_XKB_V_MOD_6 = 64,
275     XCB_XKB_V_MOD_5 = 32,
276     XCB_XKB_V_MOD_4 = 16,
277     XCB_XKB_V_MOD_3 = 8,
278     XCB_XKB_V_MOD_2 = 4,
279     XCB_XKB_V_MOD_1 = 2,
280     XCB_XKB_V_MOD_0 = 1
281 } xcb_xkb_v_mod_t;
282 
283 typedef enum xcb_xkb_explicit_t {
284     XCB_XKB_EXPLICIT_V_MOD_MAP = 128,
285     XCB_XKB_EXPLICIT_BEHAVIOR = 64,
286     XCB_XKB_EXPLICIT_AUTO_REPEAT = 32,
287     XCB_XKB_EXPLICIT_INTERPRET = 16,
288     XCB_XKB_EXPLICIT_KEY_TYPE_4 = 8,
289     XCB_XKB_EXPLICIT_KEY_TYPE_3 = 4,
290     XCB_XKB_EXPLICIT_KEY_TYPE_2 = 2,
291     XCB_XKB_EXPLICIT_KEY_TYPE_1 = 1
292 } xcb_xkb_explicit_t;
293 
294 typedef enum xcb_xkb_sym_interpret_match_t {
295     XCB_XKB_SYM_INTERPRET_MATCH_NONE_OF = 0,
296     XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF_OR_NONE = 1,
297     XCB_XKB_SYM_INTERPRET_MATCH_ANY_OF = 2,
298     XCB_XKB_SYM_INTERPRET_MATCH_ALL_OF = 3,
299     XCB_XKB_SYM_INTERPRET_MATCH_EXACTLY = 4
300 } xcb_xkb_sym_interpret_match_t;
301 
302 typedef enum xcb_xkb_sym_interp_match_t {
303     XCB_XKB_SYM_INTERP_MATCH_LEVEL_ONE_ONLY = 128,
304     XCB_XKB_SYM_INTERP_MATCH_OP_MASK = 127
305 } xcb_xkb_sym_interp_match_t;
306 
307 typedef enum xcb_xkb_im_flag_t {
308     XCB_XKB_IM_FLAG_NO_EXPLICIT = 128,
309     XCB_XKB_IM_FLAG_NO_AUTOMATIC = 64,
310     XCB_XKB_IM_FLAG_LED_DRIVES_KB = 32
311 } xcb_xkb_im_flag_t;
312 
313 typedef enum xcb_xkb_im_mods_which_t {
314     XCB_XKB_IM_MODS_WHICH_USE_COMPAT = 16,
315     XCB_XKB_IM_MODS_WHICH_USE_EFFECTIVE = 8,
316     XCB_XKB_IM_MODS_WHICH_USE_LOCKED = 4,
317     XCB_XKB_IM_MODS_WHICH_USE_LATCHED = 2,
318     XCB_XKB_IM_MODS_WHICH_USE_BASE = 1
319 } xcb_xkb_im_mods_which_t;
320 
321 typedef enum xcb_xkb_im_groups_which_t {
322     XCB_XKB_IM_GROUPS_WHICH_USE_COMPAT = 16,
323     XCB_XKB_IM_GROUPS_WHICH_USE_EFFECTIVE = 8,
324     XCB_XKB_IM_GROUPS_WHICH_USE_LOCKED = 4,
325     XCB_XKB_IM_GROUPS_WHICH_USE_LATCHED = 2,
326     XCB_XKB_IM_GROUPS_WHICH_USE_BASE = 1
327 } xcb_xkb_im_groups_which_t;
328 
329 /**
330  * @brief xcb_xkb_indicator_map_t
331  **/
332 typedef struct xcb_xkb_indicator_map_t {
333     uint8_t  flags; /**<  */
334     uint8_t  whichGroups; /**<  */
335     uint8_t  groups; /**<  */
336     uint8_t  whichMods; /**<  */
337     uint8_t  mods; /**<  */
338     uint8_t  realMods; /**<  */
339     uint16_t vmods; /**<  */
340     uint32_t ctrls; /**<  */
341 } xcb_xkb_indicator_map_t;
342 
343 /**
344  * @brief xcb_xkb_indicator_map_iterator_t
345  **/
346 typedef struct xcb_xkb_indicator_map_iterator_t {
347     xcb_xkb_indicator_map_t *data; /**<  */
348     int                      rem; /**<  */
349     int                      index; /**<  */
350 } xcb_xkb_indicator_map_iterator_t;
351 
352 typedef enum xcb_xkb_cm_detail_t {
353     XCB_XKB_CM_DETAIL_SYM_INTERP = 1,
354     XCB_XKB_CM_DETAIL_GROUP_COMPAT = 2
355 } xcb_xkb_cm_detail_t;
356 
357 typedef enum xcb_xkb_name_detail_t {
358     XCB_XKB_NAME_DETAIL_KEYCODES = 1,
359     XCB_XKB_NAME_DETAIL_GEOMETRY = 2,
360     XCB_XKB_NAME_DETAIL_SYMBOLS = 4,
361     XCB_XKB_NAME_DETAIL_PHYS_SYMBOLS = 8,
362     XCB_XKB_NAME_DETAIL_TYPES = 16,
363     XCB_XKB_NAME_DETAIL_COMPAT = 32,
364     XCB_XKB_NAME_DETAIL_KEY_TYPE_NAMES = 64,
365     XCB_XKB_NAME_DETAIL_KT_LEVEL_NAMES = 128,
366     XCB_XKB_NAME_DETAIL_INDICATOR_NAMES = 256,
367     XCB_XKB_NAME_DETAIL_KEY_NAMES = 512,
368     XCB_XKB_NAME_DETAIL_KEY_ALIASES = 1024,
369     XCB_XKB_NAME_DETAIL_VIRTUAL_MOD_NAMES = 2048,
370     XCB_XKB_NAME_DETAIL_GROUP_NAMES = 4096,
371     XCB_XKB_NAME_DETAIL_RG_NAMES = 8192
372 } xcb_xkb_name_detail_t;
373 
374 typedef enum xcb_xkb_gbn_detail_t {
375     XCB_XKB_GBN_DETAIL_TYPES = 1,
376     XCB_XKB_GBN_DETAIL_COMPAT_MAP = 2,
377     XCB_XKB_GBN_DETAIL_CLIENT_SYMBOLS = 4,
378     XCB_XKB_GBN_DETAIL_SERVER_SYMBOLS = 8,
379     XCB_XKB_GBN_DETAIL_INDICATOR_MAPS = 16,
380     XCB_XKB_GBN_DETAIL_KEY_NAMES = 32,
381     XCB_XKB_GBN_DETAIL_GEOMETRY = 64,
382     XCB_XKB_GBN_DETAIL_OTHER_NAMES = 128
383 } xcb_xkb_gbn_detail_t;
384 
385 typedef enum xcb_xkb_xi_feature_t {
386     XCB_XKB_XI_FEATURE_KEYBOARDS = 1,
387     XCB_XKB_XI_FEATURE_BUTTON_ACTIONS = 2,
388     XCB_XKB_XI_FEATURE_INDICATOR_NAMES = 4,
389     XCB_XKB_XI_FEATURE_INDICATOR_MAPS = 8,
390     XCB_XKB_XI_FEATURE_INDICATOR_STATE = 16
391 } xcb_xkb_xi_feature_t;
392 
393 typedef enum xcb_xkb_per_client_flag_t {
394     XCB_XKB_PER_CLIENT_FLAG_DETECTABLE_AUTO_REPEAT = 1,
395     XCB_XKB_PER_CLIENT_FLAG_GRABS_USE_XKB_STATE = 2,
396     XCB_XKB_PER_CLIENT_FLAG_AUTO_RESET_CONTROLS = 4,
397     XCB_XKB_PER_CLIENT_FLAG_LOOKUP_STATE_WHEN_GRABBED = 8,
398     XCB_XKB_PER_CLIENT_FLAG_SEND_EVENT_USES_XKB_STATE = 16
399 } xcb_xkb_per_client_flag_t;
400 
401 /**
402  * @brief xcb_xkb_mod_def_t
403  **/
404 typedef struct xcb_xkb_mod_def_t {
405     uint8_t  mask; /**<  */
406     uint8_t  realMods; /**<  */
407     uint16_t vmods; /**<  */
408 } xcb_xkb_mod_def_t;
409 
410 /**
411  * @brief xcb_xkb_mod_def_iterator_t
412  **/
413 typedef struct xcb_xkb_mod_def_iterator_t {
414     xcb_xkb_mod_def_t *data; /**<  */
415     int                rem; /**<  */
416     int                index; /**<  */
417 } xcb_xkb_mod_def_iterator_t;
418 
419 /**
420  * @brief xcb_xkb_key_name_t
421  **/
422 typedef struct xcb_xkb_key_name_t {
423     char name[4]; /**<  */
424 } xcb_xkb_key_name_t;
425 
426 /**
427  * @brief xcb_xkb_key_name_iterator_t
428  **/
429 typedef struct xcb_xkb_key_name_iterator_t {
430     xcb_xkb_key_name_t *data; /**<  */
431     int                 rem; /**<  */
432     int                 index; /**<  */
433 } xcb_xkb_key_name_iterator_t;
434 
435 /**
436  * @brief xcb_xkb_key_alias_t
437  **/
438 typedef struct xcb_xkb_key_alias_t {
439     char real[4]; /**<  */
440     char alias[4]; /**<  */
441 } xcb_xkb_key_alias_t;
442 
443 /**
444  * @brief xcb_xkb_key_alias_iterator_t
445  **/
446 typedef struct xcb_xkb_key_alias_iterator_t {
447     xcb_xkb_key_alias_t *data; /**<  */
448     int                  rem; /**<  */
449     int                  index; /**<  */
450 } xcb_xkb_key_alias_iterator_t;
451 
452 /**
453  * @brief xcb_xkb_counted_string_16_t
454  **/
455 typedef struct xcb_xkb_counted_string_16_t {
456     uint16_t length; /**<  */
457 } xcb_xkb_counted_string_16_t;
458 
459 /**
460  * @brief xcb_xkb_counted_string_16_iterator_t
461  **/
462 typedef struct xcb_xkb_counted_string_16_iterator_t {
463     xcb_xkb_counted_string_16_t *data; /**<  */
464     int                          rem; /**<  */
465     int                          index; /**<  */
466 } xcb_xkb_counted_string_16_iterator_t;
467 
468 /**
469  * @brief xcb_xkb_kt_map_entry_t
470  **/
471 typedef struct xcb_xkb_kt_map_entry_t {
472     uint8_t  active; /**<  */
473     uint8_t  mods_mask; /**<  */
474     uint8_t  level; /**<  */
475     uint8_t  mods_mods; /**<  */
476     uint16_t mods_vmods; /**<  */
477     uint8_t  pad0[2]; /**<  */
478 } xcb_xkb_kt_map_entry_t;
479 
480 /**
481  * @brief xcb_xkb_kt_map_entry_iterator_t
482  **/
483 typedef struct xcb_xkb_kt_map_entry_iterator_t {
484     xcb_xkb_kt_map_entry_t *data; /**<  */
485     int                     rem; /**<  */
486     int                     index; /**<  */
487 } xcb_xkb_kt_map_entry_iterator_t;
488 
489 /**
490  * @brief xcb_xkb_key_type_t
491  **/
492 typedef struct xcb_xkb_key_type_t {
493     uint8_t  mods_mask; /**<  */
494     uint8_t  mods_mods; /**<  */
495     uint16_t mods_vmods; /**<  */
496     uint8_t  numLevels; /**<  */
497     uint8_t  nMapEntries; /**<  */
498     uint8_t  hasPreserve; /**<  */
499     uint8_t  pad0; /**<  */
500 } xcb_xkb_key_type_t;
501 
502 /**
503  * @brief xcb_xkb_key_type_iterator_t
504  **/
505 typedef struct xcb_xkb_key_type_iterator_t {
506     xcb_xkb_key_type_t *data; /**<  */
507     int                 rem; /**<  */
508     int                 index; /**<  */
509 } xcb_xkb_key_type_iterator_t;
510 
511 /**
512  * @brief xcb_xkb_key_sym_map_t
513  **/
514 typedef struct xcb_xkb_key_sym_map_t {
515     uint8_t  kt_index[4]; /**<  */
516     uint8_t  groupInfo; /**<  */
517     uint8_t  width; /**<  */
518     uint16_t nSyms; /**<  */
519 } xcb_xkb_key_sym_map_t;
520 
521 /**
522  * @brief xcb_xkb_key_sym_map_iterator_t
523  **/
524 typedef struct xcb_xkb_key_sym_map_iterator_t {
525     xcb_xkb_key_sym_map_t *data; /**<  */
526     int                    rem; /**<  */
527     int                    index; /**<  */
528 } xcb_xkb_key_sym_map_iterator_t;
529 
530 /**
531  * @brief xcb_xkb_common_behavior_t
532  **/
533 typedef struct xcb_xkb_common_behavior_t {
534     uint8_t type; /**<  */
535     uint8_t data; /**<  */
536 } xcb_xkb_common_behavior_t;
537 
538 /**
539  * @brief xcb_xkb_common_behavior_iterator_t
540  **/
541 typedef struct xcb_xkb_common_behavior_iterator_t {
542     xcb_xkb_common_behavior_t *data; /**<  */
543     int                        rem; /**<  */
544     int                        index; /**<  */
545 } xcb_xkb_common_behavior_iterator_t;
546 
547 /**
548  * @brief xcb_xkb_default_behavior_t
549  **/
550 typedef struct xcb_xkb_default_behavior_t {
551     uint8_t type; /**<  */
552     uint8_t pad0; /**<  */
553 } xcb_xkb_default_behavior_t;
554 
555 /**
556  * @brief xcb_xkb_default_behavior_iterator_t
557  **/
558 typedef struct xcb_xkb_default_behavior_iterator_t {
559     xcb_xkb_default_behavior_t *data; /**<  */
560     int                         rem; /**<  */
561     int                         index; /**<  */
562 } xcb_xkb_default_behavior_iterator_t;
563 
564 /**
565  * @brief xcb_xkb_lock_behavior_t
566  **/
567 typedef struct xcb_xkb_lock_behavior_t {
568     uint8_t type; /**<  */
569     uint8_t pad0; /**<  */
570 } xcb_xkb_lock_behavior_t;
571 
572 /**
573  * @brief xcb_xkb_lock_behavior_iterator_t
574  **/
575 typedef struct xcb_xkb_lock_behavior_iterator_t {
576     xcb_xkb_lock_behavior_t *data; /**<  */
577     int                      rem; /**<  */
578     int                      index; /**<  */
579 } xcb_xkb_lock_behavior_iterator_t;
580 
581 /**
582  * @brief xcb_xkb_radio_group_behavior_t
583  **/
584 typedef struct xcb_xkb_radio_group_behavior_t {
585     uint8_t type; /**<  */
586     uint8_t group; /**<  */
587 } xcb_xkb_radio_group_behavior_t;
588 
589 /**
590  * @brief xcb_xkb_radio_group_behavior_iterator_t
591  **/
592 typedef struct xcb_xkb_radio_group_behavior_iterator_t {
593     xcb_xkb_radio_group_behavior_t *data; /**<  */
594     int                             rem; /**<  */
595     int                             index; /**<  */
596 } xcb_xkb_radio_group_behavior_iterator_t;
597 
598 /**
599  * @brief xcb_xkb_overlay_behavior_t
600  **/
601 typedef struct xcb_xkb_overlay_behavior_t {
602     uint8_t       type; /**<  */
603     xcb_keycode_t key; /**<  */
604 } xcb_xkb_overlay_behavior_t;
605 
606 /**
607  * @brief xcb_xkb_overlay_behavior_iterator_t
608  **/
609 typedef struct xcb_xkb_overlay_behavior_iterator_t {
610     xcb_xkb_overlay_behavior_t *data; /**<  */
611     int                         rem; /**<  */
612     int                         index; /**<  */
613 } xcb_xkb_overlay_behavior_iterator_t;
614 
615 /**
616  * @brief xcb_xkb_permament_lock_behavior_t
617  **/
618 typedef struct xcb_xkb_permament_lock_behavior_t {
619     uint8_t type; /**<  */
620     uint8_t pad0; /**<  */
621 } xcb_xkb_permament_lock_behavior_t;
622 
623 /**
624  * @brief xcb_xkb_permament_lock_behavior_iterator_t
625  **/
626 typedef struct xcb_xkb_permament_lock_behavior_iterator_t {
627     xcb_xkb_permament_lock_behavior_t *data; /**<  */
628     int                                rem; /**<  */
629     int                                index; /**<  */
630 } xcb_xkb_permament_lock_behavior_iterator_t;
631 
632 /**
633  * @brief xcb_xkb_permament_radio_group_behavior_t
634  **/
635 typedef struct xcb_xkb_permament_radio_group_behavior_t {
636     uint8_t type; /**<  */
637     uint8_t group; /**<  */
638 } xcb_xkb_permament_radio_group_behavior_t;
639 
640 /**
641  * @brief xcb_xkb_permament_radio_group_behavior_iterator_t
642  **/
643 typedef struct xcb_xkb_permament_radio_group_behavior_iterator_t {
644     xcb_xkb_permament_radio_group_behavior_t *data; /**<  */
645     int                                       rem; /**<  */
646     int                                       index; /**<  */
647 } xcb_xkb_permament_radio_group_behavior_iterator_t;
648 
649 /**
650  * @brief xcb_xkb_permament_overlay_behavior_t
651  **/
652 typedef struct xcb_xkb_permament_overlay_behavior_t {
653     uint8_t       type; /**<  */
654     xcb_keycode_t key; /**<  */
655 } xcb_xkb_permament_overlay_behavior_t;
656 
657 /**
658  * @brief xcb_xkb_permament_overlay_behavior_iterator_t
659  **/
660 typedef struct xcb_xkb_permament_overlay_behavior_iterator_t {
661     xcb_xkb_permament_overlay_behavior_t *data; /**<  */
662     int                                   rem; /**<  */
663     int                                   index; /**<  */
664 } xcb_xkb_permament_overlay_behavior_iterator_t;
665 
666 /**
667  * @brief xcb_xkb_behavior_t
668  **/
669 typedef union xcb_xkb_behavior_t {
670     xcb_xkb_common_behavior_t                common; /**<  */
671     xcb_xkb_default_behavior_t               _default; /**<  */
672     xcb_xkb_lock_behavior_t                  lock; /**<  */
673     xcb_xkb_radio_group_behavior_t           radioGroup; /**<  */
674     xcb_xkb_overlay_behavior_t               overlay1; /**<  */
675     xcb_xkb_overlay_behavior_t               overlay2; /**<  */
676     xcb_xkb_permament_lock_behavior_t        permamentLock; /**<  */
677     xcb_xkb_permament_radio_group_behavior_t permamentRadioGroup; /**<  */
678     xcb_xkb_permament_overlay_behavior_t     permamentOverlay1; /**<  */
679     xcb_xkb_permament_overlay_behavior_t     permamentOverlay2; /**<  */
680     uint8_t                                  type; /**<  */
681 } xcb_xkb_behavior_t;
682 
683 /**
684  * @brief xcb_xkb_behavior_iterator_t
685  **/
686 typedef struct xcb_xkb_behavior_iterator_t {
687     xcb_xkb_behavior_t *data; /**<  */
688     int                 rem; /**<  */
689     int                 index; /**<  */
690 } xcb_xkb_behavior_iterator_t;
691 
692 typedef enum xcb_xkb_behavior_type_t {
693     XCB_XKB_BEHAVIOR_TYPE_DEFAULT = 0,
694     XCB_XKB_BEHAVIOR_TYPE_LOCK = 1,
695     XCB_XKB_BEHAVIOR_TYPE_RADIO_GROUP = 2,
696     XCB_XKB_BEHAVIOR_TYPE_OVERLAY_1 = 3,
697     XCB_XKB_BEHAVIOR_TYPE_OVERLAY_2 = 4,
698     XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_LOCK = 129,
699     XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_RADIO_GROUP = 130,
700     XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_1 = 131,
701     XCB_XKB_BEHAVIOR_TYPE_PERMAMENT_OVERLAY_2 = 132
702 } xcb_xkb_behavior_type_t;
703 
704 /**
705  * @brief xcb_xkb_set_behavior_t
706  **/
707 typedef struct xcb_xkb_set_behavior_t {
708     xcb_keycode_t      keycode; /**<  */
709     xcb_xkb_behavior_t behavior; /**<  */
710     uint8_t            pad0; /**<  */
711 } xcb_xkb_set_behavior_t;
712 
713 /**
714  * @brief xcb_xkb_set_behavior_iterator_t
715  **/
716 typedef struct xcb_xkb_set_behavior_iterator_t {
717     xcb_xkb_set_behavior_t *data; /**<  */
718     int                     rem; /**<  */
719     int                     index; /**<  */
720 } xcb_xkb_set_behavior_iterator_t;
721 
722 /**
723  * @brief xcb_xkb_set_explicit_t
724  **/
725 typedef struct xcb_xkb_set_explicit_t {
726     xcb_keycode_t keycode; /**<  */
727     uint8_t       explicit; /**<  */
728 } xcb_xkb_set_explicit_t;
729 
730 /**
731  * @brief xcb_xkb_set_explicit_iterator_t
732  **/
733 typedef struct xcb_xkb_set_explicit_iterator_t {
734     xcb_xkb_set_explicit_t *data; /**<  */
735     int                     rem; /**<  */
736     int                     index; /**<  */
737 } xcb_xkb_set_explicit_iterator_t;
738 
739 /**
740  * @brief xcb_xkb_key_mod_map_t
741  **/
742 typedef struct xcb_xkb_key_mod_map_t {
743     xcb_keycode_t keycode; /**<  */
744     uint8_t       mods; /**<  */
745 } xcb_xkb_key_mod_map_t;
746 
747 /**
748  * @brief xcb_xkb_key_mod_map_iterator_t
749  **/
750 typedef struct xcb_xkb_key_mod_map_iterator_t {
751     xcb_xkb_key_mod_map_t *data; /**<  */
752     int                    rem; /**<  */
753     int                    index; /**<  */
754 } xcb_xkb_key_mod_map_iterator_t;
755 
756 /**
757  * @brief xcb_xkb_key_v_mod_map_t
758  **/
759 typedef struct xcb_xkb_key_v_mod_map_t {
760     xcb_keycode_t keycode; /**<  */
761     uint8_t       pad0; /**<  */
762     uint16_t      vmods; /**<  */
763 } xcb_xkb_key_v_mod_map_t;
764 
765 /**
766  * @brief xcb_xkb_key_v_mod_map_iterator_t
767  **/
768 typedef struct xcb_xkb_key_v_mod_map_iterator_t {
769     xcb_xkb_key_v_mod_map_t *data; /**<  */
770     int                      rem; /**<  */
771     int                      index; /**<  */
772 } xcb_xkb_key_v_mod_map_iterator_t;
773 
774 /**
775  * @brief xcb_xkb_kt_set_map_entry_t
776  **/
777 typedef struct xcb_xkb_kt_set_map_entry_t {
778     uint8_t  level; /**<  */
779     uint8_t  realMods; /**<  */
780     uint16_t virtualMods; /**<  */
781 } xcb_xkb_kt_set_map_entry_t;
782 
783 /**
784  * @brief xcb_xkb_kt_set_map_entry_iterator_t
785  **/
786 typedef struct xcb_xkb_kt_set_map_entry_iterator_t {
787     xcb_xkb_kt_set_map_entry_t *data; /**<  */
788     int                         rem; /**<  */
789     int                         index; /**<  */
790 } xcb_xkb_kt_set_map_entry_iterator_t;
791 
792 /**
793  * @brief xcb_xkb_set_key_type_t
794  **/
795 typedef struct xcb_xkb_set_key_type_t {
796     uint8_t  mask; /**<  */
797     uint8_t  realMods; /**<  */
798     uint16_t virtualMods; /**<  */
799     uint8_t  numLevels; /**<  */
800     uint8_t  nMapEntries; /**<  */
801     uint8_t  preserve; /**<  */
802     uint8_t  pad0; /**<  */
803 } xcb_xkb_set_key_type_t;
804 
805 /**
806  * @brief xcb_xkb_set_key_type_iterator_t
807  **/
808 typedef struct xcb_xkb_set_key_type_iterator_t {
809     xcb_xkb_set_key_type_t *data; /**<  */
810     int                     rem; /**<  */
811     int                     index; /**<  */
812 } xcb_xkb_set_key_type_iterator_t;
813 
814 typedef char xcb_xkb_string8_t;
815 
816 /**
817  * @brief xcb_xkb_string8_iterator_t
818  **/
819 typedef struct xcb_xkb_string8_iterator_t {
820     xcb_xkb_string8_t *data; /**<  */
821     int                rem; /**<  */
822     int                index; /**<  */
823 } xcb_xkb_string8_iterator_t;
824 
825 /**
826  * @brief xcb_xkb_outline_t
827  **/
828 typedef struct xcb_xkb_outline_t {
829     uint8_t nPoints; /**<  */
830     uint8_t cornerRadius; /**<  */
831     uint8_t pad0[2]; /**<  */
832 } xcb_xkb_outline_t;
833 
834 /**
835  * @brief xcb_xkb_outline_iterator_t
836  **/
837 typedef struct xcb_xkb_outline_iterator_t {
838     xcb_xkb_outline_t *data; /**<  */
839     int                rem; /**<  */
840     int                index; /**<  */
841 } xcb_xkb_outline_iterator_t;
842 
843 /**
844  * @brief xcb_xkb_shape_t
845  **/
846 typedef struct xcb_xkb_shape_t {
847     xcb_atom_t name; /**<  */
848     uint8_t    nOutlines; /**<  */
849     uint8_t    primaryNdx; /**<  */
850     uint8_t    approxNdx; /**<  */
851     uint8_t    pad0; /**<  */
852 } xcb_xkb_shape_t;
853 
854 /**
855  * @brief xcb_xkb_shape_iterator_t
856  **/
857 typedef struct xcb_xkb_shape_iterator_t {
858     xcb_xkb_shape_t *data; /**<  */
859     int              rem; /**<  */
860     int              index; /**<  */
861 } xcb_xkb_shape_iterator_t;
862 
863 /**
864  * @brief xcb_xkb_key_t
865  **/
866 typedef struct xcb_xkb_key_t {
867     xcb_xkb_string8_t name[4]; /**<  */
868     int16_t           gap; /**<  */
869     uint8_t           shapeNdx; /**<  */
870     uint8_t           colorNdx; /**<  */
871 } xcb_xkb_key_t;
872 
873 /**
874  * @brief xcb_xkb_key_iterator_t
875  **/
876 typedef struct xcb_xkb_key_iterator_t {
877     xcb_xkb_key_t *data; /**<  */
878     int            rem; /**<  */
879     int            index; /**<  */
880 } xcb_xkb_key_iterator_t;
881 
882 /**
883  * @brief xcb_xkb_overlay_key_t
884  **/
885 typedef struct xcb_xkb_overlay_key_t {
886     xcb_xkb_string8_t over[4]; /**<  */
887     xcb_xkb_string8_t under[4]; /**<  */
888 } xcb_xkb_overlay_key_t;
889 
890 /**
891  * @brief xcb_xkb_overlay_key_iterator_t
892  **/
893 typedef struct xcb_xkb_overlay_key_iterator_t {
894     xcb_xkb_overlay_key_t *data; /**<  */
895     int                    rem; /**<  */
896     int                    index; /**<  */
897 } xcb_xkb_overlay_key_iterator_t;
898 
899 /**
900  * @brief xcb_xkb_overlay_row_t
901  **/
902 typedef struct xcb_xkb_overlay_row_t {
903     uint8_t rowUnder; /**<  */
904     uint8_t nKeys; /**<  */
905     uint8_t pad0[2]; /**<  */
906 } xcb_xkb_overlay_row_t;
907 
908 /**
909  * @brief xcb_xkb_overlay_row_iterator_t
910  **/
911 typedef struct xcb_xkb_overlay_row_iterator_t {
912     xcb_xkb_overlay_row_t *data; /**<  */
913     int                    rem; /**<  */
914     int                    index; /**<  */
915 } xcb_xkb_overlay_row_iterator_t;
916 
917 /**
918  * @brief xcb_xkb_overlay_t
919  **/
920 typedef struct xcb_xkb_overlay_t {
921     xcb_atom_t name; /**<  */
922     uint8_t    nRows; /**<  */
923     uint8_t    pad0[3]; /**<  */
924 } xcb_xkb_overlay_t;
925 
926 /**
927  * @brief xcb_xkb_overlay_iterator_t
928  **/
929 typedef struct xcb_xkb_overlay_iterator_t {
930     xcb_xkb_overlay_t *data; /**<  */
931     int                rem; /**<  */
932     int                index; /**<  */
933 } xcb_xkb_overlay_iterator_t;
934 
935 /**
936  * @brief xcb_xkb_row_t
937  **/
938 typedef struct xcb_xkb_row_t {
939     int16_t top; /**<  */
940     int16_t left; /**<  */
941     uint8_t nKeys; /**<  */
942     uint8_t vertical; /**<  */
943     uint8_t pad0[2]; /**<  */
944 } xcb_xkb_row_t;
945 
946 /**
947  * @brief xcb_xkb_row_iterator_t
948  **/
949 typedef struct xcb_xkb_row_iterator_t {
950     xcb_xkb_row_t *data; /**<  */
951     int            rem; /**<  */
952     int            index; /**<  */
953 } xcb_xkb_row_iterator_t;
954 
955 typedef enum xcb_xkb_doodad_type_t {
956     XCB_XKB_DOODAD_TYPE_OUTLINE = 1,
957     XCB_XKB_DOODAD_TYPE_SOLID = 2,
958     XCB_XKB_DOODAD_TYPE_TEXT = 3,
959     XCB_XKB_DOODAD_TYPE_INDICATOR = 4,
960     XCB_XKB_DOODAD_TYPE_LOGO = 5
961 } xcb_xkb_doodad_type_t;
962 
963 /**
964  * @brief xcb_xkb_listing_t
965  **/
966 typedef struct xcb_xkb_listing_t {
967     uint16_t flags; /**<  */
968     uint16_t length; /**<  */
969 } xcb_xkb_listing_t;
970 
971 /**
972  * @brief xcb_xkb_listing_iterator_t
973  **/
974 typedef struct xcb_xkb_listing_iterator_t {
975     xcb_xkb_listing_t *data; /**<  */
976     int                rem; /**<  */
977     int                index; /**<  */
978 } xcb_xkb_listing_iterator_t;
979 
980 /**
981  * @brief xcb_xkb_device_led_info_t
982  **/
983 typedef struct xcb_xkb_device_led_info_t {
984     xcb_xkb_led_class_spec_t ledClass; /**<  */
985     xcb_xkb_id_spec_t        ledID; /**<  */
986     uint32_t                 namesPresent; /**<  */
987     uint32_t                 mapsPresent; /**<  */
988     uint32_t                 physIndicators; /**<  */
989     uint32_t                 state; /**<  */
990 } xcb_xkb_device_led_info_t;
991 
992 /**
993  * @brief xcb_xkb_device_led_info_iterator_t
994  **/
995 typedef struct xcb_xkb_device_led_info_iterator_t {
996     xcb_xkb_device_led_info_t *data; /**<  */
997     int                        rem; /**<  */
998     int                        index; /**<  */
999 } xcb_xkb_device_led_info_iterator_t;
1000 
1001 typedef enum xcb_xkb_error_t {
1002     XCB_XKB_ERROR_BAD_DEVICE = 255,
1003     XCB_XKB_ERROR_BAD_CLASS = 254,
1004     XCB_XKB_ERROR_BAD_ID = 253
1005 } xcb_xkb_error_t;
1006 
1007 /** Opcode for xcb_xkb_keyboard. */
1008 #define XCB_XKB_KEYBOARD 0
1009 
1010 /**
1011  * @brief xcb_xkb_keyboard_error_t
1012  **/
1013 typedef struct xcb_xkb_keyboard_error_t {
1014     uint8_t  response_type; /**<  */
1015     uint8_t  error_code; /**<  */
1016     uint16_t sequence; /**<  */
1017     uint32_t value; /**<  */
1018     uint16_t minorOpcode; /**<  */
1019     uint8_t  majorOpcode; /**<  */
1020     uint8_t  pad0[21]; /**<  */
1021 } xcb_xkb_keyboard_error_t;
1022 
1023 typedef enum xcb_xkb_sa_t {
1024     XCB_XKB_SA_CLEAR_LOCKS = 1,
1025     XCB_XKB_SA_LATCH_TO_LOCK = 2,
1026     XCB_XKB_SA_USE_MOD_MAP_MODS = 4,
1027     XCB_XKB_SA_GROUP_ABSOLUTE = 4
1028 } xcb_xkb_sa_t;
1029 
1030 typedef enum xcb_xkb_sa_type_t {
1031     XCB_XKB_SA_TYPE_NO_ACTION = 0,
1032     XCB_XKB_SA_TYPE_SET_MODS = 1,
1033     XCB_XKB_SA_TYPE_LATCH_MODS = 2,
1034     XCB_XKB_SA_TYPE_LOCK_MODS = 3,
1035     XCB_XKB_SA_TYPE_SET_GROUP = 4,
1036     XCB_XKB_SA_TYPE_LATCH_GROUP = 5,
1037     XCB_XKB_SA_TYPE_LOCK_GROUP = 6,
1038     XCB_XKB_SA_TYPE_MOVE_PTR = 7,
1039     XCB_XKB_SA_TYPE_PTR_BTN = 8,
1040     XCB_XKB_SA_TYPE_LOCK_PTR_BTN = 9,
1041     XCB_XKB_SA_TYPE_SET_PTR_DFLT = 10,
1042     XCB_XKB_SA_TYPE_ISO_LOCK = 11,
1043     XCB_XKB_SA_TYPE_TERMINATE = 12,
1044     XCB_XKB_SA_TYPE_SWITCH_SCREEN = 13,
1045     XCB_XKB_SA_TYPE_SET_CONTROLS = 14,
1046     XCB_XKB_SA_TYPE_LOCK_CONTROLS = 15,
1047     XCB_XKB_SA_TYPE_ACTION_MESSAGE = 16,
1048     XCB_XKB_SA_TYPE_REDIRECT_KEY = 17,
1049     XCB_XKB_SA_TYPE_DEVICE_BTN = 18,
1050     XCB_XKB_SA_TYPE_LOCK_DEVICE_BTN = 19,
1051     XCB_XKB_SA_TYPE_DEVICE_VALUATOR = 20
1052 } xcb_xkb_sa_type_t;
1053 
1054 /**
1055  * @brief xcb_xkb_sa_no_action_t
1056  **/
1057 typedef struct xcb_xkb_sa_no_action_t {
1058     uint8_t type; /**<  */
1059     uint8_t pad0[7]; /**<  */
1060 } xcb_xkb_sa_no_action_t;
1061 
1062 /**
1063  * @brief xcb_xkb_sa_no_action_iterator_t
1064  **/
1065 typedef struct xcb_xkb_sa_no_action_iterator_t {
1066     xcb_xkb_sa_no_action_t *data; /**<  */
1067     int                     rem; /**<  */
1068     int                     index; /**<  */
1069 } xcb_xkb_sa_no_action_iterator_t;
1070 
1071 /**
1072  * @brief xcb_xkb_sa_set_mods_t
1073  **/
1074 typedef struct xcb_xkb_sa_set_mods_t {
1075     uint8_t type; /**<  */
1076     uint8_t flags; /**<  */
1077     uint8_t mask; /**<  */
1078     uint8_t realMods; /**<  */
1079     uint8_t vmodsHigh; /**<  */
1080     uint8_t vmodsLow; /**<  */
1081     uint8_t pad0[2]; /**<  */
1082 } xcb_xkb_sa_set_mods_t;
1083 
1084 /**
1085  * @brief xcb_xkb_sa_set_mods_iterator_t
1086  **/
1087 typedef struct xcb_xkb_sa_set_mods_iterator_t {
1088     xcb_xkb_sa_set_mods_t *data; /**<  */
1089     int                    rem; /**<  */
1090     int                    index; /**<  */
1091 } xcb_xkb_sa_set_mods_iterator_t;
1092 
1093 /**
1094  * @brief xcb_xkb_sa_latch_mods_t
1095  **/
1096 typedef struct xcb_xkb_sa_latch_mods_t {
1097     uint8_t type; /**<  */
1098     uint8_t flags; /**<  */
1099     uint8_t mask; /**<  */
1100     uint8_t realMods; /**<  */
1101     uint8_t vmodsHigh; /**<  */
1102     uint8_t vmodsLow; /**<  */
1103     uint8_t pad0[2]; /**<  */
1104 } xcb_xkb_sa_latch_mods_t;
1105 
1106 /**
1107  * @brief xcb_xkb_sa_latch_mods_iterator_t
1108  **/
1109 typedef struct xcb_xkb_sa_latch_mods_iterator_t {
1110     xcb_xkb_sa_latch_mods_t *data; /**<  */
1111     int                      rem; /**<  */
1112     int                      index; /**<  */
1113 } xcb_xkb_sa_latch_mods_iterator_t;
1114 
1115 /**
1116  * @brief xcb_xkb_sa_lock_mods_t
1117  **/
1118 typedef struct xcb_xkb_sa_lock_mods_t {
1119     uint8_t type; /**<  */
1120     uint8_t flags; /**<  */
1121     uint8_t mask; /**<  */
1122     uint8_t realMods; /**<  */
1123     uint8_t vmodsHigh; /**<  */
1124     uint8_t vmodsLow; /**<  */
1125     uint8_t pad0[2]; /**<  */
1126 } xcb_xkb_sa_lock_mods_t;
1127 
1128 /**
1129  * @brief xcb_xkb_sa_lock_mods_iterator_t
1130  **/
1131 typedef struct xcb_xkb_sa_lock_mods_iterator_t {
1132     xcb_xkb_sa_lock_mods_t *data; /**<  */
1133     int                     rem; /**<  */
1134     int                     index; /**<  */
1135 } xcb_xkb_sa_lock_mods_iterator_t;
1136 
1137 /**
1138  * @brief xcb_xkb_sa_set_group_t
1139  **/
1140 typedef struct xcb_xkb_sa_set_group_t {
1141     uint8_t type; /**<  */
1142     uint8_t flags; /**<  */
1143     int8_t  group; /**<  */
1144     uint8_t pad0[5]; /**<  */
1145 } xcb_xkb_sa_set_group_t;
1146 
1147 /**
1148  * @brief xcb_xkb_sa_set_group_iterator_t
1149  **/
1150 typedef struct xcb_xkb_sa_set_group_iterator_t {
1151     xcb_xkb_sa_set_group_t *data; /**<  */
1152     int                     rem; /**<  */
1153     int                     index; /**<  */
1154 } xcb_xkb_sa_set_group_iterator_t;
1155 
1156 /**
1157  * @brief xcb_xkb_sa_latch_group_t
1158  **/
1159 typedef struct xcb_xkb_sa_latch_group_t {
1160     uint8_t type; /**<  */
1161     uint8_t flags; /**<  */
1162     int8_t  group; /**<  */
1163     uint8_t pad0[5]; /**<  */
1164 } xcb_xkb_sa_latch_group_t;
1165 
1166 /**
1167  * @brief xcb_xkb_sa_latch_group_iterator_t
1168  **/
1169 typedef struct xcb_xkb_sa_latch_group_iterator_t {
1170     xcb_xkb_sa_latch_group_t *data; /**<  */
1171     int                       rem; /**<  */
1172     int                       index; /**<  */
1173 } xcb_xkb_sa_latch_group_iterator_t;
1174 
1175 /**
1176  * @brief xcb_xkb_sa_lock_group_t
1177  **/
1178 typedef struct xcb_xkb_sa_lock_group_t {
1179     uint8_t type; /**<  */
1180     uint8_t flags; /**<  */
1181     int8_t  group; /**<  */
1182     uint8_t pad0[5]; /**<  */
1183 } xcb_xkb_sa_lock_group_t;
1184 
1185 /**
1186  * @brief xcb_xkb_sa_lock_group_iterator_t
1187  **/
1188 typedef struct xcb_xkb_sa_lock_group_iterator_t {
1189     xcb_xkb_sa_lock_group_t *data; /**<  */
1190     int                      rem; /**<  */
1191     int                      index; /**<  */
1192 } xcb_xkb_sa_lock_group_iterator_t;
1193 
1194 typedef enum xcb_xkb_sa_move_ptr_flag_t {
1195     XCB_XKB_SA_MOVE_PTR_FLAG_NO_ACCELERATION = 1,
1196     XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_X = 2,
1197     XCB_XKB_SA_MOVE_PTR_FLAG_MOVE_ABSOLUTE_Y = 4
1198 } xcb_xkb_sa_move_ptr_flag_t;
1199 
1200 /**
1201  * @brief xcb_xkb_sa_move_ptr_t
1202  **/
1203 typedef struct xcb_xkb_sa_move_ptr_t {
1204     uint8_t type; /**<  */
1205     uint8_t flags; /**<  */
1206     int8_t  xHigh; /**<  */
1207     uint8_t xLow; /**<  */
1208     int8_t  yHigh; /**<  */
1209     uint8_t yLow; /**<  */
1210     uint8_t pad0[2]; /**<  */
1211 } xcb_xkb_sa_move_ptr_t;
1212 
1213 /**
1214  * @brief xcb_xkb_sa_move_ptr_iterator_t
1215  **/
1216 typedef struct xcb_xkb_sa_move_ptr_iterator_t {
1217     xcb_xkb_sa_move_ptr_t *data; /**<  */
1218     int                    rem; /**<  */
1219     int                    index; /**<  */
1220 } xcb_xkb_sa_move_ptr_iterator_t;
1221 
1222 /**
1223  * @brief xcb_xkb_sa_ptr_btn_t
1224  **/
1225 typedef struct xcb_xkb_sa_ptr_btn_t {
1226     uint8_t type; /**<  */
1227     uint8_t flags; /**<  */
1228     uint8_t count; /**<  */
1229     uint8_t button; /**<  */
1230     uint8_t pad0[4]; /**<  */
1231 } xcb_xkb_sa_ptr_btn_t;
1232 
1233 /**
1234  * @brief xcb_xkb_sa_ptr_btn_iterator_t
1235  **/
1236 typedef struct xcb_xkb_sa_ptr_btn_iterator_t {
1237     xcb_xkb_sa_ptr_btn_t *data; /**<  */
1238     int                   rem; /**<  */
1239     int                   index; /**<  */
1240 } xcb_xkb_sa_ptr_btn_iterator_t;
1241 
1242 /**
1243  * @brief xcb_xkb_sa_lock_ptr_btn_t
1244  **/
1245 typedef struct xcb_xkb_sa_lock_ptr_btn_t {
1246     uint8_t type; /**<  */
1247     uint8_t flags; /**<  */
1248     uint8_t pad0; /**<  */
1249     uint8_t button; /**<  */
1250     uint8_t pad1[4]; /**<  */
1251 } xcb_xkb_sa_lock_ptr_btn_t;
1252 
1253 /**
1254  * @brief xcb_xkb_sa_lock_ptr_btn_iterator_t
1255  **/
1256 typedef struct xcb_xkb_sa_lock_ptr_btn_iterator_t {
1257     xcb_xkb_sa_lock_ptr_btn_t *data; /**<  */
1258     int                        rem; /**<  */
1259     int                        index; /**<  */
1260 } xcb_xkb_sa_lock_ptr_btn_iterator_t;
1261 
1262 typedef enum xcb_xkb_sa_set_ptr_dflt_flag_t {
1263     XCB_XKB_SA_SET_PTR_DFLT_FLAG_DFLT_BTN_ABSOLUTE = 4,
1264     XCB_XKB_SA_SET_PTR_DFLT_FLAG_AFFECT_DFLT_BUTTON = 1
1265 } xcb_xkb_sa_set_ptr_dflt_flag_t;
1266 
1267 /**
1268  * @brief xcb_xkb_sa_set_ptr_dflt_t
1269  **/
1270 typedef struct xcb_xkb_sa_set_ptr_dflt_t {
1271     uint8_t type; /**<  */
1272     uint8_t flags; /**<  */
1273     uint8_t affect; /**<  */
1274     int8_t  value; /**<  */
1275     uint8_t pad0[4]; /**<  */
1276 } xcb_xkb_sa_set_ptr_dflt_t;
1277 
1278 /**
1279  * @brief xcb_xkb_sa_set_ptr_dflt_iterator_t
1280  **/
1281 typedef struct xcb_xkb_sa_set_ptr_dflt_iterator_t {
1282     xcb_xkb_sa_set_ptr_dflt_t *data; /**<  */
1283     int                        rem; /**<  */
1284     int                        index; /**<  */
1285 } xcb_xkb_sa_set_ptr_dflt_iterator_t;
1286 
1287 typedef enum xcb_xkb_sa_iso_lock_flag_t {
1288     XCB_XKB_SA_ISO_LOCK_FLAG_NO_LOCK = 1,
1289     XCB_XKB_SA_ISO_LOCK_FLAG_NO_UNLOCK = 2,
1290     XCB_XKB_SA_ISO_LOCK_FLAG_USE_MOD_MAP_MODS = 4,
1291     XCB_XKB_SA_ISO_LOCK_FLAG_GROUP_ABSOLUTE = 4,
1292     XCB_XKB_SA_ISO_LOCK_FLAG_ISO_DFLT_IS_GROUP = 8
1293 } xcb_xkb_sa_iso_lock_flag_t;
1294 
1295 typedef enum xcb_xkb_sa_iso_lock_no_affect_t {
1296     XCB_XKB_SA_ISO_LOCK_NO_AFFECT_CTRLS = 8,
1297     XCB_XKB_SA_ISO_LOCK_NO_AFFECT_PTR = 16,
1298     XCB_XKB_SA_ISO_LOCK_NO_AFFECT_GROUP = 32,
1299     XCB_XKB_SA_ISO_LOCK_NO_AFFECT_MODS = 64
1300 } xcb_xkb_sa_iso_lock_no_affect_t;
1301 
1302 /**
1303  * @brief xcb_xkb_sa_iso_lock_t
1304  **/
1305 typedef struct xcb_xkb_sa_iso_lock_t {
1306     uint8_t type; /**<  */
1307     uint8_t flags; /**<  */
1308     uint8_t mask; /**<  */
1309     uint8_t realMods; /**<  */
1310     int8_t  group; /**<  */
1311     uint8_t affect; /**<  */
1312     uint8_t vmodsHigh; /**<  */
1313     uint8_t vmodsLow; /**<  */
1314 } xcb_xkb_sa_iso_lock_t;
1315 
1316 /**
1317  * @brief xcb_xkb_sa_iso_lock_iterator_t
1318  **/
1319 typedef struct xcb_xkb_sa_iso_lock_iterator_t {
1320     xcb_xkb_sa_iso_lock_t *data; /**<  */
1321     int                    rem; /**<  */
1322     int                    index; /**<  */
1323 } xcb_xkb_sa_iso_lock_iterator_t;
1324 
1325 /**
1326  * @brief xcb_xkb_sa_terminate_t
1327  **/
1328 typedef struct xcb_xkb_sa_terminate_t {
1329     uint8_t type; /**<  */
1330     uint8_t pad0[7]; /**<  */
1331 } xcb_xkb_sa_terminate_t;
1332 
1333 /**
1334  * @brief xcb_xkb_sa_terminate_iterator_t
1335  **/
1336 typedef struct xcb_xkb_sa_terminate_iterator_t {
1337     xcb_xkb_sa_terminate_t *data; /**<  */
1338     int                     rem; /**<  */
1339     int                     index; /**<  */
1340 } xcb_xkb_sa_terminate_iterator_t;
1341 
1342 typedef enum xcb_xkb_switch_screen_flag_t {
1343     XCB_XKB_SWITCH_SCREEN_FLAG_APPLICATION = 1,
1344     XCB_XKB_SWITCH_SCREEN_FLAG_ABSOLUTE = 4
1345 } xcb_xkb_switch_screen_flag_t;
1346 
1347 /**
1348  * @brief xcb_xkb_sa_switch_screen_t
1349  **/
1350 typedef struct xcb_xkb_sa_switch_screen_t {
1351     uint8_t type; /**<  */
1352     uint8_t flags; /**<  */
1353     int8_t  newScreen; /**<  */
1354     uint8_t pad0[5]; /**<  */
1355 } xcb_xkb_sa_switch_screen_t;
1356 
1357 /**
1358  * @brief xcb_xkb_sa_switch_screen_iterator_t
1359  **/
1360 typedef struct xcb_xkb_sa_switch_screen_iterator_t {
1361     xcb_xkb_sa_switch_screen_t *data; /**<  */
1362     int                         rem; /**<  */
1363     int                         index; /**<  */
1364 } xcb_xkb_sa_switch_screen_iterator_t;
1365 
1366 typedef enum xcb_xkb_bool_ctrls_high_t {
1367     XCB_XKB_BOOL_CTRLS_HIGH_ACCESS_X_FEEDBACK = 1,
1368     XCB_XKB_BOOL_CTRLS_HIGH_AUDIBLE_BELL = 2,
1369     XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_1 = 4,
1370     XCB_XKB_BOOL_CTRLS_HIGH_OVERLAY_2 = 8,
1371     XCB_XKB_BOOL_CTRLS_HIGH_IGNORE_GROUP_LOCK = 16
1372 } xcb_xkb_bool_ctrls_high_t;
1373 
1374 typedef enum xcb_xkb_bool_ctrls_low_t {
1375     XCB_XKB_BOOL_CTRLS_LOW_REPEAT_KEYS = 1,
1376     XCB_XKB_BOOL_CTRLS_LOW_SLOW_KEYS = 2,
1377     XCB_XKB_BOOL_CTRLS_LOW_BOUNCE_KEYS = 4,
1378     XCB_XKB_BOOL_CTRLS_LOW_STICKY_KEYS = 8,
1379     XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS = 16,
1380     XCB_XKB_BOOL_CTRLS_LOW_MOUSE_KEYS_ACCEL = 32,
1381     XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_KEYS = 64,
1382     XCB_XKB_BOOL_CTRLS_LOW_ACCESS_X_TIMEOUT = 128
1383 } xcb_xkb_bool_ctrls_low_t;
1384 
1385 /**
1386  * @brief xcb_xkb_sa_set_controls_t
1387  **/
1388 typedef struct xcb_xkb_sa_set_controls_t {
1389     uint8_t type; /**<  */
1390     uint8_t pad0[3]; /**<  */
1391     uint8_t boolCtrlsHigh; /**<  */
1392     uint8_t boolCtrlsLow; /**<  */
1393     uint8_t pad1[2]; /**<  */
1394 } xcb_xkb_sa_set_controls_t;
1395 
1396 /**
1397  * @brief xcb_xkb_sa_set_controls_iterator_t
1398  **/
1399 typedef struct xcb_xkb_sa_set_controls_iterator_t {
1400     xcb_xkb_sa_set_controls_t *data; /**<  */
1401     int                        rem; /**<  */
1402     int                        index; /**<  */
1403 } xcb_xkb_sa_set_controls_iterator_t;
1404 
1405 /**
1406  * @brief xcb_xkb_sa_lock_controls_t
1407  **/
1408 typedef struct xcb_xkb_sa_lock_controls_t {
1409     uint8_t type; /**<  */
1410     uint8_t pad0[3]; /**<  */
1411     uint8_t boolCtrlsHigh; /**<  */
1412     uint8_t boolCtrlsLow; /**<  */
1413     uint8_t pad1[2]; /**<  */
1414 } xcb_xkb_sa_lock_controls_t;
1415 
1416 /**
1417  * @brief xcb_xkb_sa_lock_controls_iterator_t
1418  **/
1419 typedef struct xcb_xkb_sa_lock_controls_iterator_t {
1420     xcb_xkb_sa_lock_controls_t *data; /**<  */
1421     int                         rem; /**<  */
1422     int                         index; /**<  */
1423 } xcb_xkb_sa_lock_controls_iterator_t;
1424 
1425 typedef enum xcb_xkb_action_message_flag_t {
1426     XCB_XKB_ACTION_MESSAGE_FLAG_ON_PRESS = 1,
1427     XCB_XKB_ACTION_MESSAGE_FLAG_ON_RELEASE = 2,
1428     XCB_XKB_ACTION_MESSAGE_FLAG_GEN_KEY_EVENT = 4
1429 } xcb_xkb_action_message_flag_t;
1430 
1431 /**
1432  * @brief xcb_xkb_sa_action_message_t
1433  **/
1434 typedef struct xcb_xkb_sa_action_message_t {
1435     uint8_t type; /**<  */
1436     uint8_t flags; /**<  */
1437     uint8_t message[6]; /**<  */
1438 } xcb_xkb_sa_action_message_t;
1439 
1440 /**
1441  * @brief xcb_xkb_sa_action_message_iterator_t
1442  **/
1443 typedef struct xcb_xkb_sa_action_message_iterator_t {
1444     xcb_xkb_sa_action_message_t *data; /**<  */
1445     int                          rem; /**<  */
1446     int                          index; /**<  */
1447 } xcb_xkb_sa_action_message_iterator_t;
1448 
1449 /**
1450  * @brief xcb_xkb_sa_redirect_key_t
1451  **/
1452 typedef struct xcb_xkb_sa_redirect_key_t {
1453     uint8_t       type; /**<  */
1454     xcb_keycode_t newkey; /**<  */
1455     uint8_t       mask; /**<  */
1456     uint8_t       realModifiers; /**<  */
1457     uint8_t       vmodsMaskHigh; /**<  */
1458     uint8_t       vmodsMaskLow; /**<  */
1459     uint8_t       vmodsHigh; /**<  */
1460     uint8_t       vmodsLow; /**<  */
1461 } xcb_xkb_sa_redirect_key_t;
1462 
1463 /**
1464  * @brief xcb_xkb_sa_redirect_key_iterator_t
1465  **/
1466 typedef struct xcb_xkb_sa_redirect_key_iterator_t {
1467     xcb_xkb_sa_redirect_key_t *data; /**<  */
1468     int                        rem; /**<  */
1469     int                        index; /**<  */
1470 } xcb_xkb_sa_redirect_key_iterator_t;
1471 
1472 /**
1473  * @brief xcb_xkb_sa_device_btn_t
1474  **/
1475 typedef struct xcb_xkb_sa_device_btn_t {
1476     uint8_t type; /**<  */
1477     uint8_t flags; /**<  */
1478     uint8_t count; /**<  */
1479     uint8_t button; /**<  */
1480     uint8_t device; /**<  */
1481     uint8_t pad0[3]; /**<  */
1482 } xcb_xkb_sa_device_btn_t;
1483 
1484 /**
1485  * @brief xcb_xkb_sa_device_btn_iterator_t
1486  **/
1487 typedef struct xcb_xkb_sa_device_btn_iterator_t {
1488     xcb_xkb_sa_device_btn_t *data; /**<  */
1489     int                      rem; /**<  */
1490     int                      index; /**<  */
1491 } xcb_xkb_sa_device_btn_iterator_t;
1492 
1493 typedef enum xcb_xkb_lock_device_flags_t {
1494     XCB_XKB_LOCK_DEVICE_FLAGS_NO_LOCK = 1,
1495     XCB_XKB_LOCK_DEVICE_FLAGS_NO_UNLOCK = 2
1496 } xcb_xkb_lock_device_flags_t;
1497 
1498 /**
1499  * @brief xcb_xkb_sa_lock_device_btn_t
1500  **/
1501 typedef struct xcb_xkb_sa_lock_device_btn_t {
1502     uint8_t type; /**<  */
1503     uint8_t flags; /**<  */
1504     uint8_t pad0; /**<  */
1505     uint8_t button; /**<  */
1506     uint8_t device; /**<  */
1507     uint8_t pad1[3]; /**<  */
1508 } xcb_xkb_sa_lock_device_btn_t;
1509 
1510 /**
1511  * @brief xcb_xkb_sa_lock_device_btn_iterator_t
1512  **/
1513 typedef struct xcb_xkb_sa_lock_device_btn_iterator_t {
1514     xcb_xkb_sa_lock_device_btn_t *data; /**<  */
1515     int                           rem; /**<  */
1516     int                           index; /**<  */
1517 } xcb_xkb_sa_lock_device_btn_iterator_t;
1518 
1519 typedef enum xcb_xkb_sa_val_what_t {
1520     XCB_XKB_SA_VAL_WHAT_IGNORE_VAL = 0,
1521     XCB_XKB_SA_VAL_WHAT_SET_VAL_MIN = 1,
1522     XCB_XKB_SA_VAL_WHAT_SET_VAL_CENTER = 2,
1523     XCB_XKB_SA_VAL_WHAT_SET_VAL_MAX = 3,
1524     XCB_XKB_SA_VAL_WHAT_SET_VAL_RELATIVE = 4,
1525     XCB_XKB_SA_VAL_WHAT_SET_VAL_ABSOLUTE = 5
1526 } xcb_xkb_sa_val_what_t;
1527 
1528 /**
1529  * @brief xcb_xkb_sa_device_valuator_t
1530  **/
1531 typedef struct xcb_xkb_sa_device_valuator_t {
1532     uint8_t type; /**<  */
1533     uint8_t device; /**<  */
1534     uint8_t val1what; /**<  */
1535     uint8_t val1index; /**<  */
1536     uint8_t val1value; /**<  */
1537     uint8_t val2what; /**<  */
1538     uint8_t val2index; /**<  */
1539     uint8_t val2value; /**<  */
1540 } xcb_xkb_sa_device_valuator_t;
1541 
1542 /**
1543  * @brief xcb_xkb_sa_device_valuator_iterator_t
1544  **/
1545 typedef struct xcb_xkb_sa_device_valuator_iterator_t {
1546     xcb_xkb_sa_device_valuator_t *data; /**<  */
1547     int                           rem; /**<  */
1548     int                           index; /**<  */
1549 } xcb_xkb_sa_device_valuator_iterator_t;
1550 
1551 /**
1552  * @brief xcb_xkb_si_action_t
1553  **/
1554 typedef struct xcb_xkb_si_action_t {
1555     uint8_t type; /**<  */
1556     uint8_t data[7]; /**<  */
1557 } xcb_xkb_si_action_t;
1558 
1559 /**
1560  * @brief xcb_xkb_si_action_iterator_t
1561  **/
1562 typedef struct xcb_xkb_si_action_iterator_t {
1563     xcb_xkb_si_action_t *data; /**<  */
1564     int                  rem; /**<  */
1565     int                  index; /**<  */
1566 } xcb_xkb_si_action_iterator_t;
1567 
1568 /**
1569  * @brief xcb_xkb_sym_interpret_t
1570  **/
1571 typedef struct xcb_xkb_sym_interpret_t {
1572     xcb_keysym_t        sym; /**<  */
1573     uint8_t             mods; /**<  */
1574     uint8_t             match; /**<  */
1575     uint8_t             virtualMod; /**<  */
1576     uint8_t             flags; /**<  */
1577     xcb_xkb_si_action_t action; /**<  */
1578 } xcb_xkb_sym_interpret_t;
1579 
1580 /**
1581  * @brief xcb_xkb_sym_interpret_iterator_t
1582  **/
1583 typedef struct xcb_xkb_sym_interpret_iterator_t {
1584     xcb_xkb_sym_interpret_t *data; /**<  */
1585     int                      rem; /**<  */
1586     int                      index; /**<  */
1587 } xcb_xkb_sym_interpret_iterator_t;
1588 
1589 /**
1590  * @brief xcb_xkb_action_t
1591  **/
1592 typedef union xcb_xkb_action_t {
1593     xcb_xkb_sa_no_action_t       noaction; /**<  */
1594     xcb_xkb_sa_set_mods_t        setmods; /**<  */
1595     xcb_xkb_sa_latch_mods_t      latchmods; /**<  */
1596     xcb_xkb_sa_lock_mods_t       lockmods; /**<  */
1597     xcb_xkb_sa_set_group_t       setgroup; /**<  */
1598     xcb_xkb_sa_latch_group_t     latchgroup; /**<  */
1599     xcb_xkb_sa_lock_group_t      lockgroup; /**<  */
1600     xcb_xkb_sa_move_ptr_t        moveptr; /**<  */
1601     xcb_xkb_sa_ptr_btn_t         ptrbtn; /**<  */
1602     xcb_xkb_sa_lock_ptr_btn_t    lockptrbtn; /**<  */
1603     xcb_xkb_sa_set_ptr_dflt_t    setptrdflt; /**<  */
1604     xcb_xkb_sa_iso_lock_t        isolock; /**<  */
1605     xcb_xkb_sa_terminate_t       terminate; /**<  */
1606     xcb_xkb_sa_switch_screen_t   switchscreen; /**<  */
1607     xcb_xkb_sa_set_controls_t    setcontrols; /**<  */
1608     xcb_xkb_sa_lock_controls_t   lockcontrols; /**<  */
1609     xcb_xkb_sa_action_message_t  message; /**<  */
1610     xcb_xkb_sa_redirect_key_t    redirect; /**<  */
1611     xcb_xkb_sa_device_btn_t      devbtn; /**<  */
1612     xcb_xkb_sa_lock_device_btn_t lockdevbtn; /**<  */
1613     xcb_xkb_sa_device_valuator_t devval; /**<  */
1614     uint8_t                      type; /**<  */
1615 } xcb_xkb_action_t;
1616 
1617 /**
1618  * @brief xcb_xkb_action_iterator_t
1619  **/
1620 typedef struct xcb_xkb_action_iterator_t {
1621     xcb_xkb_action_t *data; /**<  */
1622     int               rem; /**<  */
1623     int               index; /**<  */
1624 } xcb_xkb_action_iterator_t;
1625 
1626 /**
1627  * @brief xcb_xkb_use_extension_cookie_t
1628  **/
1629 typedef struct xcb_xkb_use_extension_cookie_t {
1630     unsigned int sequence; /**<  */
1631 } xcb_xkb_use_extension_cookie_t;
1632 
1633 /** Opcode for xcb_xkb_use_extension. */
1634 #define XCB_XKB_USE_EXTENSION 0
1635 
1636 /**
1637  * @brief xcb_xkb_use_extension_request_t
1638  **/
1639 typedef struct xcb_xkb_use_extension_request_t {
1640     uint8_t  major_opcode; /**<  */
1641     uint8_t  minor_opcode; /**<  */
1642     uint16_t length; /**<  */
1643     uint16_t wantedMajor; /**<  */
1644     uint16_t wantedMinor; /**<  */
1645 } xcb_xkb_use_extension_request_t;
1646 
1647 /**
1648  * @brief xcb_xkb_use_extension_reply_t
1649  **/
1650 typedef struct xcb_xkb_use_extension_reply_t {
1651     uint8_t  response_type; /**<  */
1652     uint8_t  supported; /**<  */
1653     uint16_t sequence; /**<  */
1654     uint32_t length; /**<  */
1655     uint16_t serverMajor; /**<  */
1656     uint16_t serverMinor; /**<  */
1657     uint8_t  pad0[20]; /**<  */
1658 } xcb_xkb_use_extension_reply_t;
1659 
1660 /**
1661  * @brief xcb_xkb_select_events_details_t
1662  **/
1663 typedef struct xcb_xkb_select_events_details_t {
1664     uint16_t affectNewKeyboard; /**<  */
1665     uint16_t newKeyboardDetails; /**<  */
1666     uint16_t affectState; /**<  */
1667     uint16_t stateDetails; /**<  */
1668     uint32_t affectCtrls; /**<  */
1669     uint32_t ctrlDetails; /**<  */
1670     uint32_t affectIndicatorState; /**<  */
1671     uint32_t indicatorStateDetails; /**<  */
1672     uint32_t affectIndicatorMap; /**<  */
1673     uint32_t indicatorMapDetails; /**<  */
1674     uint16_t affectNames; /**<  */
1675     uint16_t namesDetails; /**<  */
1676     uint8_t  affectCompat; /**<  */
1677     uint8_t  compatDetails; /**<  */
1678     uint8_t  affectBell; /**<  */
1679     uint8_t  bellDetails; /**<  */
1680     uint8_t  affectMsgDetails; /**<  */
1681     uint8_t  msgDetails; /**<  */
1682     uint16_t affectAccessX; /**<  */
1683     uint16_t accessXDetails; /**<  */
1684     uint16_t affectExtDev; /**<  */
1685     uint16_t extdevDetails; /**<  */
1686 } xcb_xkb_select_events_details_t;
1687 
1688 /** Opcode for xcb_xkb_select_events. */
1689 #define XCB_XKB_SELECT_EVENTS 1
1690 
1691 /**
1692  * @brief xcb_xkb_select_events_request_t
1693  **/
1694 typedef struct xcb_xkb_select_events_request_t {
1695     uint8_t               major_opcode; /**<  */
1696     uint8_t               minor_opcode; /**<  */
1697     uint16_t              length; /**<  */
1698     xcb_xkb_device_spec_t deviceSpec; /**<  */
1699     uint16_t              affectWhich; /**<  */
1700     uint16_t              clear; /**<  */
1701     uint16_t              selectAll; /**<  */
1702     uint16_t              affectMap; /**<  */
1703     uint16_t              map; /**<  */
1704 } xcb_xkb_select_events_request_t;
1705 
1706 /** Opcode for xcb_xkb_bell. */
1707 #define XCB_XKB_BELL 3
1708 
1709 /**
1710  * @brief xcb_xkb_bell_request_t
1711  **/
1712 typedef struct xcb_xkb_bell_request_t {
1713     uint8_t                   major_opcode; /**<  */
1714     uint8_t                   minor_opcode; /**<  */
1715     uint16_t                  length; /**<  */
1716     xcb_xkb_device_spec_t     deviceSpec; /**<  */
1717     xcb_xkb_bell_class_spec_t bellClass; /**<  */
1718     xcb_xkb_id_spec_t         bellID; /**<  */
1719     int8_t                    percent; /**<  */
1720     uint8_t                   forceSound; /**<  */
1721     uint8_t                   eventOnly; /**<  */
1722     uint8_t                   pad0; /**<  */
1723     int16_t                   pitch; /**<  */
1724     int16_t                   duration; /**<  */
1725     uint8_t                   pad1[2]; /**<  */
1726     xcb_atom_t                name; /**<  */
1727     xcb_window_t              window; /**<  */
1728 } xcb_xkb_bell_request_t;
1729 
1730 /**
1731  * @brief xcb_xkb_get_state_cookie_t
1732  **/
1733 typedef struct xcb_xkb_get_state_cookie_t {
1734     unsigned int sequence; /**<  */
1735 } xcb_xkb_get_state_cookie_t;
1736 
1737 /** Opcode for xcb_xkb_get_state. */
1738 #define XCB_XKB_GET_STATE 4
1739 
1740 /**
1741  * @brief xcb_xkb_get_state_request_t
1742  **/
1743 typedef struct xcb_xkb_get_state_request_t {
1744     uint8_t               major_opcode; /**<  */
1745     uint8_t               minor_opcode; /**<  */
1746     uint16_t              length; /**<  */
1747     xcb_xkb_device_spec_t deviceSpec; /**<  */
1748     uint8_t               pad0[2]; /**<  */
1749 } xcb_xkb_get_state_request_t;
1750 
1751 /**
1752  * @brief xcb_xkb_get_state_reply_t
1753  **/
1754 typedef struct xcb_xkb_get_state_reply_t {
1755     uint8_t  response_type; /**<  */
1756     uint8_t  deviceID; /**<  */
1757     uint16_t sequence; /**<  */
1758     uint32_t length; /**<  */
1759     uint8_t  mods; /**<  */
1760     uint8_t  baseMods; /**<  */
1761     uint8_t  latchedMods; /**<  */
1762     uint8_t  lockedMods; /**<  */
1763     uint8_t  group; /**<  */
1764     uint8_t  lockedGroup; /**<  */
1765     int16_t  baseGroup; /**<  */
1766     int16_t  latchedGroup; /**<  */
1767     uint8_t  compatState; /**<  */
1768     uint8_t  grabMods; /**<  */
1769     uint8_t  compatGrabMods; /**<  */
1770     uint8_t  lookupMods; /**<  */
1771     uint8_t  compatLookupMods; /**<  */
1772     uint8_t  pad0; /**<  */
1773     uint16_t ptrBtnState; /**<  */
1774     uint8_t  pad1[6]; /**<  */
1775 } xcb_xkb_get_state_reply_t;
1776 
1777 /** Opcode for xcb_xkb_latch_lock_state. */
1778 #define XCB_XKB_LATCH_LOCK_STATE 5
1779 
1780 /**
1781  * @brief xcb_xkb_latch_lock_state_request_t
1782  **/
1783 typedef struct xcb_xkb_latch_lock_state_request_t {
1784     uint8_t               major_opcode; /**<  */
1785     uint8_t               minor_opcode; /**<  */
1786     uint16_t              length; /**<  */
1787     xcb_xkb_device_spec_t deviceSpec; /**<  */
1788     uint8_t               affectModLocks; /**<  */
1789     uint8_t               modLocks; /**<  */
1790     uint8_t               lockGroup; /**<  */
1791     uint8_t               groupLock; /**<  */
1792     uint8_t               affectModLatches; /**<  */
1793     uint8_t               pad0; /**<  */
1794     uint8_t               pad1; /**<  */
1795     uint8_t               latchGroup; /**<  */
1796     uint16_t              groupLatch; /**<  */
1797 } xcb_xkb_latch_lock_state_request_t;
1798 
1799 /**
1800  * @brief xcb_xkb_get_controls_cookie_t
1801  **/
1802 typedef struct xcb_xkb_get_controls_cookie_t {
1803     unsigned int sequence; /**<  */
1804 } xcb_xkb_get_controls_cookie_t;
1805 
1806 /** Opcode for xcb_xkb_get_controls. */
1807 #define XCB_XKB_GET_CONTROLS 6
1808 
1809 /**
1810  * @brief xcb_xkb_get_controls_request_t
1811  **/
1812 typedef struct xcb_xkb_get_controls_request_t {
1813     uint8_t               major_opcode; /**<  */
1814     uint8_t               minor_opcode; /**<  */
1815     uint16_t              length; /**<  */
1816     xcb_xkb_device_spec_t deviceSpec; /**<  */
1817     uint8_t               pad0[2]; /**<  */
1818 } xcb_xkb_get_controls_request_t;
1819 
1820 /**
1821  * @brief xcb_xkb_get_controls_reply_t
1822  **/
1823 typedef struct xcb_xkb_get_controls_reply_t {
1824     uint8_t  response_type; /**<  */
1825     uint8_t  deviceID; /**<  */
1826     uint16_t sequence; /**<  */
1827     uint32_t length; /**<  */
1828     uint8_t  mouseKeysDfltBtn; /**<  */
1829     uint8_t  numGroups; /**<  */
1830     uint8_t  groupsWrap; /**<  */
1831     uint8_t  internalModsMask; /**<  */
1832     uint8_t  ignoreLockModsMask; /**<  */
1833     uint8_t  internalModsRealMods; /**<  */
1834     uint8_t  ignoreLockModsRealMods; /**<  */
1835     uint8_t  pad0; /**<  */
1836     uint16_t internalModsVmods; /**<  */
1837     uint16_t ignoreLockModsVmods; /**<  */
1838     uint16_t repeatDelay; /**<  */
1839     uint16_t repeatInterval; /**<  */
1840     uint16_t slowKeysDelay; /**<  */
1841     uint16_t debounceDelay; /**<  */
1842     uint16_t mouseKeysDelay; /**<  */
1843     uint16_t mouseKeysInterval; /**<  */
1844     uint16_t mouseKeysTimeToMax; /**<  */
1845     uint16_t mouseKeysMaxSpeed; /**<  */
1846     int16_t  mouseKeysCurve; /**<  */
1847     uint16_t accessXOption; /**<  */
1848     uint16_t accessXTimeout; /**<  */
1849     uint16_t accessXTimeoutOptionsMask; /**<  */
1850     uint16_t accessXTimeoutOptionsValues; /**<  */
1851     uint8_t  pad1[2]; /**<  */
1852     uint32_t accessXTimeoutMask; /**<  */
1853     uint32_t accessXTimeoutValues; /**<  */
1854     uint32_t enabledControls; /**<  */
1855     uint8_t  perKeyRepeat[32]; /**<  */
1856 } xcb_xkb_get_controls_reply_t;
1857 
1858 /** Opcode for xcb_xkb_set_controls. */
1859 #define XCB_XKB_SET_CONTROLS 7
1860 
1861 /**
1862  * @brief xcb_xkb_set_controls_request_t
1863  **/
1864 typedef struct xcb_xkb_set_controls_request_t {
1865     uint8_t               major_opcode; /**<  */
1866     uint8_t               minor_opcode; /**<  */
1867     uint16_t              length; /**<  */
1868     xcb_xkb_device_spec_t deviceSpec; /**<  */
1869     uint8_t               affectInternalRealMods; /**<  */
1870     uint8_t               internalRealMods; /**<  */
1871     uint8_t               affectIgnoreLockRealMods; /**<  */
1872     uint8_t               ignoreLockRealMods; /**<  */
1873     uint16_t              affectInternalVirtualMods; /**<  */
1874     uint16_t              internalVirtualMods; /**<  */
1875     uint16_t              affectIgnoreLockVirtualMods; /**<  */
1876     uint16_t              ignoreLockVirtualMods; /**<  */
1877     uint8_t               mouseKeysDfltBtn; /**<  */
1878     uint8_t               groupsWrap; /**<  */
1879     uint16_t              accessXOptions; /**<  */
1880     uint8_t               pad0[2]; /**<  */
1881     uint32_t              affectEnabledControls; /**<  */
1882     uint32_t              enabledControls; /**<  */
1883     uint32_t              changeControls; /**<  */
1884     uint16_t              repeatDelay; /**<  */
1885     uint16_t              repeatInterval; /**<  */
1886     uint16_t              slowKeysDelay; /**<  */
1887     uint16_t              debounceDelay; /**<  */
1888     uint16_t              mouseKeysDelay; /**<  */
1889     uint16_t              mouseKeysInterval; /**<  */
1890     uint16_t              mouseKeysTimeToMax; /**<  */
1891     uint16_t              mouseKeysMaxSpeed; /**<  */
1892     int16_t               mouseKeysCurve; /**<  */
1893     uint16_t              accessXTimeout; /**<  */
1894     uint32_t              accessXTimeoutMask; /**<  */
1895     uint32_t              accessXTimeoutValues; /**<  */
1896     uint16_t              accessXTimeoutOptionsMask; /**<  */
1897     uint16_t              accessXTimeoutOptionsValues; /**<  */
1898     uint8_t               perKeyRepeat[32]; /**<  */
1899 } xcb_xkb_set_controls_request_t;
1900 
1901 /**
1902  * @brief xcb_xkb_get_map_cookie_t
1903  **/
1904 typedef struct xcb_xkb_get_map_cookie_t {
1905     unsigned int sequence; /**<  */
1906 } xcb_xkb_get_map_cookie_t;
1907 
1908 /** Opcode for xcb_xkb_get_map. */
1909 #define XCB_XKB_GET_MAP 8
1910 
1911 /**
1912  * @brief xcb_xkb_get_map_request_t
1913  **/
1914 typedef struct xcb_xkb_get_map_request_t {
1915     uint8_t               major_opcode; /**<  */
1916     uint8_t               minor_opcode; /**<  */
1917     uint16_t              length; /**<  */
1918     xcb_xkb_device_spec_t deviceSpec; /**<  */
1919     uint16_t              full; /**<  */
1920     uint16_t              partial; /**<  */
1921     uint8_t               firstType; /**<  */
1922     uint8_t               nTypes; /**<  */
1923     xcb_keycode_t         firstKeySym; /**<  */
1924     uint8_t               nKeySyms; /**<  */
1925     xcb_keycode_t         firstKeyAction; /**<  */
1926     uint8_t               nKeyActions; /**<  */
1927     xcb_keycode_t         firstKeyBehavior; /**<  */
1928     uint8_t               nKeyBehaviors; /**<  */
1929     uint16_t              virtualMods; /**<  */
1930     xcb_keycode_t         firstKeyExplicit; /**<  */
1931     uint8_t               nKeyExplicit; /**<  */
1932     xcb_keycode_t         firstModMapKey; /**<  */
1933     uint8_t               nModMapKeys; /**<  */
1934     xcb_keycode_t         firstVModMapKey; /**<  */
1935     uint8_t               nVModMapKeys; /**<  */
1936     uint8_t               pad0[2]; /**<  */
1937 } xcb_xkb_get_map_request_t;
1938 
1939 /**
1940  * @brief xcb_xkb_get_map_map_t
1941  **/
1942 typedef struct xcb_xkb_get_map_map_t {
1943     xcb_xkb_key_type_t      *types_rtrn; /**<  */
1944     xcb_xkb_key_sym_map_t   *syms_rtrn; /**<  */
1945     uint8_t                 *acts_rtrn_count; /**<  */
1946     uint8_t                 *pad2; /**<  */
1947     xcb_xkb_action_t        *acts_rtrn_acts; /**<  */
1948     xcb_xkb_set_behavior_t  *behaviors_rtrn; /**<  */
1949     uint8_t                 *vmods_rtrn; /**<  */
1950     uint8_t                 *pad3; /**<  */
1951     xcb_xkb_set_explicit_t  *explicit_rtrn; /**<  */
1952     uint8_t                 *pad4; /**<  */
1953     xcb_xkb_key_mod_map_t   *modmap_rtrn; /**<  */
1954     uint8_t                 *pad5; /**<  */
1955     xcb_xkb_key_v_mod_map_t *vmodmap_rtrn; /**<  */
1956 } xcb_xkb_get_map_map_t;
1957 
1958 /**
1959  * @brief xcb_xkb_get_map_reply_t
1960  **/
1961 typedef struct xcb_xkb_get_map_reply_t {
1962     uint8_t       response_type; /**<  */
1963     uint8_t       deviceID; /**<  */
1964     uint16_t      sequence; /**<  */
1965     uint32_t      length; /**<  */
1966     uint8_t       pad0[2]; /**<  */
1967     xcb_keycode_t minKeyCode; /**<  */
1968     xcb_keycode_t maxKeyCode; /**<  */
1969     uint16_t      present; /**<  */
1970     uint8_t       firstType; /**<  */
1971     uint8_t       nTypes; /**<  */
1972     uint8_t       totalTypes; /**<  */
1973     xcb_keycode_t firstKeySym; /**<  */
1974     uint16_t      totalSyms; /**<  */
1975     uint8_t       nKeySyms; /**<  */
1976     xcb_keycode_t firstKeyAction; /**<  */
1977     uint16_t      totalActions; /**<  */
1978     uint8_t       nKeyActions; /**<  */
1979     xcb_keycode_t firstKeyBehavior; /**<  */
1980     uint8_t       nKeyBehaviors; /**<  */
1981     uint8_t       totalKeyBehaviors; /**<  */
1982     xcb_keycode_t firstKeyExplicit; /**<  */
1983     uint8_t       nKeyExplicit; /**<  */
1984     uint8_t       totalKeyExplicit; /**<  */
1985     xcb_keycode_t firstModMapKey; /**<  */
1986     uint8_t       nModMapKeys; /**<  */
1987     uint8_t       totalModMapKeys; /**<  */
1988     xcb_keycode_t firstVModMapKey; /**<  */
1989     uint8_t       nVModMapKeys; /**<  */
1990     uint8_t       totalVModMapKeys; /**<  */
1991     uint8_t       pad1; /**<  */
1992     uint16_t      virtualMods; /**<  */
1993 } xcb_xkb_get_map_reply_t;
1994 
1995 /**
1996  * @brief xcb_xkb_set_map_values_t
1997  **/
1998 typedef struct xcb_xkb_set_map_values_t {
1999     xcb_xkb_set_key_type_t  *types; /**<  */
2000     xcb_xkb_key_sym_map_t   *syms; /**<  */
2001     uint8_t                 *actionsCount; /**<  */
2002     xcb_xkb_action_t        *actions; /**<  */
2003     xcb_xkb_set_behavior_t  *behaviors; /**<  */
2004     uint8_t                 *vmods; /**<  */
2005     xcb_xkb_set_explicit_t  *explicit; /**<  */
2006     xcb_xkb_key_mod_map_t   *modmap; /**<  */
2007     xcb_xkb_key_v_mod_map_t *vmodmap; /**<  */
2008 } xcb_xkb_set_map_values_t;
2009 
2010 /** Opcode for xcb_xkb_set_map. */
2011 #define XCB_XKB_SET_MAP 9
2012 
2013 /**
2014  * @brief xcb_xkb_set_map_request_t
2015  **/
2016 typedef struct xcb_xkb_set_map_request_t {
2017     uint8_t               major_opcode; /**<  */
2018     uint8_t               minor_opcode; /**<  */
2019     uint16_t              length; /**<  */
2020     xcb_xkb_device_spec_t deviceSpec; /**<  */
2021     uint16_t              present; /**<  */
2022     uint16_t              flags; /**<  */
2023     xcb_keycode_t         minKeyCode; /**<  */
2024     xcb_keycode_t         maxKeyCode; /**<  */
2025     uint8_t               firstType; /**<  */
2026     uint8_t               nTypes; /**<  */
2027     xcb_keycode_t         firstKeySym; /**<  */
2028     uint8_t               nKeySyms; /**<  */
2029     uint16_t              totalSyms; /**<  */
2030     xcb_keycode_t         firstKeyAction; /**<  */
2031     uint8_t               nKeyActions; /**<  */
2032     uint16_t              totalActions; /**<  */
2033     xcb_keycode_t         firstKeyBehavior; /**<  */
2034     uint8_t               nKeyBehaviors; /**<  */
2035     uint8_t               totalKeyBehaviors; /**<  */
2036     xcb_keycode_t         firstKeyExplicit; /**<  */
2037     uint8_t               nKeyExplicit; /**<  */
2038     uint8_t               totalKeyExplicit; /**<  */
2039     xcb_keycode_t         firstModMapKey; /**<  */
2040     uint8_t               nModMapKeys; /**<  */
2041     uint8_t               totalModMapKeys; /**<  */
2042     xcb_keycode_t         firstVModMapKey; /**<  */
2043     uint8_t               nVModMapKeys; /**<  */
2044     uint8_t               totalVModMapKeys; /**<  */
2045     uint16_t              virtualMods; /**<  */
2046 } xcb_xkb_set_map_request_t;
2047 
2048 /**
2049  * @brief xcb_xkb_get_compat_map_cookie_t
2050  **/
2051 typedef struct xcb_xkb_get_compat_map_cookie_t {
2052     unsigned int sequence; /**<  */
2053 } xcb_xkb_get_compat_map_cookie_t;
2054 
2055 /** Opcode for xcb_xkb_get_compat_map. */
2056 #define XCB_XKB_GET_COMPAT_MAP 10
2057 
2058 /**
2059  * @brief xcb_xkb_get_compat_map_request_t
2060  **/
2061 typedef struct xcb_xkb_get_compat_map_request_t {
2062     uint8_t               major_opcode; /**<  */
2063     uint8_t               minor_opcode; /**<  */
2064     uint16_t              length; /**<  */
2065     xcb_xkb_device_spec_t deviceSpec; /**<  */
2066     uint8_t               groups; /**<  */
2067     uint8_t               getAllSI; /**<  */
2068     uint16_t              firstSI; /**<  */
2069     uint16_t              nSI; /**<  */
2070 } xcb_xkb_get_compat_map_request_t;
2071 
2072 /**
2073  * @brief xcb_xkb_get_compat_map_reply_t
2074  **/
2075 typedef struct xcb_xkb_get_compat_map_reply_t {
2076     uint8_t  response_type; /**<  */
2077     uint8_t  deviceID; /**<  */
2078     uint16_t sequence; /**<  */
2079     uint32_t length; /**<  */
2080     uint8_t  groupsRtrn; /**<  */
2081     uint8_t  pad0; /**<  */
2082     uint16_t firstSIRtrn; /**<  */
2083     uint16_t nSIRtrn; /**<  */
2084     uint16_t nTotalSI; /**<  */
2085     uint8_t  pad1[16]; /**<  */
2086 } xcb_xkb_get_compat_map_reply_t;
2087 
2088 /** Opcode for xcb_xkb_set_compat_map. */
2089 #define XCB_XKB_SET_COMPAT_MAP 11
2090 
2091 /**
2092  * @brief xcb_xkb_set_compat_map_request_t
2093  **/
2094 typedef struct xcb_xkb_set_compat_map_request_t {
2095     uint8_t               major_opcode; /**<  */
2096     uint8_t               minor_opcode; /**<  */
2097     uint16_t              length; /**<  */
2098     xcb_xkb_device_spec_t deviceSpec; /**<  */
2099     uint8_t               pad0; /**<  */
2100     uint8_t               recomputeActions; /**<  */
2101     uint8_t               truncateSI; /**<  */
2102     uint8_t               groups; /**<  */
2103     uint16_t              firstSI; /**<  */
2104     uint16_t              nSI; /**<  */
2105     uint8_t               pad1[2]; /**<  */
2106 } xcb_xkb_set_compat_map_request_t;
2107 
2108 /**
2109  * @brief xcb_xkb_get_indicator_state_cookie_t
2110  **/
2111 typedef struct xcb_xkb_get_indicator_state_cookie_t {
2112     unsigned int sequence; /**<  */
2113 } xcb_xkb_get_indicator_state_cookie_t;
2114 
2115 /** Opcode for xcb_xkb_get_indicator_state. */
2116 #define XCB_XKB_GET_INDICATOR_STATE 12
2117 
2118 /**
2119  * @brief xcb_xkb_get_indicator_state_request_t
2120  **/
2121 typedef struct xcb_xkb_get_indicator_state_request_t {
2122     uint8_t               major_opcode; /**<  */
2123     uint8_t               minor_opcode; /**<  */
2124     uint16_t              length; /**<  */
2125     xcb_xkb_device_spec_t deviceSpec; /**<  */
2126     uint8_t               pad0[2]; /**<  */
2127 } xcb_xkb_get_indicator_state_request_t;
2128 
2129 /**
2130  * @brief xcb_xkb_get_indicator_state_reply_t
2131  **/
2132 typedef struct xcb_xkb_get_indicator_state_reply_t {
2133     uint8_t  response_type; /**<  */
2134     uint8_t  deviceID; /**<  */
2135     uint16_t sequence; /**<  */
2136     uint32_t length; /**<  */
2137     uint32_t state; /**<  */
2138     uint8_t  pad0[20]; /**<  */
2139 } xcb_xkb_get_indicator_state_reply_t;
2140 
2141 /**
2142  * @brief xcb_xkb_get_indicator_map_cookie_t
2143  **/
2144 typedef struct xcb_xkb_get_indicator_map_cookie_t {
2145     unsigned int sequence; /**<  */
2146 } xcb_xkb_get_indicator_map_cookie_t;
2147 
2148 /** Opcode for xcb_xkb_get_indicator_map. */
2149 #define XCB_XKB_GET_INDICATOR_MAP 13
2150 
2151 /**
2152  * @brief xcb_xkb_get_indicator_map_request_t
2153  **/
2154 typedef struct xcb_xkb_get_indicator_map_request_t {
2155     uint8_t               major_opcode; /**<  */
2156     uint8_t               minor_opcode; /**<  */
2157     uint16_t              length; /**<  */
2158     xcb_xkb_device_spec_t deviceSpec; /**<  */
2159     uint8_t               pad0[2]; /**<  */
2160     uint32_t              which; /**<  */
2161 } xcb_xkb_get_indicator_map_request_t;
2162 
2163 /**
2164  * @brief xcb_xkb_get_indicator_map_reply_t
2165  **/
2166 typedef struct xcb_xkb_get_indicator_map_reply_t {
2167     uint8_t  response_type; /**<  */
2168     uint8_t  deviceID; /**<  */
2169     uint16_t sequence; /**<  */
2170     uint32_t length; /**<  */
2171     uint32_t which; /**<  */
2172     uint32_t realIndicators; /**<  */
2173     uint8_t  nIndicators; /**<  */
2174     uint8_t  pad0[15]; /**<  */
2175 } xcb_xkb_get_indicator_map_reply_t;
2176 
2177 /** Opcode for xcb_xkb_set_indicator_map. */
2178 #define XCB_XKB_SET_INDICATOR_MAP 14
2179 
2180 /**
2181  * @brief xcb_xkb_set_indicator_map_request_t
2182  **/
2183 typedef struct xcb_xkb_set_indicator_map_request_t {
2184     uint8_t               major_opcode; /**<  */
2185     uint8_t               minor_opcode; /**<  */
2186     uint16_t              length; /**<  */
2187     xcb_xkb_device_spec_t deviceSpec; /**<  */
2188     uint8_t               pad0[2]; /**<  */
2189     uint32_t              which; /**<  */
2190 } xcb_xkb_set_indicator_map_request_t;
2191 
2192 /**
2193  * @brief xcb_xkb_get_named_indicator_cookie_t
2194  **/
2195 typedef struct xcb_xkb_get_named_indicator_cookie_t {
2196     unsigned int sequence; /**<  */
2197 } xcb_xkb_get_named_indicator_cookie_t;
2198 
2199 /** Opcode for xcb_xkb_get_named_indicator. */
2200 #define XCB_XKB_GET_NAMED_INDICATOR 15
2201 
2202 /**
2203  * @brief xcb_xkb_get_named_indicator_request_t
2204  **/
2205 typedef struct xcb_xkb_get_named_indicator_request_t {
2206     uint8_t                  major_opcode; /**<  */
2207     uint8_t                  minor_opcode; /**<  */
2208     uint16_t                 length; /**<  */
2209     xcb_xkb_device_spec_t    deviceSpec; /**<  */
2210     xcb_xkb_led_class_spec_t ledClass; /**<  */
2211     xcb_xkb_id_spec_t        ledID; /**<  */
2212     uint8_t                  pad0[2]; /**<  */
2213     xcb_atom_t               indicator; /**<  */
2214 } xcb_xkb_get_named_indicator_request_t;
2215 
2216 /**
2217  * @brief xcb_xkb_get_named_indicator_reply_t
2218  **/
2219 typedef struct xcb_xkb_get_named_indicator_reply_t {
2220     uint8_t    response_type; /**<  */
2221     uint8_t    deviceID; /**<  */
2222     uint16_t   sequence; /**<  */
2223     uint32_t   length; /**<  */
2224     xcb_atom_t indicator; /**<  */
2225     uint8_t    found; /**<  */
2226     uint8_t    on; /**<  */
2227     uint8_t    realIndicator; /**<  */
2228     uint8_t    ndx; /**<  */
2229     uint8_t    map_flags; /**<  */
2230     uint8_t    map_whichGroups; /**<  */
2231     uint8_t    map_groups; /**<  */
2232     uint8_t    map_whichMods; /**<  */
2233     uint8_t    map_mods; /**<  */
2234     uint8_t    map_realMods; /**<  */
2235     uint16_t   map_vmod; /**<  */
2236     uint32_t   map_ctrls; /**<  */
2237     uint8_t    supported; /**<  */
2238     uint8_t    pad0[3]; /**<  */
2239 } xcb_xkb_get_named_indicator_reply_t;
2240 
2241 /** Opcode for xcb_xkb_set_named_indicator. */
2242 #define XCB_XKB_SET_NAMED_INDICATOR 16
2243 
2244 /**
2245  * @brief xcb_xkb_set_named_indicator_request_t
2246  **/
2247 typedef struct xcb_xkb_set_named_indicator_request_t {
2248     uint8_t                  major_opcode; /**<  */
2249     uint8_t                  minor_opcode; /**<  */
2250     uint16_t                 length; /**<  */
2251     xcb_xkb_device_spec_t    deviceSpec; /**<  */
2252     xcb_xkb_led_class_spec_t ledClass; /**<  */
2253     xcb_xkb_id_spec_t        ledID; /**<  */
2254     uint8_t                  pad0[2]; /**<  */
2255     xcb_atom_t               indicator; /**<  */
2256     uint8_t                  setState; /**<  */
2257     uint8_t                  on; /**<  */
2258     uint8_t                  setMap; /**<  */
2259     uint8_t                  createMap; /**<  */
2260     uint8_t                  pad1; /**<  */
2261     uint8_t                  map_flags; /**<  */
2262     uint8_t                  map_whichGroups; /**<  */
2263     uint8_t                  map_groups; /**<  */
2264     uint8_t                  map_whichMods; /**<  */
2265     uint8_t                  map_realMods; /**<  */
2266     uint16_t                 map_vmods; /**<  */
2267     uint32_t                 map_ctrls; /**<  */
2268 } xcb_xkb_set_named_indicator_request_t;
2269 
2270 /**
2271  * @brief xcb_xkb_get_names_cookie_t
2272  **/
2273 typedef struct xcb_xkb_get_names_cookie_t {
2274     unsigned int sequence; /**<  */
2275 } xcb_xkb_get_names_cookie_t;
2276 
2277 /** Opcode for xcb_xkb_get_names. */
2278 #define XCB_XKB_GET_NAMES 17
2279 
2280 /**
2281  * @brief xcb_xkb_get_names_request_t
2282  **/
2283 typedef struct xcb_xkb_get_names_request_t {
2284     uint8_t               major_opcode; /**<  */
2285     uint8_t               minor_opcode; /**<  */
2286     uint16_t              length; /**<  */
2287     xcb_xkb_device_spec_t deviceSpec; /**<  */
2288     uint8_t               pad0[2]; /**<  */
2289     uint32_t              which; /**<  */
2290 } xcb_xkb_get_names_request_t;
2291 
2292 /**
2293  * @brief xcb_xkb_get_names_value_list_t
2294  **/
2295 typedef struct xcb_xkb_get_names_value_list_t {
2296     xcb_atom_t           keycodesName; /**<  */
2297     xcb_atom_t           geometryName; /**<  */
2298     xcb_atom_t           symbolsName; /**<  */
2299     xcb_atom_t           physSymbolsName; /**<  */
2300     xcb_atom_t           typesName; /**<  */
2301     xcb_atom_t           compatName; /**<  */
2302     xcb_atom_t          *typeNames; /**<  */
2303     uint8_t             *nLevelsPerType; /**<  */
2304     uint8_t             *alignment_pad; /**<  */
2305     xcb_atom_t          *ktLevelNames; /**<  */
2306     xcb_atom_t          *indicatorNames; /**<  */
2307     xcb_atom_t          *virtualModNames; /**<  */
2308     xcb_atom_t          *groups; /**<  */
2309     xcb_xkb_key_name_t  *keyNames; /**<  */
2310     xcb_xkb_key_alias_t *keyAliases; /**<  */
2311     xcb_atom_t          *radioGroupNames; /**<  */
2312 } xcb_xkb_get_names_value_list_t;
2313 
2314 /**
2315  * @brief xcb_xkb_get_names_reply_t
2316  **/
2317 typedef struct xcb_xkb_get_names_reply_t {
2318     uint8_t       response_type; /**<  */
2319     uint8_t       deviceID; /**<  */
2320     uint16_t      sequence; /**<  */
2321     uint32_t      length; /**<  */
2322     uint32_t      which; /**<  */
2323     xcb_keycode_t minKeyCode; /**<  */
2324     xcb_keycode_t maxKeyCode; /**<  */
2325     uint8_t       nTypes; /**<  */
2326     uint8_t       groupNames; /**<  */
2327     uint16_t      virtualMods; /**<  */
2328     xcb_keycode_t firstKey; /**<  */
2329     uint8_t       nKeys; /**<  */
2330     uint32_t      indicators; /**<  */
2331     uint8_t       nRadioGroups; /**<  */
2332     uint8_t       nKeyAliases; /**<  */
2333     uint16_t      nKTLevels; /**<  */
2334     uint8_t       pad0[4]; /**<  */
2335 } xcb_xkb_get_names_reply_t;
2336 
2337 /**
2338  * @brief xcb_xkb_set_names_values_t
2339  **/
2340 typedef struct xcb_xkb_set_names_values_t {
2341     xcb_atom_t           keycodesName; /**<  */
2342     xcb_atom_t           geometryName; /**<  */
2343     xcb_atom_t           symbolsName; /**<  */
2344     xcb_atom_t           physSymbolsName; /**<  */
2345     xcb_atom_t           typesName; /**<  */
2346     xcb_atom_t           compatName; /**<  */
2347     xcb_atom_t          *typeNames; /**<  */
2348     uint8_t             *nLevelsPerType; /**<  */
2349     xcb_atom_t          *ktLevelNames; /**<  */
2350     xcb_atom_t          *indicatorNames; /**<  */
2351     xcb_atom_t          *virtualModNames; /**<  */
2352     xcb_atom_t          *groups; /**<  */
2353     xcb_xkb_key_name_t  *keyNames; /**<  */
2354     xcb_xkb_key_alias_t *keyAliases; /**<  */
2355     xcb_atom_t          *radioGroupNames; /**<  */
2356 } xcb_xkb_set_names_values_t;
2357 
2358 /** Opcode for xcb_xkb_set_names. */
2359 #define XCB_XKB_SET_NAMES 18
2360 
2361 /**
2362  * @brief xcb_xkb_set_names_request_t
2363  **/
2364 typedef struct xcb_xkb_set_names_request_t {
2365     uint8_t               major_opcode; /**<  */
2366     uint8_t               minor_opcode; /**<  */
2367     uint16_t              length; /**<  */
2368     xcb_xkb_device_spec_t deviceSpec; /**<  */
2369     uint16_t              virtualMods; /**<  */
2370     uint32_t              which; /**<  */
2371     uint8_t               firstType; /**<  */
2372     uint8_t               nTypes; /**<  */
2373     uint8_t               firstKTLevelt; /**<  */
2374     uint8_t               nKTLevels; /**<  */
2375     uint32_t              indicators; /**<  */
2376     uint8_t               groupNames; /**<  */
2377     uint8_t               nRadioGroups; /**<  */
2378     xcb_keycode_t         firstKey; /**<  */
2379     uint8_t               nKeys; /**<  */
2380     uint8_t               nKeyAliases; /**<  */
2381     uint8_t               pad0; /**<  */
2382     uint16_t              totalKTLevelNames; /**<  */
2383 } xcb_xkb_set_names_request_t;
2384 
2385 /**
2386  * @brief xcb_xkb_per_client_flags_cookie_t
2387  **/
2388 typedef struct xcb_xkb_per_client_flags_cookie_t {
2389     unsigned int sequence; /**<  */
2390 } xcb_xkb_per_client_flags_cookie_t;
2391 
2392 /** Opcode for xcb_xkb_per_client_flags. */
2393 #define XCB_XKB_PER_CLIENT_FLAGS 21
2394 
2395 /**
2396  * @brief xcb_xkb_per_client_flags_request_t
2397  **/
2398 typedef struct xcb_xkb_per_client_flags_request_t {
2399     uint8_t               major_opcode; /**<  */
2400     uint8_t               minor_opcode; /**<  */
2401     uint16_t              length; /**<  */
2402     xcb_xkb_device_spec_t deviceSpec; /**<  */
2403     uint8_t               pad0[2]; /**<  */
2404     uint32_t              change; /**<  */
2405     uint32_t              value; /**<  */
2406     uint32_t              ctrlsToChange; /**<  */
2407     uint32_t              autoCtrls; /**<  */
2408     uint32_t              autoCtrlsValues; /**<  */
2409 } xcb_xkb_per_client_flags_request_t;
2410 
2411 /**
2412  * @brief xcb_xkb_per_client_flags_reply_t
2413  **/
2414 typedef struct xcb_xkb_per_client_flags_reply_t {
2415     uint8_t  response_type; /**<  */
2416     uint8_t  deviceID; /**<  */
2417     uint16_t sequence; /**<  */
2418     uint32_t length; /**<  */
2419     uint32_t supported; /**<  */
2420     uint32_t value; /**<  */
2421     uint32_t autoCtrls; /**<  */
2422     uint32_t autoCtrlsValues; /**<  */
2423     uint8_t  pad0[8]; /**<  */
2424 } xcb_xkb_per_client_flags_reply_t;
2425 
2426 /**
2427  * @brief xcb_xkb_list_components_cookie_t
2428  **/
2429 typedef struct xcb_xkb_list_components_cookie_t {
2430     unsigned int sequence; /**<  */
2431 } xcb_xkb_list_components_cookie_t;
2432 
2433 /** Opcode for xcb_xkb_list_components. */
2434 #define XCB_XKB_LIST_COMPONENTS 22
2435 
2436 /**
2437  * @brief xcb_xkb_list_components_request_t
2438  **/
2439 typedef struct xcb_xkb_list_components_request_t {
2440     uint8_t               major_opcode; /**<  */
2441     uint8_t               minor_opcode; /**<  */
2442     uint16_t              length; /**<  */
2443     xcb_xkb_device_spec_t deviceSpec; /**<  */
2444     uint16_t              maxNames; /**<  */
2445 } xcb_xkb_list_components_request_t;
2446 
2447 /**
2448  * @brief xcb_xkb_list_components_reply_t
2449  **/
2450 typedef struct xcb_xkb_list_components_reply_t {
2451     uint8_t  response_type; /**<  */
2452     uint8_t  deviceID; /**<  */
2453     uint16_t sequence; /**<  */
2454     uint32_t length; /**<  */
2455     uint16_t nKeymaps; /**<  */
2456     uint16_t nKeycodes; /**<  */
2457     uint16_t nTypes; /**<  */
2458     uint16_t nCompatMaps; /**<  */
2459     uint16_t nSymbols; /**<  */
2460     uint16_t nGeometries; /**<  */
2461     uint16_t extra; /**<  */
2462     uint8_t  pad0[10]; /**<  */
2463 } xcb_xkb_list_components_reply_t;
2464 
2465 /**
2466  * @brief xcb_xkb_get_kbd_by_name_cookie_t
2467  **/
2468 typedef struct xcb_xkb_get_kbd_by_name_cookie_t {
2469     unsigned int sequence; /**<  */
2470 } xcb_xkb_get_kbd_by_name_cookie_t;
2471 
2472 /** Opcode for xcb_xkb_get_kbd_by_name. */
2473 #define XCB_XKB_GET_KBD_BY_NAME 23
2474 
2475 /**
2476  * @brief xcb_xkb_get_kbd_by_name_request_t
2477  **/
2478 typedef struct xcb_xkb_get_kbd_by_name_request_t {
2479     uint8_t               major_opcode; /**<  */
2480     uint8_t               minor_opcode; /**<  */
2481     uint16_t              length; /**<  */
2482     xcb_xkb_device_spec_t deviceSpec; /**<  */
2483     uint16_t              need; /**<  */
2484     uint16_t              want; /**<  */
2485     uint8_t               load; /**<  */
2486     uint8_t               pad0; /**<  */
2487 } xcb_xkb_get_kbd_by_name_request_t;
2488 
2489 /**
2490  * @brief xcb_xkb_get_kbd_by_name_replies_types_map_t
2491  **/
2492 typedef struct xcb_xkb_get_kbd_by_name_replies_types_map_t {
2493     xcb_xkb_key_type_t      *types_rtrn; /**<  */
2494     xcb_xkb_key_sym_map_t   *syms_rtrn; /**<  */
2495     uint8_t                 *acts_rtrn_count; /**<  */
2496     xcb_xkb_action_t        *acts_rtrn_acts; /**<  */
2497     xcb_xkb_set_behavior_t  *behaviors_rtrn; /**<  */
2498     uint8_t                 *vmods_rtrn; /**<  */
2499     xcb_xkb_set_explicit_t  *explicit_rtrn; /**<  */
2500     xcb_xkb_key_mod_map_t   *modmap_rtrn; /**<  */
2501     xcb_xkb_key_v_mod_map_t *vmodmap_rtrn; /**<  */
2502 } xcb_xkb_get_kbd_by_name_replies_types_map_t;
2503 
2504 /**
2505  * @brief xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t
2506  **/
2507 typedef struct xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t {
2508     xcb_atom_t           keycodesName; /**<  */
2509     xcb_atom_t           geometryName; /**<  */
2510     xcb_atom_t           symbolsName; /**<  */
2511     xcb_atom_t           physSymbolsName; /**<  */
2512     xcb_atom_t           typesName; /**<  */
2513     xcb_atom_t           compatName; /**<  */
2514     xcb_atom_t          *typeNames; /**<  */
2515     uint8_t             *nLevelsPerType; /**<  */
2516     xcb_atom_t          *ktLevelNames; /**<  */
2517     xcb_atom_t          *indicatorNames; /**<  */
2518     xcb_atom_t          *virtualModNames; /**<  */
2519     xcb_atom_t          *groups; /**<  */
2520     xcb_xkb_key_name_t  *keyNames; /**<  */
2521     xcb_xkb_key_alias_t *keyAliases; /**<  */
2522     xcb_atom_t          *radioGroupNames; /**<  */
2523 } xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t;
2524 
2525 /**
2526  * @brief xcb_xkb_get_kbd_by_name_replies_t
2527  **/
2528 typedef struct xcb_xkb_get_kbd_by_name_replies_t {
2529     struct _types {
2530         uint8_t                                                 getmap_type; /**<  */
2531         uint8_t                                                 typeDeviceID; /**<  */
2532         uint16_t                                                getmap_sequence; /**<  */
2533         uint32_t                                                getmap_length; /**<  */
2534         uint8_t                                                 pad1[2]; /**<  */
2535         xcb_keycode_t                                           typeMinKeyCode; /**<  */
2536         xcb_keycode_t                                           typeMaxKeyCode; /**<  */
2537         uint16_t                                                present; /**<  */
2538         uint8_t                                                 firstType; /**<  */
2539         uint8_t                                                 nTypes; /**<  */
2540         uint8_t                                                 totalTypes; /**<  */
2541         xcb_keycode_t                                           firstKeySym; /**<  */
2542         uint16_t                                                totalSyms; /**<  */
2543         uint8_t                                                 nKeySyms; /**<  */
2544         xcb_keycode_t                                           firstKeyAction; /**<  */
2545         uint16_t                                                totalActions; /**<  */
2546         uint8_t                                                 nKeyActions; /**<  */
2547         xcb_keycode_t                                           firstKeyBehavior; /**<  */
2548         uint8_t                                                 nKeyBehaviors; /**<  */
2549         uint8_t                                                 totalKeyBehaviors; /**<  */
2550         xcb_keycode_t                                           firstKeyExplicit; /**<  */
2551         uint8_t                                                 nKeyExplicit; /**<  */
2552         uint8_t                                                 totalKeyExplicit; /**<  */
2553         xcb_keycode_t                                           firstModMapKey; /**<  */
2554         uint8_t                                                 nModMapKeys; /**<  */
2555         uint8_t                                                 totalModMapKeys; /**<  */
2556         xcb_keycode_t                                           firstVModMapKey; /**<  */
2557         uint8_t                                                 nVModMapKeys; /**<  */
2558         uint8_t                                                 totalVModMapKeys; /**<  */
2559         uint8_t                                                 pad2; /**<  */
2560         uint16_t                                                virtualMods; /**<  */
2561         xcb_xkb_get_kbd_by_name_replies_types_map_t             map; /**<  */
2562     } types;
2563     struct _compat_map {
2564         uint8_t                                                 compatmap_type; /**<  */
2565         uint8_t                                                 compatDeviceID; /**<  */
2566         uint16_t                                                compatmap_sequence; /**<  */
2567         uint32_t                                                compatmap_length; /**<  */
2568         uint8_t                                                 groupsRtrn; /**<  */
2569         uint8_t                                                 pad3; /**<  */
2570         uint16_t                                                firstSIRtrn; /**<  */
2571         uint16_t                                                nSIRtrn; /**<  */
2572         uint16_t                                                nTotalSI; /**<  */
2573         uint8_t                                                 pad4[16]; /**<  */
2574         xcb_xkb_sym_interpret_t                                *si_rtrn; /**<  */
2575         xcb_xkb_mod_def_t                                      *group_rtrn; /**<  */
2576     } compat_map;
2577     struct _indicator_maps {
2578         uint8_t                                                 indicatormap_type; /**<  */
2579         uint8_t                                                 indicatorDeviceID; /**<  */
2580         uint16_t                                                indicatormap_sequence; /**<  */
2581         uint32_t                                                indicatormap_length; /**<  */
2582         uint32_t                                                which; /**<  */
2583         uint32_t                                                realIndicators; /**<  */
2584         uint8_t                                                 nIndicators; /**<  */
2585         uint8_t                                                 pad5[15]; /**<  */
2586         xcb_xkb_indicator_map_t                                *maps; /**<  */
2587     } indicator_maps;
2588     struct _key_names {
2589         uint8_t                                                 keyname_type; /**<  */
2590         uint8_t                                                 keyDeviceID; /**<  */
2591         uint16_t                                                keyname_sequence; /**<  */
2592         uint32_t                                                keyname_length; /**<  */
2593         uint32_t                                                which; /**<  */
2594         xcb_keycode_t                                           keyMinKeyCode; /**<  */
2595         xcb_keycode_t                                           keyMaxKeyCode; /**<  */
2596         uint8_t                                                 nTypes; /**<  */
2597         uint8_t                                                 groupNames; /**<  */
2598         uint16_t                                                virtualMods; /**<  */
2599         xcb_keycode_t                                           firstKey; /**<  */
2600         uint8_t                                                 nKeys; /**<  */
2601         uint32_t                                                indicators; /**<  */
2602         uint8_t                                                 nRadioGroups; /**<  */
2603         uint8_t                                                 nKeyAliases; /**<  */
2604         uint16_t                                                nKTLevels; /**<  */
2605         uint8_t                                                 pad6[4]; /**<  */
2606         xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t  valueList; /**<  */
2607     } key_names;
2608     struct _geometry {
2609         uint8_t                                                 geometry_type; /**<  */
2610         uint8_t                                                 geometryDeviceID; /**<  */
2611         uint16_t                                                geometry_sequence; /**<  */
2612         uint32_t                                                geometry_length; /**<  */
2613         xcb_atom_t                                              name; /**<  */
2614         uint8_t                                                 geometryFound; /**<  */
2615         uint8_t                                                 pad7; /**<  */
2616         uint16_t                                                widthMM; /**<  */
2617         uint16_t                                                heightMM; /**<  */
2618         uint16_t                                                nProperties; /**<  */
2619         uint16_t                                                nColors; /**<  */
2620         uint16_t                                                nShapes; /**<  */
2621         uint16_t                                                nSections; /**<  */
2622         uint16_t                                                nDoodads; /**<  */
2623         uint16_t                                                nKeyAliases; /**<  */
2624         uint8_t                                                 baseColorNdx; /**<  */
2625         uint8_t                                                 labelColorNdx; /**<  */
2626         xcb_xkb_counted_string_16_t                            *labelFont; /**<  */
2627     } geometry;
2628 } xcb_xkb_get_kbd_by_name_replies_t;
2629 
2630 xcb_xkb_get_kbd_by_name_replies_types_map_t *
2631 xcb_xkb_get_kbd_by_name_replies_types_map (const xcb_xkb_get_kbd_by_name_replies_t *R  /**< */);
2632 
2633 /**
2634  * @brief xcb_xkb_get_kbd_by_name_reply_t
2635  **/
2636 typedef struct xcb_xkb_get_kbd_by_name_reply_t {
2637     uint8_t       response_type; /**<  */
2638     uint8_t       deviceID; /**<  */
2639     uint16_t      sequence; /**<  */
2640     uint32_t      length; /**<  */
2641     xcb_keycode_t minKeyCode; /**<  */
2642     xcb_keycode_t maxKeyCode; /**<  */
2643     uint8_t       loaded; /**<  */
2644     uint8_t       newKeyboard; /**<  */
2645     uint16_t      found; /**<  */
2646     uint16_t      reported; /**<  */
2647     uint8_t       pad0[16]; /**<  */
2648 } xcb_xkb_get_kbd_by_name_reply_t;
2649 
2650 /**
2651  * @brief xcb_xkb_get_device_info_cookie_t
2652  **/
2653 typedef struct xcb_xkb_get_device_info_cookie_t {
2654     unsigned int sequence; /**<  */
2655 } xcb_xkb_get_device_info_cookie_t;
2656 
2657 /** Opcode for xcb_xkb_get_device_info. */
2658 #define XCB_XKB_GET_DEVICE_INFO 24
2659 
2660 /**
2661  * @brief xcb_xkb_get_device_info_request_t
2662  **/
2663 typedef struct xcb_xkb_get_device_info_request_t {
2664     uint8_t                  major_opcode; /**<  */
2665     uint8_t                  minor_opcode; /**<  */
2666     uint16_t                 length; /**<  */
2667     xcb_xkb_device_spec_t    deviceSpec; /**<  */
2668     uint16_t                 wanted; /**<  */
2669     uint8_t                  allButtons; /**<  */
2670     uint8_t                  firstButton; /**<  */
2671     uint8_t                  nButtons; /**<  */
2672     uint8_t                  pad0; /**<  */
2673     xcb_xkb_led_class_spec_t ledClass; /**<  */
2674     xcb_xkb_id_spec_t        ledID; /**<  */
2675 } xcb_xkb_get_device_info_request_t;
2676 
2677 /**
2678  * @brief xcb_xkb_get_device_info_reply_t
2679  **/
2680 typedef struct xcb_xkb_get_device_info_reply_t {
2681     uint8_t    response_type; /**<  */
2682     uint8_t    deviceID; /**<  */
2683     uint16_t   sequence; /**<  */
2684     uint32_t   length; /**<  */
2685     uint16_t   present; /**<  */
2686     uint16_t   supported; /**<  */
2687     uint16_t   unsupported; /**<  */
2688     uint16_t   nDeviceLedFBs; /**<  */
2689     uint8_t    firstBtnWanted; /**<  */
2690     uint8_t    nBtnsWanted; /**<  */
2691     uint8_t    firstBtnRtrn; /**<  */
2692     uint8_t    nBtnsRtrn; /**<  */
2693     uint8_t    totalBtns; /**<  */
2694     uint8_t    hasOwnState; /**<  */
2695     uint16_t   dfltKbdFB; /**<  */
2696     uint16_t   dfltLedFB; /**<  */
2697     uint8_t    pad0[2]; /**<  */
2698     xcb_atom_t devType; /**<  */
2699     uint16_t   nameLen; /**<  */
2700 } xcb_xkb_get_device_info_reply_t;
2701 
2702 /** Opcode for xcb_xkb_set_device_info. */
2703 #define XCB_XKB_SET_DEVICE_INFO 25
2704 
2705 /**
2706  * @brief xcb_xkb_set_device_info_request_t
2707  **/
2708 typedef struct xcb_xkb_set_device_info_request_t {
2709     uint8_t               major_opcode; /**<  */
2710     uint8_t               minor_opcode; /**<  */
2711     uint16_t              length; /**<  */
2712     xcb_xkb_device_spec_t deviceSpec; /**<  */
2713     uint8_t               firstBtn; /**<  */
2714     uint8_t               nBtns; /**<  */
2715     uint16_t              change; /**<  */
2716     uint16_t              nDeviceLedFBs; /**<  */
2717 } xcb_xkb_set_device_info_request_t;
2718 
2719 /**
2720  * @brief xcb_xkb_set_debugging_flags_cookie_t
2721  **/
2722 typedef struct xcb_xkb_set_debugging_flags_cookie_t {
2723     unsigned int sequence; /**<  */
2724 } xcb_xkb_set_debugging_flags_cookie_t;
2725 
2726 /** Opcode for xcb_xkb_set_debugging_flags. */
2727 #define XCB_XKB_SET_DEBUGGING_FLAGS 101
2728 
2729 /**
2730  * @brief xcb_xkb_set_debugging_flags_request_t
2731  **/
2732 typedef struct xcb_xkb_set_debugging_flags_request_t {
2733     uint8_t  major_opcode; /**<  */
2734     uint8_t  minor_opcode; /**<  */
2735     uint16_t length; /**<  */
2736     uint16_t msgLength; /**<  */
2737     uint8_t  pad0[2]; /**<  */
2738     uint32_t affectFlags; /**<  */
2739     uint32_t flags; /**<  */
2740     uint32_t affectCtrls; /**<  */
2741     uint32_t ctrls; /**<  */
2742 } xcb_xkb_set_debugging_flags_request_t;
2743 
2744 /**
2745  * @brief xcb_xkb_set_debugging_flags_reply_t
2746  **/
2747 typedef struct xcb_xkb_set_debugging_flags_reply_t {
2748     uint8_t  response_type; /**<  */
2749     uint8_t  pad0; /**<  */
2750     uint16_t sequence; /**<  */
2751     uint32_t length; /**<  */
2752     uint32_t currentFlags; /**<  */
2753     uint32_t currentCtrls; /**<  */
2754     uint32_t supportedFlags; /**<  */
2755     uint32_t supportedCtrls; /**<  */
2756     uint8_t  pad1[8]; /**<  */
2757 } xcb_xkb_set_debugging_flags_reply_t;
2758 
2759 /** Opcode for xcb_xkb_new_keyboard_notify. */
2760 #define XCB_XKB_NEW_KEYBOARD_NOTIFY 0
2761 
2762 /**
2763  * @brief xcb_xkb_new_keyboard_notify_event_t
2764  **/
2765 typedef struct xcb_xkb_new_keyboard_notify_event_t {
2766     uint8_t         response_type; /**<  */
2767     uint8_t         xkbType; /**<  */
2768     uint16_t        sequence; /**<  */
2769     xcb_timestamp_t time; /**<  */
2770     uint8_t         deviceID; /**<  */
2771     uint8_t         oldDeviceID; /**<  */
2772     xcb_keycode_t   minKeyCode; /**<  */
2773     xcb_keycode_t   maxKeyCode; /**<  */
2774     xcb_keycode_t   oldMinKeyCode; /**<  */
2775     xcb_keycode_t   oldMaxKeyCode; /**<  */
2776     uint8_t         requestMajor; /**<  */
2777     uint8_t         requestMinor; /**<  */
2778     uint16_t        changed; /**<  */
2779     uint8_t         pad0[14]; /**<  */
2780 } xcb_xkb_new_keyboard_notify_event_t;
2781 
2782 /** Opcode for xcb_xkb_map_notify. */
2783 #define XCB_XKB_MAP_NOTIFY 1
2784 
2785 /**
2786  * @brief xcb_xkb_map_notify_event_t
2787  **/
2788 typedef struct xcb_xkb_map_notify_event_t {
2789     uint8_t         response_type; /**<  */
2790     uint8_t         xkbType; /**<  */
2791     uint16_t        sequence; /**<  */
2792     xcb_timestamp_t time; /**<  */
2793     uint8_t         deviceID; /**<  */
2794     uint8_t         ptrBtnActions; /**<  */
2795     uint16_t        changed; /**<  */
2796     xcb_keycode_t   minKeyCode; /**<  */
2797     xcb_keycode_t   maxKeyCode; /**<  */
2798     uint8_t         firstType; /**<  */
2799     uint8_t         nTypes; /**<  */
2800     xcb_keycode_t   firstKeySym; /**<  */
2801     uint8_t         nKeySyms; /**<  */
2802     xcb_keycode_t   firstKeyAct; /**<  */
2803     uint8_t         nKeyActs; /**<  */
2804     xcb_keycode_t   firstKeyBehavior; /**<  */
2805     uint8_t         nKeyBehavior; /**<  */
2806     xcb_keycode_t   firstKeyExplicit; /**<  */
2807     uint8_t         nKeyExplicit; /**<  */
2808     xcb_keycode_t   firstModMapKey; /**<  */
2809     uint8_t         nModMapKeys; /**<  */
2810     xcb_keycode_t   firstVModMapKey; /**<  */
2811     uint8_t         nVModMapKeys; /**<  */
2812     uint16_t        virtualMods; /**<  */
2813     uint8_t         pad0[2]; /**<  */
2814 } xcb_xkb_map_notify_event_t;
2815 
2816 /** Opcode for xcb_xkb_state_notify. */
2817 #define XCB_XKB_STATE_NOTIFY 2
2818 
2819 /**
2820  * @brief xcb_xkb_state_notify_event_t
2821  **/
2822 typedef struct xcb_xkb_state_notify_event_t {
2823     uint8_t         response_type; /**<  */
2824     uint8_t         xkbType; /**<  */
2825     uint16_t        sequence; /**<  */
2826     xcb_timestamp_t time; /**<  */
2827     uint8_t         deviceID; /**<  */
2828     uint8_t         mods; /**<  */
2829     uint8_t         baseMods; /**<  */
2830     uint8_t         latchedMods; /**<  */
2831     uint8_t         lockedMods; /**<  */
2832     uint8_t         group; /**<  */
2833     int16_t         baseGroup; /**<  */
2834     int16_t         latchedGroup; /**<  */
2835     uint8_t         lockedGroup; /**<  */
2836     uint8_t         compatState; /**<  */
2837     uint8_t         grabMods; /**<  */
2838     uint8_t         compatGrabMods; /**<  */
2839     uint8_t         lookupMods; /**<  */
2840     uint8_t         compatLoockupMods; /**<  */
2841     uint16_t        ptrBtnState; /**<  */
2842     uint16_t        changed; /**<  */
2843     xcb_keycode_t   keycode; /**<  */
2844     uint8_t         eventType; /**<  */
2845     uint8_t         requestMajor; /**<  */
2846     uint8_t         requestMinor; /**<  */
2847 } xcb_xkb_state_notify_event_t;
2848 
2849 /** Opcode for xcb_xkb_controls_notify. */
2850 #define XCB_XKB_CONTROLS_NOTIFY 3
2851 
2852 /**
2853  * @brief xcb_xkb_controls_notify_event_t
2854  **/
2855 typedef struct xcb_xkb_controls_notify_event_t {
2856     uint8_t         response_type; /**<  */
2857     uint8_t         xkbType; /**<  */
2858     uint16_t        sequence; /**<  */
2859     xcb_timestamp_t time; /**<  */
2860     uint8_t         deviceID; /**<  */
2861     uint8_t         numGroups; /**<  */
2862     uint8_t         pad0[2]; /**<  */
2863     uint32_t        changedControls; /**<  */
2864     uint32_t        enabledControls; /**<  */
2865     uint32_t        enabledControlChanges; /**<  */
2866     xcb_keycode_t   keycode; /**<  */
2867     uint8_t         eventType; /**<  */
2868     uint8_t         requestMajor; /**<  */
2869     uint8_t         requestMinor; /**<  */
2870     uint8_t         pad1[4]; /**<  */
2871 } xcb_xkb_controls_notify_event_t;
2872 
2873 /** Opcode for xcb_xkb_indicator_state_notify. */
2874 #define XCB_XKB_INDICATOR_STATE_NOTIFY 4
2875 
2876 /**
2877  * @brief xcb_xkb_indicator_state_notify_event_t
2878  **/
2879 typedef struct xcb_xkb_indicator_state_notify_event_t {
2880     uint8_t         response_type; /**<  */
2881     uint8_t         xkbType; /**<  */
2882     uint16_t        sequence; /**<  */
2883     xcb_timestamp_t time; /**<  */
2884     uint8_t         deviceID; /**<  */
2885     uint8_t         pad0[3]; /**<  */
2886     uint32_t        state; /**<  */
2887     uint32_t        stateChanged; /**<  */
2888     uint8_t         pad1[12]; /**<  */
2889 } xcb_xkb_indicator_state_notify_event_t;
2890 
2891 /** Opcode for xcb_xkb_indicator_map_notify. */
2892 #define XCB_XKB_INDICATOR_MAP_NOTIFY 5
2893 
2894 /**
2895  * @brief xcb_xkb_indicator_map_notify_event_t
2896  **/
2897 typedef struct xcb_xkb_indicator_map_notify_event_t {
2898     uint8_t         response_type; /**<  */
2899     uint8_t         xkbType; /**<  */
2900     uint16_t        sequence; /**<  */
2901     xcb_timestamp_t time; /**<  */
2902     uint8_t         deviceID; /**<  */
2903     uint8_t         pad0[3]; /**<  */
2904     uint32_t        state; /**<  */
2905     uint32_t        mapChanged; /**<  */
2906     uint8_t         pad1[12]; /**<  */
2907 } xcb_xkb_indicator_map_notify_event_t;
2908 
2909 /** Opcode for xcb_xkb_names_notify. */
2910 #define XCB_XKB_NAMES_NOTIFY 6
2911 
2912 /**
2913  * @brief xcb_xkb_names_notify_event_t
2914  **/
2915 typedef struct xcb_xkb_names_notify_event_t {
2916     uint8_t         response_type; /**<  */
2917     uint8_t         xkbType; /**<  */
2918     uint16_t        sequence; /**<  */
2919     xcb_timestamp_t time; /**<  */
2920     uint8_t         deviceID; /**<  */
2921     uint8_t         pad0; /**<  */
2922     uint16_t        changed; /**<  */
2923     uint8_t         firstType; /**<  */
2924     uint8_t         nTypes; /**<  */
2925     uint8_t         firstLevelName; /**<  */
2926     uint8_t         nLevelNames; /**<  */
2927     uint8_t         pad1; /**<  */
2928     uint8_t         nRadioGroups; /**<  */
2929     uint8_t         nKeyAliases; /**<  */
2930     uint8_t         changedGroupNames; /**<  */
2931     uint16_t        changedVirtualMods; /**<  */
2932     xcb_keycode_t   firstKey; /**<  */
2933     uint8_t         nKeys; /**<  */
2934     uint32_t        changedIndicators; /**<  */
2935     uint8_t         pad2[4]; /**<  */
2936 } xcb_xkb_names_notify_event_t;
2937 
2938 /** Opcode for xcb_xkb_compat_map_notify. */
2939 #define XCB_XKB_COMPAT_MAP_NOTIFY 7
2940 
2941 /**
2942  * @brief xcb_xkb_compat_map_notify_event_t
2943  **/
2944 typedef struct xcb_xkb_compat_map_notify_event_t {
2945     uint8_t         response_type; /**<  */
2946     uint8_t         xkbType; /**<  */
2947     uint16_t        sequence; /**<  */
2948     xcb_timestamp_t time; /**<  */
2949     uint8_t         deviceID; /**<  */
2950     uint8_t         changedGroups; /**<  */
2951     uint16_t        firstSI; /**<  */
2952     uint16_t        nSI; /**<  */
2953     uint16_t        nTotalSI; /**<  */
2954     uint8_t         pad0[16]; /**<  */
2955 } xcb_xkb_compat_map_notify_event_t;
2956 
2957 /** Opcode for xcb_xkb_bell_notify. */
2958 #define XCB_XKB_BELL_NOTIFY 8
2959 
2960 /**
2961  * @brief xcb_xkb_bell_notify_event_t
2962  **/
2963 typedef struct xcb_xkb_bell_notify_event_t {
2964     uint8_t         response_type; /**<  */
2965     uint8_t         xkbType; /**<  */
2966     uint16_t        sequence; /**<  */
2967     xcb_timestamp_t time; /**<  */
2968     uint8_t         deviceID; /**<  */
2969     uint8_t         bellClass; /**<  */
2970     uint8_t         bellID; /**<  */
2971     uint8_t         percent; /**<  */
2972     uint16_t        pitch; /**<  */
2973     uint16_t        duration; /**<  */
2974     xcb_atom_t      name; /**<  */
2975     xcb_window_t    window; /**<  */
2976     uint8_t         eventOnly; /**<  */
2977     uint8_t         pad0[7]; /**<  */
2978 } xcb_xkb_bell_notify_event_t;
2979 
2980 /** Opcode for xcb_xkb_action_message. */
2981 #define XCB_XKB_ACTION_MESSAGE 9
2982 
2983 /**
2984  * @brief xcb_xkb_action_message_event_t
2985  **/
2986 typedef struct xcb_xkb_action_message_event_t {
2987     uint8_t           response_type; /**<  */
2988     uint8_t           xkbType; /**<  */
2989     uint16_t          sequence; /**<  */
2990     xcb_timestamp_t   time; /**<  */
2991     uint8_t           deviceID; /**<  */
2992     xcb_keycode_t     keycode; /**<  */
2993     uint8_t           press; /**<  */
2994     uint8_t           keyEventFollows; /**<  */
2995     uint8_t           mods; /**<  */
2996     uint8_t           group; /**<  */
2997     xcb_xkb_string8_t message[8]; /**<  */
2998     uint8_t           pad0[10]; /**<  */
2999 } xcb_xkb_action_message_event_t;
3000 
3001 /** Opcode for xcb_xkb_access_x_notify. */
3002 #define XCB_XKB_ACCESS_X_NOTIFY 10
3003 
3004 /**
3005  * @brief xcb_xkb_access_x_notify_event_t
3006  **/
3007 typedef struct xcb_xkb_access_x_notify_event_t {
3008     uint8_t         response_type; /**<  */
3009     uint8_t         xkbType; /**<  */
3010     uint16_t        sequence; /**<  */
3011     xcb_timestamp_t time; /**<  */
3012     uint8_t         deviceID; /**<  */
3013     xcb_keycode_t   keycode; /**<  */
3014     uint16_t        detailt; /**<  */
3015     uint16_t        slowKeysDelay; /**<  */
3016     uint16_t        debounceDelay; /**<  */
3017     uint8_t         pad0[16]; /**<  */
3018 } xcb_xkb_access_x_notify_event_t;
3019 
3020 /** Opcode for xcb_xkb_extension_device_notify. */
3021 #define XCB_XKB_EXTENSION_DEVICE_NOTIFY 11
3022 
3023 /**
3024  * @brief xcb_xkb_extension_device_notify_event_t
3025  **/
3026 typedef struct xcb_xkb_extension_device_notify_event_t {
3027     uint8_t         response_type; /**<  */
3028     uint8_t         xkbType; /**<  */
3029     uint16_t        sequence; /**<  */
3030     xcb_timestamp_t time; /**<  */
3031     uint8_t         deviceID; /**<  */
3032     uint8_t         pad0; /**<  */
3033     uint16_t        reason; /**<  */
3034     uint16_t        ledClass; /**<  */
3035     uint16_t        ledID; /**<  */
3036     uint32_t        ledsDefined; /**<  */
3037     uint32_t        ledState; /**<  */
3038     uint8_t         firstButton; /**<  */
3039     uint8_t         nButtons; /**<  */
3040     uint16_t        supported; /**<  */
3041     uint16_t        unsupported; /**<  */
3042     uint8_t         pad1[2]; /**<  */
3043 } xcb_xkb_extension_device_notify_event_t;
3044 
3045 /**
3046  * Get the next element of the iterator
3047  * @param i Pointer to a xcb_xkb_device_spec_iterator_t
3048  *
3049  * Get the next element in the iterator. The member rem is
3050  * decreased by one. The member data points to the next
3051  * element. The member index is increased by sizeof(xcb_xkb_device_spec_t)
3052  */
3053 void
3054 xcb_xkb_device_spec_next (xcb_xkb_device_spec_iterator_t *i  /**< */);
3055 
3056 /**
3057  * Return the iterator pointing to the last element
3058  * @param i An xcb_xkb_device_spec_iterator_t
3059  * @return  The iterator pointing to the last element
3060  *
3061  * Set the current element in the iterator to the last element.
3062  * The member rem is set to 0. The member data points to the
3063  * last element.
3064  */
3065 xcb_generic_iterator_t
3066 xcb_xkb_device_spec_end (xcb_xkb_device_spec_iterator_t i  /**< */);
3067 
3068 /**
3069  * Get the next element of the iterator
3070  * @param i Pointer to a xcb_xkb_led_class_spec_iterator_t
3071  *
3072  * Get the next element in the iterator. The member rem is
3073  * decreased by one. The member data points to the next
3074  * element. The member index is increased by sizeof(xcb_xkb_led_class_spec_t)
3075  */
3076 void
3077 xcb_xkb_led_class_spec_next (xcb_xkb_led_class_spec_iterator_t *i  /**< */);
3078 
3079 /**
3080  * Return the iterator pointing to the last element
3081  * @param i An xcb_xkb_led_class_spec_iterator_t
3082  * @return  The iterator pointing to the last element
3083  *
3084  * Set the current element in the iterator to the last element.
3085  * The member rem is set to 0. The member data points to the
3086  * last element.
3087  */
3088 xcb_generic_iterator_t
3089 xcb_xkb_led_class_spec_end (xcb_xkb_led_class_spec_iterator_t i  /**< */);
3090 
3091 /**
3092  * Get the next element of the iterator
3093  * @param i Pointer to a xcb_xkb_bell_class_spec_iterator_t
3094  *
3095  * Get the next element in the iterator. The member rem is
3096  * decreased by one. The member data points to the next
3097  * element. The member index is increased by sizeof(xcb_xkb_bell_class_spec_t)
3098  */
3099 void
3100 xcb_xkb_bell_class_spec_next (xcb_xkb_bell_class_spec_iterator_t *i  /**< */);
3101 
3102 /**
3103  * Return the iterator pointing to the last element
3104  * @param i An xcb_xkb_bell_class_spec_iterator_t
3105  * @return  The iterator pointing to the last element
3106  *
3107  * Set the current element in the iterator to the last element.
3108  * The member rem is set to 0. The member data points to the
3109  * last element.
3110  */
3111 xcb_generic_iterator_t
3112 xcb_xkb_bell_class_spec_end (xcb_xkb_bell_class_spec_iterator_t i  /**< */);
3113 
3114 /**
3115  * Get the next element of the iterator
3116  * @param i Pointer to a xcb_xkb_id_spec_iterator_t
3117  *
3118  * Get the next element in the iterator. The member rem is
3119  * decreased by one. The member data points to the next
3120  * element. The member index is increased by sizeof(xcb_xkb_id_spec_t)
3121  */
3122 void
3123 xcb_xkb_id_spec_next (xcb_xkb_id_spec_iterator_t *i  /**< */);
3124 
3125 /**
3126  * Return the iterator pointing to the last element
3127  * @param i An xcb_xkb_id_spec_iterator_t
3128  * @return  The iterator pointing to the last element
3129  *
3130  * Set the current element in the iterator to the last element.
3131  * The member rem is set to 0. The member data points to the
3132  * last element.
3133  */
3134 xcb_generic_iterator_t
3135 xcb_xkb_id_spec_end (xcb_xkb_id_spec_iterator_t i  /**< */);
3136 
3137 /**
3138  * Get the next element of the iterator
3139  * @param i Pointer to a xcb_xkb_indicator_map_iterator_t
3140  *
3141  * Get the next element in the iterator. The member rem is
3142  * decreased by one. The member data points to the next
3143  * element. The member index is increased by sizeof(xcb_xkb_indicator_map_t)
3144  */
3145 void
3146 xcb_xkb_indicator_map_next (xcb_xkb_indicator_map_iterator_t *i  /**< */);
3147 
3148 /**
3149  * Return the iterator pointing to the last element
3150  * @param i An xcb_xkb_indicator_map_iterator_t
3151  * @return  The iterator pointing to the last element
3152  *
3153  * Set the current element in the iterator to the last element.
3154  * The member rem is set to 0. The member data points to the
3155  * last element.
3156  */
3157 xcb_generic_iterator_t
3158 xcb_xkb_indicator_map_end (xcb_xkb_indicator_map_iterator_t i  /**< */);
3159 
3160 /**
3161  * Get the next element of the iterator
3162  * @param i Pointer to a xcb_xkb_mod_def_iterator_t
3163  *
3164  * Get the next element in the iterator. The member rem is
3165  * decreased by one. The member data points to the next
3166  * element. The member index is increased by sizeof(xcb_xkb_mod_def_t)
3167  */
3168 void
3169 xcb_xkb_mod_def_next (xcb_xkb_mod_def_iterator_t *i  /**< */);
3170 
3171 /**
3172  * Return the iterator pointing to the last element
3173  * @param i An xcb_xkb_mod_def_iterator_t
3174  * @return  The iterator pointing to the last element
3175  *
3176  * Set the current element in the iterator to the last element.
3177  * The member rem is set to 0. The member data points to the
3178  * last element.
3179  */
3180 xcb_generic_iterator_t
3181 xcb_xkb_mod_def_end (xcb_xkb_mod_def_iterator_t i  /**< */);
3182 
3183 /**
3184  * Get the next element of the iterator
3185  * @param i Pointer to a xcb_xkb_key_name_iterator_t
3186  *
3187  * Get the next element in the iterator. The member rem is
3188  * decreased by one. The member data points to the next
3189  * element. The member index is increased by sizeof(xcb_xkb_key_name_t)
3190  */
3191 void
3192 xcb_xkb_key_name_next (xcb_xkb_key_name_iterator_t *i  /**< */);
3193 
3194 /**
3195  * Return the iterator pointing to the last element
3196  * @param i An xcb_xkb_key_name_iterator_t
3197  * @return  The iterator pointing to the last element
3198  *
3199  * Set the current element in the iterator to the last element.
3200  * The member rem is set to 0. The member data points to the
3201  * last element.
3202  */
3203 xcb_generic_iterator_t
3204 xcb_xkb_key_name_end (xcb_xkb_key_name_iterator_t i  /**< */);
3205 
3206 /**
3207  * Get the next element of the iterator
3208  * @param i Pointer to a xcb_xkb_key_alias_iterator_t
3209  *
3210  * Get the next element in the iterator. The member rem is
3211  * decreased by one. The member data points to the next
3212  * element. The member index is increased by sizeof(xcb_xkb_key_alias_t)
3213  */
3214 void
3215 xcb_xkb_key_alias_next (xcb_xkb_key_alias_iterator_t *i  /**< */);
3216 
3217 /**
3218  * Return the iterator pointing to the last element
3219  * @param i An xcb_xkb_key_alias_iterator_t
3220  * @return  The iterator pointing to the last element
3221  *
3222  * Set the current element in the iterator to the last element.
3223  * The member rem is set to 0. The member data points to the
3224  * last element.
3225  */
3226 xcb_generic_iterator_t
3227 xcb_xkb_key_alias_end (xcb_xkb_key_alias_iterator_t i  /**< */);
3228 
3229 int
3230 xcb_xkb_counted_string_16_sizeof (const void  *_buffer  /**< */);
3231 
3232 char *
3233 xcb_xkb_counted_string_16_string (const xcb_xkb_counted_string_16_t *R  /**< */);
3234 
3235 int
3236 xcb_xkb_counted_string_16_string_length (const xcb_xkb_counted_string_16_t *R  /**< */);
3237 
3238 xcb_generic_iterator_t
3239 xcb_xkb_counted_string_16_string_end (const xcb_xkb_counted_string_16_t *R  /**< */);
3240 
3241 void *
3242 xcb_xkb_counted_string_16_alignment_pad (const xcb_xkb_counted_string_16_t *R  /**< */);
3243 
3244 int
3245 xcb_xkb_counted_string_16_alignment_pad_length (const xcb_xkb_counted_string_16_t *R  /**< */);
3246 
3247 xcb_generic_iterator_t
3248 xcb_xkb_counted_string_16_alignment_pad_end (const xcb_xkb_counted_string_16_t *R  /**< */);
3249 
3250 /**
3251  * Get the next element of the iterator
3252  * @param i Pointer to a xcb_xkb_counted_string_16_iterator_t
3253  *
3254  * Get the next element in the iterator. The member rem is
3255  * decreased by one. The member data points to the next
3256  * element. The member index is increased by sizeof(xcb_xkb_counted_string_16_t)
3257  */
3258 void
3259 xcb_xkb_counted_string_16_next (xcb_xkb_counted_string_16_iterator_t *i  /**< */);
3260 
3261 /**
3262  * Return the iterator pointing to the last element
3263  * @param i An xcb_xkb_counted_string_16_iterator_t
3264  * @return  The iterator pointing to the last element
3265  *
3266  * Set the current element in the iterator to the last element.
3267  * The member rem is set to 0. The member data points to the
3268  * last element.
3269  */
3270 xcb_generic_iterator_t
3271 xcb_xkb_counted_string_16_end (xcb_xkb_counted_string_16_iterator_t i  /**< */);
3272 
3273 /**
3274  * Get the next element of the iterator
3275  * @param i Pointer to a xcb_xkb_kt_map_entry_iterator_t
3276  *
3277  * Get the next element in the iterator. The member rem is
3278  * decreased by one. The member data points to the next
3279  * element. The member index is increased by sizeof(xcb_xkb_kt_map_entry_t)
3280  */
3281 void
3282 xcb_xkb_kt_map_entry_next (xcb_xkb_kt_map_entry_iterator_t *i  /**< */);
3283 
3284 /**
3285  * Return the iterator pointing to the last element
3286  * @param i An xcb_xkb_kt_map_entry_iterator_t
3287  * @return  The iterator pointing to the last element
3288  *
3289  * Set the current element in the iterator to the last element.
3290  * The member rem is set to 0. The member data points to the
3291  * last element.
3292  */
3293 xcb_generic_iterator_t
3294 xcb_xkb_kt_map_entry_end (xcb_xkb_kt_map_entry_iterator_t i  /**< */);
3295 
3296 int
3297 xcb_xkb_key_type_sizeof (const void  *_buffer  /**< */);
3298 
3299 xcb_xkb_kt_map_entry_t *
3300 xcb_xkb_key_type_map (const xcb_xkb_key_type_t *R  /**< */);
3301 
3302 int
3303 xcb_xkb_key_type_map_length (const xcb_xkb_key_type_t *R  /**< */);
3304 
3305 xcb_xkb_kt_map_entry_iterator_t
3306 xcb_xkb_key_type_map_iterator (const xcb_xkb_key_type_t *R  /**< */);
3307 
3308 xcb_xkb_mod_def_t *
3309 xcb_xkb_key_type_preserve (const xcb_xkb_key_type_t *R  /**< */);
3310 
3311 int
3312 xcb_xkb_key_type_preserve_length (const xcb_xkb_key_type_t *R  /**< */);
3313 
3314 xcb_xkb_mod_def_iterator_t
3315 xcb_xkb_key_type_preserve_iterator (const xcb_xkb_key_type_t *R  /**< */);
3316 
3317 /**
3318  * Get the next element of the iterator
3319  * @param i Pointer to a xcb_xkb_key_type_iterator_t
3320  *
3321  * Get the next element in the iterator. The member rem is
3322  * decreased by one. The member data points to the next
3323  * element. The member index is increased by sizeof(xcb_xkb_key_type_t)
3324  */
3325 void
3326 xcb_xkb_key_type_next (xcb_xkb_key_type_iterator_t *i  /**< */);
3327 
3328 /**
3329  * Return the iterator pointing to the last element
3330  * @param i An xcb_xkb_key_type_iterator_t
3331  * @return  The iterator pointing to the last element
3332  *
3333  * Set the current element in the iterator to the last element.
3334  * The member rem is set to 0. The member data points to the
3335  * last element.
3336  */
3337 xcb_generic_iterator_t
3338 xcb_xkb_key_type_end (xcb_xkb_key_type_iterator_t i  /**< */);
3339 
3340 int
3341 xcb_xkb_key_sym_map_sizeof (const void  *_buffer  /**< */);
3342 
3343 xcb_keysym_t *
3344 xcb_xkb_key_sym_map_syms (const xcb_xkb_key_sym_map_t *R  /**< */);
3345 
3346 int
3347 xcb_xkb_key_sym_map_syms_length (const xcb_xkb_key_sym_map_t *R  /**< */);
3348 
3349 xcb_generic_iterator_t
3350 xcb_xkb_key_sym_map_syms_end (const xcb_xkb_key_sym_map_t *R  /**< */);
3351 
3352 /**
3353  * Get the next element of the iterator
3354  * @param i Pointer to a xcb_xkb_key_sym_map_iterator_t
3355  *
3356  * Get the next element in the iterator. The member rem is
3357  * decreased by one. The member data points to the next
3358  * element. The member index is increased by sizeof(xcb_xkb_key_sym_map_t)
3359  */
3360 void
3361 xcb_xkb_key_sym_map_next (xcb_xkb_key_sym_map_iterator_t *i  /**< */);
3362 
3363 /**
3364  * Return the iterator pointing to the last element
3365  * @param i An xcb_xkb_key_sym_map_iterator_t
3366  * @return  The iterator pointing to the last element
3367  *
3368  * Set the current element in the iterator to the last element.
3369  * The member rem is set to 0. The member data points to the
3370  * last element.
3371  */
3372 xcb_generic_iterator_t
3373 xcb_xkb_key_sym_map_end (xcb_xkb_key_sym_map_iterator_t i  /**< */);
3374 
3375 /**
3376  * Get the next element of the iterator
3377  * @param i Pointer to a xcb_xkb_common_behavior_iterator_t
3378  *
3379  * Get the next element in the iterator. The member rem is
3380  * decreased by one. The member data points to the next
3381  * element. The member index is increased by sizeof(xcb_xkb_common_behavior_t)
3382  */
3383 void
3384 xcb_xkb_common_behavior_next (xcb_xkb_common_behavior_iterator_t *i  /**< */);
3385 
3386 /**
3387  * Return the iterator pointing to the last element
3388  * @param i An xcb_xkb_common_behavior_iterator_t
3389  * @return  The iterator pointing to the last element
3390  *
3391  * Set the current element in the iterator to the last element.
3392  * The member rem is set to 0. The member data points to the
3393  * last element.
3394  */
3395 xcb_generic_iterator_t
3396 xcb_xkb_common_behavior_end (xcb_xkb_common_behavior_iterator_t i  /**< */);
3397 
3398 /**
3399  * Get the next element of the iterator
3400  * @param i Pointer to a xcb_xkb_default_behavior_iterator_t
3401  *
3402  * Get the next element in the iterator. The member rem is
3403  * decreased by one. The member data points to the next
3404  * element. The member index is increased by sizeof(xcb_xkb_default_behavior_t)
3405  */
3406 void
3407 xcb_xkb_default_behavior_next (xcb_xkb_default_behavior_iterator_t *i  /**< */);
3408 
3409 /**
3410  * Return the iterator pointing to the last element
3411  * @param i An xcb_xkb_default_behavior_iterator_t
3412  * @return  The iterator pointing to the last element
3413  *
3414  * Set the current element in the iterator to the last element.
3415  * The member rem is set to 0. The member data points to the
3416  * last element.
3417  */
3418 xcb_generic_iterator_t
3419 xcb_xkb_default_behavior_end (xcb_xkb_default_behavior_iterator_t i  /**< */);
3420 
3421 /**
3422  * Get the next element of the iterator
3423  * @param i Pointer to a xcb_xkb_lock_behavior_iterator_t
3424  *
3425  * Get the next element in the iterator. The member rem is
3426  * decreased by one. The member data points to the next
3427  * element. The member index is increased by sizeof(xcb_xkb_lock_behavior_t)
3428  */
3429 void
3430 xcb_xkb_lock_behavior_next (xcb_xkb_lock_behavior_iterator_t *i  /**< */);
3431 
3432 /**
3433  * Return the iterator pointing to the last element
3434  * @param i An xcb_xkb_lock_behavior_iterator_t
3435  * @return  The iterator pointing to the last element
3436  *
3437  * Set the current element in the iterator to the last element.
3438  * The member rem is set to 0. The member data points to the
3439  * last element.
3440  */
3441 xcb_generic_iterator_t
3442 xcb_xkb_lock_behavior_end (xcb_xkb_lock_behavior_iterator_t i  /**< */);
3443 
3444 /**
3445  * Get the next element of the iterator
3446  * @param i Pointer to a xcb_xkb_radio_group_behavior_iterator_t
3447  *
3448  * Get the next element in the iterator. The member rem is
3449  * decreased by one. The member data points to the next
3450  * element. The member index is increased by sizeof(xcb_xkb_radio_group_behavior_t)
3451  */
3452 void
3453 xcb_xkb_radio_group_behavior_next (xcb_xkb_radio_group_behavior_iterator_t *i  /**< */);
3454 
3455 /**
3456  * Return the iterator pointing to the last element
3457  * @param i An xcb_xkb_radio_group_behavior_iterator_t
3458  * @return  The iterator pointing to the last element
3459  *
3460  * Set the current element in the iterator to the last element.
3461  * The member rem is set to 0. The member data points to the
3462  * last element.
3463  */
3464 xcb_generic_iterator_t
3465 xcb_xkb_radio_group_behavior_end (xcb_xkb_radio_group_behavior_iterator_t i  /**< */);
3466 
3467 /**
3468  * Get the next element of the iterator
3469  * @param i Pointer to a xcb_xkb_overlay_behavior_iterator_t
3470  *
3471  * Get the next element in the iterator. The member rem is
3472  * decreased by one. The member data points to the next
3473  * element. The member index is increased by sizeof(xcb_xkb_overlay_behavior_t)
3474  */
3475 void
3476 xcb_xkb_overlay_behavior_next (xcb_xkb_overlay_behavior_iterator_t *i  /**< */);
3477 
3478 /**
3479  * Return the iterator pointing to the last element
3480  * @param i An xcb_xkb_overlay_behavior_iterator_t
3481  * @return  The iterator pointing to the last element
3482  *
3483  * Set the current element in the iterator to the last element.
3484  * The member rem is set to 0. The member data points to the
3485  * last element.
3486  */
3487 xcb_generic_iterator_t
3488 xcb_xkb_overlay_behavior_end (xcb_xkb_overlay_behavior_iterator_t i  /**< */);
3489 
3490 /**
3491  * Get the next element of the iterator
3492  * @param i Pointer to a xcb_xkb_permament_lock_behavior_iterator_t
3493  *
3494  * Get the next element in the iterator. The member rem is
3495  * decreased by one. The member data points to the next
3496  * element. The member index is increased by sizeof(xcb_xkb_permament_lock_behavior_t)
3497  */
3498 void
3499 xcb_xkb_permament_lock_behavior_next (xcb_xkb_permament_lock_behavior_iterator_t *i  /**< */);
3500 
3501 /**
3502  * Return the iterator pointing to the last element
3503  * @param i An xcb_xkb_permament_lock_behavior_iterator_t
3504  * @return  The iterator pointing to the last element
3505  *
3506  * Set the current element in the iterator to the last element.
3507  * The member rem is set to 0. The member data points to the
3508  * last element.
3509  */
3510 xcb_generic_iterator_t
3511 xcb_xkb_permament_lock_behavior_end (xcb_xkb_permament_lock_behavior_iterator_t i  /**< */);
3512 
3513 /**
3514  * Get the next element of the iterator
3515  * @param i Pointer to a xcb_xkb_permament_radio_group_behavior_iterator_t
3516  *
3517  * Get the next element in the iterator. The member rem is
3518  * decreased by one. The member data points to the next
3519  * element. The member index is increased by sizeof(xcb_xkb_permament_radio_group_behavior_t)
3520  */
3521 void
3522 xcb_xkb_permament_radio_group_behavior_next (xcb_xkb_permament_radio_group_behavior_iterator_t *i  /**< */);
3523 
3524 /**
3525  * Return the iterator pointing to the last element
3526  * @param i An xcb_xkb_permament_radio_group_behavior_iterator_t
3527  * @return  The iterator pointing to the last element
3528  *
3529  * Set the current element in the iterator to the last element.
3530  * The member rem is set to 0. The member data points to the
3531  * last element.
3532  */
3533 xcb_generic_iterator_t
3534 xcb_xkb_permament_radio_group_behavior_end (xcb_xkb_permament_radio_group_behavior_iterator_t i  /**< */);
3535 
3536 /**
3537  * Get the next element of the iterator
3538  * @param i Pointer to a xcb_xkb_permament_overlay_behavior_iterator_t
3539  *
3540  * Get the next element in the iterator. The member rem is
3541  * decreased by one. The member data points to the next
3542  * element. The member index is increased by sizeof(xcb_xkb_permament_overlay_behavior_t)
3543  */
3544 void
3545 xcb_xkb_permament_overlay_behavior_next (xcb_xkb_permament_overlay_behavior_iterator_t *i  /**< */);
3546 
3547 /**
3548  * Return the iterator pointing to the last element
3549  * @param i An xcb_xkb_permament_overlay_behavior_iterator_t
3550  * @return  The iterator pointing to the last element
3551  *
3552  * Set the current element in the iterator to the last element.
3553  * The member rem is set to 0. The member data points to the
3554  * last element.
3555  */
3556 xcb_generic_iterator_t
3557 xcb_xkb_permament_overlay_behavior_end (xcb_xkb_permament_overlay_behavior_iterator_t i  /**< */);
3558 
3559 /**
3560  * Get the next element of the iterator
3561  * @param i Pointer to a xcb_xkb_behavior_iterator_t
3562  *
3563  * Get the next element in the iterator. The member rem is
3564  * decreased by one. The member data points to the next
3565  * element. The member index is increased by sizeof(xcb_xkb_behavior_t)
3566  */
3567 void
3568 xcb_xkb_behavior_next (xcb_xkb_behavior_iterator_t *i  /**< */);
3569 
3570 /**
3571  * Return the iterator pointing to the last element
3572  * @param i An xcb_xkb_behavior_iterator_t
3573  * @return  The iterator pointing to the last element
3574  *
3575  * Set the current element in the iterator to the last element.
3576  * The member rem is set to 0. The member data points to the
3577  * last element.
3578  */
3579 xcb_generic_iterator_t
3580 xcb_xkb_behavior_end (xcb_xkb_behavior_iterator_t i  /**< */);
3581 
3582 /**
3583  * Get the next element of the iterator
3584  * @param i Pointer to a xcb_xkb_set_behavior_iterator_t
3585  *
3586  * Get the next element in the iterator. The member rem is
3587  * decreased by one. The member data points to the next
3588  * element. The member index is increased by sizeof(xcb_xkb_set_behavior_t)
3589  */
3590 void
3591 xcb_xkb_set_behavior_next (xcb_xkb_set_behavior_iterator_t *i  /**< */);
3592 
3593 /**
3594  * Return the iterator pointing to the last element
3595  * @param i An xcb_xkb_set_behavior_iterator_t
3596  * @return  The iterator pointing to the last element
3597  *
3598  * Set the current element in the iterator to the last element.
3599  * The member rem is set to 0. The member data points to the
3600  * last element.
3601  */
3602 xcb_generic_iterator_t
3603 xcb_xkb_set_behavior_end (xcb_xkb_set_behavior_iterator_t i  /**< */);
3604 
3605 /**
3606  * Get the next element of the iterator
3607  * @param i Pointer to a xcb_xkb_set_explicit_iterator_t
3608  *
3609  * Get the next element in the iterator. The member rem is
3610  * decreased by one. The member data points to the next
3611  * element. The member index is increased by sizeof(xcb_xkb_set_explicit_t)
3612  */
3613 void
3614 xcb_xkb_set_explicit_next (xcb_xkb_set_explicit_iterator_t *i  /**< */);
3615 
3616 /**
3617  * Return the iterator pointing to the last element
3618  * @param i An xcb_xkb_set_explicit_iterator_t
3619  * @return  The iterator pointing to the last element
3620  *
3621  * Set the current element in the iterator to the last element.
3622  * The member rem is set to 0. The member data points to the
3623  * last element.
3624  */
3625 xcb_generic_iterator_t
3626 xcb_xkb_set_explicit_end (xcb_xkb_set_explicit_iterator_t i  /**< */);
3627 
3628 /**
3629  * Get the next element of the iterator
3630  * @param i Pointer to a xcb_xkb_key_mod_map_iterator_t
3631  *
3632  * Get the next element in the iterator. The member rem is
3633  * decreased by one. The member data points to the next
3634  * element. The member index is increased by sizeof(xcb_xkb_key_mod_map_t)
3635  */
3636 void
3637 xcb_xkb_key_mod_map_next (xcb_xkb_key_mod_map_iterator_t *i  /**< */);
3638 
3639 /**
3640  * Return the iterator pointing to the last element
3641  * @param i An xcb_xkb_key_mod_map_iterator_t
3642  * @return  The iterator pointing to the last element
3643  *
3644  * Set the current element in the iterator to the last element.
3645  * The member rem is set to 0. The member data points to the
3646  * last element.
3647  */
3648 xcb_generic_iterator_t
3649 xcb_xkb_key_mod_map_end (xcb_xkb_key_mod_map_iterator_t i  /**< */);
3650 
3651 /**
3652  * Get the next element of the iterator
3653  * @param i Pointer to a xcb_xkb_key_v_mod_map_iterator_t
3654  *
3655  * Get the next element in the iterator. The member rem is
3656  * decreased by one. The member data points to the next
3657  * element. The member index is increased by sizeof(xcb_xkb_key_v_mod_map_t)
3658  */
3659 void
3660 xcb_xkb_key_v_mod_map_next (xcb_xkb_key_v_mod_map_iterator_t *i  /**< */);
3661 
3662 /**
3663  * Return the iterator pointing to the last element
3664  * @param i An xcb_xkb_key_v_mod_map_iterator_t
3665  * @return  The iterator pointing to the last element
3666  *
3667  * Set the current element in the iterator to the last element.
3668  * The member rem is set to 0. The member data points to the
3669  * last element.
3670  */
3671 xcb_generic_iterator_t
3672 xcb_xkb_key_v_mod_map_end (xcb_xkb_key_v_mod_map_iterator_t i  /**< */);
3673 
3674 /**
3675  * Get the next element of the iterator
3676  * @param i Pointer to a xcb_xkb_kt_set_map_entry_iterator_t
3677  *
3678  * Get the next element in the iterator. The member rem is
3679  * decreased by one. The member data points to the next
3680  * element. The member index is increased by sizeof(xcb_xkb_kt_set_map_entry_t)
3681  */
3682 void
3683 xcb_xkb_kt_set_map_entry_next (xcb_xkb_kt_set_map_entry_iterator_t *i  /**< */);
3684 
3685 /**
3686  * Return the iterator pointing to the last element
3687  * @param i An xcb_xkb_kt_set_map_entry_iterator_t
3688  * @return  The iterator pointing to the last element
3689  *
3690  * Set the current element in the iterator to the last element.
3691  * The member rem is set to 0. The member data points to the
3692  * last element.
3693  */
3694 xcb_generic_iterator_t
3695 xcb_xkb_kt_set_map_entry_end (xcb_xkb_kt_set_map_entry_iterator_t i  /**< */);
3696 
3697 int
3698 xcb_xkb_set_key_type_sizeof (const void  *_buffer  /**< */);
3699 
3700 xcb_xkb_kt_set_map_entry_t *
3701 xcb_xkb_set_key_type_entries (const xcb_xkb_set_key_type_t *R  /**< */);
3702 
3703 int
3704 xcb_xkb_set_key_type_entries_length (const xcb_xkb_set_key_type_t *R  /**< */);
3705 
3706 xcb_xkb_kt_set_map_entry_iterator_t
3707 xcb_xkb_set_key_type_entries_iterator (const xcb_xkb_set_key_type_t *R  /**< */);
3708 
3709 xcb_xkb_kt_set_map_entry_t *
3710 xcb_xkb_set_key_type_preserve_entries (const xcb_xkb_set_key_type_t *R  /**< */);
3711 
3712 int
3713 xcb_xkb_set_key_type_preserve_entries_length (const xcb_xkb_set_key_type_t *R  /**< */);
3714 
3715 xcb_xkb_kt_set_map_entry_iterator_t
3716 xcb_xkb_set_key_type_preserve_entries_iterator (const xcb_xkb_set_key_type_t *R  /**< */);
3717 
3718 /**
3719  * Get the next element of the iterator
3720  * @param i Pointer to a xcb_xkb_set_key_type_iterator_t
3721  *
3722  * Get the next element in the iterator. The member rem is
3723  * decreased by one. The member data points to the next
3724  * element. The member index is increased by sizeof(xcb_xkb_set_key_type_t)
3725  */
3726 void
3727 xcb_xkb_set_key_type_next (xcb_xkb_set_key_type_iterator_t *i  /**< */);
3728 
3729 /**
3730  * Return the iterator pointing to the last element
3731  * @param i An xcb_xkb_set_key_type_iterator_t
3732  * @return  The iterator pointing to the last element
3733  *
3734  * Set the current element in the iterator to the last element.
3735  * The member rem is set to 0. The member data points to the
3736  * last element.
3737  */
3738 xcb_generic_iterator_t
3739 xcb_xkb_set_key_type_end (xcb_xkb_set_key_type_iterator_t i  /**< */);
3740 
3741 /**
3742  * Get the next element of the iterator
3743  * @param i Pointer to a xcb_xkb_string8_iterator_t
3744  *
3745  * Get the next element in the iterator. The member rem is
3746  * decreased by one. The member data points to the next
3747  * element. The member index is increased by sizeof(xcb_xkb_string8_t)
3748  */
3749 void
3750 xcb_xkb_string8_next (xcb_xkb_string8_iterator_t *i  /**< */);
3751 
3752 /**
3753  * Return the iterator pointing to the last element
3754  * @param i An xcb_xkb_string8_iterator_t
3755  * @return  The iterator pointing to the last element
3756  *
3757  * Set the current element in the iterator to the last element.
3758  * The member rem is set to 0. The member data points to the
3759  * last element.
3760  */
3761 xcb_generic_iterator_t
3762 xcb_xkb_string8_end (xcb_xkb_string8_iterator_t i  /**< */);
3763 
3764 int
3765 xcb_xkb_outline_sizeof (const void  *_buffer  /**< */);
3766 
3767 xcb_point_t *
3768 xcb_xkb_outline_points (const xcb_xkb_outline_t *R  /**< */);
3769 
3770 int
3771 xcb_xkb_outline_points_length (const xcb_xkb_outline_t *R  /**< */);
3772 
3773 xcb_point_iterator_t
3774 xcb_xkb_outline_points_iterator (const xcb_xkb_outline_t *R  /**< */);
3775 
3776 /**
3777  * Get the next element of the iterator
3778  * @param i Pointer to a xcb_xkb_outline_iterator_t
3779  *
3780  * Get the next element in the iterator. The member rem is
3781  * decreased by one. The member data points to the next
3782  * element. The member index is increased by sizeof(xcb_xkb_outline_t)
3783  */
3784 void
3785 xcb_xkb_outline_next (xcb_xkb_outline_iterator_t *i  /**< */);
3786 
3787 /**
3788  * Return the iterator pointing to the last element
3789  * @param i An xcb_xkb_outline_iterator_t
3790  * @return  The iterator pointing to the last element
3791  *
3792  * Set the current element in the iterator to the last element.
3793  * The member rem is set to 0. The member data points to the
3794  * last element.
3795  */
3796 xcb_generic_iterator_t
3797 xcb_xkb_outline_end (xcb_xkb_outline_iterator_t i  /**< */);
3798 
3799 int
3800 xcb_xkb_shape_sizeof (const void  *_buffer  /**< */);
3801 
3802 int
3803 xcb_xkb_shape_outlines_length (const xcb_xkb_shape_t *R  /**< */);
3804 
3805 xcb_xkb_outline_iterator_t
3806 xcb_xkb_shape_outlines_iterator (const xcb_xkb_shape_t *R  /**< */);
3807 
3808 /**
3809  * Get the next element of the iterator
3810  * @param i Pointer to a xcb_xkb_shape_iterator_t
3811  *
3812  * Get the next element in the iterator. The member rem is
3813  * decreased by one. The member data points to the next
3814  * element. The member index is increased by sizeof(xcb_xkb_shape_t)
3815  */
3816 void
3817 xcb_xkb_shape_next (xcb_xkb_shape_iterator_t *i  /**< */);
3818 
3819 /**
3820  * Return the iterator pointing to the last element
3821  * @param i An xcb_xkb_shape_iterator_t
3822  * @return  The iterator pointing to the last element
3823  *
3824  * Set the current element in the iterator to the last element.
3825  * The member rem is set to 0. The member data points to the
3826  * last element.
3827  */
3828 xcb_generic_iterator_t
3829 xcb_xkb_shape_end (xcb_xkb_shape_iterator_t i  /**< */);
3830 
3831 /**
3832  * Get the next element of the iterator
3833  * @param i Pointer to a xcb_xkb_key_iterator_t
3834  *
3835  * Get the next element in the iterator. The member rem is
3836  * decreased by one. The member data points to the next
3837  * element. The member index is increased by sizeof(xcb_xkb_key_t)
3838  */
3839 void
3840 xcb_xkb_key_next (xcb_xkb_key_iterator_t *i  /**< */);
3841 
3842 /**
3843  * Return the iterator pointing to the last element
3844  * @param i An xcb_xkb_key_iterator_t
3845  * @return  The iterator pointing to the last element
3846  *
3847  * Set the current element in the iterator to the last element.
3848  * The member rem is set to 0. The member data points to the
3849  * last element.
3850  */
3851 xcb_generic_iterator_t
3852 xcb_xkb_key_end (xcb_xkb_key_iterator_t i  /**< */);
3853 
3854 /**
3855  * Get the next element of the iterator
3856  * @param i Pointer to a xcb_xkb_overlay_key_iterator_t
3857  *
3858  * Get the next element in the iterator. The member rem is
3859  * decreased by one. The member data points to the next
3860  * element. The member index is increased by sizeof(xcb_xkb_overlay_key_t)
3861  */
3862 void
3863 xcb_xkb_overlay_key_next (xcb_xkb_overlay_key_iterator_t *i  /**< */);
3864 
3865 /**
3866  * Return the iterator pointing to the last element
3867  * @param i An xcb_xkb_overlay_key_iterator_t
3868  * @return  The iterator pointing to the last element
3869  *
3870  * Set the current element in the iterator to the last element.
3871  * The member rem is set to 0. The member data points to the
3872  * last element.
3873  */
3874 xcb_generic_iterator_t
3875 xcb_xkb_overlay_key_end (xcb_xkb_overlay_key_iterator_t i  /**< */);
3876 
3877 int
3878 xcb_xkb_overlay_row_sizeof (const void  *_buffer  /**< */);
3879 
3880 xcb_xkb_overlay_key_t *
3881 xcb_xkb_overlay_row_keys (const xcb_xkb_overlay_row_t *R  /**< */);
3882 
3883 int
3884 xcb_xkb_overlay_row_keys_length (const xcb_xkb_overlay_row_t *R  /**< */);
3885 
3886 xcb_xkb_overlay_key_iterator_t
3887 xcb_xkb_overlay_row_keys_iterator (const xcb_xkb_overlay_row_t *R  /**< */);
3888 
3889 /**
3890  * Get the next element of the iterator
3891  * @param i Pointer to a xcb_xkb_overlay_row_iterator_t
3892  *
3893  * Get the next element in the iterator. The member rem is
3894  * decreased by one. The member data points to the next
3895  * element. The member index is increased by sizeof(xcb_xkb_overlay_row_t)
3896  */
3897 void
3898 xcb_xkb_overlay_row_next (xcb_xkb_overlay_row_iterator_t *i  /**< */);
3899 
3900 /**
3901  * Return the iterator pointing to the last element
3902  * @param i An xcb_xkb_overlay_row_iterator_t
3903  * @return  The iterator pointing to the last element
3904  *
3905  * Set the current element in the iterator to the last element.
3906  * The member rem is set to 0. The member data points to the
3907  * last element.
3908  */
3909 xcb_generic_iterator_t
3910 xcb_xkb_overlay_row_end (xcb_xkb_overlay_row_iterator_t i  /**< */);
3911 
3912 int
3913 xcb_xkb_overlay_sizeof (const void  *_buffer  /**< */);
3914 
3915 int
3916 xcb_xkb_overlay_rows_length (const xcb_xkb_overlay_t *R  /**< */);
3917 
3918 xcb_xkb_overlay_row_iterator_t
3919 xcb_xkb_overlay_rows_iterator (const xcb_xkb_overlay_t *R  /**< */);
3920 
3921 /**
3922  * Get the next element of the iterator
3923  * @param i Pointer to a xcb_xkb_overlay_iterator_t
3924  *
3925  * Get the next element in the iterator. The member rem is
3926  * decreased by one. The member data points to the next
3927  * element. The member index is increased by sizeof(xcb_xkb_overlay_t)
3928  */
3929 void
3930 xcb_xkb_overlay_next (xcb_xkb_overlay_iterator_t *i  /**< */);
3931 
3932 /**
3933  * Return the iterator pointing to the last element
3934  * @param i An xcb_xkb_overlay_iterator_t
3935  * @return  The iterator pointing to the last element
3936  *
3937  * Set the current element in the iterator to the last element.
3938  * The member rem is set to 0. The member data points to the
3939  * last element.
3940  */
3941 xcb_generic_iterator_t
3942 xcb_xkb_overlay_end (xcb_xkb_overlay_iterator_t i  /**< */);
3943 
3944 int
3945 xcb_xkb_row_sizeof (const void  *_buffer  /**< */);
3946 
3947 xcb_xkb_key_t *
3948 xcb_xkb_row_keys (const xcb_xkb_row_t *R  /**< */);
3949 
3950 int
3951 xcb_xkb_row_keys_length (const xcb_xkb_row_t *R  /**< */);
3952 
3953 xcb_xkb_key_iterator_t
3954 xcb_xkb_row_keys_iterator (const xcb_xkb_row_t *R  /**< */);
3955 
3956 /**
3957  * Get the next element of the iterator
3958  * @param i Pointer to a xcb_xkb_row_iterator_t
3959  *
3960  * Get the next element in the iterator. The member rem is
3961  * decreased by one. The member data points to the next
3962  * element. The member index is increased by sizeof(xcb_xkb_row_t)
3963  */
3964 void
3965 xcb_xkb_row_next (xcb_xkb_row_iterator_t *i  /**< */);
3966 
3967 /**
3968  * Return the iterator pointing to the last element
3969  * @param i An xcb_xkb_row_iterator_t
3970  * @return  The iterator pointing to the last element
3971  *
3972  * Set the current element in the iterator to the last element.
3973  * The member rem is set to 0. The member data points to the
3974  * last element.
3975  */
3976 xcb_generic_iterator_t
3977 xcb_xkb_row_end (xcb_xkb_row_iterator_t i  /**< */);
3978 
3979 int
3980 xcb_xkb_listing_sizeof (const void  *_buffer  /**< */);
3981 
3982 xcb_xkb_string8_t *
3983 xcb_xkb_listing_string (const xcb_xkb_listing_t *R  /**< */);
3984 
3985 int
3986 xcb_xkb_listing_string_length (const xcb_xkb_listing_t *R  /**< */);
3987 
3988 xcb_generic_iterator_t
3989 xcb_xkb_listing_string_end (const xcb_xkb_listing_t *R  /**< */);
3990 
3991 /**
3992  * Get the next element of the iterator
3993  * @param i Pointer to a xcb_xkb_listing_iterator_t
3994  *
3995  * Get the next element in the iterator. The member rem is
3996  * decreased by one. The member data points to the next
3997  * element. The member index is increased by sizeof(xcb_xkb_listing_t)
3998  */
3999 void
4000 xcb_xkb_listing_next (xcb_xkb_listing_iterator_t *i  /**< */);
4001 
4002 /**
4003  * Return the iterator pointing to the last element
4004  * @param i An xcb_xkb_listing_iterator_t
4005  * @return  The iterator pointing to the last element
4006  *
4007  * Set the current element in the iterator to the last element.
4008  * The member rem is set to 0. The member data points to the
4009  * last element.
4010  */
4011 xcb_generic_iterator_t
4012 xcb_xkb_listing_end (xcb_xkb_listing_iterator_t i  /**< */);
4013 
4014 int
4015 xcb_xkb_device_led_info_sizeof (const void  *_buffer  /**< */);
4016 
4017 xcb_atom_t *
4018 xcb_xkb_device_led_info_names (const xcb_xkb_device_led_info_t *R  /**< */);
4019 
4020 int
4021 xcb_xkb_device_led_info_names_length (const xcb_xkb_device_led_info_t *R  /**< */);
4022 
4023 xcb_generic_iterator_t
4024 xcb_xkb_device_led_info_names_end (const xcb_xkb_device_led_info_t *R  /**< */);
4025 
4026 xcb_xkb_indicator_map_t *
4027 xcb_xkb_device_led_info_maps (const xcb_xkb_device_led_info_t *R  /**< */);
4028 
4029 int
4030 xcb_xkb_device_led_info_maps_length (const xcb_xkb_device_led_info_t *R  /**< */);
4031 
4032 xcb_xkb_indicator_map_iterator_t
4033 xcb_xkb_device_led_info_maps_iterator (const xcb_xkb_device_led_info_t *R  /**< */);
4034 
4035 /**
4036  * Get the next element of the iterator
4037  * @param i Pointer to a xcb_xkb_device_led_info_iterator_t
4038  *
4039  * Get the next element in the iterator. The member rem is
4040  * decreased by one. The member data points to the next
4041  * element. The member index is increased by sizeof(xcb_xkb_device_led_info_t)
4042  */
4043 void
4044 xcb_xkb_device_led_info_next (xcb_xkb_device_led_info_iterator_t *i  /**< */);
4045 
4046 /**
4047  * Return the iterator pointing to the last element
4048  * @param i An xcb_xkb_device_led_info_iterator_t
4049  * @return  The iterator pointing to the last element
4050  *
4051  * Set the current element in the iterator to the last element.
4052  * The member rem is set to 0. The member data points to the
4053  * last element.
4054  */
4055 xcb_generic_iterator_t
4056 xcb_xkb_device_led_info_end (xcb_xkb_device_led_info_iterator_t i  /**< */);
4057 
4058 /**
4059  * Get the next element of the iterator
4060  * @param i Pointer to a xcb_xkb_sa_no_action_iterator_t
4061  *
4062  * Get the next element in the iterator. The member rem is
4063  * decreased by one. The member data points to the next
4064  * element. The member index is increased by sizeof(xcb_xkb_sa_no_action_t)
4065  */
4066 void
4067 xcb_xkb_sa_no_action_next (xcb_xkb_sa_no_action_iterator_t *i  /**< */);
4068 
4069 /**
4070  * Return the iterator pointing to the last element
4071  * @param i An xcb_xkb_sa_no_action_iterator_t
4072  * @return  The iterator pointing to the last element
4073  *
4074  * Set the current element in the iterator to the last element.
4075  * The member rem is set to 0. The member data points to the
4076  * last element.
4077  */
4078 xcb_generic_iterator_t
4079 xcb_xkb_sa_no_action_end (xcb_xkb_sa_no_action_iterator_t i  /**< */);
4080 
4081 /**
4082  * Get the next element of the iterator
4083  * @param i Pointer to a xcb_xkb_sa_set_mods_iterator_t
4084  *
4085  * Get the next element in the iterator. The member rem is
4086  * decreased by one. The member data points to the next
4087  * element. The member index is increased by sizeof(xcb_xkb_sa_set_mods_t)
4088  */
4089 void
4090 xcb_xkb_sa_set_mods_next (xcb_xkb_sa_set_mods_iterator_t *i  /**< */);
4091 
4092 /**
4093  * Return the iterator pointing to the last element
4094  * @param i An xcb_xkb_sa_set_mods_iterator_t
4095  * @return  The iterator pointing to the last element
4096  *
4097  * Set the current element in the iterator to the last element.
4098  * The member rem is set to 0. The member data points to the
4099  * last element.
4100  */
4101 xcb_generic_iterator_t
4102 xcb_xkb_sa_set_mods_end (xcb_xkb_sa_set_mods_iterator_t i  /**< */);
4103 
4104 /**
4105  * Get the next element of the iterator
4106  * @param i Pointer to a xcb_xkb_sa_latch_mods_iterator_t
4107  *
4108  * Get the next element in the iterator. The member rem is
4109  * decreased by one. The member data points to the next
4110  * element. The member index is increased by sizeof(xcb_xkb_sa_latch_mods_t)
4111  */
4112 void
4113 xcb_xkb_sa_latch_mods_next (xcb_xkb_sa_latch_mods_iterator_t *i  /**< */);
4114 
4115 /**
4116  * Return the iterator pointing to the last element
4117  * @param i An xcb_xkb_sa_latch_mods_iterator_t
4118  * @return  The iterator pointing to the last element
4119  *
4120  * Set the current element in the iterator to the last element.
4121  * The member rem is set to 0. The member data points to the
4122  * last element.
4123  */
4124 xcb_generic_iterator_t
4125 xcb_xkb_sa_latch_mods_end (xcb_xkb_sa_latch_mods_iterator_t i  /**< */);
4126 
4127 /**
4128  * Get the next element of the iterator
4129  * @param i Pointer to a xcb_xkb_sa_lock_mods_iterator_t
4130  *
4131  * Get the next element in the iterator. The member rem is
4132  * decreased by one. The member data points to the next
4133  * element. The member index is increased by sizeof(xcb_xkb_sa_lock_mods_t)
4134  */
4135 void
4136 xcb_xkb_sa_lock_mods_next (xcb_xkb_sa_lock_mods_iterator_t *i  /**< */);
4137 
4138 /**
4139  * Return the iterator pointing to the last element
4140  * @param i An xcb_xkb_sa_lock_mods_iterator_t
4141  * @return  The iterator pointing to the last element
4142  *
4143  * Set the current element in the iterator to the last element.
4144  * The member rem is set to 0. The member data points to the
4145  * last element.
4146  */
4147 xcb_generic_iterator_t
4148 xcb_xkb_sa_lock_mods_end (xcb_xkb_sa_lock_mods_iterator_t i  /**< */);
4149 
4150 /**
4151  * Get the next element of the iterator
4152  * @param i Pointer to a xcb_xkb_sa_set_group_iterator_t
4153  *
4154  * Get the next element in the iterator. The member rem is
4155  * decreased by one. The member data points to the next
4156  * element. The member index is increased by sizeof(xcb_xkb_sa_set_group_t)
4157  */
4158 void
4159 xcb_xkb_sa_set_group_next (xcb_xkb_sa_set_group_iterator_t *i  /**< */);
4160 
4161 /**
4162  * Return the iterator pointing to the last element
4163  * @param i An xcb_xkb_sa_set_group_iterator_t
4164  * @return  The iterator pointing to the last element
4165  *
4166  * Set the current element in the iterator to the last element.
4167  * The member rem is set to 0. The member data points to the
4168  * last element.
4169  */
4170 xcb_generic_iterator_t
4171 xcb_xkb_sa_set_group_end (xcb_xkb_sa_set_group_iterator_t i  /**< */);
4172 
4173 /**
4174  * Get the next element of the iterator
4175  * @param i Pointer to a xcb_xkb_sa_latch_group_iterator_t
4176  *
4177  * Get the next element in the iterator. The member rem is
4178  * decreased by one. The member data points to the next
4179  * element. The member index is increased by sizeof(xcb_xkb_sa_latch_group_t)
4180  */
4181 void
4182 xcb_xkb_sa_latch_group_next (xcb_xkb_sa_latch_group_iterator_t *i  /**< */);
4183 
4184 /**
4185  * Return the iterator pointing to the last element
4186  * @param i An xcb_xkb_sa_latch_group_iterator_t
4187  * @return  The iterator pointing to the last element
4188  *
4189  * Set the current element in the iterator to the last element.
4190  * The member rem is set to 0. The member data points to the
4191  * last element.
4192  */
4193 xcb_generic_iterator_t
4194 xcb_xkb_sa_latch_group_end (xcb_xkb_sa_latch_group_iterator_t i  /**< */);
4195 
4196 /**
4197  * Get the next element of the iterator
4198  * @param i Pointer to a xcb_xkb_sa_lock_group_iterator_t
4199  *
4200  * Get the next element in the iterator. The member rem is
4201  * decreased by one. The member data points to the next
4202  * element. The member index is increased by sizeof(xcb_xkb_sa_lock_group_t)
4203  */
4204 void
4205 xcb_xkb_sa_lock_group_next (xcb_xkb_sa_lock_group_iterator_t *i  /**< */);
4206 
4207 /**
4208  * Return the iterator pointing to the last element
4209  * @param i An xcb_xkb_sa_lock_group_iterator_t
4210  * @return  The iterator pointing to the last element
4211  *
4212  * Set the current element in the iterator to the last element.
4213  * The member rem is set to 0. The member data points to the
4214  * last element.
4215  */
4216 xcb_generic_iterator_t
4217 xcb_xkb_sa_lock_group_end (xcb_xkb_sa_lock_group_iterator_t i  /**< */);
4218 
4219 /**
4220  * Get the next element of the iterator
4221  * @param i Pointer to a xcb_xkb_sa_move_ptr_iterator_t
4222  *
4223  * Get the next element in the iterator. The member rem is
4224  * decreased by one. The member data points to the next
4225  * element. The member index is increased by sizeof(xcb_xkb_sa_move_ptr_t)
4226  */
4227 void
4228 xcb_xkb_sa_move_ptr_next (xcb_xkb_sa_move_ptr_iterator_t *i  /**< */);
4229 
4230 /**
4231  * Return the iterator pointing to the last element
4232  * @param i An xcb_xkb_sa_move_ptr_iterator_t
4233  * @return  The iterator pointing to the last element
4234  *
4235  * Set the current element in the iterator to the last element.
4236  * The member rem is set to 0. The member data points to the
4237  * last element.
4238  */
4239 xcb_generic_iterator_t
4240 xcb_xkb_sa_move_ptr_end (xcb_xkb_sa_move_ptr_iterator_t i  /**< */);
4241 
4242 /**
4243  * Get the next element of the iterator
4244  * @param i Pointer to a xcb_xkb_sa_ptr_btn_iterator_t
4245  *
4246  * Get the next element in the iterator. The member rem is
4247  * decreased by one. The member data points to the next
4248  * element. The member index is increased by sizeof(xcb_xkb_sa_ptr_btn_t)
4249  */
4250 void
4251 xcb_xkb_sa_ptr_btn_next (xcb_xkb_sa_ptr_btn_iterator_t *i  /**< */);
4252 
4253 /**
4254  * Return the iterator pointing to the last element
4255  * @param i An xcb_xkb_sa_ptr_btn_iterator_t
4256  * @return  The iterator pointing to the last element
4257  *
4258  * Set the current element in the iterator to the last element.
4259  * The member rem is set to 0. The member data points to the
4260  * last element.
4261  */
4262 xcb_generic_iterator_t
4263 xcb_xkb_sa_ptr_btn_end (xcb_xkb_sa_ptr_btn_iterator_t i  /**< */);
4264 
4265 /**
4266  * Get the next element of the iterator
4267  * @param i Pointer to a xcb_xkb_sa_lock_ptr_btn_iterator_t
4268  *
4269  * Get the next element in the iterator. The member rem is
4270  * decreased by one. The member data points to the next
4271  * element. The member index is increased by sizeof(xcb_xkb_sa_lock_ptr_btn_t)
4272  */
4273 void
4274 xcb_xkb_sa_lock_ptr_btn_next (xcb_xkb_sa_lock_ptr_btn_iterator_t *i  /**< */);
4275 
4276 /**
4277  * Return the iterator pointing to the last element
4278  * @param i An xcb_xkb_sa_lock_ptr_btn_iterator_t
4279  * @return  The iterator pointing to the last element
4280  *
4281  * Set the current element in the iterator to the last element.
4282  * The member rem is set to 0. The member data points to the
4283  * last element.
4284  */
4285 xcb_generic_iterator_t
4286 xcb_xkb_sa_lock_ptr_btn_end (xcb_xkb_sa_lock_ptr_btn_iterator_t i  /**< */);
4287 
4288 /**
4289  * Get the next element of the iterator
4290  * @param i Pointer to a xcb_xkb_sa_set_ptr_dflt_iterator_t
4291  *
4292  * Get the next element in the iterator. The member rem is
4293  * decreased by one. The member data points to the next
4294  * element. The member index is increased by sizeof(xcb_xkb_sa_set_ptr_dflt_t)
4295  */
4296 void
4297 xcb_xkb_sa_set_ptr_dflt_next (xcb_xkb_sa_set_ptr_dflt_iterator_t *i  /**< */);
4298 
4299 /**
4300  * Return the iterator pointing to the last element
4301  * @param i An xcb_xkb_sa_set_ptr_dflt_iterator_t
4302  * @return  The iterator pointing to the last element
4303  *
4304  * Set the current element in the iterator to the last element.
4305  * The member rem is set to 0. The member data points to the
4306  * last element.
4307  */
4308 xcb_generic_iterator_t
4309 xcb_xkb_sa_set_ptr_dflt_end (xcb_xkb_sa_set_ptr_dflt_iterator_t i  /**< */);
4310 
4311 /**
4312  * Get the next element of the iterator
4313  * @param i Pointer to a xcb_xkb_sa_iso_lock_iterator_t
4314  *
4315  * Get the next element in the iterator. The member rem is
4316  * decreased by one. The member data points to the next
4317  * element. The member index is increased by sizeof(xcb_xkb_sa_iso_lock_t)
4318  */
4319 void
4320 xcb_xkb_sa_iso_lock_next (xcb_xkb_sa_iso_lock_iterator_t *i  /**< */);
4321 
4322 /**
4323  * Return the iterator pointing to the last element
4324  * @param i An xcb_xkb_sa_iso_lock_iterator_t
4325  * @return  The iterator pointing to the last element
4326  *
4327  * Set the current element in the iterator to the last element.
4328  * The member rem is set to 0. The member data points to the
4329  * last element.
4330  */
4331 xcb_generic_iterator_t
4332 xcb_xkb_sa_iso_lock_end (xcb_xkb_sa_iso_lock_iterator_t i  /**< */);
4333 
4334 /**
4335  * Get the next element of the iterator
4336  * @param i Pointer to a xcb_xkb_sa_terminate_iterator_t
4337  *
4338  * Get the next element in the iterator. The member rem is
4339  * decreased by one. The member data points to the next
4340  * element. The member index is increased by sizeof(xcb_xkb_sa_terminate_t)
4341  */
4342 void
4343 xcb_xkb_sa_terminate_next (xcb_xkb_sa_terminate_iterator_t *i  /**< */);
4344 
4345 /**
4346  * Return the iterator pointing to the last element
4347  * @param i An xcb_xkb_sa_terminate_iterator_t
4348  * @return  The iterator pointing to the last element
4349  *
4350  * Set the current element in the iterator to the last element.
4351  * The member rem is set to 0. The member data points to the
4352  * last element.
4353  */
4354 xcb_generic_iterator_t
4355 xcb_xkb_sa_terminate_end (xcb_xkb_sa_terminate_iterator_t i  /**< */);
4356 
4357 /**
4358  * Get the next element of the iterator
4359  * @param i Pointer to a xcb_xkb_sa_switch_screen_iterator_t
4360  *
4361  * Get the next element in the iterator. The member rem is
4362  * decreased by one. The member data points to the next
4363  * element. The member index is increased by sizeof(xcb_xkb_sa_switch_screen_t)
4364  */
4365 void
4366 xcb_xkb_sa_switch_screen_next (xcb_xkb_sa_switch_screen_iterator_t *i  /**< */);
4367 
4368 /**
4369  * Return the iterator pointing to the last element
4370  * @param i An xcb_xkb_sa_switch_screen_iterator_t
4371  * @return  The iterator pointing to the last element
4372  *
4373  * Set the current element in the iterator to the last element.
4374  * The member rem is set to 0. The member data points to the
4375  * last element.
4376  */
4377 xcb_generic_iterator_t
4378 xcb_xkb_sa_switch_screen_end (xcb_xkb_sa_switch_screen_iterator_t i  /**< */);
4379 
4380 /**
4381  * Get the next element of the iterator
4382  * @param i Pointer to a xcb_xkb_sa_set_controls_iterator_t
4383  *
4384  * Get the next element in the iterator. The member rem is
4385  * decreased by one. The member data points to the next
4386  * element. The member index is increased by sizeof(xcb_xkb_sa_set_controls_t)
4387  */
4388 void
4389 xcb_xkb_sa_set_controls_next (xcb_xkb_sa_set_controls_iterator_t *i  /**< */);
4390 
4391 /**
4392  * Return the iterator pointing to the last element
4393  * @param i An xcb_xkb_sa_set_controls_iterator_t
4394  * @return  The iterator pointing to the last element
4395  *
4396  * Set the current element in the iterator to the last element.
4397  * The member rem is set to 0. The member data points to the
4398  * last element.
4399  */
4400 xcb_generic_iterator_t
4401 xcb_xkb_sa_set_controls_end (xcb_xkb_sa_set_controls_iterator_t i  /**< */);
4402 
4403 /**
4404  * Get the next element of the iterator
4405  * @param i Pointer to a xcb_xkb_sa_lock_controls_iterator_t
4406  *
4407  * Get the next element in the iterator. The member rem is
4408  * decreased by one. The member data points to the next
4409  * element. The member index is increased by sizeof(xcb_xkb_sa_lock_controls_t)
4410  */
4411 void
4412 xcb_xkb_sa_lock_controls_next (xcb_xkb_sa_lock_controls_iterator_t *i  /**< */);
4413 
4414 /**
4415  * Return the iterator pointing to the last element
4416  * @param i An xcb_xkb_sa_lock_controls_iterator_t
4417  * @return  The iterator pointing to the last element
4418  *
4419  * Set the current element in the iterator to the last element.
4420  * The member rem is set to 0. The member data points to the
4421  * last element.
4422  */
4423 xcb_generic_iterator_t
4424 xcb_xkb_sa_lock_controls_end (xcb_xkb_sa_lock_controls_iterator_t i  /**< */);
4425 
4426 /**
4427  * Get the next element of the iterator
4428  * @param i Pointer to a xcb_xkb_sa_action_message_iterator_t
4429  *
4430  * Get the next element in the iterator. The member rem is
4431  * decreased by one. The member data points to the next
4432  * element. The member index is increased by sizeof(xcb_xkb_sa_action_message_t)
4433  */
4434 void
4435 xcb_xkb_sa_action_message_next (xcb_xkb_sa_action_message_iterator_t *i  /**< */);
4436 
4437 /**
4438  * Return the iterator pointing to the last element
4439  * @param i An xcb_xkb_sa_action_message_iterator_t
4440  * @return  The iterator pointing to the last element
4441  *
4442  * Set the current element in the iterator to the last element.
4443  * The member rem is set to 0. The member data points to the
4444  * last element.
4445  */
4446 xcb_generic_iterator_t
4447 xcb_xkb_sa_action_message_end (xcb_xkb_sa_action_message_iterator_t i  /**< */);
4448 
4449 /**
4450  * Get the next element of the iterator
4451  * @param i Pointer to a xcb_xkb_sa_redirect_key_iterator_t
4452  *
4453  * Get the next element in the iterator. The member rem is
4454  * decreased by one. The member data points to the next
4455  * element. The member index is increased by sizeof(xcb_xkb_sa_redirect_key_t)
4456  */
4457 void
4458 xcb_xkb_sa_redirect_key_next (xcb_xkb_sa_redirect_key_iterator_t *i  /**< */);
4459 
4460 /**
4461  * Return the iterator pointing to the last element
4462  * @param i An xcb_xkb_sa_redirect_key_iterator_t
4463  * @return  The iterator pointing to the last element
4464  *
4465  * Set the current element in the iterator to the last element.
4466  * The member rem is set to 0. The member data points to the
4467  * last element.
4468  */
4469 xcb_generic_iterator_t
4470 xcb_xkb_sa_redirect_key_end (xcb_xkb_sa_redirect_key_iterator_t i  /**< */);
4471 
4472 /**
4473  * Get the next element of the iterator
4474  * @param i Pointer to a xcb_xkb_sa_device_btn_iterator_t
4475  *
4476  * Get the next element in the iterator. The member rem is
4477  * decreased by one. The member data points to the next
4478  * element. The member index is increased by sizeof(xcb_xkb_sa_device_btn_t)
4479  */
4480 void
4481 xcb_xkb_sa_device_btn_next (xcb_xkb_sa_device_btn_iterator_t *i  /**< */);
4482 
4483 /**
4484  * Return the iterator pointing to the last element
4485  * @param i An xcb_xkb_sa_device_btn_iterator_t
4486  * @return  The iterator pointing to the last element
4487  *
4488  * Set the current element in the iterator to the last element.
4489  * The member rem is set to 0. The member data points to the
4490  * last element.
4491  */
4492 xcb_generic_iterator_t
4493 xcb_xkb_sa_device_btn_end (xcb_xkb_sa_device_btn_iterator_t i  /**< */);
4494 
4495 /**
4496  * Get the next element of the iterator
4497  * @param i Pointer to a xcb_xkb_sa_lock_device_btn_iterator_t
4498  *
4499  * Get the next element in the iterator. The member rem is
4500  * decreased by one. The member data points to the next
4501  * element. The member index is increased by sizeof(xcb_xkb_sa_lock_device_btn_t)
4502  */
4503 void
4504 xcb_xkb_sa_lock_device_btn_next (xcb_xkb_sa_lock_device_btn_iterator_t *i  /**< */);
4505 
4506 /**
4507  * Return the iterator pointing to the last element
4508  * @param i An xcb_xkb_sa_lock_device_btn_iterator_t
4509  * @return  The iterator pointing to the last element
4510  *
4511  * Set the current element in the iterator to the last element.
4512  * The member rem is set to 0. The member data points to the
4513  * last element.
4514  */
4515 xcb_generic_iterator_t
4516 xcb_xkb_sa_lock_device_btn_end (xcb_xkb_sa_lock_device_btn_iterator_t i  /**< */);
4517 
4518 /**
4519  * Get the next element of the iterator
4520  * @param i Pointer to a xcb_xkb_sa_device_valuator_iterator_t
4521  *
4522  * Get the next element in the iterator. The member rem is
4523  * decreased by one. The member data points to the next
4524  * element. The member index is increased by sizeof(xcb_xkb_sa_device_valuator_t)
4525  */
4526 void
4527 xcb_xkb_sa_device_valuator_next (xcb_xkb_sa_device_valuator_iterator_t *i  /**< */);
4528 
4529 /**
4530  * Return the iterator pointing to the last element
4531  * @param i An xcb_xkb_sa_device_valuator_iterator_t
4532  * @return  The iterator pointing to the last element
4533  *
4534  * Set the current element in the iterator to the last element.
4535  * The member rem is set to 0. The member data points to the
4536  * last element.
4537  */
4538 xcb_generic_iterator_t
4539 xcb_xkb_sa_device_valuator_end (xcb_xkb_sa_device_valuator_iterator_t i  /**< */);
4540 
4541 /**
4542  * Get the next element of the iterator
4543  * @param i Pointer to a xcb_xkb_si_action_iterator_t
4544  *
4545  * Get the next element in the iterator. The member rem is
4546  * decreased by one. The member data points to the next
4547  * element. The member index is increased by sizeof(xcb_xkb_si_action_t)
4548  */
4549 void
4550 xcb_xkb_si_action_next (xcb_xkb_si_action_iterator_t *i  /**< */);
4551 
4552 /**
4553  * Return the iterator pointing to the last element
4554  * @param i An xcb_xkb_si_action_iterator_t
4555  * @return  The iterator pointing to the last element
4556  *
4557  * Set the current element in the iterator to the last element.
4558  * The member rem is set to 0. The member data points to the
4559  * last element.
4560  */
4561 xcb_generic_iterator_t
4562 xcb_xkb_si_action_end (xcb_xkb_si_action_iterator_t i  /**< */);
4563 
4564 /**
4565  * Get the next element of the iterator
4566  * @param i Pointer to a xcb_xkb_sym_interpret_iterator_t
4567  *
4568  * Get the next element in the iterator. The member rem is
4569  * decreased by one. The member data points to the next
4570  * element. The member index is increased by sizeof(xcb_xkb_sym_interpret_t)
4571  */
4572 void
4573 xcb_xkb_sym_interpret_next (xcb_xkb_sym_interpret_iterator_t *i  /**< */);
4574 
4575 /**
4576  * Return the iterator pointing to the last element
4577  * @param i An xcb_xkb_sym_interpret_iterator_t
4578  * @return  The iterator pointing to the last element
4579  *
4580  * Set the current element in the iterator to the last element.
4581  * The member rem is set to 0. The member data points to the
4582  * last element.
4583  */
4584 xcb_generic_iterator_t
4585 xcb_xkb_sym_interpret_end (xcb_xkb_sym_interpret_iterator_t i  /**< */);
4586 
4587 /**
4588  * Get the next element of the iterator
4589  * @param i Pointer to a xcb_xkb_action_iterator_t
4590  *
4591  * Get the next element in the iterator. The member rem is
4592  * decreased by one. The member data points to the next
4593  * element. The member index is increased by sizeof(xcb_xkb_action_t)
4594  */
4595 void
4596 xcb_xkb_action_next (xcb_xkb_action_iterator_t *i  /**< */);
4597 
4598 /**
4599  * Return the iterator pointing to the last element
4600  * @param i An xcb_xkb_action_iterator_t
4601  * @return  The iterator pointing to the last element
4602  *
4603  * Set the current element in the iterator to the last element.
4604  * The member rem is set to 0. The member data points to the
4605  * last element.
4606  */
4607 xcb_generic_iterator_t
4608 xcb_xkb_action_end (xcb_xkb_action_iterator_t i  /**< */);
4609 
4610 /**
4611  *
4612  * @param c The connection
4613  * @return A cookie
4614  *
4615  * Delivers a request to the X server.
4616  *
4617  */
4618 xcb_xkb_use_extension_cookie_t
4619 xcb_xkb_use_extension (xcb_connection_t *c  /**< */,
4620                        uint16_t          wantedMajor  /**< */,
4621                        uint16_t          wantedMinor  /**< */);
4622 
4623 /**
4624  *
4625  * @param c The connection
4626  * @return A cookie
4627  *
4628  * Delivers a request to the X server.
4629  *
4630  * This form can be used only if the request will cause
4631  * a reply to be generated. Any returned error will be
4632  * placed in the event queue.
4633  */
4634 xcb_xkb_use_extension_cookie_t
4635 xcb_xkb_use_extension_unchecked (xcb_connection_t *c  /**< */,
4636                                  uint16_t          wantedMajor  /**< */,
4637                                  uint16_t          wantedMinor  /**< */);
4638 
4639 /**
4640  * Return the reply
4641  * @param c      The connection
4642  * @param cookie The cookie
4643  * @param e      The xcb_generic_error_t supplied
4644  *
4645  * Returns the reply of the request asked by
4646  *
4647  * The parameter @p e supplied to this function must be NULL if
4648  * xcb_xkb_use_extension_unchecked(). is used.
4649  * Otherwise, it stores the error if any.
4650  *
4651  * The returned value must be freed by the caller using free().
4652  */
4653 xcb_xkb_use_extension_reply_t *
4654 xcb_xkb_use_extension_reply (xcb_connection_t                *c  /**< */,
4655                              xcb_xkb_use_extension_cookie_t   cookie  /**< */,
4656                              xcb_generic_error_t            **e  /**< */);
4657 
4658 int
4659 xcb_xkb_select_events_details_serialize (void                                  **_buffer  /**< */,
4660                                          uint16_t                                affectWhich  /**< */,
4661                                          uint16_t                                clear  /**< */,
4662                                          uint16_t                                selectAll  /**< */,
4663                                          const xcb_xkb_select_events_details_t  *_aux  /**< */);
4664 
4665 int
4666 xcb_xkb_select_events_details_unpack (const void                       *_buffer  /**< */,
4667                                       uint16_t                          affectWhich  /**< */,
4668                                       uint16_t                          clear  /**< */,
4669                                       uint16_t                          selectAll  /**< */,
4670                                       xcb_xkb_select_events_details_t  *_aux  /**< */);
4671 
4672 int
4673 xcb_xkb_select_events_details_sizeof (const void  *_buffer  /**< */,
4674                                       uint16_t     affectWhich  /**< */,
4675                                       uint16_t     clear  /**< */,
4676                                       uint16_t     selectAll  /**< */);
4677 
4678 /**
4679  *
4680  * @param c The connection
4681  * @return A cookie
4682  *
4683  * Delivers a request to the X server.
4684  *
4685  * This form can be used only if the request will not cause
4686  * a reply to be generated. Any returned error will be
4687  * saved for handling by xcb_request_check().
4688  */
4689 xcb_void_cookie_t
4690 xcb_xkb_select_events_checked (xcb_connection_t      *c  /**< */,
4691                                xcb_xkb_device_spec_t  deviceSpec  /**< */,
4692                                uint16_t               affectWhich  /**< */,
4693                                uint16_t               clear  /**< */,
4694                                uint16_t               selectAll  /**< */,
4695                                uint16_t               affectMap  /**< */,
4696                                uint16_t               map  /**< */,
4697                                const void            *details  /**< */);
4698 
4699 /**
4700  *
4701  * @param c The connection
4702  * @return A cookie
4703  *
4704  * Delivers a request to the X server.
4705  *
4706  */
4707 xcb_void_cookie_t
4708 xcb_xkb_select_events (xcb_connection_t      *c  /**< */,
4709                        xcb_xkb_device_spec_t  deviceSpec  /**< */,
4710                        uint16_t               affectWhich  /**< */,
4711                        uint16_t               clear  /**< */,
4712                        uint16_t               selectAll  /**< */,
4713                        uint16_t               affectMap  /**< */,
4714                        uint16_t               map  /**< */,
4715                        const void            *details  /**< */);
4716 
4717 /**
4718  *
4719  * @param c The connection
4720  * @return A cookie
4721  *
4722  * Delivers a request to the X server.
4723  *
4724  * This form can be used only if the request will not cause
4725  * a reply to be generated. Any returned error will be
4726  * saved for handling by xcb_request_check().
4727  */
4728 xcb_void_cookie_t
4729 xcb_xkb_select_events_aux_checked (xcb_connection_t                      *c  /**< */,
4730                                    xcb_xkb_device_spec_t                  deviceSpec  /**< */,
4731                                    uint16_t                               affectWhich  /**< */,
4732                                    uint16_t                               clear  /**< */,
4733                                    uint16_t                               selectAll  /**< */,
4734                                    uint16_t                               affectMap  /**< */,
4735                                    uint16_t                               map  /**< */,
4736                                    const xcb_xkb_select_events_details_t *details  /**< */);
4737 
4738 /**
4739  *
4740  * @param c The connection
4741  * @return A cookie
4742  *
4743  * Delivers a request to the X server.
4744  *
4745  */
4746 xcb_void_cookie_t
4747 xcb_xkb_select_events_aux (xcb_connection_t                      *c  /**< */,
4748                            xcb_xkb_device_spec_t                  deviceSpec  /**< */,
4749                            uint16_t                               affectWhich  /**< */,
4750                            uint16_t                               clear  /**< */,
4751                            uint16_t                               selectAll  /**< */,
4752                            uint16_t                               affectMap  /**< */,
4753                            uint16_t                               map  /**< */,
4754                            const xcb_xkb_select_events_details_t *details  /**< */);
4755 
4756 /**
4757  *
4758  * @param c The connection
4759  * @return A cookie
4760  *
4761  * Delivers a request to the X server.
4762  *
4763  * This form can be used only if the request will not cause
4764  * a reply to be generated. Any returned error will be
4765  * saved for handling by xcb_request_check().
4766  */
4767 xcb_void_cookie_t
4768 xcb_xkb_bell_checked (xcb_connection_t          *c  /**< */,
4769                       xcb_xkb_device_spec_t      deviceSpec  /**< */,
4770                       xcb_xkb_bell_class_spec_t  bellClass  /**< */,
4771                       xcb_xkb_id_spec_t          bellID  /**< */,
4772                       int8_t                     percent  /**< */,
4773                       uint8_t                    forceSound  /**< */,
4774                       uint8_t                    eventOnly  /**< */,
4775                       int16_t                    pitch  /**< */,
4776                       int16_t                    duration  /**< */,
4777                       xcb_atom_t                 name  /**< */,
4778                       xcb_window_t               window  /**< */);
4779 
4780 /**
4781  *
4782  * @param c The connection
4783  * @return A cookie
4784  *
4785  * Delivers a request to the X server.
4786  *
4787  */
4788 xcb_void_cookie_t
4789 xcb_xkb_bell (xcb_connection_t          *c  /**< */,
4790               xcb_xkb_device_spec_t      deviceSpec  /**< */,
4791               xcb_xkb_bell_class_spec_t  bellClass  /**< */,
4792               xcb_xkb_id_spec_t          bellID  /**< */,
4793               int8_t                     percent  /**< */,
4794               uint8_t                    forceSound  /**< */,
4795               uint8_t                    eventOnly  /**< */,
4796               int16_t                    pitch  /**< */,
4797               int16_t                    duration  /**< */,
4798               xcb_atom_t                 name  /**< */,
4799               xcb_window_t               window  /**< */);
4800 
4801 /**
4802  *
4803  * @param c The connection
4804  * @return A cookie
4805  *
4806  * Delivers a request to the X server.
4807  *
4808  */
4809 xcb_xkb_get_state_cookie_t
4810 xcb_xkb_get_state (xcb_connection_t      *c  /**< */,
4811                    xcb_xkb_device_spec_t  deviceSpec  /**< */);
4812 
4813 /**
4814  *
4815  * @param c The connection
4816  * @return A cookie
4817  *
4818  * Delivers a request to the X server.
4819  *
4820  * This form can be used only if the request will cause
4821  * a reply to be generated. Any returned error will be
4822  * placed in the event queue.
4823  */
4824 xcb_xkb_get_state_cookie_t
4825 xcb_xkb_get_state_unchecked (xcb_connection_t      *c  /**< */,
4826                              xcb_xkb_device_spec_t  deviceSpec  /**< */);
4827 
4828 /**
4829  * Return the reply
4830  * @param c      The connection
4831  * @param cookie The cookie
4832  * @param e      The xcb_generic_error_t supplied
4833  *
4834  * Returns the reply of the request asked by
4835  *
4836  * The parameter @p e supplied to this function must be NULL if
4837  * xcb_xkb_get_state_unchecked(). is used.
4838  * Otherwise, it stores the error if any.
4839  *
4840  * The returned value must be freed by the caller using free().
4841  */
4842 xcb_xkb_get_state_reply_t *
4843 xcb_xkb_get_state_reply (xcb_connection_t            *c  /**< */,
4844                          xcb_xkb_get_state_cookie_t   cookie  /**< */,
4845                          xcb_generic_error_t        **e  /**< */);
4846 
4847 /**
4848  *
4849  * @param c The connection
4850  * @return A cookie
4851  *
4852  * Delivers a request to the X server.
4853  *
4854  * This form can be used only if the request will not cause
4855  * a reply to be generated. Any returned error will be
4856  * saved for handling by xcb_request_check().
4857  */
4858 xcb_void_cookie_t
4859 xcb_xkb_latch_lock_state_checked (xcb_connection_t      *c  /**< */,
4860                                   xcb_xkb_device_spec_t  deviceSpec  /**< */,
4861                                   uint8_t                affectModLocks  /**< */,
4862                                   uint8_t                modLocks  /**< */,
4863                                   uint8_t                lockGroup  /**< */,
4864                                   uint8_t                groupLock  /**< */,
4865                                   uint8_t                affectModLatches  /**< */,
4866                                   uint8_t                latchGroup  /**< */,
4867                                   uint16_t               groupLatch  /**< */);
4868 
4869 /**
4870  *
4871  * @param c The connection
4872  * @return A cookie
4873  *
4874  * Delivers a request to the X server.
4875  *
4876  */
4877 xcb_void_cookie_t
4878 xcb_xkb_latch_lock_state (xcb_connection_t      *c  /**< */,
4879                           xcb_xkb_device_spec_t  deviceSpec  /**< */,
4880                           uint8_t                affectModLocks  /**< */,
4881                           uint8_t                modLocks  /**< */,
4882                           uint8_t                lockGroup  /**< */,
4883                           uint8_t                groupLock  /**< */,
4884                           uint8_t                affectModLatches  /**< */,
4885                           uint8_t                latchGroup  /**< */,
4886                           uint16_t               groupLatch  /**< */);
4887 
4888 /**
4889  *
4890  * @param c The connection
4891  * @return A cookie
4892  *
4893  * Delivers a request to the X server.
4894  *
4895  */
4896 xcb_xkb_get_controls_cookie_t
4897 xcb_xkb_get_controls (xcb_connection_t      *c  /**< */,
4898                       xcb_xkb_device_spec_t  deviceSpec  /**< */);
4899 
4900 /**
4901  *
4902  * @param c The connection
4903  * @return A cookie
4904  *
4905  * Delivers a request to the X server.
4906  *
4907  * This form can be used only if the request will cause
4908  * a reply to be generated. Any returned error will be
4909  * placed in the event queue.
4910  */
4911 xcb_xkb_get_controls_cookie_t
4912 xcb_xkb_get_controls_unchecked (xcb_connection_t      *c  /**< */,
4913                                 xcb_xkb_device_spec_t  deviceSpec  /**< */);
4914 
4915 /**
4916  * Return the reply
4917  * @param c      The connection
4918  * @param cookie The cookie
4919  * @param e      The xcb_generic_error_t supplied
4920  *
4921  * Returns the reply of the request asked by
4922  *
4923  * The parameter @p e supplied to this function must be NULL if
4924  * xcb_xkb_get_controls_unchecked(). is used.
4925  * Otherwise, it stores the error if any.
4926  *
4927  * The returned value must be freed by the caller using free().
4928  */
4929 xcb_xkb_get_controls_reply_t *
4930 xcb_xkb_get_controls_reply (xcb_connection_t               *c  /**< */,
4931                             xcb_xkb_get_controls_cookie_t   cookie  /**< */,
4932                             xcb_generic_error_t           **e  /**< */);
4933 
4934 /**
4935  *
4936  * @param c The connection
4937  * @return A cookie
4938  *
4939  * Delivers a request to the X server.
4940  *
4941  * This form can be used only if the request will not cause
4942  * a reply to be generated. Any returned error will be
4943  * saved for handling by xcb_request_check().
4944  */
4945 xcb_void_cookie_t
4946 xcb_xkb_set_controls_checked (xcb_connection_t      *c  /**< */,
4947                               xcb_xkb_device_spec_t  deviceSpec  /**< */,
4948                               uint8_t                affectInternalRealMods  /**< */,
4949                               uint8_t                internalRealMods  /**< */,
4950                               uint8_t                affectIgnoreLockRealMods  /**< */,
4951                               uint8_t                ignoreLockRealMods  /**< */,
4952                               uint16_t               affectInternalVirtualMods  /**< */,
4953                               uint16_t               internalVirtualMods  /**< */,
4954                               uint16_t               affectIgnoreLockVirtualMods  /**< */,
4955                               uint16_t               ignoreLockVirtualMods  /**< */,
4956                               uint8_t                mouseKeysDfltBtn  /**< */,
4957                               uint8_t                groupsWrap  /**< */,
4958                               uint16_t               accessXOptions  /**< */,
4959                               uint32_t               affectEnabledControls  /**< */,
4960                               uint32_t               enabledControls  /**< */,
4961                               uint32_t               changeControls  /**< */,
4962                               uint16_t               repeatDelay  /**< */,
4963                               uint16_t               repeatInterval  /**< */,
4964                               uint16_t               slowKeysDelay  /**< */,
4965                               uint16_t               debounceDelay  /**< */,
4966                               uint16_t               mouseKeysDelay  /**< */,
4967                               uint16_t               mouseKeysInterval  /**< */,
4968                               uint16_t               mouseKeysTimeToMax  /**< */,
4969                               uint16_t               mouseKeysMaxSpeed  /**< */,
4970                               int16_t                mouseKeysCurve  /**< */,
4971                               uint16_t               accessXTimeout  /**< */,
4972                               uint32_t               accessXTimeoutMask  /**< */,
4973                               uint32_t               accessXTimeoutValues  /**< */,
4974                               uint16_t               accessXTimeoutOptionsMask  /**< */,
4975                               uint16_t               accessXTimeoutOptionsValues  /**< */,
4976                               const uint8_t         *perKeyRepeat  /**< */);
4977 
4978 /**
4979  *
4980  * @param c The connection
4981  * @return A cookie
4982  *
4983  * Delivers a request to the X server.
4984  *
4985  */
4986 xcb_void_cookie_t
4987 xcb_xkb_set_controls (xcb_connection_t      *c  /**< */,
4988                       xcb_xkb_device_spec_t  deviceSpec  /**< */,
4989                       uint8_t                affectInternalRealMods  /**< */,
4990                       uint8_t                internalRealMods  /**< */,
4991                       uint8_t                affectIgnoreLockRealMods  /**< */,
4992                       uint8_t                ignoreLockRealMods  /**< */,
4993                       uint16_t               affectInternalVirtualMods  /**< */,
4994                       uint16_t               internalVirtualMods  /**< */,
4995                       uint16_t               affectIgnoreLockVirtualMods  /**< */,
4996                       uint16_t               ignoreLockVirtualMods  /**< */,
4997                       uint8_t                mouseKeysDfltBtn  /**< */,
4998                       uint8_t                groupsWrap  /**< */,
4999                       uint16_t               accessXOptions  /**< */,
5000                       uint32_t               affectEnabledControls  /**< */,
5001                       uint32_t               enabledControls  /**< */,
5002                       uint32_t               changeControls  /**< */,
5003                       uint16_t               repeatDelay  /**< */,
5004                       uint16_t               repeatInterval  /**< */,
5005                       uint16_t               slowKeysDelay  /**< */,
5006                       uint16_t               debounceDelay  /**< */,
5007                       uint16_t               mouseKeysDelay  /**< */,
5008                       uint16_t               mouseKeysInterval  /**< */,
5009                       uint16_t               mouseKeysTimeToMax  /**< */,
5010                       uint16_t               mouseKeysMaxSpeed  /**< */,
5011                       int16_t                mouseKeysCurve  /**< */,
5012                       uint16_t               accessXTimeout  /**< */,
5013                       uint32_t               accessXTimeoutMask  /**< */,
5014                       uint32_t               accessXTimeoutValues  /**< */,
5015                       uint16_t               accessXTimeoutOptionsMask  /**< */,
5016                       uint16_t               accessXTimeoutOptionsValues  /**< */,
5017                       const uint8_t         *perKeyRepeat  /**< */);
5018 
5019 int
5020 xcb_xkb_get_map_map_types_rtrn_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5021                                        const xcb_xkb_get_map_map_t *S /**< */);
5022 
5023 xcb_xkb_key_type_iterator_t
5024 xcb_xkb_get_map_map_types_rtrn_iterator (const xcb_xkb_get_map_reply_t *R  /**< */,
5025                                          const xcb_xkb_get_map_map_t *S /**< */);
5026 
5027 int
5028 xcb_xkb_get_map_map_syms_rtrn_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5029                                       const xcb_xkb_get_map_map_t *S /**< */);
5030 
5031 xcb_xkb_key_sym_map_iterator_t
5032 xcb_xkb_get_map_map_syms_rtrn_iterator (const xcb_xkb_get_map_reply_t *R  /**< */,
5033                                         const xcb_xkb_get_map_map_t *S /**< */);
5034 
5035 uint8_t *
5036 xcb_xkb_get_map_map_acts_rtrn_count (const xcb_xkb_get_map_map_t *S  /**< */);
5037 
5038 int
5039 xcb_xkb_get_map_map_acts_rtrn_count_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5040                                             const xcb_xkb_get_map_map_t *S /**< */);
5041 
5042 xcb_generic_iterator_t
5043 xcb_xkb_get_map_map_acts_rtrn_count_end (const xcb_xkb_get_map_reply_t *R  /**< */,
5044                                          const xcb_xkb_get_map_map_t *S /**< */);
5045 
5046 xcb_xkb_action_t *
5047 xcb_xkb_get_map_map_acts_rtrn_acts (const xcb_xkb_get_map_map_t *S  /**< */);
5048 
5049 int
5050 xcb_xkb_get_map_map_acts_rtrn_acts_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5051                                            const xcb_xkb_get_map_map_t *S /**< */);
5052 
5053 xcb_xkb_action_iterator_t
5054 xcb_xkb_get_map_map_acts_rtrn_acts_iterator (const xcb_xkb_get_map_reply_t *R  /**< */,
5055                                              const xcb_xkb_get_map_map_t *S /**< */);
5056 
5057 xcb_xkb_set_behavior_t *
5058 xcb_xkb_get_map_map_behaviors_rtrn (const xcb_xkb_get_map_map_t *S  /**< */);
5059 
5060 int
5061 xcb_xkb_get_map_map_behaviors_rtrn_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5062                                            const xcb_xkb_get_map_map_t *S /**< */);
5063 
5064 xcb_xkb_set_behavior_iterator_t
5065 xcb_xkb_get_map_map_behaviors_rtrn_iterator (const xcb_xkb_get_map_reply_t *R  /**< */,
5066                                              const xcb_xkb_get_map_map_t *S /**< */);
5067 
5068 uint8_t *
5069 xcb_xkb_get_map_map_vmods_rtrn (const xcb_xkb_get_map_map_t *S  /**< */);
5070 
5071 int
5072 xcb_xkb_get_map_map_vmods_rtrn_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5073                                        const xcb_xkb_get_map_map_t *S /**< */);
5074 
5075 xcb_generic_iterator_t
5076 xcb_xkb_get_map_map_vmods_rtrn_end (const xcb_xkb_get_map_reply_t *R  /**< */,
5077                                     const xcb_xkb_get_map_map_t *S /**< */);
5078 
5079 xcb_xkb_set_explicit_t *
5080 xcb_xkb_get_map_map_explicit_rtrn (const xcb_xkb_get_map_map_t *S  /**< */);
5081 
5082 int
5083 xcb_xkb_get_map_map_explicit_rtrn_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5084                                           const xcb_xkb_get_map_map_t *S /**< */);
5085 
5086 xcb_xkb_set_explicit_iterator_t
5087 xcb_xkb_get_map_map_explicit_rtrn_iterator (const xcb_xkb_get_map_reply_t *R  /**< */,
5088                                             const xcb_xkb_get_map_map_t *S /**< */);
5089 
5090 xcb_xkb_key_mod_map_t *
5091 xcb_xkb_get_map_map_modmap_rtrn (const xcb_xkb_get_map_map_t *S  /**< */);
5092 
5093 int
5094 xcb_xkb_get_map_map_modmap_rtrn_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5095                                         const xcb_xkb_get_map_map_t *S /**< */);
5096 
5097 xcb_xkb_key_mod_map_iterator_t
5098 xcb_xkb_get_map_map_modmap_rtrn_iterator (const xcb_xkb_get_map_reply_t *R  /**< */,
5099                                           const xcb_xkb_get_map_map_t *S /**< */);
5100 
5101 xcb_xkb_key_v_mod_map_t *
5102 xcb_xkb_get_map_map_vmodmap_rtrn (const xcb_xkb_get_map_map_t *S  /**< */);
5103 
5104 int
5105 xcb_xkb_get_map_map_vmodmap_rtrn_length (const xcb_xkb_get_map_reply_t *R  /**< */,
5106                                          const xcb_xkb_get_map_map_t *S /**< */);
5107 
5108 xcb_xkb_key_v_mod_map_iterator_t
5109 xcb_xkb_get_map_map_vmodmap_rtrn_iterator (const xcb_xkb_get_map_reply_t *R  /**< */,
5110                                            const xcb_xkb_get_map_map_t *S /**< */);
5111 
5112 int
5113 xcb_xkb_get_map_map_serialize (void                        **_buffer  /**< */,
5114                                uint8_t                       nTypes  /**< */,
5115                                uint8_t                       nKeySyms  /**< */,
5116                                uint8_t                       nKeyActions  /**< */,
5117                                uint16_t                      totalActions  /**< */,
5118                                uint8_t                       totalKeyBehaviors  /**< */,
5119                                uint16_t                      virtualMods  /**< */,
5120                                uint8_t                       totalKeyExplicit  /**< */,
5121                                uint8_t                       totalModMapKeys  /**< */,
5122                                uint8_t                       totalVModMapKeys  /**< */,
5123                                uint16_t                      present  /**< */,
5124                                const xcb_xkb_get_map_map_t  *_aux  /**< */);
5125 
5126 int
5127 xcb_xkb_get_map_map_unpack (const void             *_buffer  /**< */,
5128                             uint8_t                 nTypes  /**< */,
5129                             uint8_t                 nKeySyms  /**< */,
5130                             uint8_t                 nKeyActions  /**< */,
5131                             uint16_t                totalActions  /**< */,
5132                             uint8_t                 totalKeyBehaviors  /**< */,
5133                             uint16_t                virtualMods  /**< */,
5134                             uint8_t                 totalKeyExplicit  /**< */,
5135                             uint8_t                 totalModMapKeys  /**< */,
5136                             uint8_t                 totalVModMapKeys  /**< */,
5137                             uint16_t                present  /**< */,
5138                             xcb_xkb_get_map_map_t  *_aux  /**< */);
5139 
5140 int
5141 xcb_xkb_get_map_map_sizeof (const void  *_buffer  /**< */,
5142                             uint8_t      nTypes  /**< */,
5143                             uint8_t      nKeySyms  /**< */,
5144                             uint8_t      nKeyActions  /**< */,
5145                             uint16_t     totalActions  /**< */,
5146                             uint8_t      totalKeyBehaviors  /**< */,
5147                             uint16_t     virtualMods  /**< */,
5148                             uint8_t      totalKeyExplicit  /**< */,
5149                             uint8_t      totalModMapKeys  /**< */,
5150                             uint8_t      totalVModMapKeys  /**< */,
5151                             uint16_t     present  /**< */);
5152 
5153 /**
5154  *
5155  * @param c The connection
5156  * @return A cookie
5157  *
5158  * Delivers a request to the X server.
5159  *
5160  */
5161 xcb_xkb_get_map_cookie_t
5162 xcb_xkb_get_map (xcb_connection_t      *c  /**< */,
5163                  xcb_xkb_device_spec_t  deviceSpec  /**< */,
5164                  uint16_t               full  /**< */,
5165                  uint16_t               partial  /**< */,
5166                  uint8_t                firstType  /**< */,
5167                  uint8_t                nTypes  /**< */,
5168                  xcb_keycode_t          firstKeySym  /**< */,
5169                  uint8_t                nKeySyms  /**< */,
5170                  xcb_keycode_t          firstKeyAction  /**< */,
5171                  uint8_t                nKeyActions  /**< */,
5172                  xcb_keycode_t          firstKeyBehavior  /**< */,
5173                  uint8_t                nKeyBehaviors  /**< */,
5174                  uint16_t               virtualMods  /**< */,
5175                  xcb_keycode_t          firstKeyExplicit  /**< */,
5176                  uint8_t                nKeyExplicit  /**< */,
5177                  xcb_keycode_t          firstModMapKey  /**< */,
5178                  uint8_t                nModMapKeys  /**< */,
5179                  xcb_keycode_t          firstVModMapKey  /**< */,
5180                  uint8_t                nVModMapKeys  /**< */);
5181 
5182 /**
5183  *
5184  * @param c The connection
5185  * @return A cookie
5186  *
5187  * Delivers a request to the X server.
5188  *
5189  * This form can be used only if the request will cause
5190  * a reply to be generated. Any returned error will be
5191  * placed in the event queue.
5192  */
5193 xcb_xkb_get_map_cookie_t
5194 xcb_xkb_get_map_unchecked (xcb_connection_t      *c  /**< */,
5195                            xcb_xkb_device_spec_t  deviceSpec  /**< */,
5196                            uint16_t               full  /**< */,
5197                            uint16_t               partial  /**< */,
5198                            uint8_t                firstType  /**< */,
5199                            uint8_t                nTypes  /**< */,
5200                            xcb_keycode_t          firstKeySym  /**< */,
5201                            uint8_t                nKeySyms  /**< */,
5202                            xcb_keycode_t          firstKeyAction  /**< */,
5203                            uint8_t                nKeyActions  /**< */,
5204                            xcb_keycode_t          firstKeyBehavior  /**< */,
5205                            uint8_t                nKeyBehaviors  /**< */,
5206                            uint16_t               virtualMods  /**< */,
5207                            xcb_keycode_t          firstKeyExplicit  /**< */,
5208                            uint8_t                nKeyExplicit  /**< */,
5209                            xcb_keycode_t          firstModMapKey  /**< */,
5210                            uint8_t                nModMapKeys  /**< */,
5211                            xcb_keycode_t          firstVModMapKey  /**< */,
5212                            uint8_t                nVModMapKeys  /**< */);
5213 
5214 void *
5215 xcb_xkb_get_map_map (const xcb_xkb_get_map_reply_t *R  /**< */);
5216 
5217 /**
5218  * Return the reply
5219  * @param c      The connection
5220  * @param cookie The cookie
5221  * @param e      The xcb_generic_error_t supplied
5222  *
5223  * Returns the reply of the request asked by
5224  *
5225  * The parameter @p e supplied to this function must be NULL if
5226  * xcb_xkb_get_map_unchecked(). is used.
5227  * Otherwise, it stores the error if any.
5228  *
5229  * The returned value must be freed by the caller using free().
5230  */
5231 xcb_xkb_get_map_reply_t *
5232 xcb_xkb_get_map_reply (xcb_connection_t          *c  /**< */,
5233                        xcb_xkb_get_map_cookie_t   cookie  /**< */,
5234                        xcb_generic_error_t      **e  /**< */);
5235 
5236 int
5237 xcb_xkb_set_map_values_types_length (const xcb_xkb_set_map_request_t *R  /**< */,
5238                                      const xcb_xkb_set_map_values_t *S /**< */);
5239 
5240 xcb_xkb_set_key_type_iterator_t
5241 xcb_xkb_set_map_values_types_iterator (const xcb_xkb_set_map_request_t *R  /**< */,
5242                                        const xcb_xkb_set_map_values_t *S /**< */);
5243 
5244 int
5245 xcb_xkb_set_map_values_syms_length (const xcb_xkb_set_map_request_t *R  /**< */,
5246                                     const xcb_xkb_set_map_values_t *S /**< */);
5247 
5248 xcb_xkb_key_sym_map_iterator_t
5249 xcb_xkb_set_map_values_syms_iterator (const xcb_xkb_set_map_request_t *R  /**< */,
5250                                       const xcb_xkb_set_map_values_t *S /**< */);
5251 
5252 uint8_t *
5253 xcb_xkb_set_map_values_actions_count (const xcb_xkb_set_map_values_t *S  /**< */);
5254 
5255 int
5256 xcb_xkb_set_map_values_actions_count_length (const xcb_xkb_set_map_request_t *R  /**< */,
5257                                              const xcb_xkb_set_map_values_t *S /**< */);
5258 
5259 xcb_generic_iterator_t
5260 xcb_xkb_set_map_values_actions_count_end (const xcb_xkb_set_map_request_t *R  /**< */,
5261                                           const xcb_xkb_set_map_values_t *S /**< */);
5262 
5263 xcb_xkb_action_t *
5264 xcb_xkb_set_map_values_actions (const xcb_xkb_set_map_values_t *S  /**< */);
5265 
5266 int
5267 xcb_xkb_set_map_values_actions_length (const xcb_xkb_set_map_request_t *R  /**< */,
5268                                        const xcb_xkb_set_map_values_t *S /**< */);
5269 
5270 xcb_xkb_action_iterator_t
5271 xcb_xkb_set_map_values_actions_iterator (const xcb_xkb_set_map_request_t *R  /**< */,
5272                                          const xcb_xkb_set_map_values_t *S /**< */);
5273 
5274 xcb_xkb_set_behavior_t *
5275 xcb_xkb_set_map_values_behaviors (const xcb_xkb_set_map_values_t *S  /**< */);
5276 
5277 int
5278 xcb_xkb_set_map_values_behaviors_length (const xcb_xkb_set_map_request_t *R  /**< */,
5279                                          const xcb_xkb_set_map_values_t *S /**< */);
5280 
5281 xcb_xkb_set_behavior_iterator_t
5282 xcb_xkb_set_map_values_behaviors_iterator (const xcb_xkb_set_map_request_t *R  /**< */,
5283                                            const xcb_xkb_set_map_values_t *S /**< */);
5284 
5285 uint8_t *
5286 xcb_xkb_set_map_values_vmods (const xcb_xkb_set_map_values_t *S  /**< */);
5287 
5288 int
5289 xcb_xkb_set_map_values_vmods_length (const xcb_xkb_set_map_request_t *R  /**< */,
5290                                      const xcb_xkb_set_map_values_t *S /**< */);
5291 
5292 xcb_generic_iterator_t
5293 xcb_xkb_set_map_values_vmods_end (const xcb_xkb_set_map_request_t *R  /**< */,
5294                                   const xcb_xkb_set_map_values_t *S /**< */);
5295 
5296 xcb_xkb_set_explicit_t *
5297 xcb_xkb_set_map_values_explicit (const xcb_xkb_set_map_values_t *S  /**< */);
5298 
5299 int
5300 xcb_xkb_set_map_values_explicit_length (const xcb_xkb_set_map_request_t *R  /**< */,
5301                                         const xcb_xkb_set_map_values_t *S /**< */);
5302 
5303 xcb_xkb_set_explicit_iterator_t
5304 xcb_xkb_set_map_values_explicit_iterator (const xcb_xkb_set_map_request_t *R  /**< */,
5305                                           const xcb_xkb_set_map_values_t *S /**< */);
5306 
5307 xcb_xkb_key_mod_map_t *
5308 xcb_xkb_set_map_values_modmap (const xcb_xkb_set_map_values_t *S  /**< */);
5309 
5310 int
5311 xcb_xkb_set_map_values_modmap_length (const xcb_xkb_set_map_request_t *R  /**< */,
5312                                       const xcb_xkb_set_map_values_t *S /**< */);
5313 
5314 xcb_xkb_key_mod_map_iterator_t
5315 xcb_xkb_set_map_values_modmap_iterator (const xcb_xkb_set_map_request_t *R  /**< */,
5316                                         const xcb_xkb_set_map_values_t *S /**< */);
5317 
5318 xcb_xkb_key_v_mod_map_t *
5319 xcb_xkb_set_map_values_vmodmap (const xcb_xkb_set_map_values_t *S  /**< */);
5320 
5321 int
5322 xcb_xkb_set_map_values_vmodmap_length (const xcb_xkb_set_map_request_t *R  /**< */,
5323                                        const xcb_xkb_set_map_values_t *S /**< */);
5324 
5325 xcb_xkb_key_v_mod_map_iterator_t
5326 xcb_xkb_set_map_values_vmodmap_iterator (const xcb_xkb_set_map_request_t *R  /**< */,
5327                                          const xcb_xkb_set_map_values_t *S /**< */);
5328 
5329 int
5330 xcb_xkb_set_map_values_serialize (void                           **_buffer  /**< */,
5331                                   uint8_t                          nTypes  /**< */,
5332                                   uint8_t                          nKeySyms  /**< */,
5333                                   uint8_t                          nKeyActions  /**< */,
5334                                   uint16_t                         totalActions  /**< */,
5335                                   uint8_t                          totalKeyBehaviors  /**< */,
5336                                   uint16_t                         virtualMods  /**< */,
5337                                   uint8_t                          totalKeyExplicit  /**< */,
5338                                   uint8_t                          totalModMapKeys  /**< */,
5339                                   uint8_t                          totalVModMapKeys  /**< */,
5340                                   uint16_t                         present  /**< */,
5341                                   const xcb_xkb_set_map_values_t  *_aux  /**< */);
5342 
5343 int
5344 xcb_xkb_set_map_values_unpack (const void                *_buffer  /**< */,
5345                                uint8_t                    nTypes  /**< */,
5346                                uint8_t                    nKeySyms  /**< */,
5347                                uint8_t                    nKeyActions  /**< */,
5348                                uint16_t                   totalActions  /**< */,
5349                                uint8_t                    totalKeyBehaviors  /**< */,
5350                                uint16_t                   virtualMods  /**< */,
5351                                uint8_t                    totalKeyExplicit  /**< */,
5352                                uint8_t                    totalModMapKeys  /**< */,
5353                                uint8_t                    totalVModMapKeys  /**< */,
5354                                uint16_t                   present  /**< */,
5355                                xcb_xkb_set_map_values_t  *_aux  /**< */);
5356 
5357 int
5358 xcb_xkb_set_map_values_sizeof (const void  *_buffer  /**< */,
5359                                uint8_t      nTypes  /**< */,
5360                                uint8_t      nKeySyms  /**< */,
5361                                uint8_t      nKeyActions  /**< */,
5362                                uint16_t     totalActions  /**< */,
5363                                uint8_t      totalKeyBehaviors  /**< */,
5364                                uint16_t     virtualMods  /**< */,
5365                                uint8_t      totalKeyExplicit  /**< */,
5366                                uint8_t      totalModMapKeys  /**< */,
5367                                uint8_t      totalVModMapKeys  /**< */,
5368                                uint16_t     present  /**< */);
5369 
5370 /**
5371  *
5372  * @param c The connection
5373  * @return A cookie
5374  *
5375  * Delivers a request to the X server.
5376  *
5377  * This form can be used only if the request will not cause
5378  * a reply to be generated. Any returned error will be
5379  * saved for handling by xcb_request_check().
5380  */
5381 xcb_void_cookie_t
5382 xcb_xkb_set_map_checked (xcb_connection_t      *c  /**< */,
5383                          xcb_xkb_device_spec_t  deviceSpec  /**< */,
5384                          uint16_t               present  /**< */,
5385                          uint16_t               flags  /**< */,
5386                          xcb_keycode_t          minKeyCode  /**< */,
5387                          xcb_keycode_t          maxKeyCode  /**< */,
5388                          uint8_t                firstType  /**< */,
5389                          uint8_t                nTypes  /**< */,
5390                          xcb_keycode_t          firstKeySym  /**< */,
5391                          uint8_t                nKeySyms  /**< */,
5392                          uint16_t               totalSyms  /**< */,
5393                          xcb_keycode_t          firstKeyAction  /**< */,
5394                          uint8_t                nKeyActions  /**< */,
5395                          uint16_t               totalActions  /**< */,
5396                          xcb_keycode_t          firstKeyBehavior  /**< */,
5397                          uint8_t                nKeyBehaviors  /**< */,
5398                          uint8_t                totalKeyBehaviors  /**< */,
5399                          xcb_keycode_t          firstKeyExplicit  /**< */,
5400                          uint8_t                nKeyExplicit  /**< */,
5401                          uint8_t                totalKeyExplicit  /**< */,
5402                          xcb_keycode_t          firstModMapKey  /**< */,
5403                          uint8_t                nModMapKeys  /**< */,
5404                          uint8_t                totalModMapKeys  /**< */,
5405                          xcb_keycode_t          firstVModMapKey  /**< */,
5406                          uint8_t                nVModMapKeys  /**< */,
5407                          uint8_t                totalVModMapKeys  /**< */,
5408                          uint16_t               virtualMods  /**< */,
5409                          const void            *values  /**< */);
5410 
5411 /**
5412  *
5413  * @param c The connection
5414  * @return A cookie
5415  *
5416  * Delivers a request to the X server.
5417  *
5418  */
5419 xcb_void_cookie_t
5420 xcb_xkb_set_map (xcb_connection_t      *c  /**< */,
5421                  xcb_xkb_device_spec_t  deviceSpec  /**< */,
5422                  uint16_t               present  /**< */,
5423                  uint16_t               flags  /**< */,
5424                  xcb_keycode_t          minKeyCode  /**< */,
5425                  xcb_keycode_t          maxKeyCode  /**< */,
5426                  uint8_t                firstType  /**< */,
5427                  uint8_t                nTypes  /**< */,
5428                  xcb_keycode_t          firstKeySym  /**< */,
5429                  uint8_t                nKeySyms  /**< */,
5430                  uint16_t               totalSyms  /**< */,
5431                  xcb_keycode_t          firstKeyAction  /**< */,
5432                  uint8_t                nKeyActions  /**< */,
5433                  uint16_t               totalActions  /**< */,
5434                  xcb_keycode_t          firstKeyBehavior  /**< */,
5435                  uint8_t                nKeyBehaviors  /**< */,
5436                  uint8_t                totalKeyBehaviors  /**< */,
5437                  xcb_keycode_t          firstKeyExplicit  /**< */,
5438                  uint8_t                nKeyExplicit  /**< */,
5439                  uint8_t                totalKeyExplicit  /**< */,
5440                  xcb_keycode_t          firstModMapKey  /**< */,
5441                  uint8_t                nModMapKeys  /**< */,
5442                  uint8_t                totalModMapKeys  /**< */,
5443                  xcb_keycode_t          firstVModMapKey  /**< */,
5444                  uint8_t                nVModMapKeys  /**< */,
5445                  uint8_t                totalVModMapKeys  /**< */,
5446                  uint16_t               virtualMods  /**< */,
5447                  const void            *values  /**< */);
5448 
5449 /**
5450  *
5451  * @param c The connection
5452  * @return A cookie
5453  *
5454  * Delivers a request to the X server.
5455  *
5456  * This form can be used only if the request will not cause
5457  * a reply to be generated. Any returned error will be
5458  * saved for handling by xcb_request_check().
5459  */
5460 xcb_void_cookie_t
5461 xcb_xkb_set_map_aux_checked (xcb_connection_t               *c  /**< */,
5462                              xcb_xkb_device_spec_t           deviceSpec  /**< */,
5463                              uint16_t                        present  /**< */,
5464                              uint16_t                        flags  /**< */,
5465                              xcb_keycode_t                   minKeyCode  /**< */,
5466                              xcb_keycode_t                   maxKeyCode  /**< */,
5467                              uint8_t                         firstType  /**< */,
5468                              uint8_t                         nTypes  /**< */,
5469                              xcb_keycode_t                   firstKeySym  /**< */,
5470                              uint8_t                         nKeySyms  /**< */,
5471                              uint16_t                        totalSyms  /**< */,
5472                              xcb_keycode_t                   firstKeyAction  /**< */,
5473                              uint8_t                         nKeyActions  /**< */,
5474                              uint16_t                        totalActions  /**< */,
5475                              xcb_keycode_t                   firstKeyBehavior  /**< */,
5476                              uint8_t                         nKeyBehaviors  /**< */,
5477                              uint8_t                         totalKeyBehaviors  /**< */,
5478                              xcb_keycode_t                   firstKeyExplicit  /**< */,
5479                              uint8_t                         nKeyExplicit  /**< */,
5480                              uint8_t                         totalKeyExplicit  /**< */,
5481                              xcb_keycode_t                   firstModMapKey  /**< */,
5482                              uint8_t                         nModMapKeys  /**< */,
5483                              uint8_t                         totalModMapKeys  /**< */,
5484                              xcb_keycode_t                   firstVModMapKey  /**< */,
5485                              uint8_t                         nVModMapKeys  /**< */,
5486                              uint8_t                         totalVModMapKeys  /**< */,
5487                              uint16_t                        virtualMods  /**< */,
5488                              const xcb_xkb_set_map_values_t *values  /**< */);
5489 
5490 /**
5491  *
5492  * @param c The connection
5493  * @return A cookie
5494  *
5495  * Delivers a request to the X server.
5496  *
5497  */
5498 xcb_void_cookie_t
5499 xcb_xkb_set_map_aux (xcb_connection_t               *c  /**< */,
5500                      xcb_xkb_device_spec_t           deviceSpec  /**< */,
5501                      uint16_t                        present  /**< */,
5502                      uint16_t                        flags  /**< */,
5503                      xcb_keycode_t                   minKeyCode  /**< */,
5504                      xcb_keycode_t                   maxKeyCode  /**< */,
5505                      uint8_t                         firstType  /**< */,
5506                      uint8_t                         nTypes  /**< */,
5507                      xcb_keycode_t                   firstKeySym  /**< */,
5508                      uint8_t                         nKeySyms  /**< */,
5509                      uint16_t                        totalSyms  /**< */,
5510                      xcb_keycode_t                   firstKeyAction  /**< */,
5511                      uint8_t                         nKeyActions  /**< */,
5512                      uint16_t                        totalActions  /**< */,
5513                      xcb_keycode_t                   firstKeyBehavior  /**< */,
5514                      uint8_t                         nKeyBehaviors  /**< */,
5515                      uint8_t                         totalKeyBehaviors  /**< */,
5516                      xcb_keycode_t                   firstKeyExplicit  /**< */,
5517                      uint8_t                         nKeyExplicit  /**< */,
5518                      uint8_t                         totalKeyExplicit  /**< */,
5519                      xcb_keycode_t                   firstModMapKey  /**< */,
5520                      uint8_t                         nModMapKeys  /**< */,
5521                      uint8_t                         totalModMapKeys  /**< */,
5522                      xcb_keycode_t                   firstVModMapKey  /**< */,
5523                      uint8_t                         nVModMapKeys  /**< */,
5524                      uint8_t                         totalVModMapKeys  /**< */,
5525                      uint16_t                        virtualMods  /**< */,
5526                      const xcb_xkb_set_map_values_t *values  /**< */);
5527 
5528 int
5529 xcb_xkb_get_compat_map_sizeof (const void  *_buffer  /**< */);
5530 
5531 /**
5532  *
5533  * @param c The connection
5534  * @return A cookie
5535  *
5536  * Delivers a request to the X server.
5537  *
5538  */
5539 xcb_xkb_get_compat_map_cookie_t
5540 xcb_xkb_get_compat_map (xcb_connection_t      *c  /**< */,
5541                         xcb_xkb_device_spec_t  deviceSpec  /**< */,
5542                         uint8_t                groups  /**< */,
5543                         uint8_t                getAllSI  /**< */,
5544                         uint16_t               firstSI  /**< */,
5545                         uint16_t               nSI  /**< */);
5546 
5547 /**
5548  *
5549  * @param c The connection
5550  * @return A cookie
5551  *
5552  * Delivers a request to the X server.
5553  *
5554  * This form can be used only if the request will cause
5555  * a reply to be generated. Any returned error will be
5556  * placed in the event queue.
5557  */
5558 xcb_xkb_get_compat_map_cookie_t
5559 xcb_xkb_get_compat_map_unchecked (xcb_connection_t      *c  /**< */,
5560                                   xcb_xkb_device_spec_t  deviceSpec  /**< */,
5561                                   uint8_t                groups  /**< */,
5562                                   uint8_t                getAllSI  /**< */,
5563                                   uint16_t               firstSI  /**< */,
5564                                   uint16_t               nSI  /**< */);
5565 
5566 xcb_xkb_sym_interpret_t *
5567 xcb_xkb_get_compat_map_si_rtrn (const xcb_xkb_get_compat_map_reply_t *R  /**< */);
5568 
5569 int
5570 xcb_xkb_get_compat_map_si_rtrn_length (const xcb_xkb_get_compat_map_reply_t *R  /**< */);
5571 
5572 xcb_xkb_sym_interpret_iterator_t
5573 xcb_xkb_get_compat_map_si_rtrn_iterator (const xcb_xkb_get_compat_map_reply_t *R  /**< */);
5574 
5575 xcb_xkb_mod_def_t *
5576 xcb_xkb_get_compat_map_group_rtrn (const xcb_xkb_get_compat_map_reply_t *R  /**< */);
5577 
5578 int
5579 xcb_xkb_get_compat_map_group_rtrn_length (const xcb_xkb_get_compat_map_reply_t *R  /**< */);
5580 
5581 xcb_xkb_mod_def_iterator_t
5582 xcb_xkb_get_compat_map_group_rtrn_iterator (const xcb_xkb_get_compat_map_reply_t *R  /**< */);
5583 
5584 /**
5585  * Return the reply
5586  * @param c      The connection
5587  * @param cookie The cookie
5588  * @param e      The xcb_generic_error_t supplied
5589  *
5590  * Returns the reply of the request asked by
5591  *
5592  * The parameter @p e supplied to this function must be NULL if
5593  * xcb_xkb_get_compat_map_unchecked(). is used.
5594  * Otherwise, it stores the error if any.
5595  *
5596  * The returned value must be freed by the caller using free().
5597  */
5598 xcb_xkb_get_compat_map_reply_t *
5599 xcb_xkb_get_compat_map_reply (xcb_connection_t                 *c  /**< */,
5600                               xcb_xkb_get_compat_map_cookie_t   cookie  /**< */,
5601                               xcb_generic_error_t             **e  /**< */);
5602 
5603 int
5604 xcb_xkb_set_compat_map_sizeof (const void  *_buffer  /**< */);
5605 
5606 /**
5607  *
5608  * @param c The connection
5609  * @return A cookie
5610  *
5611  * Delivers a request to the X server.
5612  *
5613  * This form can be used only if the request will not cause
5614  * a reply to be generated. Any returned error will be
5615  * saved for handling by xcb_request_check().
5616  */
5617 xcb_void_cookie_t
5618 xcb_xkb_set_compat_map_checked (xcb_connection_t              *c  /**< */,
5619                                 xcb_xkb_device_spec_t          deviceSpec  /**< */,
5620                                 uint8_t                        recomputeActions  /**< */,
5621                                 uint8_t                        truncateSI  /**< */,
5622                                 uint8_t                        groups  /**< */,
5623                                 uint16_t                       firstSI  /**< */,
5624                                 uint16_t                       nSI  /**< */,
5625                                 const xcb_xkb_sym_interpret_t *si  /**< */,
5626                                 const xcb_xkb_mod_def_t       *groupMaps  /**< */);
5627 
5628 /**
5629  *
5630  * @param c The connection
5631  * @return A cookie
5632  *
5633  * Delivers a request to the X server.
5634  *
5635  */
5636 xcb_void_cookie_t
5637 xcb_xkb_set_compat_map (xcb_connection_t              *c  /**< */,
5638                         xcb_xkb_device_spec_t          deviceSpec  /**< */,
5639                         uint8_t                        recomputeActions  /**< */,
5640                         uint8_t                        truncateSI  /**< */,
5641                         uint8_t                        groups  /**< */,
5642                         uint16_t                       firstSI  /**< */,
5643                         uint16_t                       nSI  /**< */,
5644                         const xcb_xkb_sym_interpret_t *si  /**< */,
5645                         const xcb_xkb_mod_def_t       *groupMaps  /**< */);
5646 
5647 /**
5648  *
5649  * @param c The connection
5650  * @return A cookie
5651  *
5652  * Delivers a request to the X server.
5653  *
5654  */
5655 xcb_xkb_get_indicator_state_cookie_t
5656 xcb_xkb_get_indicator_state (xcb_connection_t      *c  /**< */,
5657                              xcb_xkb_device_spec_t  deviceSpec  /**< */);
5658 
5659 /**
5660  *
5661  * @param c The connection
5662  * @return A cookie
5663  *
5664  * Delivers a request to the X server.
5665  *
5666  * This form can be used only if the request will cause
5667  * a reply to be generated. Any returned error will be
5668  * placed in the event queue.
5669  */
5670 xcb_xkb_get_indicator_state_cookie_t
5671 xcb_xkb_get_indicator_state_unchecked (xcb_connection_t      *c  /**< */,
5672                                        xcb_xkb_device_spec_t  deviceSpec  /**< */);
5673 
5674 /**
5675  * Return the reply
5676  * @param c      The connection
5677  * @param cookie The cookie
5678  * @param e      The xcb_generic_error_t supplied
5679  *
5680  * Returns the reply of the request asked by
5681  *
5682  * The parameter @p e supplied to this function must be NULL if
5683  * xcb_xkb_get_indicator_state_unchecked(). is used.
5684  * Otherwise, it stores the error if any.
5685  *
5686  * The returned value must be freed by the caller using free().
5687  */
5688 xcb_xkb_get_indicator_state_reply_t *
5689 xcb_xkb_get_indicator_state_reply (xcb_connection_t                      *c  /**< */,
5690                                    xcb_xkb_get_indicator_state_cookie_t   cookie  /**< */,
5691                                    xcb_generic_error_t                  **e  /**< */);
5692 
5693 int
5694 xcb_xkb_get_indicator_map_sizeof (const void  *_buffer  /**< */);
5695 
5696 /**
5697  *
5698  * @param c The connection
5699  * @return A cookie
5700  *
5701  * Delivers a request to the X server.
5702  *
5703  */
5704 xcb_xkb_get_indicator_map_cookie_t
5705 xcb_xkb_get_indicator_map (xcb_connection_t      *c  /**< */,
5706                            xcb_xkb_device_spec_t  deviceSpec  /**< */,
5707                            uint32_t               which  /**< */);
5708 
5709 /**
5710  *
5711  * @param c The connection
5712  * @return A cookie
5713  *
5714  * Delivers a request to the X server.
5715  *
5716  * This form can be used only if the request will cause
5717  * a reply to be generated. Any returned error will be
5718  * placed in the event queue.
5719  */
5720 xcb_xkb_get_indicator_map_cookie_t
5721 xcb_xkb_get_indicator_map_unchecked (xcb_connection_t      *c  /**< */,
5722                                      xcb_xkb_device_spec_t  deviceSpec  /**< */,
5723                                      uint32_t               which  /**< */);
5724 
5725 xcb_xkb_indicator_map_t *
5726 xcb_xkb_get_indicator_map_maps (const xcb_xkb_get_indicator_map_reply_t *R  /**< */);
5727 
5728 int
5729 xcb_xkb_get_indicator_map_maps_length (const xcb_xkb_get_indicator_map_reply_t *R  /**< */);
5730 
5731 xcb_xkb_indicator_map_iterator_t
5732 xcb_xkb_get_indicator_map_maps_iterator (const xcb_xkb_get_indicator_map_reply_t *R  /**< */);
5733 
5734 /**
5735  * Return the reply
5736  * @param c      The connection
5737  * @param cookie The cookie
5738  * @param e      The xcb_generic_error_t supplied
5739  *
5740  * Returns the reply of the request asked by
5741  *
5742  * The parameter @p e supplied to this function must be NULL if
5743  * xcb_xkb_get_indicator_map_unchecked(). is used.
5744  * Otherwise, it stores the error if any.
5745  *
5746  * The returned value must be freed by the caller using free().
5747  */
5748 xcb_xkb_get_indicator_map_reply_t *
5749 xcb_xkb_get_indicator_map_reply (xcb_connection_t                    *c  /**< */,
5750                                  xcb_xkb_get_indicator_map_cookie_t   cookie  /**< */,
5751                                  xcb_generic_error_t                **e  /**< */);
5752 
5753 int
5754 xcb_xkb_set_indicator_map_sizeof (const void  *_buffer  /**< */);
5755 
5756 /**
5757  *
5758  * @param c The connection
5759  * @return A cookie
5760  *
5761  * Delivers a request to the X server.
5762  *
5763  * This form can be used only if the request will not cause
5764  * a reply to be generated. Any returned error will be
5765  * saved for handling by xcb_request_check().
5766  */
5767 xcb_void_cookie_t
5768 xcb_xkb_set_indicator_map_checked (xcb_connection_t              *c  /**< */,
5769                                    xcb_xkb_device_spec_t          deviceSpec  /**< */,
5770                                    uint32_t                       which  /**< */,
5771                                    const xcb_xkb_indicator_map_t *maps  /**< */);
5772 
5773 /**
5774  *
5775  * @param c The connection
5776  * @return A cookie
5777  *
5778  * Delivers a request to the X server.
5779  *
5780  */
5781 xcb_void_cookie_t
5782 xcb_xkb_set_indicator_map (xcb_connection_t              *c  /**< */,
5783                            xcb_xkb_device_spec_t          deviceSpec  /**< */,
5784                            uint32_t                       which  /**< */,
5785                            const xcb_xkb_indicator_map_t *maps  /**< */);
5786 
5787 /**
5788  *
5789  * @param c The connection
5790  * @return A cookie
5791  *
5792  * Delivers a request to the X server.
5793  *
5794  */
5795 xcb_xkb_get_named_indicator_cookie_t
5796 xcb_xkb_get_named_indicator (xcb_connection_t         *c  /**< */,
5797                              xcb_xkb_device_spec_t     deviceSpec  /**< */,
5798                              xcb_xkb_led_class_spec_t  ledClass  /**< */,
5799                              xcb_xkb_id_spec_t         ledID  /**< */,
5800                              xcb_atom_t                indicator  /**< */);
5801 
5802 /**
5803  *
5804  * @param c The connection
5805  * @return A cookie
5806  *
5807  * Delivers a request to the X server.
5808  *
5809  * This form can be used only if the request will cause
5810  * a reply to be generated. Any returned error will be
5811  * placed in the event queue.
5812  */
5813 xcb_xkb_get_named_indicator_cookie_t
5814 xcb_xkb_get_named_indicator_unchecked (xcb_connection_t         *c  /**< */,
5815                                        xcb_xkb_device_spec_t     deviceSpec  /**< */,
5816                                        xcb_xkb_led_class_spec_t  ledClass  /**< */,
5817                                        xcb_xkb_id_spec_t         ledID  /**< */,
5818                                        xcb_atom_t                indicator  /**< */);
5819 
5820 /**
5821  * Return the reply
5822  * @param c      The connection
5823  * @param cookie The cookie
5824  * @param e      The xcb_generic_error_t supplied
5825  *
5826  * Returns the reply of the request asked by
5827  *
5828  * The parameter @p e supplied to this function must be NULL if
5829  * xcb_xkb_get_named_indicator_unchecked(). is used.
5830  * Otherwise, it stores the error if any.
5831  *
5832  * The returned value must be freed by the caller using free().
5833  */
5834 xcb_xkb_get_named_indicator_reply_t *
5835 xcb_xkb_get_named_indicator_reply (xcb_connection_t                      *c  /**< */,
5836                                    xcb_xkb_get_named_indicator_cookie_t   cookie  /**< */,
5837                                    xcb_generic_error_t                  **e  /**< */);
5838 
5839 /**
5840  *
5841  * @param c The connection
5842  * @return A cookie
5843  *
5844  * Delivers a request to the X server.
5845  *
5846  * This form can be used only if the request will not cause
5847  * a reply to be generated. Any returned error will be
5848  * saved for handling by xcb_request_check().
5849  */
5850 xcb_void_cookie_t
5851 xcb_xkb_set_named_indicator_checked (xcb_connection_t         *c  /**< */,
5852                                      xcb_xkb_device_spec_t     deviceSpec  /**< */,
5853                                      xcb_xkb_led_class_spec_t  ledClass  /**< */,
5854                                      xcb_xkb_id_spec_t         ledID  /**< */,
5855                                      xcb_atom_t                indicator  /**< */,
5856                                      uint8_t                   setState  /**< */,
5857                                      uint8_t                   on  /**< */,
5858                                      uint8_t                   setMap  /**< */,
5859                                      uint8_t                   createMap  /**< */,
5860                                      uint8_t                   map_flags  /**< */,
5861                                      uint8_t                   map_whichGroups  /**< */,
5862                                      uint8_t                   map_groups  /**< */,
5863                                      uint8_t                   map_whichMods  /**< */,
5864                                      uint8_t                   map_realMods  /**< */,
5865                                      uint16_t                  map_vmods  /**< */,
5866                                      uint32_t                  map_ctrls  /**< */);
5867 
5868 /**
5869  *
5870  * @param c The connection
5871  * @return A cookie
5872  *
5873  * Delivers a request to the X server.
5874  *
5875  */
5876 xcb_void_cookie_t
5877 xcb_xkb_set_named_indicator (xcb_connection_t         *c  /**< */,
5878                              xcb_xkb_device_spec_t     deviceSpec  /**< */,
5879                              xcb_xkb_led_class_spec_t  ledClass  /**< */,
5880                              xcb_xkb_id_spec_t         ledID  /**< */,
5881                              xcb_atom_t                indicator  /**< */,
5882                              uint8_t                   setState  /**< */,
5883                              uint8_t                   on  /**< */,
5884                              uint8_t                   setMap  /**< */,
5885                              uint8_t                   createMap  /**< */,
5886                              uint8_t                   map_flags  /**< */,
5887                              uint8_t                   map_whichGroups  /**< */,
5888                              uint8_t                   map_groups  /**< */,
5889                              uint8_t                   map_whichMods  /**< */,
5890                              uint8_t                   map_realMods  /**< */,
5891                              uint16_t                  map_vmods  /**< */,
5892                              uint32_t                  map_ctrls  /**< */);
5893 
5894 xcb_atom_t *
5895 xcb_xkb_get_names_value_list_type_names (const xcb_xkb_get_names_value_list_t *S  /**< */);
5896 
5897 int
5898 xcb_xkb_get_names_value_list_type_names_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5899                                                 const xcb_xkb_get_names_value_list_t *S /**< */);
5900 
5901 xcb_generic_iterator_t
5902 xcb_xkb_get_names_value_list_type_names_end (const xcb_xkb_get_names_reply_t *R  /**< */,
5903                                              const xcb_xkb_get_names_value_list_t *S /**< */);
5904 
5905 uint8_t *
5906 xcb_xkb_get_names_value_list_n_levels_per_type (const xcb_xkb_get_names_value_list_t *S  /**< */);
5907 
5908 int
5909 xcb_xkb_get_names_value_list_n_levels_per_type_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5910                                                        const xcb_xkb_get_names_value_list_t *S /**< */);
5911 
5912 xcb_generic_iterator_t
5913 xcb_xkb_get_names_value_list_n_levels_per_type_end (const xcb_xkb_get_names_reply_t *R  /**< */,
5914                                                     const xcb_xkb_get_names_value_list_t *S /**< */);
5915 
5916 uint8_t *
5917 xcb_xkb_get_names_value_list_alignment_pad (const xcb_xkb_get_names_value_list_t *S  /**< */);
5918 
5919 int
5920 xcb_xkb_get_names_value_list_alignment_pad_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5921                                                    const xcb_xkb_get_names_value_list_t *S /**< */);
5922 
5923 xcb_generic_iterator_t
5924 xcb_xkb_get_names_value_list_alignment_pad_end (const xcb_xkb_get_names_reply_t *R  /**< */,
5925                                                 const xcb_xkb_get_names_value_list_t *S /**< */);
5926 
5927 xcb_atom_t *
5928 xcb_xkb_get_names_value_list_kt_level_names (const xcb_xkb_get_names_value_list_t *S  /**< */);
5929 
5930 int
5931 xcb_xkb_get_names_value_list_kt_level_names_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5932                                                     const xcb_xkb_get_names_value_list_t *S /**< */);
5933 
5934 xcb_generic_iterator_t
5935 xcb_xkb_get_names_value_list_kt_level_names_end (const xcb_xkb_get_names_reply_t *R  /**< */,
5936                                                  const xcb_xkb_get_names_value_list_t *S /**< */);
5937 
5938 xcb_atom_t *
5939 xcb_xkb_get_names_value_list_indicator_names (const xcb_xkb_get_names_value_list_t *S  /**< */);
5940 
5941 int
5942 xcb_xkb_get_names_value_list_indicator_names_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5943                                                      const xcb_xkb_get_names_value_list_t *S /**< */);
5944 
5945 xcb_generic_iterator_t
5946 xcb_xkb_get_names_value_list_indicator_names_end (const xcb_xkb_get_names_reply_t *R  /**< */,
5947                                                   const xcb_xkb_get_names_value_list_t *S /**< */);
5948 
5949 xcb_atom_t *
5950 xcb_xkb_get_names_value_list_virtual_mod_names (const xcb_xkb_get_names_value_list_t *S  /**< */);
5951 
5952 int
5953 xcb_xkb_get_names_value_list_virtual_mod_names_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5954                                                        const xcb_xkb_get_names_value_list_t *S /**< */);
5955 
5956 xcb_generic_iterator_t
5957 xcb_xkb_get_names_value_list_virtual_mod_names_end (const xcb_xkb_get_names_reply_t *R  /**< */,
5958                                                     const xcb_xkb_get_names_value_list_t *S /**< */);
5959 
5960 xcb_atom_t *
5961 xcb_xkb_get_names_value_list_groups (const xcb_xkb_get_names_value_list_t *S  /**< */);
5962 
5963 int
5964 xcb_xkb_get_names_value_list_groups_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5965                                             const xcb_xkb_get_names_value_list_t *S /**< */);
5966 
5967 xcb_generic_iterator_t
5968 xcb_xkb_get_names_value_list_groups_end (const xcb_xkb_get_names_reply_t *R  /**< */,
5969                                          const xcb_xkb_get_names_value_list_t *S /**< */);
5970 
5971 xcb_xkb_key_name_t *
5972 xcb_xkb_get_names_value_list_key_names (const xcb_xkb_get_names_value_list_t *S  /**< */);
5973 
5974 int
5975 xcb_xkb_get_names_value_list_key_names_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5976                                                const xcb_xkb_get_names_value_list_t *S /**< */);
5977 
5978 xcb_xkb_key_name_iterator_t
5979 xcb_xkb_get_names_value_list_key_names_iterator (const xcb_xkb_get_names_reply_t *R  /**< */,
5980                                                  const xcb_xkb_get_names_value_list_t *S /**< */);
5981 
5982 xcb_xkb_key_alias_t *
5983 xcb_xkb_get_names_value_list_key_aliases (const xcb_xkb_get_names_value_list_t *S  /**< */);
5984 
5985 int
5986 xcb_xkb_get_names_value_list_key_aliases_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5987                                                  const xcb_xkb_get_names_value_list_t *S /**< */);
5988 
5989 xcb_xkb_key_alias_iterator_t
5990 xcb_xkb_get_names_value_list_key_aliases_iterator (const xcb_xkb_get_names_reply_t *R  /**< */,
5991                                                    const xcb_xkb_get_names_value_list_t *S /**< */);
5992 
5993 xcb_atom_t *
5994 xcb_xkb_get_names_value_list_radio_group_names (const xcb_xkb_get_names_value_list_t *S  /**< */);
5995 
5996 int
5997 xcb_xkb_get_names_value_list_radio_group_names_length (const xcb_xkb_get_names_reply_t *R  /**< */,
5998                                                        const xcb_xkb_get_names_value_list_t *S /**< */);
5999 
6000 xcb_generic_iterator_t
6001 xcb_xkb_get_names_value_list_radio_group_names_end (const xcb_xkb_get_names_reply_t *R  /**< */,
6002                                                     const xcb_xkb_get_names_value_list_t *S /**< */);
6003 
6004 int
6005 xcb_xkb_get_names_value_list_serialize (void                                 **_buffer  /**< */,
6006                                         uint8_t                                nTypes  /**< */,
6007                                         uint32_t                               indicators  /**< */,
6008                                         uint16_t                               virtualMods  /**< */,
6009                                         uint8_t                                groupNames  /**< */,
6010                                         uint8_t                                nKeys  /**< */,
6011                                         uint8_t                                nKeyAliases  /**< */,
6012                                         uint8_t                                nRadioGroups  /**< */,
6013                                         uint32_t                               which  /**< */,
6014                                         const xcb_xkb_get_names_value_list_t  *_aux  /**< */);
6015 
6016 int
6017 xcb_xkb_get_names_value_list_unpack (const void                      *_buffer  /**< */,
6018                                      uint8_t                          nTypes  /**< */,
6019                                      uint32_t                         indicators  /**< */,
6020                                      uint16_t                         virtualMods  /**< */,
6021                                      uint8_t                          groupNames  /**< */,
6022                                      uint8_t                          nKeys  /**< */,
6023                                      uint8_t                          nKeyAliases  /**< */,
6024                                      uint8_t                          nRadioGroups  /**< */,
6025                                      uint32_t                         which  /**< */,
6026                                      xcb_xkb_get_names_value_list_t  *_aux  /**< */);
6027 
6028 int
6029 xcb_xkb_get_names_value_list_sizeof (const void  *_buffer  /**< */,
6030                                      uint8_t      nTypes  /**< */,
6031                                      uint32_t     indicators  /**< */,
6032                                      uint16_t     virtualMods  /**< */,
6033                                      uint8_t      groupNames  /**< */,
6034                                      uint8_t      nKeys  /**< */,
6035                                      uint8_t      nKeyAliases  /**< */,
6036                                      uint8_t      nRadioGroups  /**< */,
6037                                      uint32_t     which  /**< */);
6038 
6039 /**
6040  *
6041  * @param c The connection
6042  * @return A cookie
6043  *
6044  * Delivers a request to the X server.
6045  *
6046  */
6047 xcb_xkb_get_names_cookie_t
6048 xcb_xkb_get_names (xcb_connection_t      *c  /**< */,
6049                    xcb_xkb_device_spec_t  deviceSpec  /**< */,
6050                    uint32_t               which  /**< */);
6051 
6052 /**
6053  *
6054  * @param c The connection
6055  * @return A cookie
6056  *
6057  * Delivers a request to the X server.
6058  *
6059  * This form can be used only if the request will cause
6060  * a reply to be generated. Any returned error will be
6061  * placed in the event queue.
6062  */
6063 xcb_xkb_get_names_cookie_t
6064 xcb_xkb_get_names_unchecked (xcb_connection_t      *c  /**< */,
6065                              xcb_xkb_device_spec_t  deviceSpec  /**< */,
6066                              uint32_t               which  /**< */);
6067 
6068 void *
6069 xcb_xkb_get_names_value_list (const xcb_xkb_get_names_reply_t *R  /**< */);
6070 
6071 /**
6072  * Return the reply
6073  * @param c      The connection
6074  * @param cookie The cookie
6075  * @param e      The xcb_generic_error_t supplied
6076  *
6077  * Returns the reply of the request asked by
6078  *
6079  * The parameter @p e supplied to this function must be NULL if
6080  * xcb_xkb_get_names_unchecked(). is used.
6081  * Otherwise, it stores the error if any.
6082  *
6083  * The returned value must be freed by the caller using free().
6084  */
6085 xcb_xkb_get_names_reply_t *
6086 xcb_xkb_get_names_reply (xcb_connection_t            *c  /**< */,
6087                          xcb_xkb_get_names_cookie_t   cookie  /**< */,
6088                          xcb_generic_error_t        **e  /**< */);
6089 
6090 xcb_atom_t *
6091 xcb_xkb_set_names_values_type_names (const xcb_xkb_set_names_values_t *S  /**< */);
6092 
6093 int
6094 xcb_xkb_set_names_values_type_names_length (const xcb_xkb_set_names_request_t *R  /**< */,
6095                                             const xcb_xkb_set_names_values_t *S /**< */);
6096 
6097 xcb_generic_iterator_t
6098 xcb_xkb_set_names_values_type_names_end (const xcb_xkb_set_names_request_t *R  /**< */,
6099                                          const xcb_xkb_set_names_values_t *S /**< */);
6100 
6101 uint8_t *
6102 xcb_xkb_set_names_values_n_levels_per_type (const xcb_xkb_set_names_values_t *S  /**< */);
6103 
6104 int
6105 xcb_xkb_set_names_values_n_levels_per_type_length (const xcb_xkb_set_names_request_t *R  /**< */,
6106                                                    const xcb_xkb_set_names_values_t *S /**< */);
6107 
6108 xcb_generic_iterator_t
6109 xcb_xkb_set_names_values_n_levels_per_type_end (const xcb_xkb_set_names_request_t *R  /**< */,
6110                                                 const xcb_xkb_set_names_values_t *S /**< */);
6111 
6112 xcb_atom_t *
6113 xcb_xkb_set_names_values_kt_level_names (const xcb_xkb_set_names_values_t *S  /**< */);
6114 
6115 int
6116 xcb_xkb_set_names_values_kt_level_names_length (const xcb_xkb_set_names_request_t *R  /**< */,
6117                                                 const xcb_xkb_set_names_values_t *S /**< */);
6118 
6119 xcb_generic_iterator_t
6120 xcb_xkb_set_names_values_kt_level_names_end (const xcb_xkb_set_names_request_t *R  /**< */,
6121                                              const xcb_xkb_set_names_values_t *S /**< */);
6122 
6123 xcb_atom_t *
6124 xcb_xkb_set_names_values_indicator_names (const xcb_xkb_set_names_values_t *S  /**< */);
6125 
6126 int
6127 xcb_xkb_set_names_values_indicator_names_length (const xcb_xkb_set_names_request_t *R  /**< */,
6128                                                  const xcb_xkb_set_names_values_t *S /**< */);
6129 
6130 xcb_generic_iterator_t
6131 xcb_xkb_set_names_values_indicator_names_end (const xcb_xkb_set_names_request_t *R  /**< */,
6132                                               const xcb_xkb_set_names_values_t *S /**< */);
6133 
6134 xcb_atom_t *
6135 xcb_xkb_set_names_values_virtual_mod_names (const xcb_xkb_set_names_values_t *S  /**< */);
6136 
6137 int
6138 xcb_xkb_set_names_values_virtual_mod_names_length (const xcb_xkb_set_names_request_t *R  /**< */,
6139                                                    const xcb_xkb_set_names_values_t *S /**< */);
6140 
6141 xcb_generic_iterator_t
6142 xcb_xkb_set_names_values_virtual_mod_names_end (const xcb_xkb_set_names_request_t *R  /**< */,
6143                                                 const xcb_xkb_set_names_values_t *S /**< */);
6144 
6145 xcb_atom_t *
6146 xcb_xkb_set_names_values_groups (const xcb_xkb_set_names_values_t *S  /**< */);
6147 
6148 int
6149 xcb_xkb_set_names_values_groups_length (const xcb_xkb_set_names_request_t *R  /**< */,
6150                                         const xcb_xkb_set_names_values_t *S /**< */);
6151 
6152 xcb_generic_iterator_t
6153 xcb_xkb_set_names_values_groups_end (const xcb_xkb_set_names_request_t *R  /**< */,
6154                                      const xcb_xkb_set_names_values_t *S /**< */);
6155 
6156 xcb_xkb_key_name_t *
6157 xcb_xkb_set_names_values_key_names (const xcb_xkb_set_names_values_t *S  /**< */);
6158 
6159 int
6160 xcb_xkb_set_names_values_key_names_length (const xcb_xkb_set_names_request_t *R  /**< */,
6161                                            const xcb_xkb_set_names_values_t *S /**< */);
6162 
6163 xcb_xkb_key_name_iterator_t
6164 xcb_xkb_set_names_values_key_names_iterator (const xcb_xkb_set_names_request_t *R  /**< */,
6165                                              const xcb_xkb_set_names_values_t *S /**< */);
6166 
6167 xcb_xkb_key_alias_t *
6168 xcb_xkb_set_names_values_key_aliases (const xcb_xkb_set_names_values_t *S  /**< */);
6169 
6170 int
6171 xcb_xkb_set_names_values_key_aliases_length (const xcb_xkb_set_names_request_t *R  /**< */,
6172                                              const xcb_xkb_set_names_values_t *S /**< */);
6173 
6174 xcb_xkb_key_alias_iterator_t
6175 xcb_xkb_set_names_values_key_aliases_iterator (const xcb_xkb_set_names_request_t *R  /**< */,
6176                                                const xcb_xkb_set_names_values_t *S /**< */);
6177 
6178 xcb_atom_t *
6179 xcb_xkb_set_names_values_radio_group_names (const xcb_xkb_set_names_values_t *S  /**< */);
6180 
6181 int
6182 xcb_xkb_set_names_values_radio_group_names_length (const xcb_xkb_set_names_request_t *R  /**< */,
6183                                                    const xcb_xkb_set_names_values_t *S /**< */);
6184 
6185 xcb_generic_iterator_t
6186 xcb_xkb_set_names_values_radio_group_names_end (const xcb_xkb_set_names_request_t *R  /**< */,
6187                                                 const xcb_xkb_set_names_values_t *S /**< */);
6188 
6189 int
6190 xcb_xkb_set_names_values_serialize (void                             **_buffer  /**< */,
6191                                     uint8_t                            nTypes  /**< */,
6192                                     uint32_t                           indicators  /**< */,
6193                                     uint16_t                           virtualMods  /**< */,
6194                                     uint8_t                            groupNames  /**< */,
6195                                     uint8_t                            nKeys  /**< */,
6196                                     uint8_t                            nKeyAliases  /**< */,
6197                                     uint8_t                            nRadioGroups  /**< */,
6198                                     uint32_t                           which  /**< */,
6199                                     const xcb_xkb_set_names_values_t  *_aux  /**< */);
6200 
6201 int
6202 xcb_xkb_set_names_values_unpack (const void                  *_buffer  /**< */,
6203                                  uint8_t                      nTypes  /**< */,
6204                                  uint32_t                     indicators  /**< */,
6205                                  uint16_t                     virtualMods  /**< */,
6206                                  uint8_t                      groupNames  /**< */,
6207                                  uint8_t                      nKeys  /**< */,
6208                                  uint8_t                      nKeyAliases  /**< */,
6209                                  uint8_t                      nRadioGroups  /**< */,
6210                                  uint32_t                     which  /**< */,
6211                                  xcb_xkb_set_names_values_t  *_aux  /**< */);
6212 
6213 int
6214 xcb_xkb_set_names_values_sizeof (const void  *_buffer  /**< */,
6215                                  uint8_t      nTypes  /**< */,
6216                                  uint32_t     indicators  /**< */,
6217                                  uint16_t     virtualMods  /**< */,
6218                                  uint8_t      groupNames  /**< */,
6219                                  uint8_t      nKeys  /**< */,
6220                                  uint8_t      nKeyAliases  /**< */,
6221                                  uint8_t      nRadioGroups  /**< */,
6222                                  uint32_t     which  /**< */);
6223 
6224 /**
6225  *
6226  * @param c The connection
6227  * @return A cookie
6228  *
6229  * Delivers a request to the X server.
6230  *
6231  * This form can be used only if the request will not cause
6232  * a reply to be generated. Any returned error will be
6233  * saved for handling by xcb_request_check().
6234  */
6235 xcb_void_cookie_t
6236 xcb_xkb_set_names_checked (xcb_connection_t      *c  /**< */,
6237                            xcb_xkb_device_spec_t  deviceSpec  /**< */,
6238                            uint16_t               virtualMods  /**< */,
6239                            uint32_t               which  /**< */,
6240                            uint8_t                firstType  /**< */,
6241                            uint8_t                nTypes  /**< */,
6242                            uint8_t                firstKTLevelt  /**< */,
6243                            uint8_t                nKTLevels  /**< */,
6244                            uint32_t               indicators  /**< */,
6245                            uint8_t                groupNames  /**< */,
6246                            uint8_t                nRadioGroups  /**< */,
6247                            xcb_keycode_t          firstKey  /**< */,
6248                            uint8_t                nKeys  /**< */,
6249                            uint8_t                nKeyAliases  /**< */,
6250                            uint16_t               totalKTLevelNames  /**< */,
6251                            const void            *values  /**< */);
6252 
6253 /**
6254  *
6255  * @param c The connection
6256  * @return A cookie
6257  *
6258  * Delivers a request to the X server.
6259  *
6260  */
6261 xcb_void_cookie_t
6262 xcb_xkb_set_names (xcb_connection_t      *c  /**< */,
6263                    xcb_xkb_device_spec_t  deviceSpec  /**< */,
6264                    uint16_t               virtualMods  /**< */,
6265                    uint32_t               which  /**< */,
6266                    uint8_t                firstType  /**< */,
6267                    uint8_t                nTypes  /**< */,
6268                    uint8_t                firstKTLevelt  /**< */,
6269                    uint8_t                nKTLevels  /**< */,
6270                    uint32_t               indicators  /**< */,
6271                    uint8_t                groupNames  /**< */,
6272                    uint8_t                nRadioGroups  /**< */,
6273                    xcb_keycode_t          firstKey  /**< */,
6274                    uint8_t                nKeys  /**< */,
6275                    uint8_t                nKeyAliases  /**< */,
6276                    uint16_t               totalKTLevelNames  /**< */,
6277                    const void            *values  /**< */);
6278 
6279 /**
6280  *
6281  * @param c The connection
6282  * @return A cookie
6283  *
6284  * Delivers a request to the X server.
6285  *
6286  * This form can be used only if the request will not cause
6287  * a reply to be generated. Any returned error will be
6288  * saved for handling by xcb_request_check().
6289  */
6290 xcb_void_cookie_t
6291 xcb_xkb_set_names_aux_checked (xcb_connection_t                 *c  /**< */,
6292                                xcb_xkb_device_spec_t             deviceSpec  /**< */,
6293                                uint16_t                          virtualMods  /**< */,
6294                                uint32_t                          which  /**< */,
6295                                uint8_t                           firstType  /**< */,
6296                                uint8_t                           nTypes  /**< */,
6297                                uint8_t                           firstKTLevelt  /**< */,
6298                                uint8_t                           nKTLevels  /**< */,
6299                                uint32_t                          indicators  /**< */,
6300                                uint8_t                           groupNames  /**< */,
6301                                uint8_t                           nRadioGroups  /**< */,
6302                                xcb_keycode_t                     firstKey  /**< */,
6303                                uint8_t                           nKeys  /**< */,
6304                                uint8_t                           nKeyAliases  /**< */,
6305                                uint16_t                          totalKTLevelNames  /**< */,
6306                                const xcb_xkb_set_names_values_t *values  /**< */);
6307 
6308 /**
6309  *
6310  * @param c The connection
6311  * @return A cookie
6312  *
6313  * Delivers a request to the X server.
6314  *
6315  */
6316 xcb_void_cookie_t
6317 xcb_xkb_set_names_aux (xcb_connection_t                 *c  /**< */,
6318                        xcb_xkb_device_spec_t             deviceSpec  /**< */,
6319                        uint16_t                          virtualMods  /**< */,
6320                        uint32_t                          which  /**< */,
6321                        uint8_t                           firstType  /**< */,
6322                        uint8_t                           nTypes  /**< */,
6323                        uint8_t                           firstKTLevelt  /**< */,
6324                        uint8_t                           nKTLevels  /**< */,
6325                        uint32_t                          indicators  /**< */,
6326                        uint8_t                           groupNames  /**< */,
6327                        uint8_t                           nRadioGroups  /**< */,
6328                        xcb_keycode_t                     firstKey  /**< */,
6329                        uint8_t                           nKeys  /**< */,
6330                        uint8_t                           nKeyAliases  /**< */,
6331                        uint16_t                          totalKTLevelNames  /**< */,
6332                        const xcb_xkb_set_names_values_t *values  /**< */);
6333 
6334 /**
6335  *
6336  * @param c The connection
6337  * @return A cookie
6338  *
6339  * Delivers a request to the X server.
6340  *
6341  */
6342 xcb_xkb_per_client_flags_cookie_t
6343 xcb_xkb_per_client_flags (xcb_connection_t      *c  /**< */,
6344                           xcb_xkb_device_spec_t  deviceSpec  /**< */,
6345                           uint32_t               change  /**< */,
6346                           uint32_t               value  /**< */,
6347                           uint32_t               ctrlsToChange  /**< */,
6348                           uint32_t               autoCtrls  /**< */,
6349                           uint32_t               autoCtrlsValues  /**< */);
6350 
6351 /**
6352  *
6353  * @param c The connection
6354  * @return A cookie
6355  *
6356  * Delivers a request to the X server.
6357  *
6358  * This form can be used only if the request will cause
6359  * a reply to be generated. Any returned error will be
6360  * placed in the event queue.
6361  */
6362 xcb_xkb_per_client_flags_cookie_t
6363 xcb_xkb_per_client_flags_unchecked (xcb_connection_t      *c  /**< */,
6364                                     xcb_xkb_device_spec_t  deviceSpec  /**< */,
6365                                     uint32_t               change  /**< */,
6366                                     uint32_t               value  /**< */,
6367                                     uint32_t               ctrlsToChange  /**< */,
6368                                     uint32_t               autoCtrls  /**< */,
6369                                     uint32_t               autoCtrlsValues  /**< */);
6370 
6371 /**
6372  * Return the reply
6373  * @param c      The connection
6374  * @param cookie The cookie
6375  * @param e      The xcb_generic_error_t supplied
6376  *
6377  * Returns the reply of the request asked by
6378  *
6379  * The parameter @p e supplied to this function must be NULL if
6380  * xcb_xkb_per_client_flags_unchecked(). is used.
6381  * Otherwise, it stores the error if any.
6382  *
6383  * The returned value must be freed by the caller using free().
6384  */
6385 xcb_xkb_per_client_flags_reply_t *
6386 xcb_xkb_per_client_flags_reply (xcb_connection_t                   *c  /**< */,
6387                                 xcb_xkb_per_client_flags_cookie_t   cookie  /**< */,
6388                                 xcb_generic_error_t               **e  /**< */);
6389 
6390 int
6391 xcb_xkb_list_components_sizeof (const void  *_buffer  /**< */);
6392 
6393 /**
6394  *
6395  * @param c The connection
6396  * @return A cookie
6397  *
6398  * Delivers a request to the X server.
6399  *
6400  */
6401 xcb_xkb_list_components_cookie_t
6402 xcb_xkb_list_components (xcb_connection_t      *c  /**< */,
6403                          xcb_xkb_device_spec_t  deviceSpec  /**< */,
6404                          uint16_t               maxNames  /**< */);
6405 
6406 /**
6407  *
6408  * @param c The connection
6409  * @return A cookie
6410  *
6411  * Delivers a request to the X server.
6412  *
6413  * This form can be used only if the request will cause
6414  * a reply to be generated. Any returned error will be
6415  * placed in the event queue.
6416  */
6417 xcb_xkb_list_components_cookie_t
6418 xcb_xkb_list_components_unchecked (xcb_connection_t      *c  /**< */,
6419                                    xcb_xkb_device_spec_t  deviceSpec  /**< */,
6420                                    uint16_t               maxNames  /**< */);
6421 
6422 int
6423 xcb_xkb_list_components_keymaps_length (const xcb_xkb_list_components_reply_t *R  /**< */);
6424 
6425 xcb_xkb_listing_iterator_t
6426 xcb_xkb_list_components_keymaps_iterator (const xcb_xkb_list_components_reply_t *R  /**< */);
6427 
6428 int
6429 xcb_xkb_list_components_keycodes_length (const xcb_xkb_list_components_reply_t *R  /**< */);
6430 
6431 xcb_xkb_listing_iterator_t
6432 xcb_xkb_list_components_keycodes_iterator (const xcb_xkb_list_components_reply_t *R  /**< */);
6433 
6434 int
6435 xcb_xkb_list_components_types_length (const xcb_xkb_list_components_reply_t *R  /**< */);
6436 
6437 xcb_xkb_listing_iterator_t
6438 xcb_xkb_list_components_types_iterator (const xcb_xkb_list_components_reply_t *R  /**< */);
6439 
6440 int
6441 xcb_xkb_list_components_compat_maps_length (const xcb_xkb_list_components_reply_t *R  /**< */);
6442 
6443 xcb_xkb_listing_iterator_t
6444 xcb_xkb_list_components_compat_maps_iterator (const xcb_xkb_list_components_reply_t *R  /**< */);
6445 
6446 int
6447 xcb_xkb_list_components_symbols_length (const xcb_xkb_list_components_reply_t *R  /**< */);
6448 
6449 xcb_xkb_listing_iterator_t
6450 xcb_xkb_list_components_symbols_iterator (const xcb_xkb_list_components_reply_t *R  /**< */);
6451 
6452 int
6453 xcb_xkb_list_components_geometries_length (const xcb_xkb_list_components_reply_t *R  /**< */);
6454 
6455 xcb_xkb_listing_iterator_t
6456 xcb_xkb_list_components_geometries_iterator (const xcb_xkb_list_components_reply_t *R  /**< */);
6457 
6458 /**
6459  * Return the reply
6460  * @param c      The connection
6461  * @param cookie The cookie
6462  * @param e      The xcb_generic_error_t supplied
6463  *
6464  * Returns the reply of the request asked by
6465  *
6466  * The parameter @p e supplied to this function must be NULL if
6467  * xcb_xkb_list_components_unchecked(). is used.
6468  * Otherwise, it stores the error if any.
6469  *
6470  * The returned value must be freed by the caller using free().
6471  */
6472 xcb_xkb_list_components_reply_t *
6473 xcb_xkb_list_components_reply (xcb_connection_t                  *c  /**< */,
6474                                xcb_xkb_list_components_cookie_t   cookie  /**< */,
6475                                xcb_generic_error_t              **e  /**< */);
6476 
6477 int
6478 xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6479                                                              const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6480 
6481 xcb_xkb_key_type_iterator_t
6482 xcb_xkb_get_kbd_by_name_replies_types_map_types_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6483                                                                const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6484 
6485 int
6486 xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6487                                                             const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6488 
6489 xcb_xkb_key_sym_map_iterator_t
6490 xcb_xkb_get_kbd_by_name_replies_types_map_syms_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6491                                                               const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6492 
6493 uint8_t *
6494 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6495 
6496 int
6497 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6498                                                                   const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6499 
6500 xcb_generic_iterator_t
6501 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_count_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6502                                                                const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6503 
6504 xcb_xkb_action_t *
6505 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6506 
6507 int
6508 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6509                                                                  const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6510 
6511 xcb_xkb_action_iterator_t
6512 xcb_xkb_get_kbd_by_name_replies_types_map_acts_rtrn_acts_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6513                                                                    const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6514 
6515 xcb_xkb_set_behavior_t *
6516 xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6517 
6518 int
6519 xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6520                                                                  const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6521 
6522 xcb_xkb_set_behavior_iterator_t
6523 xcb_xkb_get_kbd_by_name_replies_types_map_behaviors_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6524                                                                    const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6525 
6526 uint8_t *
6527 xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6528 
6529 int
6530 xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6531                                                              const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6532 
6533 xcb_generic_iterator_t
6534 xcb_xkb_get_kbd_by_name_replies_types_map_vmods_rtrn_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6535                                                           const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6536 
6537 xcb_xkb_set_explicit_t *
6538 xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6539 
6540 int
6541 xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6542                                                                 const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6543 
6544 xcb_xkb_set_explicit_iterator_t
6545 xcb_xkb_get_kbd_by_name_replies_types_map_explicit_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6546                                                                   const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6547 
6548 xcb_xkb_key_mod_map_t *
6549 xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6550 
6551 int
6552 xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6553                                                               const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6554 
6555 xcb_xkb_key_mod_map_iterator_t
6556 xcb_xkb_get_kbd_by_name_replies_types_map_modmap_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6557                                                                 const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6558 
6559 xcb_xkb_key_v_mod_map_t *
6560 xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6561 
6562 int
6563 xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6564                                                                const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6565 
6566 xcb_xkb_key_v_mod_map_iterator_t
6567 xcb_xkb_get_kbd_by_name_replies_types_map_vmodmap_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6568                                                                  const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6569 
6570 int
6571 xcb_xkb_get_kbd_by_name_replies_types_map_serialize (void                                              **_buffer  /**< */,
6572                                                      uint8_t                                             nTypes  /**< */,
6573                                                      uint8_t                                             nKeySyms  /**< */,
6574                                                      uint8_t                                             nKeyActions  /**< */,
6575                                                      uint16_t                                            totalActions  /**< */,
6576                                                      uint8_t                                             totalKeyBehaviors  /**< */,
6577                                                      uint16_t                                            virtualMods  /**< */,
6578                                                      uint8_t                                             totalKeyExplicit  /**< */,
6579                                                      uint8_t                                             totalModMapKeys  /**< */,
6580                                                      uint8_t                                             totalVModMapKeys  /**< */,
6581                                                      uint16_t                                            present  /**< */,
6582                                                      const xcb_xkb_get_kbd_by_name_replies_types_map_t  *_aux  /**< */);
6583 
6584 int
6585 xcb_xkb_get_kbd_by_name_replies_types_map_unpack (const void                                   *_buffer  /**< */,
6586                                                   uint8_t                                       nTypes  /**< */,
6587                                                   uint8_t                                       nKeySyms  /**< */,
6588                                                   uint8_t                                       nKeyActions  /**< */,
6589                                                   uint16_t                                      totalActions  /**< */,
6590                                                   uint8_t                                       totalKeyBehaviors  /**< */,
6591                                                   uint16_t                                      virtualMods  /**< */,
6592                                                   uint8_t                                       totalKeyExplicit  /**< */,
6593                                                   uint8_t                                       totalModMapKeys  /**< */,
6594                                                   uint8_t                                       totalVModMapKeys  /**< */,
6595                                                   uint16_t                                      present  /**< */,
6596                                                   xcb_xkb_get_kbd_by_name_replies_types_map_t  *_aux  /**< */);
6597 
6598 int
6599 xcb_xkb_get_kbd_by_name_replies_types_map_sizeof (const void  *_buffer  /**< */,
6600                                                   uint8_t      nTypes  /**< */,
6601                                                   uint8_t      nKeySyms  /**< */,
6602                                                   uint8_t      nKeyActions  /**< */,
6603                                                   uint16_t     totalActions  /**< */,
6604                                                   uint8_t      totalKeyBehaviors  /**< */,
6605                                                   uint16_t     virtualMods  /**< */,
6606                                                   uint8_t      totalKeyExplicit  /**< */,
6607                                                   uint8_t      totalModMapKeys  /**< */,
6608                                                   uint8_t      totalVModMapKeys  /**< */,
6609                                                   uint16_t     present  /**< */);
6610 
6611 xcb_atom_t *
6612 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6613 
6614 int
6615 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6616                                                                         const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6617 
6618 xcb_generic_iterator_t
6619 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_type_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6620                                                                      const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6621 
6622 uint8_t *
6623 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6624 
6625 int
6626 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6627                                                                                const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6628 
6629 xcb_generic_iterator_t
6630 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_n_levels_per_type_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6631                                                                             const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6632 
6633 xcb_atom_t *
6634 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6635 
6636 int
6637 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6638                                                                             const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6639 
6640 xcb_generic_iterator_t
6641 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_kt_level_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6642                                                                          const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6643 
6644 xcb_atom_t *
6645 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6646 
6647 int
6648 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6649                                                                              const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6650 
6651 xcb_generic_iterator_t
6652 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_indicator_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6653                                                                           const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6654 
6655 xcb_atom_t *
6656 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6657 
6658 int
6659 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6660                                                                                const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6661 
6662 xcb_generic_iterator_t
6663 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_virtual_mod_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6664                                                                             const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6665 
6666 xcb_atom_t *
6667 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6668 
6669 int
6670 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6671                                                                     const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6672 
6673 xcb_generic_iterator_t
6674 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_groups_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6675                                                                  const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6676 
6677 xcb_xkb_key_name_t *
6678 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6679 
6680 int
6681 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6682                                                                        const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6683 
6684 xcb_xkb_key_name_iterator_t
6685 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_names_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6686                                                                          const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6687 
6688 xcb_xkb_key_alias_t *
6689 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6690 
6691 int
6692 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6693                                                                          const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6694 
6695 xcb_xkb_key_alias_iterator_t
6696 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_key_aliases_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6697                                                                            const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6698 
6699 xcb_atom_t *
6700 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6701 
6702 int
6703 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6704                                                                                const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6705 
6706 xcb_generic_iterator_t
6707 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_radio_group_names_end (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6708                                                                             const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6709 
6710 int
6711 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_serialize (void                                                         **_buffer  /**< */,
6712                                                                 uint8_t                                                        nTypes  /**< */,
6713                                                                 uint32_t                                                       indicators  /**< */,
6714                                                                 uint16_t                                                       virtualMods  /**< */,
6715                                                                 uint8_t                                                        groupNames  /**< */,
6716                                                                 uint8_t                                                        nKeys  /**< */,
6717                                                                 uint8_t                                                        nKeyAliases  /**< */,
6718                                                                 uint8_t                                                        nRadioGroups  /**< */,
6719                                                                 uint32_t                                                       which  /**< */,
6720                                                                 const xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t  *_aux  /**< */);
6721 
6722 int
6723 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_unpack (const void                                              *_buffer  /**< */,
6724                                                              uint8_t                                                  nTypes  /**< */,
6725                                                              uint32_t                                                 indicators  /**< */,
6726                                                              uint16_t                                                 virtualMods  /**< */,
6727                                                              uint8_t                                                  groupNames  /**< */,
6728                                                              uint8_t                                                  nKeys  /**< */,
6729                                                              uint8_t                                                  nKeyAliases  /**< */,
6730                                                              uint8_t                                                  nRadioGroups  /**< */,
6731                                                              uint32_t                                                 which  /**< */,
6732                                                              xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t  *_aux  /**< */);
6733 
6734 int
6735 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_sizeof (const void  *_buffer  /**< */,
6736                                                              uint8_t      nTypes  /**< */,
6737                                                              uint32_t     indicators  /**< */,
6738                                                              uint16_t     virtualMods  /**< */,
6739                                                              uint8_t      groupNames  /**< */,
6740                                                              uint8_t      nKeys  /**< */,
6741                                                              uint8_t      nKeyAliases  /**< */,
6742                                                              uint8_t      nRadioGroups  /**< */,
6743                                                              uint32_t     which  /**< */);
6744 
6745 xcb_xkb_sym_interpret_t *
6746 xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6747 
6748 int
6749 xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6750                                                            const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6751 
6752 xcb_xkb_sym_interpret_iterator_t
6753 xcb_xkb_get_kbd_by_name_replies_compat_map_si_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6754                                                              const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6755 
6756 xcb_xkb_mod_def_t *
6757 xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6758 
6759 int
6760 xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6761                                                               const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6762 
6763 xcb_xkb_mod_def_iterator_t
6764 xcb_xkb_get_kbd_by_name_replies_compat_map_group_rtrn_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6765                                                                 const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6766 
6767 xcb_xkb_indicator_map_t *
6768 xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps (const xcb_xkb_get_kbd_by_name_replies_t *S  /**< */);
6769 
6770 int
6771 xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_length (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6772                                                             const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6773 
6774 xcb_xkb_indicator_map_iterator_t
6775 xcb_xkb_get_kbd_by_name_replies_indicator_maps_maps_iterator (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */,
6776                                                               const xcb_xkb_get_kbd_by_name_replies_t *S /**< */);
6777 
6778 xcb_xkb_get_kbd_by_name_replies_key_names_value_list_t *
6779 xcb_xkb_get_kbd_by_name_replies_key_names_value_list (const xcb_xkb_get_kbd_by_name_replies_t *R  /**< */);
6780 
6781 xcb_xkb_counted_string_16_t *
6782 xcb_xkb_get_kbd_by_name_replies_geometry_label_font (const xcb_xkb_get_kbd_by_name_replies_t *R  /**< */);
6783 
6784 int
6785 xcb_xkb_get_kbd_by_name_replies_serialize (void                                    **_buffer  /**< */,
6786                                            uint16_t                                  reported  /**< */,
6787                                            const xcb_xkb_get_kbd_by_name_replies_t  *_aux  /**< */);
6788 
6789 int
6790 xcb_xkb_get_kbd_by_name_replies_unpack (const void                         *_buffer  /**< */,
6791                                         uint16_t                            reported  /**< */,
6792                                         xcb_xkb_get_kbd_by_name_replies_t  *_aux  /**< */);
6793 
6794 int
6795 xcb_xkb_get_kbd_by_name_replies_sizeof (const void  *_buffer  /**< */,
6796                                         uint16_t     reported  /**< */);
6797 
6798 /**
6799  *
6800  * @param c The connection
6801  * @return A cookie
6802  *
6803  * Delivers a request to the X server.
6804  *
6805  */
6806 xcb_xkb_get_kbd_by_name_cookie_t
6807 xcb_xkb_get_kbd_by_name (xcb_connection_t      *c  /**< */,
6808                          xcb_xkb_device_spec_t  deviceSpec  /**< */,
6809                          uint16_t               need  /**< */,
6810                          uint16_t               want  /**< */,
6811                          uint8_t                load  /**< */);
6812 
6813 /**
6814  *
6815  * @param c The connection
6816  * @return A cookie
6817  *
6818  * Delivers a request to the X server.
6819  *
6820  * This form can be used only if the request will cause
6821  * a reply to be generated. Any returned error will be
6822  * placed in the event queue.
6823  */
6824 xcb_xkb_get_kbd_by_name_cookie_t
6825 xcb_xkb_get_kbd_by_name_unchecked (xcb_connection_t      *c  /**< */,
6826                                    xcb_xkb_device_spec_t  deviceSpec  /**< */,
6827                                    uint16_t               need  /**< */,
6828                                    uint16_t               want  /**< */,
6829                                    uint8_t                load  /**< */);
6830 
6831 void *
6832 xcb_xkb_get_kbd_by_name_replies (const xcb_xkb_get_kbd_by_name_reply_t *R  /**< */);
6833 
6834 /**
6835  * Return the reply
6836  * @param c      The connection
6837  * @param cookie The cookie
6838  * @param e      The xcb_generic_error_t supplied
6839  *
6840  * Returns the reply of the request asked by
6841  *
6842  * The parameter @p e supplied to this function must be NULL if
6843  * xcb_xkb_get_kbd_by_name_unchecked(). is used.
6844  * Otherwise, it stores the error if any.
6845  *
6846  * The returned value must be freed by the caller using free().
6847  */
6848 xcb_xkb_get_kbd_by_name_reply_t *
6849 xcb_xkb_get_kbd_by_name_reply (xcb_connection_t                  *c  /**< */,
6850                                xcb_xkb_get_kbd_by_name_cookie_t   cookie  /**< */,
6851                                xcb_generic_error_t              **e  /**< */);
6852 
6853 int
6854 xcb_xkb_get_device_info_sizeof (const void  *_buffer  /**< */);
6855 
6856 /**
6857  *
6858  * @param c The connection
6859  * @return A cookie
6860  *
6861  * Delivers a request to the X server.
6862  *
6863  */
6864 xcb_xkb_get_device_info_cookie_t
6865 xcb_xkb_get_device_info (xcb_connection_t         *c  /**< */,
6866                          xcb_xkb_device_spec_t     deviceSpec  /**< */,
6867                          uint16_t                  wanted  /**< */,
6868                          uint8_t                   allButtons  /**< */,
6869                          uint8_t                   firstButton  /**< */,
6870                          uint8_t                   nButtons  /**< */,
6871                          xcb_xkb_led_class_spec_t  ledClass  /**< */,
6872                          xcb_xkb_id_spec_t         ledID  /**< */);
6873 
6874 /**
6875  *
6876  * @param c The connection
6877  * @return A cookie
6878  *
6879  * Delivers a request to the X server.
6880  *
6881  * This form can be used only if the request will cause
6882  * a reply to be generated. Any returned error will be
6883  * placed in the event queue.
6884  */
6885 xcb_xkb_get_device_info_cookie_t
6886 xcb_xkb_get_device_info_unchecked (xcb_connection_t         *c  /**< */,
6887                                    xcb_xkb_device_spec_t     deviceSpec  /**< */,
6888                                    uint16_t                  wanted  /**< */,
6889                                    uint8_t                   allButtons  /**< */,
6890                                    uint8_t                   firstButton  /**< */,
6891                                    uint8_t                   nButtons  /**< */,
6892                                    xcb_xkb_led_class_spec_t  ledClass  /**< */,
6893                                    xcb_xkb_id_spec_t         ledID  /**< */);
6894 
6895 xcb_xkb_string8_t *
6896 xcb_xkb_get_device_info_name (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6897 
6898 int
6899 xcb_xkb_get_device_info_name_length (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6900 
6901 xcb_generic_iterator_t
6902 xcb_xkb_get_device_info_name_end (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6903 
6904 xcb_xkb_action_t *
6905 xcb_xkb_get_device_info_btn_actions (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6906 
6907 int
6908 xcb_xkb_get_device_info_btn_actions_length (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6909 
6910 xcb_xkb_action_iterator_t
6911 xcb_xkb_get_device_info_btn_actions_iterator (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6912 
6913 int
6914 xcb_xkb_get_device_info_leds_length (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6915 
6916 xcb_xkb_device_led_info_iterator_t
6917 xcb_xkb_get_device_info_leds_iterator (const xcb_xkb_get_device_info_reply_t *R  /**< */);
6918 
6919 /**
6920  * Return the reply
6921  * @param c      The connection
6922  * @param cookie The cookie
6923  * @param e      The xcb_generic_error_t supplied
6924  *
6925  * Returns the reply of the request asked by
6926  *
6927  * The parameter @p e supplied to this function must be NULL if
6928  * xcb_xkb_get_device_info_unchecked(). is used.
6929  * Otherwise, it stores the error if any.
6930  *
6931  * The returned value must be freed by the caller using free().
6932  */
6933 xcb_xkb_get_device_info_reply_t *
6934 xcb_xkb_get_device_info_reply (xcb_connection_t                  *c  /**< */,
6935                                xcb_xkb_get_device_info_cookie_t   cookie  /**< */,
6936                                xcb_generic_error_t              **e  /**< */);
6937 
6938 int
6939 xcb_xkb_set_device_info_sizeof (const void  *_buffer  /**< */);
6940 
6941 /**
6942  *
6943  * @param c The connection
6944  * @return A cookie
6945  *
6946  * Delivers a request to the X server.
6947  *
6948  * This form can be used only if the request will not cause
6949  * a reply to be generated. Any returned error will be
6950  * saved for handling by xcb_request_check().
6951  */
6952 xcb_void_cookie_t
6953 xcb_xkb_set_device_info_checked (xcb_connection_t                *c  /**< */,
6954                                  xcb_xkb_device_spec_t            deviceSpec  /**< */,
6955                                  uint8_t                          firstBtn  /**< */,
6956                                  uint8_t                          nBtns  /**< */,
6957                                  uint16_t                         change  /**< */,
6958                                  uint16_t                         nDeviceLedFBs  /**< */,
6959                                  const xcb_xkb_action_t          *btnActions  /**< */,
6960                                  const xcb_xkb_device_led_info_t *leds  /**< */);
6961 
6962 /**
6963  *
6964  * @param c The connection
6965  * @return A cookie
6966  *
6967  * Delivers a request to the X server.
6968  *
6969  */
6970 xcb_void_cookie_t
6971 xcb_xkb_set_device_info (xcb_connection_t                *c  /**< */,
6972                          xcb_xkb_device_spec_t            deviceSpec  /**< */,
6973                          uint8_t                          firstBtn  /**< */,
6974                          uint8_t                          nBtns  /**< */,
6975                          uint16_t                         change  /**< */,
6976                          uint16_t                         nDeviceLedFBs  /**< */,
6977                          const xcb_xkb_action_t          *btnActions  /**< */,
6978                          const xcb_xkb_device_led_info_t *leds  /**< */);
6979 
6980 int
6981 xcb_xkb_set_debugging_flags_sizeof (const void  *_buffer  /**< */);
6982 
6983 /**
6984  *
6985  * @param c The connection
6986  * @return A cookie
6987  *
6988  * Delivers a request to the X server.
6989  *
6990  */
6991 xcb_xkb_set_debugging_flags_cookie_t
6992 xcb_xkb_set_debugging_flags (xcb_connection_t        *c  /**< */,
6993                              uint16_t                 msgLength  /**< */,
6994                              uint32_t                 affectFlags  /**< */,
6995                              uint32_t                 flags  /**< */,
6996                              uint32_t                 affectCtrls  /**< */,
6997                              uint32_t                 ctrls  /**< */,
6998                              const xcb_xkb_string8_t *message  /**< */);
6999 
7000 /**
7001  *
7002  * @param c The connection
7003  * @return A cookie
7004  *
7005  * Delivers a request to the X server.
7006  *
7007  * This form can be used only if the request will cause
7008  * a reply to be generated. Any returned error will be
7009  * placed in the event queue.
7010  */
7011 xcb_xkb_set_debugging_flags_cookie_t
7012 xcb_xkb_set_debugging_flags_unchecked (xcb_connection_t        *c  /**< */,
7013                                        uint16_t                 msgLength  /**< */,
7014                                        uint32_t                 affectFlags  /**< */,
7015                                        uint32_t                 flags  /**< */,
7016                                        uint32_t                 affectCtrls  /**< */,
7017                                        uint32_t                 ctrls  /**< */,
7018                                        const xcb_xkb_string8_t *message  /**< */);
7019 
7020 /**
7021  * Return the reply
7022  * @param c      The connection
7023  * @param cookie The cookie
7024  * @param e      The xcb_generic_error_t supplied
7025  *
7026  * Returns the reply of the request asked by
7027  *
7028  * The parameter @p e supplied to this function must be NULL if
7029  * xcb_xkb_set_debugging_flags_unchecked(). is used.
7030  * Otherwise, it stores the error if any.
7031  *
7032  * The returned value must be freed by the caller using free().
7033  */
7034 xcb_xkb_set_debugging_flags_reply_t *
7035 xcb_xkb_set_debugging_flags_reply (xcb_connection_t                      *c  /**< */,
7036                                    xcb_xkb_set_debugging_flags_cookie_t   cookie  /**< */,
7037                                    xcb_generic_error_t                  **e  /**< */);
7038 
7039 
7040 #ifdef __cplusplus
7041 }
7042 #endif
7043 
7044 #endif
7045 
7046 /**
7047  * @}
7048  */
7049