xref: /minix/external/mit/xorg/lib/libxcb/files/sync.h (revision 9f988b79)
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,
40     XCB_SYNC_ALARMSTATE_INACTIVE,
41     XCB_SYNC_ALARMSTATE_DESTROYED
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,
68     XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION,
69     XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON,
70     XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON
71 } xcb_sync_testtype_t;
72 
73 typedef enum xcb_sync_valuetype_t {
74     XCB_SYNC_VALUETYPE_ABSOLUTE,
75     XCB_SYNC_VALUETYPE_RELATIVE
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 /** Opcode for xcb_sync_create_alarm. */
352 #define XCB_SYNC_CREATE_ALARM 8
353 
354 /**
355  * @brief xcb_sync_create_alarm_request_t
356  **/
357 typedef struct xcb_sync_create_alarm_request_t {
358     uint8_t          major_opcode; /**<  */
359     uint8_t          minor_opcode; /**<  */
360     uint16_t         length; /**<  */
361     xcb_sync_alarm_t id; /**<  */
362     uint32_t         value_mask; /**<  */
363 } xcb_sync_create_alarm_request_t;
364 
365 /** Opcode for xcb_sync_change_alarm. */
366 #define XCB_SYNC_CHANGE_ALARM 9
367 
368 /**
369  * @brief xcb_sync_change_alarm_request_t
370  **/
371 typedef struct xcb_sync_change_alarm_request_t {
372     uint8_t          major_opcode; /**<  */
373     uint8_t          minor_opcode; /**<  */
374     uint16_t         length; /**<  */
375     xcb_sync_alarm_t id; /**<  */
376     uint32_t         value_mask; /**<  */
377 } xcb_sync_change_alarm_request_t;
378 
379 /** Opcode for xcb_sync_destroy_alarm. */
380 #define XCB_SYNC_DESTROY_ALARM 11
381 
382 /**
383  * @brief xcb_sync_destroy_alarm_request_t
384  **/
385 typedef struct xcb_sync_destroy_alarm_request_t {
386     uint8_t          major_opcode; /**<  */
387     uint8_t          minor_opcode; /**<  */
388     uint16_t         length; /**<  */
389     xcb_sync_alarm_t alarm; /**<  */
390 } xcb_sync_destroy_alarm_request_t;
391 
392 /**
393  * @brief xcb_sync_query_alarm_cookie_t
394  **/
395 typedef struct xcb_sync_query_alarm_cookie_t {
396     unsigned int sequence; /**<  */
397 } xcb_sync_query_alarm_cookie_t;
398 
399 /** Opcode for xcb_sync_query_alarm. */
400 #define XCB_SYNC_QUERY_ALARM 10
401 
402 /**
403  * @brief xcb_sync_query_alarm_request_t
404  **/
405 typedef struct xcb_sync_query_alarm_request_t {
406     uint8_t          major_opcode; /**<  */
407     uint8_t          minor_opcode; /**<  */
408     uint16_t         length; /**<  */
409     xcb_sync_alarm_t alarm; /**<  */
410 } xcb_sync_query_alarm_request_t;
411 
412 /**
413  * @brief xcb_sync_query_alarm_reply_t
414  **/
415 typedef struct xcb_sync_query_alarm_reply_t {
416     uint8_t            response_type; /**<  */
417     uint8_t            pad0; /**<  */
418     uint16_t           sequence; /**<  */
419     uint32_t           length; /**<  */
420     xcb_sync_trigger_t trigger; /**<  */
421     xcb_sync_int64_t   delta; /**<  */
422     uint8_t            events; /**<  */
423     uint8_t            state; /**<  */
424     uint8_t            pad1[2]; /**<  */
425 } xcb_sync_query_alarm_reply_t;
426 
427 /** Opcode for xcb_sync_set_priority. */
428 #define XCB_SYNC_SET_PRIORITY 12
429 
430 /**
431  * @brief xcb_sync_set_priority_request_t
432  **/
433 typedef struct xcb_sync_set_priority_request_t {
434     uint8_t  major_opcode; /**<  */
435     uint8_t  minor_opcode; /**<  */
436     uint16_t length; /**<  */
437     uint32_t id; /**<  */
438     int32_t  priority; /**<  */
439 } xcb_sync_set_priority_request_t;
440 
441 /**
442  * @brief xcb_sync_get_priority_cookie_t
443  **/
444 typedef struct xcb_sync_get_priority_cookie_t {
445     unsigned int sequence; /**<  */
446 } xcb_sync_get_priority_cookie_t;
447 
448 /** Opcode for xcb_sync_get_priority. */
449 #define XCB_SYNC_GET_PRIORITY 13
450 
451 /**
452  * @brief xcb_sync_get_priority_request_t
453  **/
454 typedef struct xcb_sync_get_priority_request_t {
455     uint8_t  major_opcode; /**<  */
456     uint8_t  minor_opcode; /**<  */
457     uint16_t length; /**<  */
458     uint32_t id; /**<  */
459 } xcb_sync_get_priority_request_t;
460 
461 /**
462  * @brief xcb_sync_get_priority_reply_t
463  **/
464 typedef struct xcb_sync_get_priority_reply_t {
465     uint8_t  response_type; /**<  */
466     uint8_t  pad0; /**<  */
467     uint16_t sequence; /**<  */
468     uint32_t length; /**<  */
469     int32_t  priority; /**<  */
470 } xcb_sync_get_priority_reply_t;
471 
472 /** Opcode for xcb_sync_create_fence. */
473 #define XCB_SYNC_CREATE_FENCE 14
474 
475 /**
476  * @brief xcb_sync_create_fence_request_t
477  **/
478 typedef struct xcb_sync_create_fence_request_t {
479     uint8_t          major_opcode; /**<  */
480     uint8_t          minor_opcode; /**<  */
481     uint16_t         length; /**<  */
482     xcb_drawable_t   drawable; /**<  */
483     xcb_sync_fence_t fence; /**<  */
484     uint8_t          initially_triggered; /**<  */
485 } xcb_sync_create_fence_request_t;
486 
487 /** Opcode for xcb_sync_trigger_fence. */
488 #define XCB_SYNC_TRIGGER_FENCE 15
489 
490 /**
491  * @brief xcb_sync_trigger_fence_request_t
492  **/
493 typedef struct xcb_sync_trigger_fence_request_t {
494     uint8_t          major_opcode; /**<  */
495     uint8_t          minor_opcode; /**<  */
496     uint16_t         length; /**<  */
497     xcb_sync_fence_t fence; /**<  */
498 } xcb_sync_trigger_fence_request_t;
499 
500 /** Opcode for xcb_sync_reset_fence. */
501 #define XCB_SYNC_RESET_FENCE 16
502 
503 /**
504  * @brief xcb_sync_reset_fence_request_t
505  **/
506 typedef struct xcb_sync_reset_fence_request_t {
507     uint8_t          major_opcode; /**<  */
508     uint8_t          minor_opcode; /**<  */
509     uint16_t         length; /**<  */
510     xcb_sync_fence_t fence; /**<  */
511 } xcb_sync_reset_fence_request_t;
512 
513 /** Opcode for xcb_sync_destroy_fence. */
514 #define XCB_SYNC_DESTROY_FENCE 17
515 
516 /**
517  * @brief xcb_sync_destroy_fence_request_t
518  **/
519 typedef struct xcb_sync_destroy_fence_request_t {
520     uint8_t          major_opcode; /**<  */
521     uint8_t          minor_opcode; /**<  */
522     uint16_t         length; /**<  */
523     xcb_sync_fence_t fence; /**<  */
524 } xcb_sync_destroy_fence_request_t;
525 
526 /**
527  * @brief xcb_sync_query_fence_cookie_t
528  **/
529 typedef struct xcb_sync_query_fence_cookie_t {
530     unsigned int sequence; /**<  */
531 } xcb_sync_query_fence_cookie_t;
532 
533 /** Opcode for xcb_sync_query_fence. */
534 #define XCB_SYNC_QUERY_FENCE 18
535 
536 /**
537  * @brief xcb_sync_query_fence_request_t
538  **/
539 typedef struct xcb_sync_query_fence_request_t {
540     uint8_t          major_opcode; /**<  */
541     uint8_t          minor_opcode; /**<  */
542     uint16_t         length; /**<  */
543     xcb_sync_fence_t fence; /**<  */
544 } xcb_sync_query_fence_request_t;
545 
546 /**
547  * @brief xcb_sync_query_fence_reply_t
548  **/
549 typedef struct xcb_sync_query_fence_reply_t {
550     uint8_t  response_type; /**<  */
551     uint8_t  pad0; /**<  */
552     uint16_t sequence; /**<  */
553     uint32_t length; /**<  */
554     uint8_t  triggered; /**<  */
555     uint8_t  pad1[23]; /**<  */
556 } xcb_sync_query_fence_reply_t;
557 
558 /** Opcode for xcb_sync_await_fence. */
559 #define XCB_SYNC_AWAIT_FENCE 19
560 
561 /**
562  * @brief xcb_sync_await_fence_request_t
563  **/
564 typedef struct xcb_sync_await_fence_request_t {
565     uint8_t  major_opcode; /**<  */
566     uint8_t  minor_opcode; /**<  */
567     uint16_t length; /**<  */
568 } xcb_sync_await_fence_request_t;
569 
570 /** Opcode for xcb_sync_counter_notify. */
571 #define XCB_SYNC_COUNTER_NOTIFY 0
572 
573 /**
574  * @brief xcb_sync_counter_notify_event_t
575  **/
576 typedef struct xcb_sync_counter_notify_event_t {
577     uint8_t            response_type; /**<  */
578     uint8_t            kind; /**<  */
579     uint16_t           sequence; /**<  */
580     xcb_sync_counter_t counter; /**<  */
581     xcb_sync_int64_t   wait_value; /**<  */
582     xcb_sync_int64_t   counter_value; /**<  */
583     xcb_timestamp_t    timestamp; /**<  */
584     uint16_t           count; /**<  */
585     uint8_t            destroyed; /**<  */
586     uint8_t            pad0; /**<  */
587 } xcb_sync_counter_notify_event_t;
588 
589 /** Opcode for xcb_sync_alarm_notify. */
590 #define XCB_SYNC_ALARM_NOTIFY 1
591 
592 /**
593  * @brief xcb_sync_alarm_notify_event_t
594  **/
595 typedef struct xcb_sync_alarm_notify_event_t {
596     uint8_t          response_type; /**<  */
597     uint8_t          kind; /**<  */
598     uint16_t         sequence; /**<  */
599     xcb_sync_alarm_t alarm; /**<  */
600     xcb_sync_int64_t counter_value; /**<  */
601     xcb_sync_int64_t alarm_value; /**<  */
602     xcb_timestamp_t  timestamp; /**<  */
603     uint8_t          state; /**<  */
604     uint8_t          pad0[3]; /**<  */
605 } xcb_sync_alarm_notify_event_t;
606 
607 /**
608  * Get the next element of the iterator
609  * @param i Pointer to a xcb_sync_alarm_iterator_t
610  *
611  * Get the next element in the iterator. The member rem is
612  * decreased by one. The member data points to the next
613  * element. The member index is increased by sizeof(xcb_sync_alarm_t)
614  */
615 
616 /*****************************************************************************
617  **
618  ** void xcb_sync_alarm_next
619  **
620  ** @param xcb_sync_alarm_iterator_t *i
621  ** @returns void
622  **
623  *****************************************************************************/
624 
625 void
626 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i  /**< */);
627 
628 /**
629  * Return the iterator pointing to the last element
630  * @param i An xcb_sync_alarm_iterator_t
631  * @return  The iterator pointing to the last element
632  *
633  * Set the current element in the iterator to the last element.
634  * The member rem is set to 0. The member data points to the
635  * last element.
636  */
637 
638 /*****************************************************************************
639  **
640  ** xcb_generic_iterator_t xcb_sync_alarm_end
641  **
642  ** @param xcb_sync_alarm_iterator_t i
643  ** @returns xcb_generic_iterator_t
644  **
645  *****************************************************************************/
646 
647 xcb_generic_iterator_t
648 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i  /**< */);
649 
650 /**
651  * Get the next element of the iterator
652  * @param i Pointer to a xcb_sync_counter_iterator_t
653  *
654  * Get the next element in the iterator. The member rem is
655  * decreased by one. The member data points to the next
656  * element. The member index is increased by sizeof(xcb_sync_counter_t)
657  */
658 
659 /*****************************************************************************
660  **
661  ** void xcb_sync_counter_next
662  **
663  ** @param xcb_sync_counter_iterator_t *i
664  ** @returns void
665  **
666  *****************************************************************************/
667 
668 void
669 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i  /**< */);
670 
671 /**
672  * Return the iterator pointing to the last element
673  * @param i An xcb_sync_counter_iterator_t
674  * @return  The iterator pointing to the last element
675  *
676  * Set the current element in the iterator to the last element.
677  * The member rem is set to 0. The member data points to the
678  * last element.
679  */
680 
681 /*****************************************************************************
682  **
683  ** xcb_generic_iterator_t xcb_sync_counter_end
684  **
685  ** @param xcb_sync_counter_iterator_t i
686  ** @returns xcb_generic_iterator_t
687  **
688  *****************************************************************************/
689 
690 xcb_generic_iterator_t
691 xcb_sync_counter_end (xcb_sync_counter_iterator_t i  /**< */);
692 
693 /**
694  * Get the next element of the iterator
695  * @param i Pointer to a xcb_sync_fence_iterator_t
696  *
697  * Get the next element in the iterator. The member rem is
698  * decreased by one. The member data points to the next
699  * element. The member index is increased by sizeof(xcb_sync_fence_t)
700  */
701 
702 /*****************************************************************************
703  **
704  ** void xcb_sync_fence_next
705  **
706  ** @param xcb_sync_fence_iterator_t *i
707  ** @returns void
708  **
709  *****************************************************************************/
710 
711 void
712 xcb_sync_fence_next (xcb_sync_fence_iterator_t *i  /**< */);
713 
714 /**
715  * Return the iterator pointing to the last element
716  * @param i An xcb_sync_fence_iterator_t
717  * @return  The iterator pointing to the last element
718  *
719  * Set the current element in the iterator to the last element.
720  * The member rem is set to 0. The member data points to the
721  * last element.
722  */
723 
724 /*****************************************************************************
725  **
726  ** xcb_generic_iterator_t xcb_sync_fence_end
727  **
728  ** @param xcb_sync_fence_iterator_t i
729  ** @returns xcb_generic_iterator_t
730  **
731  *****************************************************************************/
732 
733 xcb_generic_iterator_t
734 xcb_sync_fence_end (xcb_sync_fence_iterator_t i  /**< */);
735 
736 /**
737  * Get the next element of the iterator
738  * @param i Pointer to a xcb_sync_int64_iterator_t
739  *
740  * Get the next element in the iterator. The member rem is
741  * decreased by one. The member data points to the next
742  * element. The member index is increased by sizeof(xcb_sync_int64_t)
743  */
744 
745 /*****************************************************************************
746  **
747  ** void xcb_sync_int64_next
748  **
749  ** @param xcb_sync_int64_iterator_t *i
750  ** @returns void
751  **
752  *****************************************************************************/
753 
754 void
755 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i  /**< */);
756 
757 /**
758  * Return the iterator pointing to the last element
759  * @param i An xcb_sync_int64_iterator_t
760  * @return  The iterator pointing to the last element
761  *
762  * Set the current element in the iterator to the last element.
763  * The member rem is set to 0. The member data points to the
764  * last element.
765  */
766 
767 /*****************************************************************************
768  **
769  ** xcb_generic_iterator_t xcb_sync_int64_end
770  **
771  ** @param xcb_sync_int64_iterator_t i
772  ** @returns xcb_generic_iterator_t
773  **
774  *****************************************************************************/
775 
776 xcb_generic_iterator_t
777 xcb_sync_int64_end (xcb_sync_int64_iterator_t i  /**< */);
778 
779 int
780 xcb_sync_systemcounter_sizeof (const void  *_buffer  /**< */);
781 
782 
783 /*****************************************************************************
784  **
785  ** char * xcb_sync_systemcounter_name
786  **
787  ** @param const xcb_sync_systemcounter_t *R
788  ** @returns char *
789  **
790  *****************************************************************************/
791 
792 char *
793 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R  /**< */);
794 
795 
796 /*****************************************************************************
797  **
798  ** int xcb_sync_systemcounter_name_length
799  **
800  ** @param const xcb_sync_systemcounter_t *R
801  ** @returns int
802  **
803  *****************************************************************************/
804 
805 int
806 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R  /**< */);
807 
808 
809 /*****************************************************************************
810  **
811  ** xcb_generic_iterator_t xcb_sync_systemcounter_name_end
812  **
813  ** @param const xcb_sync_systemcounter_t *R
814  ** @returns xcb_generic_iterator_t
815  **
816  *****************************************************************************/
817 
818 xcb_generic_iterator_t
819 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R  /**< */);
820 
821 /**
822  * Get the next element of the iterator
823  * @param i Pointer to a xcb_sync_systemcounter_iterator_t
824  *
825  * Get the next element in the iterator. The member rem is
826  * decreased by one. The member data points to the next
827  * element. The member index is increased by sizeof(xcb_sync_systemcounter_t)
828  */
829 
830 /*****************************************************************************
831  **
832  ** void xcb_sync_systemcounter_next
833  **
834  ** @param xcb_sync_systemcounter_iterator_t *i
835  ** @returns void
836  **
837  *****************************************************************************/
838 
839 void
840 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i  /**< */);
841 
842 /**
843  * Return the iterator pointing to the last element
844  * @param i An xcb_sync_systemcounter_iterator_t
845  * @return  The iterator pointing to the last element
846  *
847  * Set the current element in the iterator to the last element.
848  * The member rem is set to 0. The member data points to the
849  * last element.
850  */
851 
852 /*****************************************************************************
853  **
854  ** xcb_generic_iterator_t xcb_sync_systemcounter_end
855  **
856  ** @param xcb_sync_systemcounter_iterator_t i
857  ** @returns xcb_generic_iterator_t
858  **
859  *****************************************************************************/
860 
861 xcb_generic_iterator_t
862 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i  /**< */);
863 
864 /**
865  * Get the next element of the iterator
866  * @param i Pointer to a xcb_sync_trigger_iterator_t
867  *
868  * Get the next element in the iterator. The member rem is
869  * decreased by one. The member data points to the next
870  * element. The member index is increased by sizeof(xcb_sync_trigger_t)
871  */
872 
873 /*****************************************************************************
874  **
875  ** void xcb_sync_trigger_next
876  **
877  ** @param xcb_sync_trigger_iterator_t *i
878  ** @returns void
879  **
880  *****************************************************************************/
881 
882 void
883 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i  /**< */);
884 
885 /**
886  * Return the iterator pointing to the last element
887  * @param i An xcb_sync_trigger_iterator_t
888  * @return  The iterator pointing to the last element
889  *
890  * Set the current element in the iterator to the last element.
891  * The member rem is set to 0. The member data points to the
892  * last element.
893  */
894 
895 /*****************************************************************************
896  **
897  ** xcb_generic_iterator_t xcb_sync_trigger_end
898  **
899  ** @param xcb_sync_trigger_iterator_t i
900  ** @returns xcb_generic_iterator_t
901  **
902  *****************************************************************************/
903 
904 xcb_generic_iterator_t
905 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i  /**< */);
906 
907 /**
908  * Get the next element of the iterator
909  * @param i Pointer to a xcb_sync_waitcondition_iterator_t
910  *
911  * Get the next element in the iterator. The member rem is
912  * decreased by one. The member data points to the next
913  * element. The member index is increased by sizeof(xcb_sync_waitcondition_t)
914  */
915 
916 /*****************************************************************************
917  **
918  ** void xcb_sync_waitcondition_next
919  **
920  ** @param xcb_sync_waitcondition_iterator_t *i
921  ** @returns void
922  **
923  *****************************************************************************/
924 
925 void
926 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i  /**< */);
927 
928 /**
929  * Return the iterator pointing to the last element
930  * @param i An xcb_sync_waitcondition_iterator_t
931  * @return  The iterator pointing to the last element
932  *
933  * Set the current element in the iterator to the last element.
934  * The member rem is set to 0. The member data points to the
935  * last element.
936  */
937 
938 /*****************************************************************************
939  **
940  ** xcb_generic_iterator_t xcb_sync_waitcondition_end
941  **
942  ** @param xcb_sync_waitcondition_iterator_t i
943  ** @returns xcb_generic_iterator_t
944  **
945  *****************************************************************************/
946 
947 xcb_generic_iterator_t
948 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i  /**< */);
949 
950 /**
951  *
952  * @param c The connection
953  * @return A cookie
954  *
955  * Delivers a request to the X server.
956  *
957  */
958 
959 /*****************************************************************************
960  **
961  ** xcb_sync_initialize_cookie_t xcb_sync_initialize
962  **
963  ** @param xcb_connection_t *c
964  ** @param uint8_t           desired_major_version
965  ** @param uint8_t           desired_minor_version
966  ** @returns xcb_sync_initialize_cookie_t
967  **
968  *****************************************************************************/
969 
970 xcb_sync_initialize_cookie_t
971 xcb_sync_initialize (xcb_connection_t *c  /**< */,
972                      uint8_t           desired_major_version  /**< */,
973                      uint8_t           desired_minor_version  /**< */);
974 
975 /**
976  *
977  * @param c The connection
978  * @return A cookie
979  *
980  * Delivers a request to the X server.
981  *
982  * This form can be used only if the request will cause
983  * a reply to be generated. Any returned error will be
984  * placed in the event queue.
985  */
986 
987 /*****************************************************************************
988  **
989  ** xcb_sync_initialize_cookie_t xcb_sync_initialize_unchecked
990  **
991  ** @param xcb_connection_t *c
992  ** @param uint8_t           desired_major_version
993  ** @param uint8_t           desired_minor_version
994  ** @returns xcb_sync_initialize_cookie_t
995  **
996  *****************************************************************************/
997 
998 xcb_sync_initialize_cookie_t
999 xcb_sync_initialize_unchecked (xcb_connection_t *c  /**< */,
1000                                uint8_t           desired_major_version  /**< */,
1001                                uint8_t           desired_minor_version  /**< */);
1002 
1003 /**
1004  * Return the reply
1005  * @param c      The connection
1006  * @param cookie The cookie
1007  * @param e      The xcb_generic_error_t supplied
1008  *
1009  * Returns the reply of the request asked by
1010  *
1011  * The parameter @p e supplied to this function must be NULL if
1012  * xcb_sync_initialize_unchecked(). is used.
1013  * Otherwise, it stores the error if any.
1014  *
1015  * The returned value must be freed by the caller using free().
1016  */
1017 
1018 /*****************************************************************************
1019  **
1020  ** xcb_sync_initialize_reply_t * xcb_sync_initialize_reply
1021  **
1022  ** @param xcb_connection_t              *c
1023  ** @param xcb_sync_initialize_cookie_t   cookie
1024  ** @param xcb_generic_error_t          **e
1025  ** @returns xcb_sync_initialize_reply_t *
1026  **
1027  *****************************************************************************/
1028 
1029 xcb_sync_initialize_reply_t *
1030 xcb_sync_initialize_reply (xcb_connection_t              *c  /**< */,
1031                            xcb_sync_initialize_cookie_t   cookie  /**< */,
1032                            xcb_generic_error_t          **e  /**< */);
1033 
1034 int
1035 xcb_sync_list_system_counters_sizeof (const void  *_buffer  /**< */);
1036 
1037 /**
1038  *
1039  * @param c The connection
1040  * @return A cookie
1041  *
1042  * Delivers a request to the X server.
1043  *
1044  */
1045 
1046 /*****************************************************************************
1047  **
1048  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters
1049  **
1050  ** @param xcb_connection_t *c
1051  ** @returns xcb_sync_list_system_counters_cookie_t
1052  **
1053  *****************************************************************************/
1054 
1055 xcb_sync_list_system_counters_cookie_t
1056 xcb_sync_list_system_counters (xcb_connection_t *c  /**< */);
1057 
1058 /**
1059  *
1060  * @param c The connection
1061  * @return A cookie
1062  *
1063  * Delivers a request to the X server.
1064  *
1065  * This form can be used only if the request will cause
1066  * a reply to be generated. Any returned error will be
1067  * placed in the event queue.
1068  */
1069 
1070 /*****************************************************************************
1071  **
1072  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters_unchecked
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_unchecked (xcb_connection_t *c  /**< */);
1081 
1082 
1083 /*****************************************************************************
1084  **
1085  ** int xcb_sync_list_system_counters_counters_length
1086  **
1087  ** @param const xcb_sync_list_system_counters_reply_t *R
1088  ** @returns int
1089  **
1090  *****************************************************************************/
1091 
1092 int
1093 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R  /**< */);
1094 
1095 
1096 /*****************************************************************************
1097  **
1098  ** xcb_sync_systemcounter_iterator_t xcb_sync_list_system_counters_counters_iterator
1099  **
1100  ** @param const xcb_sync_list_system_counters_reply_t *R
1101  ** @returns xcb_sync_systemcounter_iterator_t
1102  **
1103  *****************************************************************************/
1104 
1105 xcb_sync_systemcounter_iterator_t
1106 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R  /**< */);
1107 
1108 /**
1109  * Return the reply
1110  * @param c      The connection
1111  * @param cookie The cookie
1112  * @param e      The xcb_generic_error_t supplied
1113  *
1114  * Returns the reply of the request asked by
1115  *
1116  * The parameter @p e supplied to this function must be NULL if
1117  * xcb_sync_list_system_counters_unchecked(). is used.
1118  * Otherwise, it stores the error if any.
1119  *
1120  * The returned value must be freed by the caller using free().
1121  */
1122 
1123 /*****************************************************************************
1124  **
1125  ** xcb_sync_list_system_counters_reply_t * xcb_sync_list_system_counters_reply
1126  **
1127  ** @param xcb_connection_t                        *c
1128  ** @param xcb_sync_list_system_counters_cookie_t   cookie
1129  ** @param xcb_generic_error_t                    **e
1130  ** @returns xcb_sync_list_system_counters_reply_t *
1131  **
1132  *****************************************************************************/
1133 
1134 xcb_sync_list_system_counters_reply_t *
1135 xcb_sync_list_system_counters_reply (xcb_connection_t                        *c  /**< */,
1136                                      xcb_sync_list_system_counters_cookie_t   cookie  /**< */,
1137                                      xcb_generic_error_t                    **e  /**< */);
1138 
1139 /**
1140  *
1141  * @param c The connection
1142  * @return A cookie
1143  *
1144  * Delivers a request to the X server.
1145  *
1146  * This form can be used only if the request will not cause
1147  * a reply to be generated. Any returned error will be
1148  * saved for handling by xcb_request_check().
1149  */
1150 
1151 /*****************************************************************************
1152  **
1153  ** xcb_void_cookie_t xcb_sync_create_counter_checked
1154  **
1155  ** @param xcb_connection_t   *c
1156  ** @param xcb_sync_counter_t  id
1157  ** @param xcb_sync_int64_t    initial_value
1158  ** @returns xcb_void_cookie_t
1159  **
1160  *****************************************************************************/
1161 
1162 xcb_void_cookie_t
1163 xcb_sync_create_counter_checked (xcb_connection_t   *c  /**< */,
1164                                  xcb_sync_counter_t  id  /**< */,
1165                                  xcb_sync_int64_t    initial_value  /**< */);
1166 
1167 /**
1168  *
1169  * @param c The connection
1170  * @return A cookie
1171  *
1172  * Delivers a request to the X server.
1173  *
1174  */
1175 
1176 /*****************************************************************************
1177  **
1178  ** xcb_void_cookie_t xcb_sync_create_counter
1179  **
1180  ** @param xcb_connection_t   *c
1181  ** @param xcb_sync_counter_t  id
1182  ** @param xcb_sync_int64_t    initial_value
1183  ** @returns xcb_void_cookie_t
1184  **
1185  *****************************************************************************/
1186 
1187 xcb_void_cookie_t
1188 xcb_sync_create_counter (xcb_connection_t   *c  /**< */,
1189                          xcb_sync_counter_t  id  /**< */,
1190                          xcb_sync_int64_t    initial_value  /**< */);
1191 
1192 /**
1193  *
1194  * @param c The connection
1195  * @return A cookie
1196  *
1197  * Delivers a request to the X server.
1198  *
1199  * This form can be used only if the request will not cause
1200  * a reply to be generated. Any returned error will be
1201  * saved for handling by xcb_request_check().
1202  */
1203 
1204 /*****************************************************************************
1205  **
1206  ** xcb_void_cookie_t xcb_sync_destroy_counter_checked
1207  **
1208  ** @param xcb_connection_t   *c
1209  ** @param xcb_sync_counter_t  counter
1210  ** @returns xcb_void_cookie_t
1211  **
1212  *****************************************************************************/
1213 
1214 xcb_void_cookie_t
1215 xcb_sync_destroy_counter_checked (xcb_connection_t   *c  /**< */,
1216                                   xcb_sync_counter_t  counter  /**< */);
1217 
1218 /**
1219  *
1220  * @param c The connection
1221  * @return A cookie
1222  *
1223  * Delivers a request to the X server.
1224  *
1225  */
1226 
1227 /*****************************************************************************
1228  **
1229  ** xcb_void_cookie_t xcb_sync_destroy_counter
1230  **
1231  ** @param xcb_connection_t   *c
1232  ** @param xcb_sync_counter_t  counter
1233  ** @returns xcb_void_cookie_t
1234  **
1235  *****************************************************************************/
1236 
1237 xcb_void_cookie_t
1238 xcb_sync_destroy_counter (xcb_connection_t   *c  /**< */,
1239                           xcb_sync_counter_t  counter  /**< */);
1240 
1241 /**
1242  *
1243  * @param c The connection
1244  * @return A cookie
1245  *
1246  * Delivers a request to the X server.
1247  *
1248  */
1249 
1250 /*****************************************************************************
1251  **
1252  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter
1253  **
1254  ** @param xcb_connection_t   *c
1255  ** @param xcb_sync_counter_t  counter
1256  ** @returns xcb_sync_query_counter_cookie_t
1257  **
1258  *****************************************************************************/
1259 
1260 xcb_sync_query_counter_cookie_t
1261 xcb_sync_query_counter (xcb_connection_t   *c  /**< */,
1262                         xcb_sync_counter_t  counter  /**< */);
1263 
1264 /**
1265  *
1266  * @param c The connection
1267  * @return A cookie
1268  *
1269  * Delivers a request to the X server.
1270  *
1271  * This form can be used only if the request will cause
1272  * a reply to be generated. Any returned error will be
1273  * placed in the event queue.
1274  */
1275 
1276 /*****************************************************************************
1277  **
1278  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter_unchecked
1279  **
1280  ** @param xcb_connection_t   *c
1281  ** @param xcb_sync_counter_t  counter
1282  ** @returns xcb_sync_query_counter_cookie_t
1283  **
1284  *****************************************************************************/
1285 
1286 xcb_sync_query_counter_cookie_t
1287 xcb_sync_query_counter_unchecked (xcb_connection_t   *c  /**< */,
1288                                   xcb_sync_counter_t  counter  /**< */);
1289 
1290 /**
1291  * Return the reply
1292  * @param c      The connection
1293  * @param cookie The cookie
1294  * @param e      The xcb_generic_error_t supplied
1295  *
1296  * Returns the reply of the request asked by
1297  *
1298  * The parameter @p e supplied to this function must be NULL if
1299  * xcb_sync_query_counter_unchecked(). is used.
1300  * Otherwise, it stores the error if any.
1301  *
1302  * The returned value must be freed by the caller using free().
1303  */
1304 
1305 /*****************************************************************************
1306  **
1307  ** xcb_sync_query_counter_reply_t * xcb_sync_query_counter_reply
1308  **
1309  ** @param xcb_connection_t                 *c
1310  ** @param xcb_sync_query_counter_cookie_t   cookie
1311  ** @param xcb_generic_error_t             **e
1312  ** @returns xcb_sync_query_counter_reply_t *
1313  **
1314  *****************************************************************************/
1315 
1316 xcb_sync_query_counter_reply_t *
1317 xcb_sync_query_counter_reply (xcb_connection_t                 *c  /**< */,
1318                               xcb_sync_query_counter_cookie_t   cookie  /**< */,
1319                               xcb_generic_error_t             **e  /**< */);
1320 
1321 int
1322 xcb_sync_await_sizeof (const void  *_buffer  /**< */,
1323                        uint32_t     wait_list_len  /**< */);
1324 
1325 /**
1326  *
1327  * @param c The connection
1328  * @return A cookie
1329  *
1330  * Delivers a request to the X server.
1331  *
1332  * This form can be used only if the request will not cause
1333  * a reply to be generated. Any returned error will be
1334  * saved for handling by xcb_request_check().
1335  */
1336 
1337 /*****************************************************************************
1338  **
1339  ** xcb_void_cookie_t xcb_sync_await_checked
1340  **
1341  ** @param xcb_connection_t               *c
1342  ** @param uint32_t                        wait_list_len
1343  ** @param const xcb_sync_waitcondition_t *wait_list
1344  ** @returns xcb_void_cookie_t
1345  **
1346  *****************************************************************************/
1347 
1348 xcb_void_cookie_t
1349 xcb_sync_await_checked (xcb_connection_t               *c  /**< */,
1350                         uint32_t                        wait_list_len  /**< */,
1351                         const xcb_sync_waitcondition_t *wait_list  /**< */);
1352 
1353 /**
1354  *
1355  * @param c The connection
1356  * @return A cookie
1357  *
1358  * Delivers a request to the X server.
1359  *
1360  */
1361 
1362 /*****************************************************************************
1363  **
1364  ** xcb_void_cookie_t xcb_sync_await
1365  **
1366  ** @param xcb_connection_t               *c
1367  ** @param uint32_t                        wait_list_len
1368  ** @param const xcb_sync_waitcondition_t *wait_list
1369  ** @returns xcb_void_cookie_t
1370  **
1371  *****************************************************************************/
1372 
1373 xcb_void_cookie_t
1374 xcb_sync_await (xcb_connection_t               *c  /**< */,
1375                 uint32_t                        wait_list_len  /**< */,
1376                 const xcb_sync_waitcondition_t *wait_list  /**< */);
1377 
1378 /**
1379  *
1380  * @param c The connection
1381  * @return A cookie
1382  *
1383  * Delivers a request to the X server.
1384  *
1385  * This form can be used only if the request will not cause
1386  * a reply to be generated. Any returned error will be
1387  * saved for handling by xcb_request_check().
1388  */
1389 
1390 /*****************************************************************************
1391  **
1392  ** xcb_void_cookie_t xcb_sync_change_counter_checked
1393  **
1394  ** @param xcb_connection_t   *c
1395  ** @param xcb_sync_counter_t  counter
1396  ** @param xcb_sync_int64_t    amount
1397  ** @returns xcb_void_cookie_t
1398  **
1399  *****************************************************************************/
1400 
1401 xcb_void_cookie_t
1402 xcb_sync_change_counter_checked (xcb_connection_t   *c  /**< */,
1403                                  xcb_sync_counter_t  counter  /**< */,
1404                                  xcb_sync_int64_t    amount  /**< */);
1405 
1406 /**
1407  *
1408  * @param c The connection
1409  * @return A cookie
1410  *
1411  * Delivers a request to the X server.
1412  *
1413  */
1414 
1415 /*****************************************************************************
1416  **
1417  ** xcb_void_cookie_t xcb_sync_change_counter
1418  **
1419  ** @param xcb_connection_t   *c
1420  ** @param xcb_sync_counter_t  counter
1421  ** @param xcb_sync_int64_t    amount
1422  ** @returns xcb_void_cookie_t
1423  **
1424  *****************************************************************************/
1425 
1426 xcb_void_cookie_t
1427 xcb_sync_change_counter (xcb_connection_t   *c  /**< */,
1428                          xcb_sync_counter_t  counter  /**< */,
1429                          xcb_sync_int64_t    amount  /**< */);
1430 
1431 /**
1432  *
1433  * @param c The connection
1434  * @return A cookie
1435  *
1436  * Delivers a request to the X server.
1437  *
1438  * This form can be used only if the request will not cause
1439  * a reply to be generated. Any returned error will be
1440  * saved for handling by xcb_request_check().
1441  */
1442 
1443 /*****************************************************************************
1444  **
1445  ** xcb_void_cookie_t xcb_sync_set_counter_checked
1446  **
1447  ** @param xcb_connection_t   *c
1448  ** @param xcb_sync_counter_t  counter
1449  ** @param xcb_sync_int64_t    value
1450  ** @returns xcb_void_cookie_t
1451  **
1452  *****************************************************************************/
1453 
1454 xcb_void_cookie_t
1455 xcb_sync_set_counter_checked (xcb_connection_t   *c  /**< */,
1456                               xcb_sync_counter_t  counter  /**< */,
1457                               xcb_sync_int64_t    value  /**< */);
1458 
1459 /**
1460  *
1461  * @param c The connection
1462  * @return A cookie
1463  *
1464  * Delivers a request to the X server.
1465  *
1466  */
1467 
1468 /*****************************************************************************
1469  **
1470  ** xcb_void_cookie_t xcb_sync_set_counter
1471  **
1472  ** @param xcb_connection_t   *c
1473  ** @param xcb_sync_counter_t  counter
1474  ** @param xcb_sync_int64_t    value
1475  ** @returns xcb_void_cookie_t
1476  **
1477  *****************************************************************************/
1478 
1479 xcb_void_cookie_t
1480 xcb_sync_set_counter (xcb_connection_t   *c  /**< */,
1481                       xcb_sync_counter_t  counter  /**< */,
1482                       xcb_sync_int64_t    value  /**< */);
1483 
1484 int
1485 xcb_sync_create_alarm_sizeof (const void  *_buffer  /**< */);
1486 
1487 /**
1488  *
1489  * @param c The connection
1490  * @return A cookie
1491  *
1492  * Delivers a request to the X server.
1493  *
1494  * This form can be used only if the request will not cause
1495  * a reply to be generated. Any returned error will be
1496  * saved for handling by xcb_request_check().
1497  */
1498 
1499 /*****************************************************************************
1500  **
1501  ** xcb_void_cookie_t xcb_sync_create_alarm_checked
1502  **
1503  ** @param xcb_connection_t *c
1504  ** @param xcb_sync_alarm_t  id
1505  ** @param uint32_t          value_mask
1506  ** @param const uint32_t   *value_list
1507  ** @returns xcb_void_cookie_t
1508  **
1509  *****************************************************************************/
1510 
1511 xcb_void_cookie_t
1512 xcb_sync_create_alarm_checked (xcb_connection_t *c  /**< */,
1513                                xcb_sync_alarm_t  id  /**< */,
1514                                uint32_t          value_mask  /**< */,
1515                                const uint32_t   *value_list  /**< */);
1516 
1517 /**
1518  *
1519  * @param c The connection
1520  * @return A cookie
1521  *
1522  * Delivers a request to the X server.
1523  *
1524  */
1525 
1526 /*****************************************************************************
1527  **
1528  ** xcb_void_cookie_t xcb_sync_create_alarm
1529  **
1530  ** @param xcb_connection_t *c
1531  ** @param xcb_sync_alarm_t  id
1532  ** @param uint32_t          value_mask
1533  ** @param const uint32_t   *value_list
1534  ** @returns xcb_void_cookie_t
1535  **
1536  *****************************************************************************/
1537 
1538 xcb_void_cookie_t
1539 xcb_sync_create_alarm (xcb_connection_t *c  /**< */,
1540                        xcb_sync_alarm_t  id  /**< */,
1541                        uint32_t          value_mask  /**< */,
1542                        const uint32_t   *value_list  /**< */);
1543 
1544 int
1545 xcb_sync_change_alarm_sizeof (const void  *_buffer  /**< */);
1546 
1547 /**
1548  *
1549  * @param c The connection
1550  * @return A cookie
1551  *
1552  * Delivers a request to the X server.
1553  *
1554  * This form can be used only if the request will not cause
1555  * a reply to be generated. Any returned error will be
1556  * saved for handling by xcb_request_check().
1557  */
1558 
1559 /*****************************************************************************
1560  **
1561  ** xcb_void_cookie_t xcb_sync_change_alarm_checked
1562  **
1563  ** @param xcb_connection_t *c
1564  ** @param xcb_sync_alarm_t  id
1565  ** @param uint32_t          value_mask
1566  ** @param const uint32_t   *value_list
1567  ** @returns xcb_void_cookie_t
1568  **
1569  *****************************************************************************/
1570 
1571 xcb_void_cookie_t
1572 xcb_sync_change_alarm_checked (xcb_connection_t *c  /**< */,
1573                                xcb_sync_alarm_t  id  /**< */,
1574                                uint32_t          value_mask  /**< */,
1575                                const uint32_t   *value_list  /**< */);
1576 
1577 /**
1578  *
1579  * @param c The connection
1580  * @return A cookie
1581  *
1582  * Delivers a request to the X server.
1583  *
1584  */
1585 
1586 /*****************************************************************************
1587  **
1588  ** xcb_void_cookie_t xcb_sync_change_alarm
1589  **
1590  ** @param xcb_connection_t *c
1591  ** @param xcb_sync_alarm_t  id
1592  ** @param uint32_t          value_mask
1593  ** @param const uint32_t   *value_list
1594  ** @returns xcb_void_cookie_t
1595  **
1596  *****************************************************************************/
1597 
1598 xcb_void_cookie_t
1599 xcb_sync_change_alarm (xcb_connection_t *c  /**< */,
1600                        xcb_sync_alarm_t  id  /**< */,
1601                        uint32_t          value_mask  /**< */,
1602                        const uint32_t   *value_list  /**< */);
1603 
1604 /**
1605  *
1606  * @param c The connection
1607  * @return A cookie
1608  *
1609  * Delivers a request to the X server.
1610  *
1611  * This form can be used only if the request will not cause
1612  * a reply to be generated. Any returned error will be
1613  * saved for handling by xcb_request_check().
1614  */
1615 
1616 /*****************************************************************************
1617  **
1618  ** xcb_void_cookie_t xcb_sync_destroy_alarm_checked
1619  **
1620  ** @param xcb_connection_t *c
1621  ** @param xcb_sync_alarm_t  alarm
1622  ** @returns xcb_void_cookie_t
1623  **
1624  *****************************************************************************/
1625 
1626 xcb_void_cookie_t
1627 xcb_sync_destroy_alarm_checked (xcb_connection_t *c  /**< */,
1628                                 xcb_sync_alarm_t  alarm  /**< */);
1629 
1630 /**
1631  *
1632  * @param c The connection
1633  * @return A cookie
1634  *
1635  * Delivers a request to the X server.
1636  *
1637  */
1638 
1639 /*****************************************************************************
1640  **
1641  ** xcb_void_cookie_t xcb_sync_destroy_alarm
1642  **
1643  ** @param xcb_connection_t *c
1644  ** @param xcb_sync_alarm_t  alarm
1645  ** @returns xcb_void_cookie_t
1646  **
1647  *****************************************************************************/
1648 
1649 xcb_void_cookie_t
1650 xcb_sync_destroy_alarm (xcb_connection_t *c  /**< */,
1651                         xcb_sync_alarm_t  alarm  /**< */);
1652 
1653 /**
1654  *
1655  * @param c The connection
1656  * @return A cookie
1657  *
1658  * Delivers a request to the X server.
1659  *
1660  */
1661 
1662 /*****************************************************************************
1663  **
1664  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm
1665  **
1666  ** @param xcb_connection_t *c
1667  ** @param xcb_sync_alarm_t  alarm
1668  ** @returns xcb_sync_query_alarm_cookie_t
1669  **
1670  *****************************************************************************/
1671 
1672 xcb_sync_query_alarm_cookie_t
1673 xcb_sync_query_alarm (xcb_connection_t *c  /**< */,
1674                       xcb_sync_alarm_t  alarm  /**< */);
1675 
1676 /**
1677  *
1678  * @param c The connection
1679  * @return A cookie
1680  *
1681  * Delivers a request to the X server.
1682  *
1683  * This form can be used only if the request will cause
1684  * a reply to be generated. Any returned error will be
1685  * placed in the event queue.
1686  */
1687 
1688 /*****************************************************************************
1689  **
1690  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm_unchecked
1691  **
1692  ** @param xcb_connection_t *c
1693  ** @param xcb_sync_alarm_t  alarm
1694  ** @returns xcb_sync_query_alarm_cookie_t
1695  **
1696  *****************************************************************************/
1697 
1698 xcb_sync_query_alarm_cookie_t
1699 xcb_sync_query_alarm_unchecked (xcb_connection_t *c  /**< */,
1700                                 xcb_sync_alarm_t  alarm  /**< */);
1701 
1702 /**
1703  * Return the reply
1704  * @param c      The connection
1705  * @param cookie The cookie
1706  * @param e      The xcb_generic_error_t supplied
1707  *
1708  * Returns the reply of the request asked by
1709  *
1710  * The parameter @p e supplied to this function must be NULL if
1711  * xcb_sync_query_alarm_unchecked(). is used.
1712  * Otherwise, it stores the error if any.
1713  *
1714  * The returned value must be freed by the caller using free().
1715  */
1716 
1717 /*****************************************************************************
1718  **
1719  ** xcb_sync_query_alarm_reply_t * xcb_sync_query_alarm_reply
1720  **
1721  ** @param xcb_connection_t               *c
1722  ** @param xcb_sync_query_alarm_cookie_t   cookie
1723  ** @param xcb_generic_error_t           **e
1724  ** @returns xcb_sync_query_alarm_reply_t *
1725  **
1726  *****************************************************************************/
1727 
1728 xcb_sync_query_alarm_reply_t *
1729 xcb_sync_query_alarm_reply (xcb_connection_t               *c  /**< */,
1730                             xcb_sync_query_alarm_cookie_t   cookie  /**< */,
1731                             xcb_generic_error_t           **e  /**< */);
1732 
1733 /**
1734  *
1735  * @param c The connection
1736  * @return A cookie
1737  *
1738  * Delivers a request to the X server.
1739  *
1740  * This form can be used only if the request will not cause
1741  * a reply to be generated. Any returned error will be
1742  * saved for handling by xcb_request_check().
1743  */
1744 
1745 /*****************************************************************************
1746  **
1747  ** xcb_void_cookie_t xcb_sync_set_priority_checked
1748  **
1749  ** @param xcb_connection_t *c
1750  ** @param uint32_t          id
1751  ** @param int32_t           priority
1752  ** @returns xcb_void_cookie_t
1753  **
1754  *****************************************************************************/
1755 
1756 xcb_void_cookie_t
1757 xcb_sync_set_priority_checked (xcb_connection_t *c  /**< */,
1758                                uint32_t          id  /**< */,
1759                                int32_t           priority  /**< */);
1760 
1761 /**
1762  *
1763  * @param c The connection
1764  * @return A cookie
1765  *
1766  * Delivers a request to the X server.
1767  *
1768  */
1769 
1770 /*****************************************************************************
1771  **
1772  ** xcb_void_cookie_t xcb_sync_set_priority
1773  **
1774  ** @param xcb_connection_t *c
1775  ** @param uint32_t          id
1776  ** @param int32_t           priority
1777  ** @returns xcb_void_cookie_t
1778  **
1779  *****************************************************************************/
1780 
1781 xcb_void_cookie_t
1782 xcb_sync_set_priority (xcb_connection_t *c  /**< */,
1783                        uint32_t          id  /**< */,
1784                        int32_t           priority  /**< */);
1785 
1786 /**
1787  *
1788  * @param c The connection
1789  * @return A cookie
1790  *
1791  * Delivers a request to the X server.
1792  *
1793  */
1794 
1795 /*****************************************************************************
1796  **
1797  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority
1798  **
1799  ** @param xcb_connection_t *c
1800  ** @param uint32_t          id
1801  ** @returns xcb_sync_get_priority_cookie_t
1802  **
1803  *****************************************************************************/
1804 
1805 xcb_sync_get_priority_cookie_t
1806 xcb_sync_get_priority (xcb_connection_t *c  /**< */,
1807                        uint32_t          id  /**< */);
1808 
1809 /**
1810  *
1811  * @param c The connection
1812  * @return A cookie
1813  *
1814  * Delivers a request to the X server.
1815  *
1816  * This form can be used only if the request will cause
1817  * a reply to be generated. Any returned error will be
1818  * placed in the event queue.
1819  */
1820 
1821 /*****************************************************************************
1822  **
1823  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority_unchecked
1824  **
1825  ** @param xcb_connection_t *c
1826  ** @param uint32_t          id
1827  ** @returns xcb_sync_get_priority_cookie_t
1828  **
1829  *****************************************************************************/
1830 
1831 xcb_sync_get_priority_cookie_t
1832 xcb_sync_get_priority_unchecked (xcb_connection_t *c  /**< */,
1833                                  uint32_t          id  /**< */);
1834 
1835 /**
1836  * Return the reply
1837  * @param c      The connection
1838  * @param cookie The cookie
1839  * @param e      The xcb_generic_error_t supplied
1840  *
1841  * Returns the reply of the request asked by
1842  *
1843  * The parameter @p e supplied to this function must be NULL if
1844  * xcb_sync_get_priority_unchecked(). is used.
1845  * Otherwise, it stores the error if any.
1846  *
1847  * The returned value must be freed by the caller using free().
1848  */
1849 
1850 /*****************************************************************************
1851  **
1852  ** xcb_sync_get_priority_reply_t * xcb_sync_get_priority_reply
1853  **
1854  ** @param xcb_connection_t                *c
1855  ** @param xcb_sync_get_priority_cookie_t   cookie
1856  ** @param xcb_generic_error_t            **e
1857  ** @returns xcb_sync_get_priority_reply_t *
1858  **
1859  *****************************************************************************/
1860 
1861 xcb_sync_get_priority_reply_t *
1862 xcb_sync_get_priority_reply (xcb_connection_t                *c  /**< */,
1863                              xcb_sync_get_priority_cookie_t   cookie  /**< */,
1864                              xcb_generic_error_t            **e  /**< */);
1865 
1866 /**
1867  *
1868  * @param c The connection
1869  * @return A cookie
1870  *
1871  * Delivers a request to the X server.
1872  *
1873  * This form can be used only if the request will not cause
1874  * a reply to be generated. Any returned error will be
1875  * saved for handling by xcb_request_check().
1876  */
1877 
1878 /*****************************************************************************
1879  **
1880  ** xcb_void_cookie_t xcb_sync_create_fence_checked
1881  **
1882  ** @param xcb_connection_t *c
1883  ** @param xcb_drawable_t    drawable
1884  ** @param xcb_sync_fence_t  fence
1885  ** @param uint8_t           initially_triggered
1886  ** @returns xcb_void_cookie_t
1887  **
1888  *****************************************************************************/
1889 
1890 xcb_void_cookie_t
1891 xcb_sync_create_fence_checked (xcb_connection_t *c  /**< */,
1892                                xcb_drawable_t    drawable  /**< */,
1893                                xcb_sync_fence_t  fence  /**< */,
1894                                uint8_t           initially_triggered  /**< */);
1895 
1896 /**
1897  *
1898  * @param c The connection
1899  * @return A cookie
1900  *
1901  * Delivers a request to the X server.
1902  *
1903  */
1904 
1905 /*****************************************************************************
1906  **
1907  ** xcb_void_cookie_t xcb_sync_create_fence
1908  **
1909  ** @param xcb_connection_t *c
1910  ** @param xcb_drawable_t    drawable
1911  ** @param xcb_sync_fence_t  fence
1912  ** @param uint8_t           initially_triggered
1913  ** @returns xcb_void_cookie_t
1914  **
1915  *****************************************************************************/
1916 
1917 xcb_void_cookie_t
1918 xcb_sync_create_fence (xcb_connection_t *c  /**< */,
1919                        xcb_drawable_t    drawable  /**< */,
1920                        xcb_sync_fence_t  fence  /**< */,
1921                        uint8_t           initially_triggered  /**< */);
1922 
1923 /**
1924  *
1925  * @param c The connection
1926  * @return A cookie
1927  *
1928  * Delivers a request to the X server.
1929  *
1930  * This form can be used only if the request will not cause
1931  * a reply to be generated. Any returned error will be
1932  * saved for handling by xcb_request_check().
1933  */
1934 
1935 /*****************************************************************************
1936  **
1937  ** xcb_void_cookie_t xcb_sync_trigger_fence_checked
1938  **
1939  ** @param xcb_connection_t *c
1940  ** @param xcb_sync_fence_t  fence
1941  ** @returns xcb_void_cookie_t
1942  **
1943  *****************************************************************************/
1944 
1945 xcb_void_cookie_t
1946 xcb_sync_trigger_fence_checked (xcb_connection_t *c  /**< */,
1947                                 xcb_sync_fence_t  fence  /**< */);
1948 
1949 /**
1950  *
1951  * @param c The connection
1952  * @return A cookie
1953  *
1954  * Delivers a request to the X server.
1955  *
1956  */
1957 
1958 /*****************************************************************************
1959  **
1960  ** xcb_void_cookie_t xcb_sync_trigger_fence
1961  **
1962  ** @param xcb_connection_t *c
1963  ** @param xcb_sync_fence_t  fence
1964  ** @returns xcb_void_cookie_t
1965  **
1966  *****************************************************************************/
1967 
1968 xcb_void_cookie_t
1969 xcb_sync_trigger_fence (xcb_connection_t *c  /**< */,
1970                         xcb_sync_fence_t  fence  /**< */);
1971 
1972 /**
1973  *
1974  * @param c The connection
1975  * @return A cookie
1976  *
1977  * Delivers a request to the X server.
1978  *
1979  * This form can be used only if the request will not cause
1980  * a reply to be generated. Any returned error will be
1981  * saved for handling by xcb_request_check().
1982  */
1983 
1984 /*****************************************************************************
1985  **
1986  ** xcb_void_cookie_t xcb_sync_reset_fence_checked
1987  **
1988  ** @param xcb_connection_t *c
1989  ** @param xcb_sync_fence_t  fence
1990  ** @returns xcb_void_cookie_t
1991  **
1992  *****************************************************************************/
1993 
1994 xcb_void_cookie_t
1995 xcb_sync_reset_fence_checked (xcb_connection_t *c  /**< */,
1996                               xcb_sync_fence_t  fence  /**< */);
1997 
1998 /**
1999  *
2000  * @param c The connection
2001  * @return A cookie
2002  *
2003  * Delivers a request to the X server.
2004  *
2005  */
2006 
2007 /*****************************************************************************
2008  **
2009  ** xcb_void_cookie_t xcb_sync_reset_fence
2010  **
2011  ** @param xcb_connection_t *c
2012  ** @param xcb_sync_fence_t  fence
2013  ** @returns xcb_void_cookie_t
2014  **
2015  *****************************************************************************/
2016 
2017 xcb_void_cookie_t
2018 xcb_sync_reset_fence (xcb_connection_t *c  /**< */,
2019                       xcb_sync_fence_t  fence  /**< */);
2020 
2021 /**
2022  *
2023  * @param c The connection
2024  * @return A cookie
2025  *
2026  * Delivers a request to the X server.
2027  *
2028  * This form can be used only if the request will not cause
2029  * a reply to be generated. Any returned error will be
2030  * saved for handling by xcb_request_check().
2031  */
2032 
2033 /*****************************************************************************
2034  **
2035  ** xcb_void_cookie_t xcb_sync_destroy_fence_checked
2036  **
2037  ** @param xcb_connection_t *c
2038  ** @param xcb_sync_fence_t  fence
2039  ** @returns xcb_void_cookie_t
2040  **
2041  *****************************************************************************/
2042 
2043 xcb_void_cookie_t
2044 xcb_sync_destroy_fence_checked (xcb_connection_t *c  /**< */,
2045                                 xcb_sync_fence_t  fence  /**< */);
2046 
2047 /**
2048  *
2049  * @param c The connection
2050  * @return A cookie
2051  *
2052  * Delivers a request to the X server.
2053  *
2054  */
2055 
2056 /*****************************************************************************
2057  **
2058  ** xcb_void_cookie_t xcb_sync_destroy_fence
2059  **
2060  ** @param xcb_connection_t *c
2061  ** @param xcb_sync_fence_t  fence
2062  ** @returns xcb_void_cookie_t
2063  **
2064  *****************************************************************************/
2065 
2066 xcb_void_cookie_t
2067 xcb_sync_destroy_fence (xcb_connection_t *c  /**< */,
2068                         xcb_sync_fence_t  fence  /**< */);
2069 
2070 /**
2071  *
2072  * @param c The connection
2073  * @return A cookie
2074  *
2075  * Delivers a request to the X server.
2076  *
2077  */
2078 
2079 /*****************************************************************************
2080  **
2081  ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence
2082  **
2083  ** @param xcb_connection_t *c
2084  ** @param xcb_sync_fence_t  fence
2085  ** @returns xcb_sync_query_fence_cookie_t
2086  **
2087  *****************************************************************************/
2088 
2089 xcb_sync_query_fence_cookie_t
2090 xcb_sync_query_fence (xcb_connection_t *c  /**< */,
2091                       xcb_sync_fence_t  fence  /**< */);
2092 
2093 /**
2094  *
2095  * @param c The connection
2096  * @return A cookie
2097  *
2098  * Delivers a request to the X server.
2099  *
2100  * This form can be used only if the request will cause
2101  * a reply to be generated. Any returned error will be
2102  * placed in the event queue.
2103  */
2104 
2105 /*****************************************************************************
2106  **
2107  ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence_unchecked
2108  **
2109  ** @param xcb_connection_t *c
2110  ** @param xcb_sync_fence_t  fence
2111  ** @returns xcb_sync_query_fence_cookie_t
2112  **
2113  *****************************************************************************/
2114 
2115 xcb_sync_query_fence_cookie_t
2116 xcb_sync_query_fence_unchecked (xcb_connection_t *c  /**< */,
2117                                 xcb_sync_fence_t  fence  /**< */);
2118 
2119 /**
2120  * Return the reply
2121  * @param c      The connection
2122  * @param cookie The cookie
2123  * @param e      The xcb_generic_error_t supplied
2124  *
2125  * Returns the reply of the request asked by
2126  *
2127  * The parameter @p e supplied to this function must be NULL if
2128  * xcb_sync_query_fence_unchecked(). is used.
2129  * Otherwise, it stores the error if any.
2130  *
2131  * The returned value must be freed by the caller using free().
2132  */
2133 
2134 /*****************************************************************************
2135  **
2136  ** xcb_sync_query_fence_reply_t * xcb_sync_query_fence_reply
2137  **
2138  ** @param xcb_connection_t               *c
2139  ** @param xcb_sync_query_fence_cookie_t   cookie
2140  ** @param xcb_generic_error_t           **e
2141  ** @returns xcb_sync_query_fence_reply_t *
2142  **
2143  *****************************************************************************/
2144 
2145 xcb_sync_query_fence_reply_t *
2146 xcb_sync_query_fence_reply (xcb_connection_t               *c  /**< */,
2147                             xcb_sync_query_fence_cookie_t   cookie  /**< */,
2148                             xcb_generic_error_t           **e  /**< */);
2149 
2150 int
2151 xcb_sync_await_fence_sizeof (const void  *_buffer  /**< */,
2152                              uint32_t     fence_list_len  /**< */);
2153 
2154 /**
2155  *
2156  * @param c The connection
2157  * @return A cookie
2158  *
2159  * Delivers a request to the X server.
2160  *
2161  * This form can be used only if the request will not cause
2162  * a reply to be generated. Any returned error will be
2163  * saved for handling by xcb_request_check().
2164  */
2165 
2166 /*****************************************************************************
2167  **
2168  ** xcb_void_cookie_t xcb_sync_await_fence_checked
2169  **
2170  ** @param xcb_connection_t       *c
2171  ** @param uint32_t                fence_list_len
2172  ** @param const xcb_sync_fence_t *fence_list
2173  ** @returns xcb_void_cookie_t
2174  **
2175  *****************************************************************************/
2176 
2177 xcb_void_cookie_t
2178 xcb_sync_await_fence_checked (xcb_connection_t       *c  /**< */,
2179                               uint32_t                fence_list_len  /**< */,
2180                               const xcb_sync_fence_t *fence_list  /**< */);
2181 
2182 /**
2183  *
2184  * @param c The connection
2185  * @return A cookie
2186  *
2187  * Delivers a request to the X server.
2188  *
2189  */
2190 
2191 /*****************************************************************************
2192  **
2193  ** xcb_void_cookie_t xcb_sync_await_fence
2194  **
2195  ** @param xcb_connection_t       *c
2196  ** @param uint32_t                fence_list_len
2197  ** @param const xcb_sync_fence_t *fence_list
2198  ** @returns xcb_void_cookie_t
2199  **
2200  *****************************************************************************/
2201 
2202 xcb_void_cookie_t
2203 xcb_sync_await_fence (xcb_connection_t       *c  /**< */,
2204                       uint32_t                fence_list_len  /**< */,
2205                       const xcb_sync_fence_t *fence_list  /**< */);
2206 
2207 
2208 #ifdef __cplusplus
2209 }
2210 #endif
2211 
2212 #endif
2213 
2214 /**
2215  * @}
2216  */
2217