xref: /netbsd-src/external/mit/xorg/lib/libxcb/files/sync.h (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
1 /*
2  * This file generated automatically from sync.xml by c_client.py.
3  * Edit at your peril.
4  */
5 
6 /**
7  * @defgroup XCB_Sync_API XCB Sync API
8  * @brief Sync XCB Protocol Implementation.
9  * @{
10  **/
11 
12 #ifndef __SYNC_H
13 #define __SYNC_H
14 
15 #include "xcb.h"
16 #include "xproto.h"
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 #define XCB_SYNC_MAJOR_VERSION 3
23 #define XCB_SYNC_MINOR_VERSION 1
24 
25 extern xcb_extension_t xcb_sync_id;
26 
27 typedef uint32_t xcb_sync_alarm_t;
28 
29 /**
30  * @brief xcb_sync_alarm_iterator_t
31  **/
32 typedef struct xcb_sync_alarm_iterator_t {
33     xcb_sync_alarm_t *data; /**<  */
34     int               rem; /**<  */
35     int               index; /**<  */
36 } xcb_sync_alarm_iterator_t;
37 
38 typedef enum xcb_sync_alarmstate_t {
39     XCB_SYNC_ALARMSTATE_ACTIVE = 0,
40     XCB_SYNC_ALARMSTATE_INACTIVE = 1,
41     XCB_SYNC_ALARMSTATE_DESTROYED = 2
42 } xcb_sync_alarmstate_t;
43 
44 typedef uint32_t xcb_sync_counter_t;
45 
46 /**
47  * @brief xcb_sync_counter_iterator_t
48  **/
49 typedef struct xcb_sync_counter_iterator_t {
50     xcb_sync_counter_t *data; /**<  */
51     int                 rem; /**<  */
52     int                 index; /**<  */
53 } xcb_sync_counter_iterator_t;
54 
55 typedef uint32_t xcb_sync_fence_t;
56 
57 /**
58  * @brief xcb_sync_fence_iterator_t
59  **/
60 typedef struct xcb_sync_fence_iterator_t {
61     xcb_sync_fence_t *data; /**<  */
62     int               rem; /**<  */
63     int               index; /**<  */
64 } xcb_sync_fence_iterator_t;
65 
66 typedef enum xcb_sync_testtype_t {
67     XCB_SYNC_TESTTYPE_POSITIVE_TRANSITION = 0,
68     XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION = 1,
69     XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON = 2,
70     XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON = 3
71 } xcb_sync_testtype_t;
72 
73 typedef enum xcb_sync_valuetype_t {
74     XCB_SYNC_VALUETYPE_ABSOLUTE = 0,
75     XCB_SYNC_VALUETYPE_RELATIVE = 1
76 } xcb_sync_valuetype_t;
77 
78 typedef enum xcb_sync_ca_t {
79     XCB_SYNC_CA_COUNTER = 1,
80     XCB_SYNC_CA_VALUE_TYPE = 2,
81     XCB_SYNC_CA_VALUE = 4,
82     XCB_SYNC_CA_TEST_TYPE = 8,
83     XCB_SYNC_CA_DELTA = 16,
84     XCB_SYNC_CA_EVENTS = 32
85 } xcb_sync_ca_t;
86 
87 /**
88  * @brief xcb_sync_int64_t
89  **/
90 typedef struct xcb_sync_int64_t {
91     int32_t  hi; /**<  */
92     uint32_t lo; /**<  */
93 } xcb_sync_int64_t;
94 
95 /**
96  * @brief xcb_sync_int64_iterator_t
97  **/
98 typedef struct xcb_sync_int64_iterator_t {
99     xcb_sync_int64_t *data; /**<  */
100     int               rem; /**<  */
101     int               index; /**<  */
102 } xcb_sync_int64_iterator_t;
103 
104 /**
105  * @brief xcb_sync_systemcounter_t
106  **/
107 typedef struct xcb_sync_systemcounter_t {
108     xcb_sync_counter_t counter; /**<  */
109     xcb_sync_int64_t   resolution; /**<  */
110     uint16_t           name_len; /**<  */
111 } xcb_sync_systemcounter_t;
112 
113 /**
114  * @brief xcb_sync_systemcounter_iterator_t
115  **/
116 typedef struct xcb_sync_systemcounter_iterator_t {
117     xcb_sync_systemcounter_t *data; /**<  */
118     int                       rem; /**<  */
119     int                       index; /**<  */
120 } xcb_sync_systemcounter_iterator_t;
121 
122 /**
123  * @brief xcb_sync_trigger_t
124  **/
125 typedef struct xcb_sync_trigger_t {
126     xcb_sync_counter_t counter; /**<  */
127     uint32_t           wait_type; /**<  */
128     xcb_sync_int64_t   wait_value; /**<  */
129     uint32_t           test_type; /**<  */
130 } xcb_sync_trigger_t;
131 
132 /**
133  * @brief xcb_sync_trigger_iterator_t
134  **/
135 typedef struct xcb_sync_trigger_iterator_t {
136     xcb_sync_trigger_t *data; /**<  */
137     int                 rem; /**<  */
138     int                 index; /**<  */
139 } xcb_sync_trigger_iterator_t;
140 
141 /**
142  * @brief xcb_sync_waitcondition_t
143  **/
144 typedef struct xcb_sync_waitcondition_t {
145     xcb_sync_trigger_t trigger; /**<  */
146     xcb_sync_int64_t   event_threshold; /**<  */
147 } xcb_sync_waitcondition_t;
148 
149 /**
150  * @brief xcb_sync_waitcondition_iterator_t
151  **/
152 typedef struct xcb_sync_waitcondition_iterator_t {
153     xcb_sync_waitcondition_t *data; /**<  */
154     int                       rem; /**<  */
155     int                       index; /**<  */
156 } xcb_sync_waitcondition_iterator_t;
157 
158 /** Opcode for xcb_sync_counter. */
159 #define XCB_SYNC_COUNTER 0
160 
161 /**
162  * @brief xcb_sync_counter_error_t
163  **/
164 typedef struct xcb_sync_counter_error_t {
165     uint8_t  response_type; /**<  */
166     uint8_t  error_code; /**<  */
167     uint16_t sequence; /**<  */
168     uint32_t bad_counter; /**<  */
169     uint16_t minor_opcode; /**<  */
170     uint8_t  major_opcode; /**<  */
171 } xcb_sync_counter_error_t;
172 
173 /** Opcode for xcb_sync_alarm. */
174 #define XCB_SYNC_ALARM 1
175 
176 /**
177  * @brief xcb_sync_alarm_error_t
178  **/
179 typedef struct xcb_sync_alarm_error_t {
180     uint8_t  response_type; /**<  */
181     uint8_t  error_code; /**<  */
182     uint16_t sequence; /**<  */
183     uint32_t bad_alarm; /**<  */
184     uint16_t minor_opcode; /**<  */
185     uint8_t  major_opcode; /**<  */
186 } xcb_sync_alarm_error_t;
187 
188 /**
189  * @brief xcb_sync_initialize_cookie_t
190  **/
191 typedef struct xcb_sync_initialize_cookie_t {
192     unsigned int sequence; /**<  */
193 } xcb_sync_initialize_cookie_t;
194 
195 /** Opcode for xcb_sync_initialize. */
196 #define XCB_SYNC_INITIALIZE 0
197 
198 /**
199  * @brief xcb_sync_initialize_request_t
200  **/
201 typedef struct xcb_sync_initialize_request_t {
202     uint8_t  major_opcode; /**<  */
203     uint8_t  minor_opcode; /**<  */
204     uint16_t length; /**<  */
205     uint8_t  desired_major_version; /**<  */
206     uint8_t  desired_minor_version; /**<  */
207 } xcb_sync_initialize_request_t;
208 
209 /**
210  * @brief xcb_sync_initialize_reply_t
211  **/
212 typedef struct xcb_sync_initialize_reply_t {
213     uint8_t  response_type; /**<  */
214     uint8_t  pad0; /**<  */
215     uint16_t sequence; /**<  */
216     uint32_t length; /**<  */
217     uint8_t  major_version; /**<  */
218     uint8_t  minor_version; /**<  */
219     uint8_t  pad1[22]; /**<  */
220 } xcb_sync_initialize_reply_t;
221 
222 /**
223  * @brief xcb_sync_list_system_counters_cookie_t
224  **/
225 typedef struct xcb_sync_list_system_counters_cookie_t {
226     unsigned int sequence; /**<  */
227 } xcb_sync_list_system_counters_cookie_t;
228 
229 /** Opcode for xcb_sync_list_system_counters. */
230 #define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
231 
232 /**
233  * @brief xcb_sync_list_system_counters_request_t
234  **/
235 typedef struct xcb_sync_list_system_counters_request_t {
236     uint8_t  major_opcode; /**<  */
237     uint8_t  minor_opcode; /**<  */
238     uint16_t length; /**<  */
239 } xcb_sync_list_system_counters_request_t;
240 
241 /**
242  * @brief xcb_sync_list_system_counters_reply_t
243  **/
244 typedef struct xcb_sync_list_system_counters_reply_t {
245     uint8_t  response_type; /**<  */
246     uint8_t  pad0; /**<  */
247     uint16_t sequence; /**<  */
248     uint32_t length; /**<  */
249     uint32_t counters_len; /**<  */
250     uint8_t  pad1[20]; /**<  */
251 } xcb_sync_list_system_counters_reply_t;
252 
253 /** Opcode for xcb_sync_create_counter. */
254 #define XCB_SYNC_CREATE_COUNTER 2
255 
256 /**
257  * @brief xcb_sync_create_counter_request_t
258  **/
259 typedef struct xcb_sync_create_counter_request_t {
260     uint8_t            major_opcode; /**<  */
261     uint8_t            minor_opcode; /**<  */
262     uint16_t           length; /**<  */
263     xcb_sync_counter_t id; /**<  */
264     xcb_sync_int64_t   initial_value; /**<  */
265 } xcb_sync_create_counter_request_t;
266 
267 /** Opcode for xcb_sync_destroy_counter. */
268 #define XCB_SYNC_DESTROY_COUNTER 6
269 
270 /**
271  * @brief xcb_sync_destroy_counter_request_t
272  **/
273 typedef struct xcb_sync_destroy_counter_request_t {
274     uint8_t            major_opcode; /**<  */
275     uint8_t            minor_opcode; /**<  */
276     uint16_t           length; /**<  */
277     xcb_sync_counter_t counter; /**<  */
278 } xcb_sync_destroy_counter_request_t;
279 
280 /**
281  * @brief xcb_sync_query_counter_cookie_t
282  **/
283 typedef struct xcb_sync_query_counter_cookie_t {
284     unsigned int sequence; /**<  */
285 } xcb_sync_query_counter_cookie_t;
286 
287 /** Opcode for xcb_sync_query_counter. */
288 #define XCB_SYNC_QUERY_COUNTER 5
289 
290 /**
291  * @brief xcb_sync_query_counter_request_t
292  **/
293 typedef struct xcb_sync_query_counter_request_t {
294     uint8_t            major_opcode; /**<  */
295     uint8_t            minor_opcode; /**<  */
296     uint16_t           length; /**<  */
297     xcb_sync_counter_t counter; /**<  */
298 } xcb_sync_query_counter_request_t;
299 
300 /**
301  * @brief xcb_sync_query_counter_reply_t
302  **/
303 typedef struct xcb_sync_query_counter_reply_t {
304     uint8_t          response_type; /**<  */
305     uint8_t          pad0; /**<  */
306     uint16_t         sequence; /**<  */
307     uint32_t         length; /**<  */
308     xcb_sync_int64_t counter_value; /**<  */
309 } xcb_sync_query_counter_reply_t;
310 
311 /** Opcode for xcb_sync_await. */
312 #define XCB_SYNC_AWAIT 7
313 
314 /**
315  * @brief xcb_sync_await_request_t
316  **/
317 typedef struct xcb_sync_await_request_t {
318     uint8_t  major_opcode; /**<  */
319     uint8_t  minor_opcode; /**<  */
320     uint16_t length; /**<  */
321 } xcb_sync_await_request_t;
322 
323 /** Opcode for xcb_sync_change_counter. */
324 #define XCB_SYNC_CHANGE_COUNTER 4
325 
326 /**
327  * @brief xcb_sync_change_counter_request_t
328  **/
329 typedef struct xcb_sync_change_counter_request_t {
330     uint8_t            major_opcode; /**<  */
331     uint8_t            minor_opcode; /**<  */
332     uint16_t           length; /**<  */
333     xcb_sync_counter_t counter; /**<  */
334     xcb_sync_int64_t   amount; /**<  */
335 } xcb_sync_change_counter_request_t;
336 
337 /** Opcode for xcb_sync_set_counter. */
338 #define XCB_SYNC_SET_COUNTER 3
339 
340 /**
341  * @brief xcb_sync_set_counter_request_t
342  **/
343 typedef struct xcb_sync_set_counter_request_t {
344     uint8_t            major_opcode; /**<  */
345     uint8_t            minor_opcode; /**<  */
346     uint16_t           length; /**<  */
347     xcb_sync_counter_t counter; /**<  */
348     xcb_sync_int64_t   value; /**<  */
349 } xcb_sync_set_counter_request_t;
350 
351 /**
352  * @brief xcb_sync_create_alarm_value_list_t
353  **/
354 typedef struct xcb_sync_create_alarm_value_list_t {
355     xcb_sync_counter_t counter; /**<  */
356     uint32_t           valueType; /**<  */
357     xcb_sync_int64_t   value; /**<  */
358     uint32_t           testType; /**<  */
359     xcb_sync_int64_t   delta; /**<  */
360     uint32_t           events; /**<  */
361 } xcb_sync_create_alarm_value_list_t;
362 
363 /** Opcode for xcb_sync_create_alarm. */
364 #define XCB_SYNC_CREATE_ALARM 8
365 
366 /**
367  * @brief xcb_sync_create_alarm_request_t
368  **/
369 typedef struct xcb_sync_create_alarm_request_t {
370     uint8_t          major_opcode; /**<  */
371     uint8_t          minor_opcode; /**<  */
372     uint16_t         length; /**<  */
373     xcb_sync_alarm_t id; /**<  */
374     uint32_t         value_mask; /**<  */
375 } xcb_sync_create_alarm_request_t;
376 
377 /**
378  * @brief xcb_sync_change_alarm_value_list_t
379  **/
380 typedef struct xcb_sync_change_alarm_value_list_t {
381     xcb_sync_counter_t counter; /**<  */
382     uint32_t           valueType; /**<  */
383     xcb_sync_int64_t   value; /**<  */
384     uint32_t           testType; /**<  */
385     xcb_sync_int64_t   delta; /**<  */
386     uint32_t           events; /**<  */
387 } xcb_sync_change_alarm_value_list_t;
388 
389 /** Opcode for xcb_sync_change_alarm. */
390 #define XCB_SYNC_CHANGE_ALARM 9
391 
392 /**
393  * @brief xcb_sync_change_alarm_request_t
394  **/
395 typedef struct xcb_sync_change_alarm_request_t {
396     uint8_t          major_opcode; /**<  */
397     uint8_t          minor_opcode; /**<  */
398     uint16_t         length; /**<  */
399     xcb_sync_alarm_t id; /**<  */
400     uint32_t         value_mask; /**<  */
401 } xcb_sync_change_alarm_request_t;
402 
403 /** Opcode for xcb_sync_destroy_alarm. */
404 #define XCB_SYNC_DESTROY_ALARM 11
405 
406 /**
407  * @brief xcb_sync_destroy_alarm_request_t
408  **/
409 typedef struct xcb_sync_destroy_alarm_request_t {
410     uint8_t          major_opcode; /**<  */
411     uint8_t          minor_opcode; /**<  */
412     uint16_t         length; /**<  */
413     xcb_sync_alarm_t alarm; /**<  */
414 } xcb_sync_destroy_alarm_request_t;
415 
416 /**
417  * @brief xcb_sync_query_alarm_cookie_t
418  **/
419 typedef struct xcb_sync_query_alarm_cookie_t {
420     unsigned int sequence; /**<  */
421 } xcb_sync_query_alarm_cookie_t;
422 
423 /** Opcode for xcb_sync_query_alarm. */
424 #define XCB_SYNC_QUERY_ALARM 10
425 
426 /**
427  * @brief xcb_sync_query_alarm_request_t
428  **/
429 typedef struct xcb_sync_query_alarm_request_t {
430     uint8_t          major_opcode; /**<  */
431     uint8_t          minor_opcode; /**<  */
432     uint16_t         length; /**<  */
433     xcb_sync_alarm_t alarm; /**<  */
434 } xcb_sync_query_alarm_request_t;
435 
436 /**
437  * @brief xcb_sync_query_alarm_reply_t
438  **/
439 typedef struct xcb_sync_query_alarm_reply_t {
440     uint8_t            response_type; /**<  */
441     uint8_t            pad0; /**<  */
442     uint16_t           sequence; /**<  */
443     uint32_t           length; /**<  */
444     xcb_sync_trigger_t trigger; /**<  */
445     xcb_sync_int64_t   delta; /**<  */
446     uint8_t            events; /**<  */
447     uint8_t            state; /**<  */
448     uint8_t            pad1[2]; /**<  */
449 } xcb_sync_query_alarm_reply_t;
450 
451 /** Opcode for xcb_sync_set_priority. */
452 #define XCB_SYNC_SET_PRIORITY 12
453 
454 /**
455  * @brief xcb_sync_set_priority_request_t
456  **/
457 typedef struct xcb_sync_set_priority_request_t {
458     uint8_t  major_opcode; /**<  */
459     uint8_t  minor_opcode; /**<  */
460     uint16_t length; /**<  */
461     uint32_t id; /**<  */
462     int32_t  priority; /**<  */
463 } xcb_sync_set_priority_request_t;
464 
465 /**
466  * @brief xcb_sync_get_priority_cookie_t
467  **/
468 typedef struct xcb_sync_get_priority_cookie_t {
469     unsigned int sequence; /**<  */
470 } xcb_sync_get_priority_cookie_t;
471 
472 /** Opcode for xcb_sync_get_priority. */
473 #define XCB_SYNC_GET_PRIORITY 13
474 
475 /**
476  * @brief xcb_sync_get_priority_request_t
477  **/
478 typedef struct xcb_sync_get_priority_request_t {
479     uint8_t  major_opcode; /**<  */
480     uint8_t  minor_opcode; /**<  */
481     uint16_t length; /**<  */
482     uint32_t id; /**<  */
483 } xcb_sync_get_priority_request_t;
484 
485 /**
486  * @brief xcb_sync_get_priority_reply_t
487  **/
488 typedef struct xcb_sync_get_priority_reply_t {
489     uint8_t  response_type; /**<  */
490     uint8_t  pad0; /**<  */
491     uint16_t sequence; /**<  */
492     uint32_t length; /**<  */
493     int32_t  priority; /**<  */
494 } xcb_sync_get_priority_reply_t;
495 
496 /** Opcode for xcb_sync_create_fence. */
497 #define XCB_SYNC_CREATE_FENCE 14
498 
499 /**
500  * @brief xcb_sync_create_fence_request_t
501  **/
502 typedef struct xcb_sync_create_fence_request_t {
503     uint8_t          major_opcode; /**<  */
504     uint8_t          minor_opcode; /**<  */
505     uint16_t         length; /**<  */
506     xcb_drawable_t   drawable; /**<  */
507     xcb_sync_fence_t fence; /**<  */
508     uint8_t          initially_triggered; /**<  */
509 } xcb_sync_create_fence_request_t;
510 
511 /** Opcode for xcb_sync_trigger_fence. */
512 #define XCB_SYNC_TRIGGER_FENCE 15
513 
514 /**
515  * @brief xcb_sync_trigger_fence_request_t
516  **/
517 typedef struct xcb_sync_trigger_fence_request_t {
518     uint8_t          major_opcode; /**<  */
519     uint8_t          minor_opcode; /**<  */
520     uint16_t         length; /**<  */
521     xcb_sync_fence_t fence; /**<  */
522 } xcb_sync_trigger_fence_request_t;
523 
524 /** Opcode for xcb_sync_reset_fence. */
525 #define XCB_SYNC_RESET_FENCE 16
526 
527 /**
528  * @brief xcb_sync_reset_fence_request_t
529  **/
530 typedef struct xcb_sync_reset_fence_request_t {
531     uint8_t          major_opcode; /**<  */
532     uint8_t          minor_opcode; /**<  */
533     uint16_t         length; /**<  */
534     xcb_sync_fence_t fence; /**<  */
535 } xcb_sync_reset_fence_request_t;
536 
537 /** Opcode for xcb_sync_destroy_fence. */
538 #define XCB_SYNC_DESTROY_FENCE 17
539 
540 /**
541  * @brief xcb_sync_destroy_fence_request_t
542  **/
543 typedef struct xcb_sync_destroy_fence_request_t {
544     uint8_t          major_opcode; /**<  */
545     uint8_t          minor_opcode; /**<  */
546     uint16_t         length; /**<  */
547     xcb_sync_fence_t fence; /**<  */
548 } xcb_sync_destroy_fence_request_t;
549 
550 /**
551  * @brief xcb_sync_query_fence_cookie_t
552  **/
553 typedef struct xcb_sync_query_fence_cookie_t {
554     unsigned int sequence; /**<  */
555 } xcb_sync_query_fence_cookie_t;
556 
557 /** Opcode for xcb_sync_query_fence. */
558 #define XCB_SYNC_QUERY_FENCE 18
559 
560 /**
561  * @brief xcb_sync_query_fence_request_t
562  **/
563 typedef struct xcb_sync_query_fence_request_t {
564     uint8_t          major_opcode; /**<  */
565     uint8_t          minor_opcode; /**<  */
566     uint16_t         length; /**<  */
567     xcb_sync_fence_t fence; /**<  */
568 } xcb_sync_query_fence_request_t;
569 
570 /**
571  * @brief xcb_sync_query_fence_reply_t
572  **/
573 typedef struct xcb_sync_query_fence_reply_t {
574     uint8_t  response_type; /**<  */
575     uint8_t  pad0; /**<  */
576     uint16_t sequence; /**<  */
577     uint32_t length; /**<  */
578     uint8_t  triggered; /**<  */
579     uint8_t  pad1[23]; /**<  */
580 } xcb_sync_query_fence_reply_t;
581 
582 /** Opcode for xcb_sync_await_fence. */
583 #define XCB_SYNC_AWAIT_FENCE 19
584 
585 /**
586  * @brief xcb_sync_await_fence_request_t
587  **/
588 typedef struct xcb_sync_await_fence_request_t {
589     uint8_t  major_opcode; /**<  */
590     uint8_t  minor_opcode; /**<  */
591     uint16_t length; /**<  */
592 } xcb_sync_await_fence_request_t;
593 
594 /** Opcode for xcb_sync_counter_notify. */
595 #define XCB_SYNC_COUNTER_NOTIFY 0
596 
597 /**
598  * @brief xcb_sync_counter_notify_event_t
599  **/
600 typedef struct xcb_sync_counter_notify_event_t {
601     uint8_t            response_type; /**<  */
602     uint8_t            kind; /**<  */
603     uint16_t           sequence; /**<  */
604     xcb_sync_counter_t counter; /**<  */
605     xcb_sync_int64_t   wait_value; /**<  */
606     xcb_sync_int64_t   counter_value; /**<  */
607     xcb_timestamp_t    timestamp; /**<  */
608     uint16_t           count; /**<  */
609     uint8_t            destroyed; /**<  */
610     uint8_t            pad0; /**<  */
611 } xcb_sync_counter_notify_event_t;
612 
613 /** Opcode for xcb_sync_alarm_notify. */
614 #define XCB_SYNC_ALARM_NOTIFY 1
615 
616 /**
617  * @brief xcb_sync_alarm_notify_event_t
618  **/
619 typedef struct xcb_sync_alarm_notify_event_t {
620     uint8_t          response_type; /**<  */
621     uint8_t          kind; /**<  */
622     uint16_t         sequence; /**<  */
623     xcb_sync_alarm_t alarm; /**<  */
624     xcb_sync_int64_t counter_value; /**<  */
625     xcb_sync_int64_t alarm_value; /**<  */
626     xcb_timestamp_t  timestamp; /**<  */
627     uint8_t          state; /**<  */
628     uint8_t          pad0[3]; /**<  */
629 } xcb_sync_alarm_notify_event_t;
630 
631 /**
632  * Get the next element of the iterator
633  * @param i Pointer to a xcb_sync_alarm_iterator_t
634  *
635  * Get the next element in the iterator. The member rem is
636  * decreased by one. The member data points to the next
637  * element. The member index is increased by sizeof(xcb_sync_alarm_t)
638  */
639 
640 /*****************************************************************************
641  **
642  ** void xcb_sync_alarm_next
643  **
644  ** @param xcb_sync_alarm_iterator_t *i
645  ** @returns void
646  **
647  *****************************************************************************/
648 
649 void
650 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i  /**< */);
651 
652 /**
653  * Return the iterator pointing to the last element
654  * @param i An xcb_sync_alarm_iterator_t
655  * @return  The iterator pointing to the last element
656  *
657  * Set the current element in the iterator to the last element.
658  * The member rem is set to 0. The member data points to the
659  * last element.
660  */
661 
662 /*****************************************************************************
663  **
664  ** xcb_generic_iterator_t xcb_sync_alarm_end
665  **
666  ** @param xcb_sync_alarm_iterator_t i
667  ** @returns xcb_generic_iterator_t
668  **
669  *****************************************************************************/
670 
671 xcb_generic_iterator_t
672 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i  /**< */);
673 
674 /**
675  * Get the next element of the iterator
676  * @param i Pointer to a xcb_sync_counter_iterator_t
677  *
678  * Get the next element in the iterator. The member rem is
679  * decreased by one. The member data points to the next
680  * element. The member index is increased by sizeof(xcb_sync_counter_t)
681  */
682 
683 /*****************************************************************************
684  **
685  ** void xcb_sync_counter_next
686  **
687  ** @param xcb_sync_counter_iterator_t *i
688  ** @returns void
689  **
690  *****************************************************************************/
691 
692 void
693 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i  /**< */);
694 
695 /**
696  * Return the iterator pointing to the last element
697  * @param i An xcb_sync_counter_iterator_t
698  * @return  The iterator pointing to the last element
699  *
700  * Set the current element in the iterator to the last element.
701  * The member rem is set to 0. The member data points to the
702  * last element.
703  */
704 
705 /*****************************************************************************
706  **
707  ** xcb_generic_iterator_t xcb_sync_counter_end
708  **
709  ** @param xcb_sync_counter_iterator_t i
710  ** @returns xcb_generic_iterator_t
711  **
712  *****************************************************************************/
713 
714 xcb_generic_iterator_t
715 xcb_sync_counter_end (xcb_sync_counter_iterator_t i  /**< */);
716 
717 /**
718  * Get the next element of the iterator
719  * @param i Pointer to a xcb_sync_fence_iterator_t
720  *
721  * Get the next element in the iterator. The member rem is
722  * decreased by one. The member data points to the next
723  * element. The member index is increased by sizeof(xcb_sync_fence_t)
724  */
725 
726 /*****************************************************************************
727  **
728  ** void xcb_sync_fence_next
729  **
730  ** @param xcb_sync_fence_iterator_t *i
731  ** @returns void
732  **
733  *****************************************************************************/
734 
735 void
736 xcb_sync_fence_next (xcb_sync_fence_iterator_t *i  /**< */);
737 
738 /**
739  * Return the iterator pointing to the last element
740  * @param i An xcb_sync_fence_iterator_t
741  * @return  The iterator pointing to the last element
742  *
743  * Set the current element in the iterator to the last element.
744  * The member rem is set to 0. The member data points to the
745  * last element.
746  */
747 
748 /*****************************************************************************
749  **
750  ** xcb_generic_iterator_t xcb_sync_fence_end
751  **
752  ** @param xcb_sync_fence_iterator_t i
753  ** @returns xcb_generic_iterator_t
754  **
755  *****************************************************************************/
756 
757 xcb_generic_iterator_t
758 xcb_sync_fence_end (xcb_sync_fence_iterator_t i  /**< */);
759 
760 /**
761  * Get the next element of the iterator
762  * @param i Pointer to a xcb_sync_int64_iterator_t
763  *
764  * Get the next element in the iterator. The member rem is
765  * decreased by one. The member data points to the next
766  * element. The member index is increased by sizeof(xcb_sync_int64_t)
767  */
768 
769 /*****************************************************************************
770  **
771  ** void xcb_sync_int64_next
772  **
773  ** @param xcb_sync_int64_iterator_t *i
774  ** @returns void
775  **
776  *****************************************************************************/
777 
778 void
779 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i  /**< */);
780 
781 /**
782  * Return the iterator pointing to the last element
783  * @param i An xcb_sync_int64_iterator_t
784  * @return  The iterator pointing to the last element
785  *
786  * Set the current element in the iterator to the last element.
787  * The member rem is set to 0. The member data points to the
788  * last element.
789  */
790 
791 /*****************************************************************************
792  **
793  ** xcb_generic_iterator_t xcb_sync_int64_end
794  **
795  ** @param xcb_sync_int64_iterator_t i
796  ** @returns xcb_generic_iterator_t
797  **
798  *****************************************************************************/
799 
800 xcb_generic_iterator_t
801 xcb_sync_int64_end (xcb_sync_int64_iterator_t i  /**< */);
802 
803 int
804 xcb_sync_systemcounter_sizeof (const void  *_buffer  /**< */);
805 
806 
807 /*****************************************************************************
808  **
809  ** char * xcb_sync_systemcounter_name
810  **
811  ** @param const xcb_sync_systemcounter_t *R
812  ** @returns char *
813  **
814  *****************************************************************************/
815 
816 char *
817 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R  /**< */);
818 
819 
820 /*****************************************************************************
821  **
822  ** int xcb_sync_systemcounter_name_length
823  **
824  ** @param const xcb_sync_systemcounter_t *R
825  ** @returns int
826  **
827  *****************************************************************************/
828 
829 int
830 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R  /**< */);
831 
832 
833 /*****************************************************************************
834  **
835  ** xcb_generic_iterator_t xcb_sync_systemcounter_name_end
836  **
837  ** @param const xcb_sync_systemcounter_t *R
838  ** @returns xcb_generic_iterator_t
839  **
840  *****************************************************************************/
841 
842 xcb_generic_iterator_t
843 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R  /**< */);
844 
845 /**
846  * Get the next element of the iterator
847  * @param i Pointer to a xcb_sync_systemcounter_iterator_t
848  *
849  * Get the next element in the iterator. The member rem is
850  * decreased by one. The member data points to the next
851  * element. The member index is increased by sizeof(xcb_sync_systemcounter_t)
852  */
853 
854 /*****************************************************************************
855  **
856  ** void xcb_sync_systemcounter_next
857  **
858  ** @param xcb_sync_systemcounter_iterator_t *i
859  ** @returns void
860  **
861  *****************************************************************************/
862 
863 void
864 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i  /**< */);
865 
866 /**
867  * Return the iterator pointing to the last element
868  * @param i An xcb_sync_systemcounter_iterator_t
869  * @return  The iterator pointing to the last element
870  *
871  * Set the current element in the iterator to the last element.
872  * The member rem is set to 0. The member data points to the
873  * last element.
874  */
875 
876 /*****************************************************************************
877  **
878  ** xcb_generic_iterator_t xcb_sync_systemcounter_end
879  **
880  ** @param xcb_sync_systemcounter_iterator_t i
881  ** @returns xcb_generic_iterator_t
882  **
883  *****************************************************************************/
884 
885 xcb_generic_iterator_t
886 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i  /**< */);
887 
888 /**
889  * Get the next element of the iterator
890  * @param i Pointer to a xcb_sync_trigger_iterator_t
891  *
892  * Get the next element in the iterator. The member rem is
893  * decreased by one. The member data points to the next
894  * element. The member index is increased by sizeof(xcb_sync_trigger_t)
895  */
896 
897 /*****************************************************************************
898  **
899  ** void xcb_sync_trigger_next
900  **
901  ** @param xcb_sync_trigger_iterator_t *i
902  ** @returns void
903  **
904  *****************************************************************************/
905 
906 void
907 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i  /**< */);
908 
909 /**
910  * Return the iterator pointing to the last element
911  * @param i An xcb_sync_trigger_iterator_t
912  * @return  The iterator pointing to the last element
913  *
914  * Set the current element in the iterator to the last element.
915  * The member rem is set to 0. The member data points to the
916  * last element.
917  */
918 
919 /*****************************************************************************
920  **
921  ** xcb_generic_iterator_t xcb_sync_trigger_end
922  **
923  ** @param xcb_sync_trigger_iterator_t i
924  ** @returns xcb_generic_iterator_t
925  **
926  *****************************************************************************/
927 
928 xcb_generic_iterator_t
929 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i  /**< */);
930 
931 /**
932  * Get the next element of the iterator
933  * @param i Pointer to a xcb_sync_waitcondition_iterator_t
934  *
935  * Get the next element in the iterator. The member rem is
936  * decreased by one. The member data points to the next
937  * element. The member index is increased by sizeof(xcb_sync_waitcondition_t)
938  */
939 
940 /*****************************************************************************
941  **
942  ** void xcb_sync_waitcondition_next
943  **
944  ** @param xcb_sync_waitcondition_iterator_t *i
945  ** @returns void
946  **
947  *****************************************************************************/
948 
949 void
950 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i  /**< */);
951 
952 /**
953  * Return the iterator pointing to the last element
954  * @param i An xcb_sync_waitcondition_iterator_t
955  * @return  The iterator pointing to the last element
956  *
957  * Set the current element in the iterator to the last element.
958  * The member rem is set to 0. The member data points to the
959  * last element.
960  */
961 
962 /*****************************************************************************
963  **
964  ** xcb_generic_iterator_t xcb_sync_waitcondition_end
965  **
966  ** @param xcb_sync_waitcondition_iterator_t i
967  ** @returns xcb_generic_iterator_t
968  **
969  *****************************************************************************/
970 
971 xcb_generic_iterator_t
972 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i  /**< */);
973 
974 /**
975  *
976  * @param c The connection
977  * @return A cookie
978  *
979  * Delivers a request to the X server.
980  *
981  */
982 
983 /*****************************************************************************
984  **
985  ** xcb_sync_initialize_cookie_t xcb_sync_initialize
986  **
987  ** @param xcb_connection_t *c
988  ** @param uint8_t           desired_major_version
989  ** @param uint8_t           desired_minor_version
990  ** @returns xcb_sync_initialize_cookie_t
991  **
992  *****************************************************************************/
993 
994 xcb_sync_initialize_cookie_t
995 xcb_sync_initialize (xcb_connection_t *c  /**< */,
996                      uint8_t           desired_major_version  /**< */,
997                      uint8_t           desired_minor_version  /**< */);
998 
999 /**
1000  *
1001  * @param c The connection
1002  * @return A cookie
1003  *
1004  * Delivers a request to the X server.
1005  *
1006  * This form can be used only if the request will cause
1007  * a reply to be generated. Any returned error will be
1008  * placed in the event queue.
1009  */
1010 
1011 /*****************************************************************************
1012  **
1013  ** xcb_sync_initialize_cookie_t xcb_sync_initialize_unchecked
1014  **
1015  ** @param xcb_connection_t *c
1016  ** @param uint8_t           desired_major_version
1017  ** @param uint8_t           desired_minor_version
1018  ** @returns xcb_sync_initialize_cookie_t
1019  **
1020  *****************************************************************************/
1021 
1022 xcb_sync_initialize_cookie_t
1023 xcb_sync_initialize_unchecked (xcb_connection_t *c  /**< */,
1024                                uint8_t           desired_major_version  /**< */,
1025                                uint8_t           desired_minor_version  /**< */);
1026 
1027 /**
1028  * Return the reply
1029  * @param c      The connection
1030  * @param cookie The cookie
1031  * @param e      The xcb_generic_error_t supplied
1032  *
1033  * Returns the reply of the request asked by
1034  *
1035  * The parameter @p e supplied to this function must be NULL if
1036  * xcb_sync_initialize_unchecked(). is used.
1037  * Otherwise, it stores the error if any.
1038  *
1039  * The returned value must be freed by the caller using free().
1040  */
1041 
1042 /*****************************************************************************
1043  **
1044  ** xcb_sync_initialize_reply_t * xcb_sync_initialize_reply
1045  **
1046  ** @param xcb_connection_t              *c
1047  ** @param xcb_sync_initialize_cookie_t   cookie
1048  ** @param xcb_generic_error_t          **e
1049  ** @returns xcb_sync_initialize_reply_t *
1050  **
1051  *****************************************************************************/
1052 
1053 xcb_sync_initialize_reply_t *
1054 xcb_sync_initialize_reply (xcb_connection_t              *c  /**< */,
1055                            xcb_sync_initialize_cookie_t   cookie  /**< */,
1056                            xcb_generic_error_t          **e  /**< */);
1057 
1058 int
1059 xcb_sync_list_system_counters_sizeof (const void  *_buffer  /**< */);
1060 
1061 /**
1062  *
1063  * @param c The connection
1064  * @return A cookie
1065  *
1066  * Delivers a request to the X server.
1067  *
1068  */
1069 
1070 /*****************************************************************************
1071  **
1072  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters
1073  **
1074  ** @param xcb_connection_t *c
1075  ** @returns xcb_sync_list_system_counters_cookie_t
1076  **
1077  *****************************************************************************/
1078 
1079 xcb_sync_list_system_counters_cookie_t
1080 xcb_sync_list_system_counters (xcb_connection_t *c  /**< */);
1081 
1082 /**
1083  *
1084  * @param c The connection
1085  * @return A cookie
1086  *
1087  * Delivers a request to the X server.
1088  *
1089  * This form can be used only if the request will cause
1090  * a reply to be generated. Any returned error will be
1091  * placed in the event queue.
1092  */
1093 
1094 /*****************************************************************************
1095  **
1096  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters_unchecked
1097  **
1098  ** @param xcb_connection_t *c
1099  ** @returns xcb_sync_list_system_counters_cookie_t
1100  **
1101  *****************************************************************************/
1102 
1103 xcb_sync_list_system_counters_cookie_t
1104 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c  /**< */);
1105 
1106 
1107 /*****************************************************************************
1108  **
1109  ** int xcb_sync_list_system_counters_counters_length
1110  **
1111  ** @param const xcb_sync_list_system_counters_reply_t *R
1112  ** @returns int
1113  **
1114  *****************************************************************************/
1115 
1116 int
1117 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R  /**< */);
1118 
1119 
1120 /*****************************************************************************
1121  **
1122  ** xcb_sync_systemcounter_iterator_t xcb_sync_list_system_counters_counters_iterator
1123  **
1124  ** @param const xcb_sync_list_system_counters_reply_t *R
1125  ** @returns xcb_sync_systemcounter_iterator_t
1126  **
1127  *****************************************************************************/
1128 
1129 xcb_sync_systemcounter_iterator_t
1130 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R  /**< */);
1131 
1132 /**
1133  * Return the reply
1134  * @param c      The connection
1135  * @param cookie The cookie
1136  * @param e      The xcb_generic_error_t supplied
1137  *
1138  * Returns the reply of the request asked by
1139  *
1140  * The parameter @p e supplied to this function must be NULL if
1141  * xcb_sync_list_system_counters_unchecked(). is used.
1142  * Otherwise, it stores the error if any.
1143  *
1144  * The returned value must be freed by the caller using free().
1145  */
1146 
1147 /*****************************************************************************
1148  **
1149  ** xcb_sync_list_system_counters_reply_t * xcb_sync_list_system_counters_reply
1150  **
1151  ** @param xcb_connection_t                        *c
1152  ** @param xcb_sync_list_system_counters_cookie_t   cookie
1153  ** @param xcb_generic_error_t                    **e
1154  ** @returns xcb_sync_list_system_counters_reply_t *
1155  **
1156  *****************************************************************************/
1157 
1158 xcb_sync_list_system_counters_reply_t *
1159 xcb_sync_list_system_counters_reply (xcb_connection_t                        *c  /**< */,
1160                                      xcb_sync_list_system_counters_cookie_t   cookie  /**< */,
1161                                      xcb_generic_error_t                    **e  /**< */);
1162 
1163 /**
1164  *
1165  * @param c The connection
1166  * @return A cookie
1167  *
1168  * Delivers a request to the X server.
1169  *
1170  * This form can be used only if the request will not cause
1171  * a reply to be generated. Any returned error will be
1172  * saved for handling by xcb_request_check().
1173  */
1174 
1175 /*****************************************************************************
1176  **
1177  ** xcb_void_cookie_t xcb_sync_create_counter_checked
1178  **
1179  ** @param xcb_connection_t   *c
1180  ** @param xcb_sync_counter_t  id
1181  ** @param xcb_sync_int64_t    initial_value
1182  ** @returns xcb_void_cookie_t
1183  **
1184  *****************************************************************************/
1185 
1186 xcb_void_cookie_t
1187 xcb_sync_create_counter_checked (xcb_connection_t   *c  /**< */,
1188                                  xcb_sync_counter_t  id  /**< */,
1189                                  xcb_sync_int64_t    initial_value  /**< */);
1190 
1191 /**
1192  *
1193  * @param c The connection
1194  * @return A cookie
1195  *
1196  * Delivers a request to the X server.
1197  *
1198  */
1199 
1200 /*****************************************************************************
1201  **
1202  ** xcb_void_cookie_t xcb_sync_create_counter
1203  **
1204  ** @param xcb_connection_t   *c
1205  ** @param xcb_sync_counter_t  id
1206  ** @param xcb_sync_int64_t    initial_value
1207  ** @returns xcb_void_cookie_t
1208  **
1209  *****************************************************************************/
1210 
1211 xcb_void_cookie_t
1212 xcb_sync_create_counter (xcb_connection_t   *c  /**< */,
1213                          xcb_sync_counter_t  id  /**< */,
1214                          xcb_sync_int64_t    initial_value  /**< */);
1215 
1216 /**
1217  *
1218  * @param c The connection
1219  * @return A cookie
1220  *
1221  * Delivers a request to the X server.
1222  *
1223  * This form can be used only if the request will not cause
1224  * a reply to be generated. Any returned error will be
1225  * saved for handling by xcb_request_check().
1226  */
1227 
1228 /*****************************************************************************
1229  **
1230  ** xcb_void_cookie_t xcb_sync_destroy_counter_checked
1231  **
1232  ** @param xcb_connection_t   *c
1233  ** @param xcb_sync_counter_t  counter
1234  ** @returns xcb_void_cookie_t
1235  **
1236  *****************************************************************************/
1237 
1238 xcb_void_cookie_t
1239 xcb_sync_destroy_counter_checked (xcb_connection_t   *c  /**< */,
1240                                   xcb_sync_counter_t  counter  /**< */);
1241 
1242 /**
1243  *
1244  * @param c The connection
1245  * @return A cookie
1246  *
1247  * Delivers a request to the X server.
1248  *
1249  */
1250 
1251 /*****************************************************************************
1252  **
1253  ** xcb_void_cookie_t xcb_sync_destroy_counter
1254  **
1255  ** @param xcb_connection_t   *c
1256  ** @param xcb_sync_counter_t  counter
1257  ** @returns xcb_void_cookie_t
1258  **
1259  *****************************************************************************/
1260 
1261 xcb_void_cookie_t
1262 xcb_sync_destroy_counter (xcb_connection_t   *c  /**< */,
1263                           xcb_sync_counter_t  counter  /**< */);
1264 
1265 /**
1266  *
1267  * @param c The connection
1268  * @return A cookie
1269  *
1270  * Delivers a request to the X server.
1271  *
1272  */
1273 
1274 /*****************************************************************************
1275  **
1276  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter
1277  **
1278  ** @param xcb_connection_t   *c
1279  ** @param xcb_sync_counter_t  counter
1280  ** @returns xcb_sync_query_counter_cookie_t
1281  **
1282  *****************************************************************************/
1283 
1284 xcb_sync_query_counter_cookie_t
1285 xcb_sync_query_counter (xcb_connection_t   *c  /**< */,
1286                         xcb_sync_counter_t  counter  /**< */);
1287 
1288 /**
1289  *
1290  * @param c The connection
1291  * @return A cookie
1292  *
1293  * Delivers a request to the X server.
1294  *
1295  * This form can be used only if the request will cause
1296  * a reply to be generated. Any returned error will be
1297  * placed in the event queue.
1298  */
1299 
1300 /*****************************************************************************
1301  **
1302  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter_unchecked
1303  **
1304  ** @param xcb_connection_t   *c
1305  ** @param xcb_sync_counter_t  counter
1306  ** @returns xcb_sync_query_counter_cookie_t
1307  **
1308  *****************************************************************************/
1309 
1310 xcb_sync_query_counter_cookie_t
1311 xcb_sync_query_counter_unchecked (xcb_connection_t   *c  /**< */,
1312                                   xcb_sync_counter_t  counter  /**< */);
1313 
1314 /**
1315  * Return the reply
1316  * @param c      The connection
1317  * @param cookie The cookie
1318  * @param e      The xcb_generic_error_t supplied
1319  *
1320  * Returns the reply of the request asked by
1321  *
1322  * The parameter @p e supplied to this function must be NULL if
1323  * xcb_sync_query_counter_unchecked(). is used.
1324  * Otherwise, it stores the error if any.
1325  *
1326  * The returned value must be freed by the caller using free().
1327  */
1328 
1329 /*****************************************************************************
1330  **
1331  ** xcb_sync_query_counter_reply_t * xcb_sync_query_counter_reply
1332  **
1333  ** @param xcb_connection_t                 *c
1334  ** @param xcb_sync_query_counter_cookie_t   cookie
1335  ** @param xcb_generic_error_t             **e
1336  ** @returns xcb_sync_query_counter_reply_t *
1337  **
1338  *****************************************************************************/
1339 
1340 xcb_sync_query_counter_reply_t *
1341 xcb_sync_query_counter_reply (xcb_connection_t                 *c  /**< */,
1342                               xcb_sync_query_counter_cookie_t   cookie  /**< */,
1343                               xcb_generic_error_t             **e  /**< */);
1344 
1345 int
1346 xcb_sync_await_sizeof (const void  *_buffer  /**< */,
1347                        uint32_t     wait_list_len  /**< */);
1348 
1349 /**
1350  *
1351  * @param c The connection
1352  * @return A cookie
1353  *
1354  * Delivers a request to the X server.
1355  *
1356  * This form can be used only if the request will not cause
1357  * a reply to be generated. Any returned error will be
1358  * saved for handling by xcb_request_check().
1359  */
1360 
1361 /*****************************************************************************
1362  **
1363  ** xcb_void_cookie_t xcb_sync_await_checked
1364  **
1365  ** @param xcb_connection_t               *c
1366  ** @param uint32_t                        wait_list_len
1367  ** @param const xcb_sync_waitcondition_t *wait_list
1368  ** @returns xcb_void_cookie_t
1369  **
1370  *****************************************************************************/
1371 
1372 xcb_void_cookie_t
1373 xcb_sync_await_checked (xcb_connection_t               *c  /**< */,
1374                         uint32_t                        wait_list_len  /**< */,
1375                         const xcb_sync_waitcondition_t *wait_list  /**< */);
1376 
1377 /**
1378  *
1379  * @param c The connection
1380  * @return A cookie
1381  *
1382  * Delivers a request to the X server.
1383  *
1384  */
1385 
1386 /*****************************************************************************
1387  **
1388  ** xcb_void_cookie_t xcb_sync_await
1389  **
1390  ** @param xcb_connection_t               *c
1391  ** @param uint32_t                        wait_list_len
1392  ** @param const xcb_sync_waitcondition_t *wait_list
1393  ** @returns xcb_void_cookie_t
1394  **
1395  *****************************************************************************/
1396 
1397 xcb_void_cookie_t
1398 xcb_sync_await (xcb_connection_t               *c  /**< */,
1399                 uint32_t                        wait_list_len  /**< */,
1400                 const xcb_sync_waitcondition_t *wait_list  /**< */);
1401 
1402 /**
1403  *
1404  * @param c The connection
1405  * @return A cookie
1406  *
1407  * Delivers a request to the X server.
1408  *
1409  * This form can be used only if the request will not cause
1410  * a reply to be generated. Any returned error will be
1411  * saved for handling by xcb_request_check().
1412  */
1413 
1414 /*****************************************************************************
1415  **
1416  ** xcb_void_cookie_t xcb_sync_change_counter_checked
1417  **
1418  ** @param xcb_connection_t   *c
1419  ** @param xcb_sync_counter_t  counter
1420  ** @param xcb_sync_int64_t    amount
1421  ** @returns xcb_void_cookie_t
1422  **
1423  *****************************************************************************/
1424 
1425 xcb_void_cookie_t
1426 xcb_sync_change_counter_checked (xcb_connection_t   *c  /**< */,
1427                                  xcb_sync_counter_t  counter  /**< */,
1428                                  xcb_sync_int64_t    amount  /**< */);
1429 
1430 /**
1431  *
1432  * @param c The connection
1433  * @return A cookie
1434  *
1435  * Delivers a request to the X server.
1436  *
1437  */
1438 
1439 /*****************************************************************************
1440  **
1441  ** xcb_void_cookie_t xcb_sync_change_counter
1442  **
1443  ** @param xcb_connection_t   *c
1444  ** @param xcb_sync_counter_t  counter
1445  ** @param xcb_sync_int64_t    amount
1446  ** @returns xcb_void_cookie_t
1447  **
1448  *****************************************************************************/
1449 
1450 xcb_void_cookie_t
1451 xcb_sync_change_counter (xcb_connection_t   *c  /**< */,
1452                          xcb_sync_counter_t  counter  /**< */,
1453                          xcb_sync_int64_t    amount  /**< */);
1454 
1455 /**
1456  *
1457  * @param c The connection
1458  * @return A cookie
1459  *
1460  * Delivers a request to the X server.
1461  *
1462  * This form can be used only if the request will not cause
1463  * a reply to be generated. Any returned error will be
1464  * saved for handling by xcb_request_check().
1465  */
1466 
1467 /*****************************************************************************
1468  **
1469  ** xcb_void_cookie_t xcb_sync_set_counter_checked
1470  **
1471  ** @param xcb_connection_t   *c
1472  ** @param xcb_sync_counter_t  counter
1473  ** @param xcb_sync_int64_t    value
1474  ** @returns xcb_void_cookie_t
1475  **
1476  *****************************************************************************/
1477 
1478 xcb_void_cookie_t
1479 xcb_sync_set_counter_checked (xcb_connection_t   *c  /**< */,
1480                               xcb_sync_counter_t  counter  /**< */,
1481                               xcb_sync_int64_t    value  /**< */);
1482 
1483 /**
1484  *
1485  * @param c The connection
1486  * @return A cookie
1487  *
1488  * Delivers a request to the X server.
1489  *
1490  */
1491 
1492 /*****************************************************************************
1493  **
1494  ** xcb_void_cookie_t xcb_sync_set_counter
1495  **
1496  ** @param xcb_connection_t   *c
1497  ** @param xcb_sync_counter_t  counter
1498  ** @param xcb_sync_int64_t    value
1499  ** @returns xcb_void_cookie_t
1500  **
1501  *****************************************************************************/
1502 
1503 xcb_void_cookie_t
1504 xcb_sync_set_counter (xcb_connection_t   *c  /**< */,
1505                       xcb_sync_counter_t  counter  /**< */,
1506                       xcb_sync_int64_t    value  /**< */);
1507 
1508 int
1509 xcb_sync_create_alarm_value_list_serialize (void                                     **_buffer  /**< */,
1510                                             uint32_t                                   value_mask  /**< */,
1511                                             const xcb_sync_create_alarm_value_list_t  *_aux  /**< */);
1512 
1513 int
1514 xcb_sync_create_alarm_value_list_unpack (const void                          *_buffer  /**< */,
1515                                          uint32_t                             value_mask  /**< */,
1516                                          xcb_sync_create_alarm_value_list_t  *_aux  /**< */);
1517 
1518 int
1519 xcb_sync_create_alarm_value_list_sizeof (const void  *_buffer  /**< */,
1520                                          uint32_t     value_mask  /**< */);
1521 
1522 /**
1523  *
1524  * @param c The connection
1525  * @return A cookie
1526  *
1527  * Delivers a request to the X server.
1528  *
1529  * This form can be used only if the request will not cause
1530  * a reply to be generated. Any returned error will be
1531  * saved for handling by xcb_request_check().
1532  */
1533 
1534 /*****************************************************************************
1535  **
1536  ** xcb_void_cookie_t xcb_sync_create_alarm_checked
1537  **
1538  ** @param xcb_connection_t *c
1539  ** @param xcb_sync_alarm_t  id
1540  ** @param uint32_t          value_mask
1541  ** @param const void       *value_list
1542  ** @returns xcb_void_cookie_t
1543  **
1544  *****************************************************************************/
1545 
1546 xcb_void_cookie_t
1547 xcb_sync_create_alarm_checked (xcb_connection_t *c  /**< */,
1548                                xcb_sync_alarm_t  id  /**< */,
1549                                uint32_t          value_mask  /**< */,
1550                                const void       *value_list  /**< */);
1551 
1552 /**
1553  *
1554  * @param c The connection
1555  * @return A cookie
1556  *
1557  * Delivers a request to the X server.
1558  *
1559  */
1560 
1561 /*****************************************************************************
1562  **
1563  ** xcb_void_cookie_t xcb_sync_create_alarm
1564  **
1565  ** @param xcb_connection_t *c
1566  ** @param xcb_sync_alarm_t  id
1567  ** @param uint32_t          value_mask
1568  ** @param const void       *value_list
1569  ** @returns xcb_void_cookie_t
1570  **
1571  *****************************************************************************/
1572 
1573 xcb_void_cookie_t
1574 xcb_sync_create_alarm (xcb_connection_t *c  /**< */,
1575                        xcb_sync_alarm_t  id  /**< */,
1576                        uint32_t          value_mask  /**< */,
1577                        const void       *value_list  /**< */);
1578 
1579 /**
1580  *
1581  * @param c The connection
1582  * @return A cookie
1583  *
1584  * Delivers a request to the X server.
1585  *
1586  * This form can be used only if the request will not cause
1587  * a reply to be generated. Any returned error will be
1588  * saved for handling by xcb_request_check().
1589  */
1590 
1591 /*****************************************************************************
1592  **
1593  ** xcb_void_cookie_t xcb_sync_create_alarm_aux_checked
1594  **
1595  ** @param xcb_connection_t                         *c
1596  ** @param xcb_sync_alarm_t                          id
1597  ** @param uint32_t                                  value_mask
1598  ** @param const xcb_sync_create_alarm_value_list_t *value_list
1599  ** @returns xcb_void_cookie_t
1600  **
1601  *****************************************************************************/
1602 
1603 xcb_void_cookie_t
1604 xcb_sync_create_alarm_aux_checked (xcb_connection_t                         *c  /**< */,
1605                                    xcb_sync_alarm_t                          id  /**< */,
1606                                    uint32_t                                  value_mask  /**< */,
1607                                    const xcb_sync_create_alarm_value_list_t *value_list  /**< */);
1608 
1609 /**
1610  *
1611  * @param c The connection
1612  * @return A cookie
1613  *
1614  * Delivers a request to the X server.
1615  *
1616  */
1617 
1618 /*****************************************************************************
1619  **
1620  ** xcb_void_cookie_t xcb_sync_create_alarm_aux
1621  **
1622  ** @param xcb_connection_t                         *c
1623  ** @param xcb_sync_alarm_t                          id
1624  ** @param uint32_t                                  value_mask
1625  ** @param const xcb_sync_create_alarm_value_list_t *value_list
1626  ** @returns xcb_void_cookie_t
1627  **
1628  *****************************************************************************/
1629 
1630 xcb_void_cookie_t
1631 xcb_sync_create_alarm_aux (xcb_connection_t                         *c  /**< */,
1632                            xcb_sync_alarm_t                          id  /**< */,
1633                            uint32_t                                  value_mask  /**< */,
1634                            const xcb_sync_create_alarm_value_list_t *value_list  /**< */);
1635 
1636 int
1637 xcb_sync_change_alarm_value_list_serialize (void                                     **_buffer  /**< */,
1638                                             uint32_t                                   value_mask  /**< */,
1639                                             const xcb_sync_change_alarm_value_list_t  *_aux  /**< */);
1640 
1641 int
1642 xcb_sync_change_alarm_value_list_unpack (const void                          *_buffer  /**< */,
1643                                          uint32_t                             value_mask  /**< */,
1644                                          xcb_sync_change_alarm_value_list_t  *_aux  /**< */);
1645 
1646 int
1647 xcb_sync_change_alarm_value_list_sizeof (const void  *_buffer  /**< */,
1648                                          uint32_t     value_mask  /**< */);
1649 
1650 /**
1651  *
1652  * @param c The connection
1653  * @return A cookie
1654  *
1655  * Delivers a request to the X server.
1656  *
1657  * This form can be used only if the request will not cause
1658  * a reply to be generated. Any returned error will be
1659  * saved for handling by xcb_request_check().
1660  */
1661 
1662 /*****************************************************************************
1663  **
1664  ** xcb_void_cookie_t xcb_sync_change_alarm_checked
1665  **
1666  ** @param xcb_connection_t *c
1667  ** @param xcb_sync_alarm_t  id
1668  ** @param uint32_t          value_mask
1669  ** @param const void       *value_list
1670  ** @returns xcb_void_cookie_t
1671  **
1672  *****************************************************************************/
1673 
1674 xcb_void_cookie_t
1675 xcb_sync_change_alarm_checked (xcb_connection_t *c  /**< */,
1676                                xcb_sync_alarm_t  id  /**< */,
1677                                uint32_t          value_mask  /**< */,
1678                                const void       *value_list  /**< */);
1679 
1680 /**
1681  *
1682  * @param c The connection
1683  * @return A cookie
1684  *
1685  * Delivers a request to the X server.
1686  *
1687  */
1688 
1689 /*****************************************************************************
1690  **
1691  ** xcb_void_cookie_t xcb_sync_change_alarm
1692  **
1693  ** @param xcb_connection_t *c
1694  ** @param xcb_sync_alarm_t  id
1695  ** @param uint32_t          value_mask
1696  ** @param const void       *value_list
1697  ** @returns xcb_void_cookie_t
1698  **
1699  *****************************************************************************/
1700 
1701 xcb_void_cookie_t
1702 xcb_sync_change_alarm (xcb_connection_t *c  /**< */,
1703                        xcb_sync_alarm_t  id  /**< */,
1704                        uint32_t          value_mask  /**< */,
1705                        const void       *value_list  /**< */);
1706 
1707 /**
1708  *
1709  * @param c The connection
1710  * @return A cookie
1711  *
1712  * Delivers a request to the X server.
1713  *
1714  * This form can be used only if the request will not cause
1715  * a reply to be generated. Any returned error will be
1716  * saved for handling by xcb_request_check().
1717  */
1718 
1719 /*****************************************************************************
1720  **
1721  ** xcb_void_cookie_t xcb_sync_change_alarm_aux_checked
1722  **
1723  ** @param xcb_connection_t                         *c
1724  ** @param xcb_sync_alarm_t                          id
1725  ** @param uint32_t                                  value_mask
1726  ** @param const xcb_sync_change_alarm_value_list_t *value_list
1727  ** @returns xcb_void_cookie_t
1728  **
1729  *****************************************************************************/
1730 
1731 xcb_void_cookie_t
1732 xcb_sync_change_alarm_aux_checked (xcb_connection_t                         *c  /**< */,
1733                                    xcb_sync_alarm_t                          id  /**< */,
1734                                    uint32_t                                  value_mask  /**< */,
1735                                    const xcb_sync_change_alarm_value_list_t *value_list  /**< */);
1736 
1737 /**
1738  *
1739  * @param c The connection
1740  * @return A cookie
1741  *
1742  * Delivers a request to the X server.
1743  *
1744  */
1745 
1746 /*****************************************************************************
1747  **
1748  ** xcb_void_cookie_t xcb_sync_change_alarm_aux
1749  **
1750  ** @param xcb_connection_t                         *c
1751  ** @param xcb_sync_alarm_t                          id
1752  ** @param uint32_t                                  value_mask
1753  ** @param const xcb_sync_change_alarm_value_list_t *value_list
1754  ** @returns xcb_void_cookie_t
1755  **
1756  *****************************************************************************/
1757 
1758 xcb_void_cookie_t
1759 xcb_sync_change_alarm_aux (xcb_connection_t                         *c  /**< */,
1760                            xcb_sync_alarm_t                          id  /**< */,
1761                            uint32_t                                  value_mask  /**< */,
1762                            const xcb_sync_change_alarm_value_list_t *value_list  /**< */);
1763 
1764 /**
1765  *
1766  * @param c The connection
1767  * @return A cookie
1768  *
1769  * Delivers a request to the X server.
1770  *
1771  * This form can be used only if the request will not cause
1772  * a reply to be generated. Any returned error will be
1773  * saved for handling by xcb_request_check().
1774  */
1775 
1776 /*****************************************************************************
1777  **
1778  ** xcb_void_cookie_t xcb_sync_destroy_alarm_checked
1779  **
1780  ** @param xcb_connection_t *c
1781  ** @param xcb_sync_alarm_t  alarm
1782  ** @returns xcb_void_cookie_t
1783  **
1784  *****************************************************************************/
1785 
1786 xcb_void_cookie_t
1787 xcb_sync_destroy_alarm_checked (xcb_connection_t *c  /**< */,
1788                                 xcb_sync_alarm_t  alarm  /**< */);
1789 
1790 /**
1791  *
1792  * @param c The connection
1793  * @return A cookie
1794  *
1795  * Delivers a request to the X server.
1796  *
1797  */
1798 
1799 /*****************************************************************************
1800  **
1801  ** xcb_void_cookie_t xcb_sync_destroy_alarm
1802  **
1803  ** @param xcb_connection_t *c
1804  ** @param xcb_sync_alarm_t  alarm
1805  ** @returns xcb_void_cookie_t
1806  **
1807  *****************************************************************************/
1808 
1809 xcb_void_cookie_t
1810 xcb_sync_destroy_alarm (xcb_connection_t *c  /**< */,
1811                         xcb_sync_alarm_t  alarm  /**< */);
1812 
1813 /**
1814  *
1815  * @param c The connection
1816  * @return A cookie
1817  *
1818  * Delivers a request to the X server.
1819  *
1820  */
1821 
1822 /*****************************************************************************
1823  **
1824  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm
1825  **
1826  ** @param xcb_connection_t *c
1827  ** @param xcb_sync_alarm_t  alarm
1828  ** @returns xcb_sync_query_alarm_cookie_t
1829  **
1830  *****************************************************************************/
1831 
1832 xcb_sync_query_alarm_cookie_t
1833 xcb_sync_query_alarm (xcb_connection_t *c  /**< */,
1834                       xcb_sync_alarm_t  alarm  /**< */);
1835 
1836 /**
1837  *
1838  * @param c The connection
1839  * @return A cookie
1840  *
1841  * Delivers a request to the X server.
1842  *
1843  * This form can be used only if the request will cause
1844  * a reply to be generated. Any returned error will be
1845  * placed in the event queue.
1846  */
1847 
1848 /*****************************************************************************
1849  **
1850  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm_unchecked
1851  **
1852  ** @param xcb_connection_t *c
1853  ** @param xcb_sync_alarm_t  alarm
1854  ** @returns xcb_sync_query_alarm_cookie_t
1855  **
1856  *****************************************************************************/
1857 
1858 xcb_sync_query_alarm_cookie_t
1859 xcb_sync_query_alarm_unchecked (xcb_connection_t *c  /**< */,
1860                                 xcb_sync_alarm_t  alarm  /**< */);
1861 
1862 /**
1863  * Return the reply
1864  * @param c      The connection
1865  * @param cookie The cookie
1866  * @param e      The xcb_generic_error_t supplied
1867  *
1868  * Returns the reply of the request asked by
1869  *
1870  * The parameter @p e supplied to this function must be NULL if
1871  * xcb_sync_query_alarm_unchecked(). is used.
1872  * Otherwise, it stores the error if any.
1873  *
1874  * The returned value must be freed by the caller using free().
1875  */
1876 
1877 /*****************************************************************************
1878  **
1879  ** xcb_sync_query_alarm_reply_t * xcb_sync_query_alarm_reply
1880  **
1881  ** @param xcb_connection_t               *c
1882  ** @param xcb_sync_query_alarm_cookie_t   cookie
1883  ** @param xcb_generic_error_t           **e
1884  ** @returns xcb_sync_query_alarm_reply_t *
1885  **
1886  *****************************************************************************/
1887 
1888 xcb_sync_query_alarm_reply_t *
1889 xcb_sync_query_alarm_reply (xcb_connection_t               *c  /**< */,
1890                             xcb_sync_query_alarm_cookie_t   cookie  /**< */,
1891                             xcb_generic_error_t           **e  /**< */);
1892 
1893 /**
1894  *
1895  * @param c The connection
1896  * @return A cookie
1897  *
1898  * Delivers a request to the X server.
1899  *
1900  * This form can be used only if the request will not cause
1901  * a reply to be generated. Any returned error will be
1902  * saved for handling by xcb_request_check().
1903  */
1904 
1905 /*****************************************************************************
1906  **
1907  ** xcb_void_cookie_t xcb_sync_set_priority_checked
1908  **
1909  ** @param xcb_connection_t *c
1910  ** @param uint32_t          id
1911  ** @param int32_t           priority
1912  ** @returns xcb_void_cookie_t
1913  **
1914  *****************************************************************************/
1915 
1916 xcb_void_cookie_t
1917 xcb_sync_set_priority_checked (xcb_connection_t *c  /**< */,
1918                                uint32_t          id  /**< */,
1919                                int32_t           priority  /**< */);
1920 
1921 /**
1922  *
1923  * @param c The connection
1924  * @return A cookie
1925  *
1926  * Delivers a request to the X server.
1927  *
1928  */
1929 
1930 /*****************************************************************************
1931  **
1932  ** xcb_void_cookie_t xcb_sync_set_priority
1933  **
1934  ** @param xcb_connection_t *c
1935  ** @param uint32_t          id
1936  ** @param int32_t           priority
1937  ** @returns xcb_void_cookie_t
1938  **
1939  *****************************************************************************/
1940 
1941 xcb_void_cookie_t
1942 xcb_sync_set_priority (xcb_connection_t *c  /**< */,
1943                        uint32_t          id  /**< */,
1944                        int32_t           priority  /**< */);
1945 
1946 /**
1947  *
1948  * @param c The connection
1949  * @return A cookie
1950  *
1951  * Delivers a request to the X server.
1952  *
1953  */
1954 
1955 /*****************************************************************************
1956  **
1957  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority
1958  **
1959  ** @param xcb_connection_t *c
1960  ** @param uint32_t          id
1961  ** @returns xcb_sync_get_priority_cookie_t
1962  **
1963  *****************************************************************************/
1964 
1965 xcb_sync_get_priority_cookie_t
1966 xcb_sync_get_priority (xcb_connection_t *c  /**< */,
1967                        uint32_t          id  /**< */);
1968 
1969 /**
1970  *
1971  * @param c The connection
1972  * @return A cookie
1973  *
1974  * Delivers a request to the X server.
1975  *
1976  * This form can be used only if the request will cause
1977  * a reply to be generated. Any returned error will be
1978  * placed in the event queue.
1979  */
1980 
1981 /*****************************************************************************
1982  **
1983  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority_unchecked
1984  **
1985  ** @param xcb_connection_t *c
1986  ** @param uint32_t          id
1987  ** @returns xcb_sync_get_priority_cookie_t
1988  **
1989  *****************************************************************************/
1990 
1991 xcb_sync_get_priority_cookie_t
1992 xcb_sync_get_priority_unchecked (xcb_connection_t *c  /**< */,
1993                                  uint32_t          id  /**< */);
1994 
1995 /**
1996  * Return the reply
1997  * @param c      The connection
1998  * @param cookie The cookie
1999  * @param e      The xcb_generic_error_t supplied
2000  *
2001  * Returns the reply of the request asked by
2002  *
2003  * The parameter @p e supplied to this function must be NULL if
2004  * xcb_sync_get_priority_unchecked(). is used.
2005  * Otherwise, it stores the error if any.
2006  *
2007  * The returned value must be freed by the caller using free().
2008  */
2009 
2010 /*****************************************************************************
2011  **
2012  ** xcb_sync_get_priority_reply_t * xcb_sync_get_priority_reply
2013  **
2014  ** @param xcb_connection_t                *c
2015  ** @param xcb_sync_get_priority_cookie_t   cookie
2016  ** @param xcb_generic_error_t            **e
2017  ** @returns xcb_sync_get_priority_reply_t *
2018  **
2019  *****************************************************************************/
2020 
2021 xcb_sync_get_priority_reply_t *
2022 xcb_sync_get_priority_reply (xcb_connection_t                *c  /**< */,
2023                              xcb_sync_get_priority_cookie_t   cookie  /**< */,
2024                              xcb_generic_error_t            **e  /**< */);
2025 
2026 /**
2027  *
2028  * @param c The connection
2029  * @return A cookie
2030  *
2031  * Delivers a request to the X server.
2032  *
2033  * This form can be used only if the request will not cause
2034  * a reply to be generated. Any returned error will be
2035  * saved for handling by xcb_request_check().
2036  */
2037 
2038 /*****************************************************************************
2039  **
2040  ** xcb_void_cookie_t xcb_sync_create_fence_checked
2041  **
2042  ** @param xcb_connection_t *c
2043  ** @param xcb_drawable_t    drawable
2044  ** @param xcb_sync_fence_t  fence
2045  ** @param uint8_t           initially_triggered
2046  ** @returns xcb_void_cookie_t
2047  **
2048  *****************************************************************************/
2049 
2050 xcb_void_cookie_t
2051 xcb_sync_create_fence_checked (xcb_connection_t *c  /**< */,
2052                                xcb_drawable_t    drawable  /**< */,
2053                                xcb_sync_fence_t  fence  /**< */,
2054                                uint8_t           initially_triggered  /**< */);
2055 
2056 /**
2057  *
2058  * @param c The connection
2059  * @return A cookie
2060  *
2061  * Delivers a request to the X server.
2062  *
2063  */
2064 
2065 /*****************************************************************************
2066  **
2067  ** xcb_void_cookie_t xcb_sync_create_fence
2068  **
2069  ** @param xcb_connection_t *c
2070  ** @param xcb_drawable_t    drawable
2071  ** @param xcb_sync_fence_t  fence
2072  ** @param uint8_t           initially_triggered
2073  ** @returns xcb_void_cookie_t
2074  **
2075  *****************************************************************************/
2076 
2077 xcb_void_cookie_t
2078 xcb_sync_create_fence (xcb_connection_t *c  /**< */,
2079                        xcb_drawable_t    drawable  /**< */,
2080                        xcb_sync_fence_t  fence  /**< */,
2081                        uint8_t           initially_triggered  /**< */);
2082 
2083 /**
2084  *
2085  * @param c The connection
2086  * @return A cookie
2087  *
2088  * Delivers a request to the X server.
2089  *
2090  * This form can be used only if the request will not cause
2091  * a reply to be generated. Any returned error will be
2092  * saved for handling by xcb_request_check().
2093  */
2094 
2095 /*****************************************************************************
2096  **
2097  ** xcb_void_cookie_t xcb_sync_trigger_fence_checked
2098  **
2099  ** @param xcb_connection_t *c
2100  ** @param xcb_sync_fence_t  fence
2101  ** @returns xcb_void_cookie_t
2102  **
2103  *****************************************************************************/
2104 
2105 xcb_void_cookie_t
2106 xcb_sync_trigger_fence_checked (xcb_connection_t *c  /**< */,
2107                                 xcb_sync_fence_t  fence  /**< */);
2108 
2109 /**
2110  *
2111  * @param c The connection
2112  * @return A cookie
2113  *
2114  * Delivers a request to the X server.
2115  *
2116  */
2117 
2118 /*****************************************************************************
2119  **
2120  ** xcb_void_cookie_t xcb_sync_trigger_fence
2121  **
2122  ** @param xcb_connection_t *c
2123  ** @param xcb_sync_fence_t  fence
2124  ** @returns xcb_void_cookie_t
2125  **
2126  *****************************************************************************/
2127 
2128 xcb_void_cookie_t
2129 xcb_sync_trigger_fence (xcb_connection_t *c  /**< */,
2130                         xcb_sync_fence_t  fence  /**< */);
2131 
2132 /**
2133  *
2134  * @param c The connection
2135  * @return A cookie
2136  *
2137  * Delivers a request to the X server.
2138  *
2139  * This form can be used only if the request will not cause
2140  * a reply to be generated. Any returned error will be
2141  * saved for handling by xcb_request_check().
2142  */
2143 
2144 /*****************************************************************************
2145  **
2146  ** xcb_void_cookie_t xcb_sync_reset_fence_checked
2147  **
2148  ** @param xcb_connection_t *c
2149  ** @param xcb_sync_fence_t  fence
2150  ** @returns xcb_void_cookie_t
2151  **
2152  *****************************************************************************/
2153 
2154 xcb_void_cookie_t
2155 xcb_sync_reset_fence_checked (xcb_connection_t *c  /**< */,
2156                               xcb_sync_fence_t  fence  /**< */);
2157 
2158 /**
2159  *
2160  * @param c The connection
2161  * @return A cookie
2162  *
2163  * Delivers a request to the X server.
2164  *
2165  */
2166 
2167 /*****************************************************************************
2168  **
2169  ** xcb_void_cookie_t xcb_sync_reset_fence
2170  **
2171  ** @param xcb_connection_t *c
2172  ** @param xcb_sync_fence_t  fence
2173  ** @returns xcb_void_cookie_t
2174  **
2175  *****************************************************************************/
2176 
2177 xcb_void_cookie_t
2178 xcb_sync_reset_fence (xcb_connection_t *c  /**< */,
2179                       xcb_sync_fence_t  fence  /**< */);
2180 
2181 /**
2182  *
2183  * @param c The connection
2184  * @return A cookie
2185  *
2186  * Delivers a request to the X server.
2187  *
2188  * This form can be used only if the request will not cause
2189  * a reply to be generated. Any returned error will be
2190  * saved for handling by xcb_request_check().
2191  */
2192 
2193 /*****************************************************************************
2194  **
2195  ** xcb_void_cookie_t xcb_sync_destroy_fence_checked
2196  **
2197  ** @param xcb_connection_t *c
2198  ** @param xcb_sync_fence_t  fence
2199  ** @returns xcb_void_cookie_t
2200  **
2201  *****************************************************************************/
2202 
2203 xcb_void_cookie_t
2204 xcb_sync_destroy_fence_checked (xcb_connection_t *c  /**< */,
2205                                 xcb_sync_fence_t  fence  /**< */);
2206 
2207 /**
2208  *
2209  * @param c The connection
2210  * @return A cookie
2211  *
2212  * Delivers a request to the X server.
2213  *
2214  */
2215 
2216 /*****************************************************************************
2217  **
2218  ** xcb_void_cookie_t xcb_sync_destroy_fence
2219  **
2220  ** @param xcb_connection_t *c
2221  ** @param xcb_sync_fence_t  fence
2222  ** @returns xcb_void_cookie_t
2223  **
2224  *****************************************************************************/
2225 
2226 xcb_void_cookie_t
2227 xcb_sync_destroy_fence (xcb_connection_t *c  /**< */,
2228                         xcb_sync_fence_t  fence  /**< */);
2229 
2230 /**
2231  *
2232  * @param c The connection
2233  * @return A cookie
2234  *
2235  * Delivers a request to the X server.
2236  *
2237  */
2238 
2239 /*****************************************************************************
2240  **
2241  ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence
2242  **
2243  ** @param xcb_connection_t *c
2244  ** @param xcb_sync_fence_t  fence
2245  ** @returns xcb_sync_query_fence_cookie_t
2246  **
2247  *****************************************************************************/
2248 
2249 xcb_sync_query_fence_cookie_t
2250 xcb_sync_query_fence (xcb_connection_t *c  /**< */,
2251                       xcb_sync_fence_t  fence  /**< */);
2252 
2253 /**
2254  *
2255  * @param c The connection
2256  * @return A cookie
2257  *
2258  * Delivers a request to the X server.
2259  *
2260  * This form can be used only if the request will cause
2261  * a reply to be generated. Any returned error will be
2262  * placed in the event queue.
2263  */
2264 
2265 /*****************************************************************************
2266  **
2267  ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence_unchecked
2268  **
2269  ** @param xcb_connection_t *c
2270  ** @param xcb_sync_fence_t  fence
2271  ** @returns xcb_sync_query_fence_cookie_t
2272  **
2273  *****************************************************************************/
2274 
2275 xcb_sync_query_fence_cookie_t
2276 xcb_sync_query_fence_unchecked (xcb_connection_t *c  /**< */,
2277                                 xcb_sync_fence_t  fence  /**< */);
2278 
2279 /**
2280  * Return the reply
2281  * @param c      The connection
2282  * @param cookie The cookie
2283  * @param e      The xcb_generic_error_t supplied
2284  *
2285  * Returns the reply of the request asked by
2286  *
2287  * The parameter @p e supplied to this function must be NULL if
2288  * xcb_sync_query_fence_unchecked(). is used.
2289  * Otherwise, it stores the error if any.
2290  *
2291  * The returned value must be freed by the caller using free().
2292  */
2293 
2294 /*****************************************************************************
2295  **
2296  ** xcb_sync_query_fence_reply_t * xcb_sync_query_fence_reply
2297  **
2298  ** @param xcb_connection_t               *c
2299  ** @param xcb_sync_query_fence_cookie_t   cookie
2300  ** @param xcb_generic_error_t           **e
2301  ** @returns xcb_sync_query_fence_reply_t *
2302  **
2303  *****************************************************************************/
2304 
2305 xcb_sync_query_fence_reply_t *
2306 xcb_sync_query_fence_reply (xcb_connection_t               *c  /**< */,
2307                             xcb_sync_query_fence_cookie_t   cookie  /**< */,
2308                             xcb_generic_error_t           **e  /**< */);
2309 
2310 int
2311 xcb_sync_await_fence_sizeof (const void  *_buffer  /**< */,
2312                              uint32_t     fence_list_len  /**< */);
2313 
2314 /**
2315  *
2316  * @param c The connection
2317  * @return A cookie
2318  *
2319  * Delivers a request to the X server.
2320  *
2321  * This form can be used only if the request will not cause
2322  * a reply to be generated. Any returned error will be
2323  * saved for handling by xcb_request_check().
2324  */
2325 
2326 /*****************************************************************************
2327  **
2328  ** xcb_void_cookie_t xcb_sync_await_fence_checked
2329  **
2330  ** @param xcb_connection_t       *c
2331  ** @param uint32_t                fence_list_len
2332  ** @param const xcb_sync_fence_t *fence_list
2333  ** @returns xcb_void_cookie_t
2334  **
2335  *****************************************************************************/
2336 
2337 xcb_void_cookie_t
2338 xcb_sync_await_fence_checked (xcb_connection_t       *c  /**< */,
2339                               uint32_t                fence_list_len  /**< */,
2340                               const xcb_sync_fence_t *fence_list  /**< */);
2341 
2342 /**
2343  *
2344  * @param c The connection
2345  * @return A cookie
2346  *
2347  * Delivers a request to the X server.
2348  *
2349  */
2350 
2351 /*****************************************************************************
2352  **
2353  ** xcb_void_cookie_t xcb_sync_await_fence
2354  **
2355  ** @param xcb_connection_t       *c
2356  ** @param uint32_t                fence_list_len
2357  ** @param const xcb_sync_fence_t *fence_list
2358  ** @returns xcb_void_cookie_t
2359  **
2360  *****************************************************************************/
2361 
2362 xcb_void_cookie_t
2363 xcb_sync_await_fence (xcb_connection_t       *c  /**< */,
2364                       uint32_t                fence_list_len  /**< */,
2365                       const xcb_sync_fence_t *fence_list  /**< */);
2366 
2367 
2368 #ifdef __cplusplus
2369 }
2370 #endif
2371 
2372 #endif
2373 
2374 /**
2375  * @}
2376  */
2377