00001
00002
00003
00004
00005
00012 #ifndef __SYNC_H
00013 #define __SYNC_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #define XCB_SYNC_MAJOR_VERSION 3
00019 #define XCB_SYNC_MINOR_VERSION 0
00020
00021 extern xcb_extension_t xcb_sync_id;
00022
00023 typedef uint32_t xcb_sync_alarm_t;
00024
00028 typedef struct xcb_sync_alarm_iterator_t {
00029 xcb_sync_alarm_t *data;
00030 int rem;
00031 int index;
00032 } xcb_sync_alarm_iterator_t;
00033
00034 typedef enum xcb_sync_alarmstate_t {
00035 XCB_SYNC_ALARMSTATE_ACTIVE,
00036 XCB_SYNC_ALARMSTATE_INACTIVE,
00037 XCB_SYNC_ALARMSTATE_DESTROYED
00038 } xcb_sync_alarmstate_t;
00039
00040 typedef uint32_t xcb_sync_counter_t;
00041
00045 typedef struct xcb_sync_counter_iterator_t {
00046 xcb_sync_counter_t *data;
00047 int rem;
00048 int index;
00049 } xcb_sync_counter_iterator_t;
00050
00051 typedef enum xcb_sync_testtype_t {
00052 XCB_SYNC_TESTTYPE_POSITIVE_TRANSITION,
00053 XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION,
00054 XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON,
00055 XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON
00056 } xcb_sync_testtype_t;
00057
00058 typedef enum xcb_sync_valuetype_t {
00059 XCB_SYNC_VALUETYPE_ABSOLUTE,
00060 XCB_SYNC_VALUETYPE_RELATIVE
00061 } xcb_sync_valuetype_t;
00062
00063 typedef enum xcb_sync_ca_t {
00064 XCB_SYNC_CA_COUNTER = (1 << 0),
00065 XCB_SYNC_CA_VALUE_TYPE = (1 << 1),
00066 XCB_SYNC_CA_VALUE = (1 << 2),
00067 XCB_SYNC_CA_TEST_TYPE = (1 << 3),
00068 XCB_SYNC_CA_DELTA = (1 << 4),
00069 XCB_SYNC_CA_EVENTS = (1 << 5)
00070 } xcb_sync_ca_t;
00071
00075 typedef struct xcb_sync_int64_t {
00076 int32_t hi;
00077 uint32_t lo;
00078 } xcb_sync_int64_t;
00079
00083 typedef struct xcb_sync_int64_iterator_t {
00084 xcb_sync_int64_t *data;
00085 int rem;
00086 int index;
00087 } xcb_sync_int64_iterator_t;
00088
00092 typedef struct xcb_sync_systemcounter_t {
00093 xcb_sync_counter_t counter;
00094 xcb_sync_int64_t resolution;
00095 uint16_t name_len;
00096 } xcb_sync_systemcounter_t;
00097
00101 typedef struct xcb_sync_systemcounter_iterator_t {
00102 xcb_sync_systemcounter_t *data;
00103 int rem;
00104 int index;
00105 } xcb_sync_systemcounter_iterator_t;
00106
00110 typedef struct xcb_sync_trigger_t {
00111 xcb_sync_counter_t counter;
00112 uint32_t wait_type;
00113 xcb_sync_int64_t wait_value;
00114 uint32_t test_type;
00115 } xcb_sync_trigger_t;
00116
00120 typedef struct xcb_sync_trigger_iterator_t {
00121 xcb_sync_trigger_t *data;
00122 int rem;
00123 int index;
00124 } xcb_sync_trigger_iterator_t;
00125
00129 typedef struct xcb_sync_waitcondition_t {
00130 xcb_sync_trigger_t trigger;
00131 xcb_sync_int64_t event_threshold;
00132 } xcb_sync_waitcondition_t;
00133
00137 typedef struct xcb_sync_waitcondition_iterator_t {
00138 xcb_sync_waitcondition_t *data;
00139 int rem;
00140 int index;
00141 } xcb_sync_waitcondition_iterator_t;
00142
00144 #define XCB_SYNC_COUNTER 0
00145
00149 typedef struct xcb_sync_counter_error_t {
00150 uint8_t response_type;
00151 uint8_t error_code;
00152 uint16_t sequence;
00153 uint32_t bad_counter;
00154 uint16_t minor_opcode;
00155 uint8_t major_opcode;
00156 } xcb_sync_counter_error_t;
00157
00159 #define XCB_SYNC_ALARM 1
00160
00164 typedef struct xcb_sync_alarm_error_t {
00165 uint8_t response_type;
00166 uint8_t error_code;
00167 uint16_t sequence;
00168 uint32_t bad_alarm;
00169 uint16_t minor_opcode;
00170 uint8_t major_opcode;
00171 } xcb_sync_alarm_error_t;
00172
00176 typedef struct xcb_sync_initialize_cookie_t {
00177 unsigned int sequence;
00178 } xcb_sync_initialize_cookie_t;
00179
00181 #define XCB_SYNC_INITIALIZE 0
00182
00186 typedef struct xcb_sync_initialize_request_t {
00187 uint8_t major_opcode;
00188 uint8_t minor_opcode;
00189 uint16_t length;
00190 uint8_t desired_major_version;
00191 uint8_t desired_minor_version;
00192 } xcb_sync_initialize_request_t;
00193
00197 typedef struct xcb_sync_initialize_reply_t {
00198 uint8_t response_type;
00199 uint8_t pad0;
00200 uint16_t sequence;
00201 uint32_t length;
00202 uint8_t major_version;
00203 uint8_t minor_version;
00204 } xcb_sync_initialize_reply_t;
00205
00209 typedef struct xcb_sync_list_system_counters_cookie_t {
00210 unsigned int sequence;
00211 } xcb_sync_list_system_counters_cookie_t;
00212
00214 #define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
00215
00219 typedef struct xcb_sync_list_system_counters_request_t {
00220 uint8_t major_opcode;
00221 uint8_t minor_opcode;
00222 uint16_t length;
00223 } xcb_sync_list_system_counters_request_t;
00224
00228 typedef struct xcb_sync_list_system_counters_reply_t {
00229 uint8_t response_type;
00230 uint8_t pad0;
00231 uint16_t sequence;
00232 uint32_t length;
00233 uint32_t counters_len;
00234 uint8_t pad1[20];
00235 } xcb_sync_list_system_counters_reply_t;
00236
00238 #define XCB_SYNC_CREATE_COUNTER 2
00239
00243 typedef struct xcb_sync_create_counter_request_t {
00244 uint8_t major_opcode;
00245 uint8_t minor_opcode;
00246 uint16_t length;
00247 xcb_sync_counter_t id;
00248 xcb_sync_int64_t initial_value;
00249 } xcb_sync_create_counter_request_t;
00250
00252 #define XCB_SYNC_DESTROY_COUNTER 6
00253
00257 typedef struct xcb_sync_destroy_counter_request_t {
00258 uint8_t major_opcode;
00259 uint8_t minor_opcode;
00260 uint16_t length;
00261 xcb_sync_counter_t counter;
00262 } xcb_sync_destroy_counter_request_t;
00263
00267 typedef struct xcb_sync_query_counter_cookie_t {
00268 unsigned int sequence;
00269 } xcb_sync_query_counter_cookie_t;
00270
00272 #define XCB_SYNC_QUERY_COUNTER 5
00273
00277 typedef struct xcb_sync_query_counter_request_t {
00278 uint8_t major_opcode;
00279 uint8_t minor_opcode;
00280 uint16_t length;
00281 xcb_sync_counter_t counter;
00282 } xcb_sync_query_counter_request_t;
00283
00287 typedef struct xcb_sync_query_counter_reply_t {
00288 uint8_t response_type;
00289 uint8_t pad0;
00290 uint16_t sequence;
00291 uint32_t length;
00292 xcb_sync_int64_t counter_value;
00293 } xcb_sync_query_counter_reply_t;
00294
00296 #define XCB_SYNC_AWAIT 7
00297
00301 typedef struct xcb_sync_await_request_t {
00302 uint8_t major_opcode;
00303 uint8_t minor_opcode;
00304 uint16_t length;
00305 } xcb_sync_await_request_t;
00306
00308 #define XCB_SYNC_CHANGE_COUNTER 4
00309
00313 typedef struct xcb_sync_change_counter_request_t {
00314 uint8_t major_opcode;
00315 uint8_t minor_opcode;
00316 uint16_t length;
00317 xcb_sync_counter_t counter;
00318 xcb_sync_int64_t amount;
00319 } xcb_sync_change_counter_request_t;
00320
00322 #define XCB_SYNC_SET_COUNTER 3
00323
00327 typedef struct xcb_sync_set_counter_request_t {
00328 uint8_t major_opcode;
00329 uint8_t minor_opcode;
00330 uint16_t length;
00331 xcb_sync_counter_t counter;
00332 xcb_sync_int64_t value;
00333 } xcb_sync_set_counter_request_t;
00334
00336 #define XCB_SYNC_CREATE_ALARM 8
00337
00341 typedef struct xcb_sync_create_alarm_request_t {
00342 uint8_t major_opcode;
00343 uint8_t minor_opcode;
00344 uint16_t length;
00345 xcb_sync_alarm_t id;
00346 uint32_t value_mask;
00347 } xcb_sync_create_alarm_request_t;
00348
00350 #define XCB_SYNC_CHANGE_ALARM 9
00351
00355 typedef struct xcb_sync_change_alarm_request_t {
00356 uint8_t major_opcode;
00357 uint8_t minor_opcode;
00358 uint16_t length;
00359 xcb_sync_alarm_t id;
00360 uint32_t value_mask;
00361 } xcb_sync_change_alarm_request_t;
00362
00364 #define XCB_SYNC_DESTROY_ALARM 11
00365
00369 typedef struct xcb_sync_destroy_alarm_request_t {
00370 uint8_t major_opcode;
00371 uint8_t minor_opcode;
00372 uint16_t length;
00373 xcb_sync_alarm_t alarm;
00374 } xcb_sync_destroy_alarm_request_t;
00375
00379 typedef struct xcb_sync_query_alarm_cookie_t {
00380 unsigned int sequence;
00381 } xcb_sync_query_alarm_cookie_t;
00382
00384 #define XCB_SYNC_QUERY_ALARM 10
00385
00389 typedef struct xcb_sync_query_alarm_request_t {
00390 uint8_t major_opcode;
00391 uint8_t minor_opcode;
00392 uint16_t length;
00393 xcb_sync_alarm_t alarm;
00394 } xcb_sync_query_alarm_request_t;
00395
00399 typedef struct xcb_sync_query_alarm_reply_t {
00400 uint8_t response_type;
00401 uint8_t pad0;
00402 uint16_t sequence;
00403 uint32_t length;
00404 xcb_sync_trigger_t trigger;
00405 xcb_sync_int64_t delta;
00406 uint8_t events;
00407 uint8_t state;
00408 } xcb_sync_query_alarm_reply_t;
00409
00411 #define XCB_SYNC_SET_PRIORITY 12
00412
00416 typedef struct xcb_sync_set_priority_request_t {
00417 uint8_t major_opcode;
00418 uint8_t minor_opcode;
00419 uint16_t length;
00420 uint32_t id;
00421 int32_t priority;
00422 } xcb_sync_set_priority_request_t;
00423
00427 typedef struct xcb_sync_get_priority_cookie_t {
00428 unsigned int sequence;
00429 } xcb_sync_get_priority_cookie_t;
00430
00432 #define XCB_SYNC_GET_PRIORITY 13
00433
00437 typedef struct xcb_sync_get_priority_request_t {
00438 uint8_t major_opcode;
00439 uint8_t minor_opcode;
00440 uint16_t length;
00441 uint32_t id;
00442 } xcb_sync_get_priority_request_t;
00443
00447 typedef struct xcb_sync_get_priority_reply_t {
00448 uint8_t response_type;
00449 uint8_t pad0;
00450 uint16_t sequence;
00451 uint32_t length;
00452 int32_t priority;
00453 } xcb_sync_get_priority_reply_t;
00454
00456 #define XCB_SYNC_COUNTER_NOTIFY 0
00457
00461 typedef struct xcb_sync_counter_notify_event_t {
00462 uint8_t response_type;
00463 uint8_t kind;
00464 uint16_t sequence;
00465 xcb_sync_counter_t counter;
00466 xcb_sync_int64_t wait_value;
00467 xcb_sync_int64_t counter_value;
00468 xcb_timestamp_t timestamp;
00469 uint16_t count;
00470 uint8_t destroyed;
00471 } xcb_sync_counter_notify_event_t;
00472
00474 #define XCB_SYNC_ALARM_NOTIFY 1
00475
00479 typedef struct xcb_sync_alarm_notify_event_t {
00480 uint8_t response_type;
00481 uint8_t kind;
00482 uint16_t sequence;
00483 xcb_sync_alarm_t alarm;
00484 xcb_sync_int64_t counter_value;
00485 xcb_sync_int64_t alarm_value;
00486 xcb_timestamp_t timestamp;
00487 } xcb_sync_alarm_notify_event_t;
00488
00498
00499
00500
00501
00502
00503
00504
00505
00506
00507 void
00508 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i );
00509
00520
00521
00522
00523
00524
00525
00526
00527
00528
00529 xcb_generic_iterator_t
00530 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i );
00531
00541
00542
00543
00544
00545
00546
00547
00548
00549
00550 void
00551 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i );
00552
00563
00564
00565
00566
00567
00568
00569
00570
00571
00572 xcb_generic_iterator_t
00573 xcb_sync_counter_end (xcb_sync_counter_iterator_t i );
00574
00584
00585
00586
00587
00588
00589
00590
00591
00592
00593 void
00594 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i );
00595
00606
00607
00608
00609
00610
00611
00612
00613
00614
00615 xcb_generic_iterator_t
00616 xcb_sync_int64_end (xcb_sync_int64_iterator_t i );
00617
00618
00619
00620
00621
00622
00623
00624
00625
00626
00627
00628 uint8_t *
00629 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R );
00630
00631
00632
00633
00634
00635
00636
00637
00638
00639
00640
00641 int
00642 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R );
00643
00644
00645
00646
00647
00648
00649
00650
00651
00652
00653
00654 xcb_generic_iterator_t
00655 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R );
00656
00666
00667
00668
00669
00670
00671
00672
00673
00674
00675 void
00676 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i );
00677
00688
00689
00690
00691
00692
00693
00694
00695
00696
00697 xcb_generic_iterator_t
00698 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i );
00699
00709
00710
00711
00712
00713
00714
00715
00716
00717
00718 void
00719 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i );
00720
00731
00732
00733
00734
00735
00736
00737
00738
00739
00740 xcb_generic_iterator_t
00741 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i );
00742
00752
00753
00754
00755
00756
00757
00758
00759
00760
00761 void
00762 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i );
00763
00774
00775
00776
00777
00778
00779
00780
00781
00782
00783 xcb_generic_iterator_t
00784 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i );
00785
00795
00796
00797
00798
00799
00800
00801
00802
00803
00804
00805
00806 xcb_sync_initialize_cookie_t
00807 xcb_sync_initialize (xcb_connection_t *c ,
00808 uint8_t desired_major_version ,
00809 uint8_t desired_minor_version );
00810
00823
00824
00825
00826
00827
00828
00829
00830
00831
00832
00833
00834 xcb_sync_initialize_cookie_t
00835 xcb_sync_initialize_unchecked (xcb_connection_t *c ,
00836 uint8_t desired_major_version ,
00837 uint8_t desired_minor_version );
00838
00854
00855
00856
00857
00858
00859
00860
00861
00862
00863
00864
00865 xcb_sync_initialize_reply_t *
00866 xcb_sync_initialize_reply (xcb_connection_t *c ,
00867 xcb_sync_initialize_cookie_t cookie ,
00868 xcb_generic_error_t **e );
00869
00879
00880
00881
00882
00883
00884
00885
00886
00887
00888 xcb_sync_list_system_counters_cookie_t
00889 xcb_sync_list_system_counters (xcb_connection_t *c );
00890
00903
00904
00905
00906
00907
00908
00909
00910
00911
00912 xcb_sync_list_system_counters_cookie_t
00913 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c );
00914
00915
00916
00917
00918
00919
00920
00921
00922
00923
00924
00925 int
00926 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R );
00927
00928
00929
00930
00931
00932
00933
00934
00935
00936
00937
00938 xcb_sync_systemcounter_iterator_t
00939 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R );
00940
00956
00957
00958
00959
00960
00961
00962
00963
00964
00965
00966
00967 xcb_sync_list_system_counters_reply_t *
00968 xcb_sync_list_system_counters_reply (xcb_connection_t *c ,
00969 xcb_sync_list_system_counters_cookie_t cookie ,
00970 xcb_generic_error_t **e );
00971
00984
00985
00986
00987
00988
00989
00990
00991
00992
00993
00994
00995 xcb_void_cookie_t
00996 xcb_sync_create_counter_checked (xcb_connection_t *c ,
00997 xcb_sync_counter_t id ,
00998 xcb_sync_int64_t initial_value );
00999
01009
01010
01011
01012
01013
01014
01015
01016
01017
01018
01019
01020 xcb_void_cookie_t
01021 xcb_sync_create_counter (xcb_connection_t *c ,
01022 xcb_sync_counter_t id ,
01023 xcb_sync_int64_t initial_value );
01024
01037
01038
01039
01040
01041
01042
01043
01044
01045
01046
01047 xcb_void_cookie_t
01048 xcb_sync_destroy_counter_checked (xcb_connection_t *c ,
01049 xcb_sync_counter_t counter );
01050
01060
01061
01062
01063
01064
01065
01066
01067
01068
01069
01070 xcb_void_cookie_t
01071 xcb_sync_destroy_counter (xcb_connection_t *c ,
01072 xcb_sync_counter_t counter );
01073
01083
01084
01085
01086
01087
01088
01089
01090
01091
01092
01093 xcb_sync_query_counter_cookie_t
01094 xcb_sync_query_counter (xcb_connection_t *c ,
01095 xcb_sync_counter_t counter );
01096
01109
01110
01111
01112
01113
01114
01115
01116
01117
01118
01119 xcb_sync_query_counter_cookie_t
01120 xcb_sync_query_counter_unchecked (xcb_connection_t *c ,
01121 xcb_sync_counter_t counter );
01122
01138
01139
01140
01141
01142
01143
01144
01145
01146
01147
01148
01149 xcb_sync_query_counter_reply_t *
01150 xcb_sync_query_counter_reply (xcb_connection_t *c ,
01151 xcb_sync_query_counter_cookie_t cookie ,
01152 xcb_generic_error_t **e );
01153
01166
01167
01168
01169
01170
01171
01172
01173
01174
01175
01176
01177 xcb_void_cookie_t
01178 xcb_sync_await_checked (xcb_connection_t *c ,
01179 uint32_t wait_list_len ,
01180 const xcb_sync_waitcondition_t *wait_list );
01181
01191
01192
01193
01194
01195
01196
01197
01198
01199
01200
01201
01202 xcb_void_cookie_t
01203 xcb_sync_await (xcb_connection_t *c ,
01204 uint32_t wait_list_len ,
01205 const xcb_sync_waitcondition_t *wait_list );
01206
01219
01220
01221
01222
01223
01224
01225
01226
01227
01228
01229
01230 xcb_void_cookie_t
01231 xcb_sync_change_counter_checked (xcb_connection_t *c ,
01232 xcb_sync_counter_t counter ,
01233 xcb_sync_int64_t amount );
01234
01244
01245
01246
01247
01248
01249
01250
01251
01252
01253
01254
01255 xcb_void_cookie_t
01256 xcb_sync_change_counter (xcb_connection_t *c ,
01257 xcb_sync_counter_t counter ,
01258 xcb_sync_int64_t amount );
01259
01272
01273
01274
01275
01276
01277
01278
01279
01280
01281
01282
01283 xcb_void_cookie_t
01284 xcb_sync_set_counter_checked (xcb_connection_t *c ,
01285 xcb_sync_counter_t counter ,
01286 xcb_sync_int64_t value );
01287
01297
01298
01299
01300
01301
01302
01303
01304
01305
01306
01307
01308 xcb_void_cookie_t
01309 xcb_sync_set_counter (xcb_connection_t *c ,
01310 xcb_sync_counter_t counter ,
01311 xcb_sync_int64_t value );
01312
01325
01326
01327
01328
01329
01330
01331
01332
01333
01334
01335
01336
01337 xcb_void_cookie_t
01338 xcb_sync_create_alarm_checked (xcb_connection_t *c ,
01339 xcb_sync_alarm_t id ,
01340 uint32_t value_mask ,
01341 const uint32_t *value_list );
01342
01352
01353
01354
01355
01356
01357
01358
01359
01360
01361
01362
01363
01364 xcb_void_cookie_t
01365 xcb_sync_create_alarm (xcb_connection_t *c ,
01366 xcb_sync_alarm_t id ,
01367 uint32_t value_mask ,
01368 const uint32_t *value_list );
01369
01382
01383
01384
01385
01386
01387
01388
01389
01390
01391
01392
01393
01394 xcb_void_cookie_t
01395 xcb_sync_change_alarm_checked (xcb_connection_t *c ,
01396 xcb_sync_alarm_t id ,
01397 uint32_t value_mask ,
01398 const uint32_t *value_list );
01399
01409
01410
01411
01412
01413
01414
01415
01416
01417
01418
01419
01420
01421 xcb_void_cookie_t
01422 xcb_sync_change_alarm (xcb_connection_t *c ,
01423 xcb_sync_alarm_t id ,
01424 uint32_t value_mask ,
01425 const uint32_t *value_list );
01426
01439
01440
01441
01442
01443
01444
01445
01446
01447
01448
01449 xcb_void_cookie_t
01450 xcb_sync_destroy_alarm_checked (xcb_connection_t *c ,
01451 xcb_sync_alarm_t alarm );
01452
01462
01463
01464
01465
01466
01467
01468
01469
01470
01471
01472 xcb_void_cookie_t
01473 xcb_sync_destroy_alarm (xcb_connection_t *c ,
01474 xcb_sync_alarm_t alarm );
01475
01485
01486
01487
01488
01489
01490
01491
01492
01493
01494
01495 xcb_sync_query_alarm_cookie_t
01496 xcb_sync_query_alarm (xcb_connection_t *c ,
01497 xcb_sync_alarm_t alarm );
01498
01511
01512
01513
01514
01515
01516
01517
01518
01519
01520
01521 xcb_sync_query_alarm_cookie_t
01522 xcb_sync_query_alarm_unchecked (xcb_connection_t *c ,
01523 xcb_sync_alarm_t alarm );
01524
01540
01541
01542
01543
01544
01545
01546
01547
01548
01549
01550
01551 xcb_sync_query_alarm_reply_t *
01552 xcb_sync_query_alarm_reply (xcb_connection_t *c ,
01553 xcb_sync_query_alarm_cookie_t cookie ,
01554 xcb_generic_error_t **e );
01555
01568
01569
01570
01571
01572
01573
01574
01575
01576
01577
01578
01579 xcb_void_cookie_t
01580 xcb_sync_set_priority_checked (xcb_connection_t *c ,
01581 uint32_t id ,
01582 int32_t priority );
01583
01593
01594
01595
01596
01597
01598
01599
01600
01601
01602
01603
01604 xcb_void_cookie_t
01605 xcb_sync_set_priority (xcb_connection_t *c ,
01606 uint32_t id ,
01607 int32_t priority );
01608
01618
01619
01620
01621
01622
01623
01624
01625
01626
01627
01628 xcb_sync_get_priority_cookie_t
01629 xcb_sync_get_priority (xcb_connection_t *c ,
01630 uint32_t id );
01631
01644
01645
01646
01647
01648
01649
01650
01651
01652
01653
01654 xcb_sync_get_priority_cookie_t
01655 xcb_sync_get_priority_unchecked (xcb_connection_t *c ,
01656 uint32_t id );
01657
01673
01674
01675
01676
01677
01678
01679
01680
01681
01682
01683
01684 xcb_sync_get_priority_reply_t *
01685 xcb_sync_get_priority_reply (xcb_connection_t *c ,
01686 xcb_sync_get_priority_cookie_t cookie ,
01687 xcb_generic_error_t **e );
01688
01689
01690 #endif
01691