XCB: sync.h Source File

XCB 1.17.0

sync.h
1/*
2 * This file generated automatically from sync.xml by c_client.py.
3 * Edit at your peril.
4 */
5
11
12#ifndef __SYNC_H
13#define __SYNC_H
14
15#include "xcb.h"
16#include "xproto.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif
21
22#define XCB_SYNC_MAJOR_VERSION 3
23#define XCB_SYNC_MINOR_VERSION 1
24
25extern xcb_extension_t xcb_sync_id;
26
27typedef uint32_t xcb_sync_alarm_t;
28
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
38typedef 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
44typedef uint32_t xcb_sync_counter_t;
45
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
55typedef uint32_t xcb_sync_fence_t;
56
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
66typedef 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
73typedef enum xcb_sync_valuetype_t {
74 XCB_SYNC_VALUETYPE_ABSOLUTE = 0,
75 XCB_SYNC_VALUETYPE_RELATIVE = 1
76} xcb_sync_valuetype_t;
77
78typedef 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
90 typedef struct xcb_sync_int64_t {
91 int32_t hi;
92 uint32_t lo;
93} xcb_sync_int64_t;
94
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
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
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
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
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
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
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
159#define XCB_SYNC_COUNTER 0
160
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
174#define XCB_SYNC_ALARM 1
175
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
191 typedef struct xcb_sync_initialize_cookie_t {
192 unsigned int sequence;
193} xcb_sync_initialize_cookie_t;
194
196#define XCB_SYNC_INITIALIZE 0
197
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
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
225 typedef struct xcb_sync_list_system_counters_cookie_t {
226 unsigned int sequence;
227} xcb_sync_list_system_counters_cookie_t;
228
230#define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
231
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
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
254#define XCB_SYNC_CREATE_COUNTER 2
255
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
268#define XCB_SYNC_DESTROY_COUNTER 6
269
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
283 typedef struct xcb_sync_query_counter_cookie_t {
284 unsigned int sequence;
285} xcb_sync_query_counter_cookie_t;
286
288#define XCB_SYNC_QUERY_COUNTER 5
289
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
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
312#define XCB_SYNC_AWAIT 7
313
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
324#define XCB_SYNC_CHANGE_COUNTER 4
325
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
338#define XCB_SYNC_SET_COUNTER 3
339
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
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
364#define XCB_SYNC_CREATE_ALARM 8
365
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
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
390#define XCB_SYNC_CHANGE_ALARM 9
391
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
404#define XCB_SYNC_DESTROY_ALARM 11
405
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
419 typedef struct xcb_sync_query_alarm_cookie_t {
420 unsigned int sequence;
421} xcb_sync_query_alarm_cookie_t;
422
424#define XCB_SYNC_QUERY_ALARM 10
425
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
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
452#define XCB_SYNC_SET_PRIORITY 12
453
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
468 typedef struct xcb_sync_get_priority_cookie_t {
469 unsigned int sequence;
470} xcb_sync_get_priority_cookie_t;
471
473#define XCB_SYNC_GET_PRIORITY 13
474
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
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
497#define XCB_SYNC_CREATE_FENCE 14
498
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
512#define XCB_SYNC_TRIGGER_FENCE 15
513
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
525#define XCB_SYNC_RESET_FENCE 16
526
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
538#define XCB_SYNC_DESTROY_FENCE 17
539
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
553 typedef struct xcb_sync_query_fence_cookie_t {
554 unsigned int sequence;
555} xcb_sync_query_fence_cookie_t;
556
558#define XCB_SYNC_QUERY_FENCE 18
559
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
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
583#define XCB_SYNC_AWAIT_FENCE 19
584
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
595#define XCB_SYNC_COUNTER_NOTIFY 0
596
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
614#define XCB_SYNC_ALARM_NOTIFY 1
615
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
639void
640 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i);
641
651 xcb_generic_iterator_t
652 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i);
653
662void
663 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i);
664
674 xcb_generic_iterator_t
675 xcb_sync_counter_end (xcb_sync_counter_iterator_t i);
676
685void
686 xcb_sync_fence_next (xcb_sync_fence_iterator_t *i);
687
697 xcb_generic_iterator_t
698 xcb_sync_fence_end (xcb_sync_fence_iterator_t i);
699
708void
709 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i);
710
720 xcb_generic_iterator_t
721 xcb_sync_int64_end (xcb_sync_int64_iterator_t i);
722
723int
724xcb_sync_systemcounter_sizeof (const void *_buffer);
725
726char *
727xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R);
728
729int
730xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R);
731
732 xcb_generic_iterator_t
733xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R);
734
743void
744 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i);
745
755 xcb_generic_iterator_t
756 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i);
757
766void
767 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i);
768
778 xcb_generic_iterator_t
779 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i);
780
789void
790 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i);
791
801 xcb_generic_iterator_t
802 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i);
803
812 xcb_sync_initialize_cookie_t
813 xcb_sync_initialize (xcb_connection_t *c,
814 uint8_t desired_major_version,
815 uint8_t desired_minor_version);
816
828 xcb_sync_initialize_cookie_t
829 xcb_sync_initialize_unchecked (xcb_connection_t *c,
830 uint8_t desired_major_version,
831 uint8_t desired_minor_version);
832
847 xcb_sync_initialize_reply_t *
848 xcb_sync_initialize_reply (xcb_connection_t *c,
849 xcb_sync_initialize_cookie_t cookie ,
850 xcb_generic_error_t **e);
851
852int
853xcb_sync_list_system_counters_sizeof (const void *_buffer);
854
863 xcb_sync_list_system_counters_cookie_t
864 xcb_sync_list_system_counters (xcb_connection_t *c);
865
877 xcb_sync_list_system_counters_cookie_t
878 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c);
879
880int
881xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R);
882
883 xcb_sync_systemcounter_iterator_t
884xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R);
885
900 xcb_sync_list_system_counters_reply_t *
901 xcb_sync_list_system_counters_reply (xcb_connection_t *c,
902 xcb_sync_list_system_counters_cookie_t cookie ,
903 xcb_generic_error_t **e);
904
916 xcb_void_cookie_t
917 xcb_sync_create_counter_checked (xcb_connection_t *c,
918 xcb_sync_counter_t id,
919 xcb_sync_int64_t initial_value);
920
929 xcb_void_cookie_t
930 xcb_sync_create_counter (xcb_connection_t *c,
931 xcb_sync_counter_t id,
932 xcb_sync_int64_t initial_value);
933
945 xcb_void_cookie_t
946 xcb_sync_destroy_counter_checked (xcb_connection_t *c,
947 xcb_sync_counter_t counter);
948
957 xcb_void_cookie_t
958 xcb_sync_destroy_counter (xcb_connection_t *c,
959 xcb_sync_counter_t counter);
960
969 xcb_sync_query_counter_cookie_t
970 xcb_sync_query_counter (xcb_connection_t *c,
971 xcb_sync_counter_t counter);
972
984 xcb_sync_query_counter_cookie_t
985 xcb_sync_query_counter_unchecked (xcb_connection_t *c,
986 xcb_sync_counter_t counter);
987
1002 xcb_sync_query_counter_reply_t *
1003 xcb_sync_query_counter_reply (xcb_connection_t *c,
1004 xcb_sync_query_counter_cookie_t cookie ,
1005 xcb_generic_error_t **e);
1006
1007int
1008xcb_sync_await_sizeof (const void *_buffer,
1009 uint32_t wait_list_len);
1010
1022 xcb_void_cookie_t
1023 xcb_sync_await_checked (xcb_connection_t *c,
1024 uint32_t wait_list_len,
1025 const xcb_sync_waitcondition_t *wait_list);
1026
1035 xcb_void_cookie_t
1036 xcb_sync_await (xcb_connection_t *c,
1037 uint32_t wait_list_len,
1038 const xcb_sync_waitcondition_t *wait_list);
1039
1040 xcb_sync_waitcondition_t *
1041xcb_sync_await_wait_list (const xcb_sync_await_request_t *R);
1042
1043int
1044xcb_sync_await_wait_list_length (const xcb_sync_await_request_t *R);
1045
1046 xcb_sync_waitcondition_iterator_t
1047xcb_sync_await_wait_list_iterator (const xcb_sync_await_request_t *R);
1048
1060 xcb_void_cookie_t
1061 xcb_sync_change_counter_checked (xcb_connection_t *c,
1062 xcb_sync_counter_t counter,
1063 xcb_sync_int64_t amount);
1064
1073 xcb_void_cookie_t
1074 xcb_sync_change_counter (xcb_connection_t *c,
1075 xcb_sync_counter_t counter,
1076 xcb_sync_int64_t amount);
1077
1089 xcb_void_cookie_t
1090 xcb_sync_set_counter_checked (xcb_connection_t *c,
1091 xcb_sync_counter_t counter,
1092 xcb_sync_int64_t value);
1093
1102 xcb_void_cookie_t
1103 xcb_sync_set_counter (xcb_connection_t *c,
1104 xcb_sync_counter_t counter,
1105 xcb_sync_int64_t value);
1106
1107int
1108xcb_sync_create_alarm_value_list_serialize (void **_buffer,
1109 uint32_t value_mask,
1110 const xcb_sync_create_alarm_value_list_t *_aux);
1111
1112int
1113xcb_sync_create_alarm_value_list_unpack (const void *_buffer,
1114 uint32_t value_mask,
1115 xcb_sync_create_alarm_value_list_t *_aux);
1116
1117int
1118xcb_sync_create_alarm_value_list_sizeof (const void *_buffer,
1119 uint32_t value_mask);
1120
1121int
1122xcb_sync_create_alarm_sizeof (const void *_buffer);
1123
1135 xcb_void_cookie_t
1136 xcb_sync_create_alarm_checked (xcb_connection_t *c,
1137 xcb_sync_alarm_t id,
1138 uint32_t value_mask,
1139 const void *value_list);
1140
1149 xcb_void_cookie_t
1150 xcb_sync_create_alarm (xcb_connection_t *c,
1151 xcb_sync_alarm_t id,
1152 uint32_t value_mask,
1153 const void *value_list);
1154
1166 xcb_void_cookie_t
1167 xcb_sync_create_alarm_aux_checked (xcb_connection_t *c,
1168 xcb_sync_alarm_t id,
1169 uint32_t value_mask,
1170 const xcb_sync_create_alarm_value_list_t *value_list);
1171
1180 xcb_void_cookie_t
1181 xcb_sync_create_alarm_aux (xcb_connection_t *c,
1182 xcb_sync_alarm_t id,
1183 uint32_t value_mask,
1184 const xcb_sync_create_alarm_value_list_t *value_list);
1185
1186void *
1187xcb_sync_create_alarm_value_list (const xcb_sync_create_alarm_request_t *R);
1188
1189int
1190xcb_sync_change_alarm_value_list_serialize (void **_buffer,
1191 uint32_t value_mask,
1192 const xcb_sync_change_alarm_value_list_t *_aux);
1193
1194int
1195xcb_sync_change_alarm_value_list_unpack (const void *_buffer,
1196 uint32_t value_mask,
1197 xcb_sync_change_alarm_value_list_t *_aux);
1198
1199int
1200xcb_sync_change_alarm_value_list_sizeof (const void *_buffer,
1201 uint32_t value_mask);
1202
1203int
1204xcb_sync_change_alarm_sizeof (const void *_buffer);
1205
1217 xcb_void_cookie_t
1218 xcb_sync_change_alarm_checked (xcb_connection_t *c,
1219 xcb_sync_alarm_t id,
1220 uint32_t value_mask,
1221 const void *value_list);
1222
1231 xcb_void_cookie_t
1232 xcb_sync_change_alarm (xcb_connection_t *c,
1233 xcb_sync_alarm_t id,
1234 uint32_t value_mask,
1235 const void *value_list);
1236
1248 xcb_void_cookie_t
1249 xcb_sync_change_alarm_aux_checked (xcb_connection_t *c,
1250 xcb_sync_alarm_t id,
1251 uint32_t value_mask,
1252 const xcb_sync_change_alarm_value_list_t *value_list);
1253
1262 xcb_void_cookie_t
1263 xcb_sync_change_alarm_aux (xcb_connection_t *c,
1264 xcb_sync_alarm_t id,
1265 uint32_t value_mask,
1266 const xcb_sync_change_alarm_value_list_t *value_list);
1267
1268void *
1269xcb_sync_change_alarm_value_list (const xcb_sync_change_alarm_request_t *R);
1270
1282 xcb_void_cookie_t
1283 xcb_sync_destroy_alarm_checked (xcb_connection_t *c,
1284 xcb_sync_alarm_t alarm);
1285
1294 xcb_void_cookie_t
1295 xcb_sync_destroy_alarm (xcb_connection_t *c,
1296 xcb_sync_alarm_t alarm);
1297
1306 xcb_sync_query_alarm_cookie_t
1307 xcb_sync_query_alarm (xcb_connection_t *c,
1308 xcb_sync_alarm_t alarm);
1309
1321 xcb_sync_query_alarm_cookie_t
1322 xcb_sync_query_alarm_unchecked (xcb_connection_t *c,
1323 xcb_sync_alarm_t alarm);
1324
1339 xcb_sync_query_alarm_reply_t *
1340 xcb_sync_query_alarm_reply (xcb_connection_t *c,
1341 xcb_sync_query_alarm_cookie_t cookie ,
1342 xcb_generic_error_t **e);
1343
1355 xcb_void_cookie_t
1356 xcb_sync_set_priority_checked (xcb_connection_t *c,
1357 uint32_t id,
1358 int32_t priority);
1359
1368 xcb_void_cookie_t
1369 xcb_sync_set_priority (xcb_connection_t *c,
1370 uint32_t id,
1371 int32_t priority);
1372
1381 xcb_sync_get_priority_cookie_t
1382 xcb_sync_get_priority (xcb_connection_t *c,
1383 uint32_t id);
1384
1396 xcb_sync_get_priority_cookie_t
1397 xcb_sync_get_priority_unchecked (xcb_connection_t *c,
1398 uint32_t id);
1399
1414 xcb_sync_get_priority_reply_t *
1415 xcb_sync_get_priority_reply (xcb_connection_t *c,
1416 xcb_sync_get_priority_cookie_t cookie ,
1417 xcb_generic_error_t **e);
1418
1430 xcb_void_cookie_t
1431 xcb_sync_create_fence_checked (xcb_connection_t *c,
1432 xcb_drawable_t drawable,
1433 xcb_sync_fence_t fence,
1434 uint8_t initially_triggered);
1435
1444 xcb_void_cookie_t
1445 xcb_sync_create_fence (xcb_connection_t *c,
1446 xcb_drawable_t drawable,
1447 xcb_sync_fence_t fence,
1448 uint8_t initially_triggered);
1449
1461 xcb_void_cookie_t
1462 xcb_sync_trigger_fence_checked (xcb_connection_t *c,
1463 xcb_sync_fence_t fence);
1464
1473 xcb_void_cookie_t
1474 xcb_sync_trigger_fence (xcb_connection_t *c,
1475 xcb_sync_fence_t fence);
1476
1488 xcb_void_cookie_t
1489 xcb_sync_reset_fence_checked (xcb_connection_t *c,
1490 xcb_sync_fence_t fence);
1491
1500 xcb_void_cookie_t
1501 xcb_sync_reset_fence (xcb_connection_t *c,
1502 xcb_sync_fence_t fence);
1503
1515 xcb_void_cookie_t
1516 xcb_sync_destroy_fence_checked (xcb_connection_t *c,
1517 xcb_sync_fence_t fence);
1518
1527 xcb_void_cookie_t
1528 xcb_sync_destroy_fence (xcb_connection_t *c,
1529 xcb_sync_fence_t fence);
1530
1539 xcb_sync_query_fence_cookie_t
1540 xcb_sync_query_fence (xcb_connection_t *c,
1541 xcb_sync_fence_t fence);
1542
1554 xcb_sync_query_fence_cookie_t
1555 xcb_sync_query_fence_unchecked (xcb_connection_t *c,
1556 xcb_sync_fence_t fence);
1557
1572 xcb_sync_query_fence_reply_t *
1573 xcb_sync_query_fence_reply (xcb_connection_t *c,
1574 xcb_sync_query_fence_cookie_t cookie ,
1575 xcb_generic_error_t **e);
1576
1577int
1578xcb_sync_await_fence_sizeof (const void *_buffer,
1579 uint32_t fence_list_len);
1580
1592 xcb_void_cookie_t
1593 xcb_sync_await_fence_checked (xcb_connection_t *c,
1594 uint32_t fence_list_len,
1595 const xcb_sync_fence_t *fence_list);
1596
1605 xcb_void_cookie_t
1606 xcb_sync_await_fence (xcb_connection_t *c,
1607 uint32_t fence_list_len,
1608 const xcb_sync_fence_t *fence_list);
1609
1610xcb_sync_fence_t *
1611xcb_sync_await_fence_fence_list (const xcb_sync_await_fence_request_t *R);
1612
1613int
1614xcb_sync_await_fence_fence_list_length (const xcb_sync_await_fence_request_t *R);
1615
1616 xcb_generic_iterator_t
1617xcb_sync_await_fence_fence_list_end (const xcb_sync_await_fence_request_t *R);
1618
1619
1620#ifdef __cplusplus
1621}
1622#endif
1623
1624#endif
1625
xcb_sync_create_fence_checked
xcb_void_cookie_t xcb_sync_create_fence_checked(xcb_connection_t *c, xcb_drawable_t drawable, xcb_sync_fence_t fence, uint8_t initially_triggered)
Definition sync.c:1698
xcb_sync_alarm_next
void xcb_sync_alarm_next(xcb_sync_alarm_iterator_t *i)
Definition sync.c:22
xcb_sync_query_fence_unchecked
xcb_sync_query_fence_cookie_t xcb_sync_query_fence_unchecked(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1940
xcb_sync_set_priority
xcb_void_cookie_t xcb_sync_set_priority(xcb_connection_t *c, uint32_t id, int32_t priority)
Definition sync.c:1610
xcb_sync_query_alarm_unchecked
xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm_unchecked(xcb_connection_t *c, xcb_sync_alarm_t alarm)
Definition sync.c:1548
xcb_sync_await_checked
xcb_void_cookie_t xcb_sync_await_checked(xcb_connection_t *c, uint32_t wait_list_len, const xcb_sync_waitcondition_t *wait_list)
Definition sync.c:586
xcb_sync_list_system_counters_unchecked
xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters_unchecked(xcb_connection_t *c)
Definition sync.c:339
xcb_sync_waitcondition_end
xcb_generic_iterator_t xcb_sync_waitcondition_end(xcb_sync_waitcondition_iterator_t i)
Definition sync.c:205
xcb_sync_initialize_reply
xcb_sync_initialize_reply_t * xcb_sync_initialize_reply(xcb_connection_t *c, xcb_sync_initialize_cookie_t cookie, xcb_generic_error_t **e)
Definition sync.c:271
xcb_sync_get_priority
xcb_sync_get_priority_cookie_t xcb_sync_get_priority(xcb_connection_t *c, uint32_t id)
Definition sync.c:1638
xcb_sync_query_counter_reply
xcb_sync_query_counter_reply_t * xcb_sync_query_counter_reply(xcb_connection_t *c, xcb_sync_query_counter_cookie_t cookie, xcb_generic_error_t **e)
Definition sync.c:547
xcb_sync_list_system_counters
xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters(xcb_connection_t *c)
Definition sync.c:315
xcb_sync_destroy_fence_checked
xcb_void_cookie_t xcb_sync_destroy_fence_checked(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1862
xcb_sync_change_alarm
xcb_void_cookie_t xcb_sync_change_alarm(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const void *value_list)
Definition sync.c:1361
xcb_sync_set_priority_checked
xcb_void_cookie_t xcb_sync_set_priority_checked(xcb_connection_t *c, uint32_t id, int32_t priority)
Definition sync.c:1582
xcb_sync_trigger_fence_checked
xcb_void_cookie_t xcb_sync_trigger_fence_checked(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1758
xcb_sync_int64_next
void xcb_sync_int64_next(xcb_sync_int64_iterator_t *i)
Definition sync.c:76
xcb_sync_create_counter
xcb_void_cookie_t xcb_sync_create_counter(xcb_connection_t *c, xcb_sync_counter_t id, xcb_sync_int64_t initial_value)
Definition sync.c:415
xcb_sync_query_alarm_reply
xcb_sync_query_alarm_reply_t * xcb_sync_query_alarm_reply(xcb_connection_t *c, xcb_sync_query_alarm_cookie_t cookie, xcb_generic_error_t **e)
Definition sync.c:1574
xcb_sync_change_counter
xcb_void_cookie_t xcb_sync_change_counter(xcb_connection_t *c, xcb_sync_counter_t counter, xcb_sync_int64_t amount)
Definition sync.c:698
xcb_sync_query_counter
xcb_sync_query_counter_cookie_t xcb_sync_query_counter(xcb_connection_t *c, xcb_sync_counter_t counter)
Definition sync.c:495
xcb_sync_query_fence_reply
xcb_sync_query_fence_reply_t * xcb_sync_query_fence_reply(xcb_connection_t *c, xcb_sync_query_fence_cookie_t cookie, xcb_generic_error_t **e)
Definition sync.c:1966
xcb_sync_create_alarm
xcb_void_cookie_t xcb_sync_create_alarm(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const void *value_list)
Definition sync.c:1017
xcb_sync_counter_next
void xcb_sync_counter_next(xcb_sync_counter_iterator_t *i)
Definition sync.c:40
xcb_sync_create_alarm_aux
xcb_void_cookie_t xcb_sync_create_alarm_aux(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const xcb_sync_create_alarm_value_list_t *value_list)
Definition sync.c:1085
xcb_sync_destroy_alarm
xcb_void_cookie_t xcb_sync_destroy_alarm(xcb_connection_t *c, xcb_sync_alarm_t alarm)
Definition sync.c:1496
xcb_sync_alarm_end
xcb_generic_iterator_t xcb_sync_alarm_end(xcb_sync_alarm_iterator_t i)
Definition sync.c:30
xcb_sync_systemcounter_next
void xcb_sync_systemcounter_next(xcb_sync_systemcounter_iterator_t *i)
Definition sync.c:156
xcb_sync_set_counter_checked
xcb_void_cookie_t xcb_sync_set_counter_checked(xcb_connection_t *c, xcb_sync_counter_t counter, xcb_sync_int64_t value)
Definition sync.c:726
xcb_sync_await
xcb_void_cookie_t xcb_sync_await(xcb_connection_t *c, uint32_t wait_list_len, const xcb_sync_waitcondition_t *wait_list)
Definition sync.c:617
xcb_sync_waitcondition_next
void xcb_sync_waitcondition_next(xcb_sync_waitcondition_iterator_t *i)
Definition sync.c:197
xcb_sync_await_fence_checked
xcb_void_cookie_t xcb_sync_await_fence_checked(xcb_connection_t *c, uint32_t fence_list_len, const xcb_sync_fence_t *fence_list)
Definition sync.c:2005
xcb_sync_initialize
xcb_sync_initialize_cookie_t xcb_sync_initialize(xcb_connection_t *c, uint8_t desired_major_version, uint8_t desired_minor_version)
Definition sync.c:215
xcb_sync_change_alarm_aux_checked
xcb_void_cookie_t xcb_sync_change_alarm_aux_checked(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const xcb_sync_change_alarm_value_list_t *value_list)
Definition sync.c:1394
xcb_sync_destroy_counter
xcb_void_cookie_t xcb_sync_destroy_counter(xcb_connection_t *c, xcb_sync_counter_t counter)
Definition sync.c:469
xcb_sync_await_fence
xcb_void_cookie_t xcb_sync_await_fence(xcb_connection_t *c, uint32_t fence_list_len, const xcb_sync_fence_t *fence_list)
Definition sync.c:2036
xcb_sync_create_alarm_checked
xcb_void_cookie_t xcb_sync_create_alarm_checked(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const void *value_list)
Definition sync.c:984
xcb_sync_query_counter_unchecked
xcb_sync_query_counter_cookie_t xcb_sync_query_counter_unchecked(xcb_connection_t *c, xcb_sync_counter_t counter)
Definition sync.c:521
xcb_sync_change_counter_checked
xcb_void_cookie_t xcb_sync_change_counter_checked(xcb_connection_t *c, xcb_sync_counter_t counter, xcb_sync_int64_t amount)
Definition sync.c:670
xcb_sync_trigger_next
void xcb_sync_trigger_next(xcb_sync_trigger_iterator_t *i)
Definition sync.c:179
xcb_sync_destroy_counter_checked
xcb_void_cookie_t xcb_sync_destroy_counter_checked(xcb_connection_t *c, xcb_sync_counter_t counter)
Definition sync.c:443
xcb_sync_destroy_fence
xcb_void_cookie_t xcb_sync_destroy_fence(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1888
xcb_sync_fence_end
xcb_generic_iterator_t xcb_sync_fence_end(xcb_sync_fence_iterator_t i)
Definition sync.c:66
xcb_sync_set_counter
xcb_void_cookie_t xcb_sync_set_counter(xcb_connection_t *c, xcb_sync_counter_t counter, xcb_sync_int64_t value)
Definition sync.c:754
xcb_sync_trigger_fence
xcb_void_cookie_t xcb_sync_trigger_fence(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1784
xcb_sync_create_counter_checked
xcb_void_cookie_t xcb_sync_create_counter_checked(xcb_connection_t *c, xcb_sync_counter_t id, xcb_sync_int64_t initial_value)
Definition sync.c:387
xcb_sync_reset_fence
xcb_void_cookie_t xcb_sync_reset_fence(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1836
xcb_sync_get_priority_unchecked
xcb_sync_get_priority_cookie_t xcb_sync_get_priority_unchecked(xcb_connection_t *c, uint32_t id)
Definition sync.c:1664
xcb_sync_systemcounter_end
xcb_generic_iterator_t xcb_sync_systemcounter_end(xcb_sync_systemcounter_iterator_t i)
Definition sync.c:167
xcb_sync_create_alarm_aux_checked
xcb_void_cookie_t xcb_sync_create_alarm_aux_checked(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const xcb_sync_create_alarm_value_list_t *value_list)
Definition sync.c:1050
xcb_sync_counter_end
xcb_generic_iterator_t xcb_sync_counter_end(xcb_sync_counter_iterator_t i)
Definition sync.c:48
xcb_sync_create_fence
xcb_void_cookie_t xcb_sync_create_fence(xcb_connection_t *c, xcb_drawable_t drawable, xcb_sync_fence_t fence, uint8_t initially_triggered)
Definition sync.c:1728
xcb_sync_reset_fence_checked
xcb_void_cookie_t xcb_sync_reset_fence_checked(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1810
xcb_sync_change_alarm_aux
xcb_void_cookie_t xcb_sync_change_alarm_aux(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const xcb_sync_change_alarm_value_list_t *value_list)
Definition sync.c:1429
xcb_sync_initialize_unchecked
xcb_sync_initialize_cookie_t xcb_sync_initialize_unchecked(xcb_connection_t *c, uint8_t desired_major_version, uint8_t desired_minor_version)
Definition sync.c:243
xcb_sync_list_system_counters_reply
xcb_sync_list_system_counters_reply_t * xcb_sync_list_system_counters_reply(xcb_connection_t *c, xcb_sync_list_system_counters_cookie_t cookie, xcb_generic_error_t **e)
Definition sync.c:379
xcb_sync_trigger_end
xcb_generic_iterator_t xcb_sync_trigger_end(xcb_sync_trigger_iterator_t i)
Definition sync.c:187
xcb_sync_fence_next
void xcb_sync_fence_next(xcb_sync_fence_iterator_t *i)
Definition sync.c:58
xcb_sync_query_alarm
xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm(xcb_connection_t *c, xcb_sync_alarm_t alarm)
Definition sync.c:1522
xcb_sync_destroy_alarm_checked
xcb_void_cookie_t xcb_sync_destroy_alarm_checked(xcb_connection_t *c, xcb_sync_alarm_t alarm)
Definition sync.c:1470
xcb_sync_int64_end
xcb_generic_iterator_t xcb_sync_int64_end(xcb_sync_int64_iterator_t i)
Definition sync.c:84
xcb_sync_change_alarm_checked
xcb_void_cookie_t xcb_sync_change_alarm_checked(xcb_connection_t *c, xcb_sync_alarm_t id, uint32_t value_mask, const void *value_list)
Definition sync.c:1328
xcb_sync_get_priority_reply
xcb_sync_get_priority_reply_t * xcb_sync_get_priority_reply(xcb_connection_t *c, xcb_sync_get_priority_cookie_t cookie, xcb_generic_error_t **e)
Definition sync.c:1690
xcb_sync_query_fence
xcb_sync_query_fence_cookie_t xcb_sync_query_fence(xcb_connection_t *c, xcb_sync_fence_t fence)
Definition sync.c:1914
xcb_connection_t
Definition xcbint.h:208
xcb_extension_t
Definition xcbext.h:39
xcb_generic_error_t
Generic error.
Definition xcb.h:186
xcb_generic_iterator_t
Generic iterator.
Definition xcb.h:118
xcb_sync_alarm_error_t
xcb_sync_alarm_error_t
Definition sync.h:179
xcb_sync_alarm_iterator_t
xcb_sync_alarm_iterator_t
Definition sync.h:32
xcb_sync_alarm_notify_event_t
xcb_sync_alarm_notify_event_t
Definition sync.h:619
xcb_sync_await_fence_request_t
xcb_sync_await_fence_request_t
Definition sync.h:588
xcb_sync_await_request_t
xcb_sync_await_request_t
Definition sync.h:317
xcb_sync_change_alarm_request_t
xcb_sync_change_alarm_request_t
Definition sync.h:395
xcb_sync_change_alarm_value_list_t
xcb_sync_change_alarm_value_list_t
Definition sync.h:380
xcb_sync_change_counter_request_t
xcb_sync_change_counter_request_t
Definition sync.h:329
xcb_sync_counter_error_t
xcb_sync_counter_error_t
Definition sync.h:164
xcb_sync_counter_iterator_t
xcb_sync_counter_iterator_t
Definition sync.h:49
xcb_sync_counter_notify_event_t
xcb_sync_counter_notify_event_t
Definition sync.h:600
xcb_sync_create_alarm_request_t
xcb_sync_create_alarm_request_t
Definition sync.h:369
xcb_sync_create_alarm_value_list_t
xcb_sync_create_alarm_value_list_t
Definition sync.h:354
xcb_sync_create_counter_request_t
xcb_sync_create_counter_request_t
Definition sync.h:259
xcb_sync_create_fence_request_t
xcb_sync_create_fence_request_t
Definition sync.h:502
xcb_sync_destroy_alarm_request_t
xcb_sync_destroy_alarm_request_t
Definition sync.h:409
xcb_sync_destroy_counter_request_t
xcb_sync_destroy_counter_request_t
Definition sync.h:273
xcb_sync_destroy_fence_request_t
xcb_sync_destroy_fence_request_t
Definition sync.h:543
xcb_sync_fence_iterator_t
xcb_sync_fence_iterator_t
Definition sync.h:60
xcb_sync_get_priority_cookie_t
xcb_sync_get_priority_cookie_t
Definition sync.h:468
xcb_sync_get_priority_reply_t
xcb_sync_get_priority_reply_t
Definition sync.h:488
xcb_sync_get_priority_request_t
xcb_sync_get_priority_request_t
Definition sync.h:478
xcb_sync_initialize_cookie_t
xcb_sync_initialize_cookie_t
Definition sync.h:191
xcb_sync_initialize_reply_t
xcb_sync_initialize_reply_t
Definition sync.h:212
xcb_sync_initialize_request_t
xcb_sync_initialize_request_t
Definition sync.h:201
xcb_sync_int64_iterator_t
xcb_sync_int64_iterator_t
Definition sync.h:98
xcb_sync_int64_t
xcb_sync_int64_t
Definition sync.h:90
xcb_sync_list_system_counters_cookie_t
xcb_sync_list_system_counters_cookie_t
Definition sync.h:225
xcb_sync_list_system_counters_reply_t
xcb_sync_list_system_counters_reply_t
Definition sync.h:244
xcb_sync_list_system_counters_request_t
xcb_sync_list_system_counters_request_t
Definition sync.h:235
xcb_sync_query_alarm_cookie_t
xcb_sync_query_alarm_cookie_t
Definition sync.h:419
xcb_sync_query_alarm_reply_t
xcb_sync_query_alarm_reply_t
Definition sync.h:439
xcb_sync_query_alarm_request_t
xcb_sync_query_alarm_request_t
Definition sync.h:429
xcb_sync_query_counter_cookie_t
xcb_sync_query_counter_cookie_t
Definition sync.h:283
xcb_sync_query_counter_reply_t
xcb_sync_query_counter_reply_t
Definition sync.h:303
xcb_sync_query_counter_request_t
xcb_sync_query_counter_request_t
Definition sync.h:293
xcb_sync_query_fence_cookie_t
xcb_sync_query_fence_cookie_t
Definition sync.h:553
xcb_sync_query_fence_reply_t
xcb_sync_query_fence_reply_t
Definition sync.h:573
xcb_sync_query_fence_request_t
xcb_sync_query_fence_request_t
Definition sync.h:563
xcb_sync_reset_fence_request_t
xcb_sync_reset_fence_request_t
Definition sync.h:530
xcb_sync_set_counter_request_t
xcb_sync_set_counter_request_t
Definition sync.h:343
xcb_sync_set_priority_request_t
xcb_sync_set_priority_request_t
Definition sync.h:457
xcb_sync_systemcounter_iterator_t
xcb_sync_systemcounter_iterator_t
Definition sync.h:116
xcb_sync_systemcounter_t
xcb_sync_systemcounter_t
Definition sync.h:107
xcb_sync_trigger_fence_request_t
xcb_sync_trigger_fence_request_t
Definition sync.h:517
xcb_sync_trigger_iterator_t
xcb_sync_trigger_iterator_t
Definition sync.h:135
xcb_sync_trigger_t
xcb_sync_trigger_t
Definition sync.h:125
xcb_sync_waitcondition_iterator_t
xcb_sync_waitcondition_iterator_t
Definition sync.h:152
xcb_sync_waitcondition_t
xcb_sync_waitcondition_t
Definition sync.h:144
xcb_void_cookie_t
Generic cookie.
Definition xcb.h:203
xcb.h