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 xcb_sync_valuetype_t wait_type;
00113 xcb_sync_int64_t wait_value;
00114 xcb_sync_testtype_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 xcb_sync_alarmstate_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
00852
00853
00854
00855
00856
00857
00858
00859
00860
00861
00862
00863 xcb_sync_initialize_reply_t *
00864 xcb_sync_initialize_reply (xcb_connection_t *c ,
00865 xcb_sync_initialize_cookie_t cookie ,
00866 xcb_generic_error_t **e );
00867
00877
00878
00879
00880
00881
00882
00883
00884
00885
00886 xcb_sync_list_system_counters_cookie_t
00887 xcb_sync_list_system_counters (xcb_connection_t *c );
00888
00901
00902
00903
00904
00905
00906
00907
00908
00909
00910 xcb_sync_list_system_counters_cookie_t
00911 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c );
00912
00913
00914
00915
00916
00917
00918
00919
00920
00921
00922
00923 int
00924 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R );
00925
00926
00927
00928
00929
00930
00931
00932
00933
00934
00935
00936 xcb_sync_systemcounter_iterator_t
00937 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R );
00938
00952
00953
00954
00955
00956
00957
00958
00959
00960
00961
00962
00963 xcb_sync_list_system_counters_reply_t *
00964 xcb_sync_list_system_counters_reply (xcb_connection_t *c ,
00965 xcb_sync_list_system_counters_cookie_t cookie ,
00966 xcb_generic_error_t **e );
00967
00980
00981
00982
00983
00984
00985
00986
00987
00988
00989
00990
00991 xcb_void_cookie_t
00992 xcb_sync_create_counter_checked (xcb_connection_t *c ,
00993 xcb_sync_counter_t id ,
00994 xcb_sync_int64_t initial_value );
00995
01005
01006
01007
01008
01009
01010
01011
01012
01013
01014
01015
01016 xcb_void_cookie_t
01017 xcb_sync_create_counter (xcb_connection_t *c ,
01018 xcb_sync_counter_t id ,
01019 xcb_sync_int64_t initial_value );
01020
01033
01034
01035
01036
01037
01038
01039
01040
01041
01042
01043 xcb_void_cookie_t
01044 xcb_sync_destroy_counter_checked (xcb_connection_t *c ,
01045 xcb_sync_counter_t counter );
01046
01056
01057
01058
01059
01060
01061
01062
01063
01064
01065
01066 xcb_void_cookie_t
01067 xcb_sync_destroy_counter (xcb_connection_t *c ,
01068 xcb_sync_counter_t counter );
01069
01079
01080
01081
01082
01083
01084
01085
01086
01087
01088
01089 xcb_sync_query_counter_cookie_t
01090 xcb_sync_query_counter (xcb_connection_t *c ,
01091 xcb_sync_counter_t counter );
01092
01105
01106
01107
01108
01109
01110
01111
01112
01113
01114
01115 xcb_sync_query_counter_cookie_t
01116 xcb_sync_query_counter_unchecked (xcb_connection_t *c ,
01117 xcb_sync_counter_t counter );
01118
01132
01133
01134
01135
01136
01137
01138
01139
01140
01141
01142
01143 xcb_sync_query_counter_reply_t *
01144 xcb_sync_query_counter_reply (xcb_connection_t *c ,
01145 xcb_sync_query_counter_cookie_t cookie ,
01146 xcb_generic_error_t **e );
01147
01160
01161
01162
01163
01164
01165
01166
01167
01168
01169
01170
01171 xcb_void_cookie_t
01172 xcb_sync_await_checked (xcb_connection_t *c ,
01173 uint32_t wait_list_len ,
01174 const xcb_sync_waitcondition_t *wait_list );
01175
01185
01186
01187
01188
01189
01190
01191
01192
01193
01194
01195
01196 xcb_void_cookie_t
01197 xcb_sync_await (xcb_connection_t *c ,
01198 uint32_t wait_list_len ,
01199 const xcb_sync_waitcondition_t *wait_list );
01200
01213
01214
01215
01216
01217
01218
01219
01220
01221
01222
01223
01224 xcb_void_cookie_t
01225 xcb_sync_change_counter_checked (xcb_connection_t *c ,
01226 xcb_sync_counter_t counter ,
01227 xcb_sync_int64_t amount );
01228
01238
01239
01240
01241
01242
01243
01244
01245
01246
01247
01248
01249 xcb_void_cookie_t
01250 xcb_sync_change_counter (xcb_connection_t *c ,
01251 xcb_sync_counter_t counter ,
01252 xcb_sync_int64_t amount );
01253
01266
01267
01268
01269
01270
01271
01272
01273
01274
01275
01276
01277 xcb_void_cookie_t
01278 xcb_sync_set_counter_checked (xcb_connection_t *c ,
01279 xcb_sync_counter_t counter ,
01280 xcb_sync_int64_t value );
01281
01291
01292
01293
01294
01295
01296
01297
01298
01299
01300
01301
01302 xcb_void_cookie_t
01303 xcb_sync_set_counter (xcb_connection_t *c ,
01304 xcb_sync_counter_t counter ,
01305 xcb_sync_int64_t value );
01306
01319
01320
01321
01322
01323
01324
01325
01326
01327
01328
01329
01330
01331 xcb_void_cookie_t
01332 xcb_sync_create_alarm_checked (xcb_connection_t *c ,
01333 xcb_sync_alarm_t id ,
01334 uint32_t value_mask ,
01335 const uint32_t *value_list );
01336
01346
01347
01348
01349
01350
01351
01352
01353
01354
01355
01356
01357
01358 xcb_void_cookie_t
01359 xcb_sync_create_alarm (xcb_connection_t *c ,
01360 xcb_sync_alarm_t id ,
01361 uint32_t value_mask ,
01362 const uint32_t *value_list );
01363
01376
01377
01378
01379
01380
01381
01382
01383
01384
01385
01386
01387
01388 xcb_void_cookie_t
01389 xcb_sync_change_alarm_checked (xcb_connection_t *c ,
01390 xcb_sync_alarm_t id ,
01391 uint32_t value_mask ,
01392 const uint32_t *value_list );
01393
01403
01404
01405
01406
01407
01408
01409
01410
01411
01412
01413
01414
01415 xcb_void_cookie_t
01416 xcb_sync_change_alarm (xcb_connection_t *c ,
01417 xcb_sync_alarm_t id ,
01418 uint32_t value_mask ,
01419 const uint32_t *value_list );
01420
01433
01434
01435
01436
01437
01438
01439
01440
01441
01442
01443 xcb_void_cookie_t
01444 xcb_sync_destroy_alarm_checked (xcb_connection_t *c ,
01445 xcb_sync_alarm_t alarm );
01446
01456
01457
01458
01459
01460
01461
01462
01463
01464
01465
01466 xcb_void_cookie_t
01467 xcb_sync_destroy_alarm (xcb_connection_t *c ,
01468 xcb_sync_alarm_t alarm );
01469
01479
01480
01481
01482
01483
01484
01485
01486
01487
01488
01489 xcb_sync_query_alarm_cookie_t
01490 xcb_sync_query_alarm (xcb_connection_t *c ,
01491 xcb_sync_alarm_t alarm );
01492
01505
01506
01507
01508
01509
01510
01511
01512
01513
01514
01515 xcb_sync_query_alarm_cookie_t
01516 xcb_sync_query_alarm_unchecked (xcb_connection_t *c ,
01517 xcb_sync_alarm_t alarm );
01518
01532
01533
01534
01535
01536
01537
01538
01539
01540
01541
01542
01543 xcb_sync_query_alarm_reply_t *
01544 xcb_sync_query_alarm_reply (xcb_connection_t *c ,
01545 xcb_sync_query_alarm_cookie_t cookie ,
01546 xcb_generic_error_t **e );
01547
01560
01561
01562
01563
01564
01565
01566
01567
01568
01569
01570
01571 xcb_void_cookie_t
01572 xcb_sync_set_priority_checked (xcb_connection_t *c ,
01573 uint32_t id ,
01574 int32_t priority );
01575
01585
01586
01587
01588
01589
01590
01591
01592
01593
01594
01595
01596 xcb_void_cookie_t
01597 xcb_sync_set_priority (xcb_connection_t *c ,
01598 uint32_t id ,
01599 int32_t priority );
01600
01610
01611
01612
01613
01614
01615
01616
01617
01618
01619
01620 xcb_sync_get_priority_cookie_t
01621 xcb_sync_get_priority (xcb_connection_t *c ,
01622 uint32_t id );
01623
01636
01637
01638
01639
01640
01641
01642
01643
01644
01645
01646 xcb_sync_get_priority_cookie_t
01647 xcb_sync_get_priority_unchecked (xcb_connection_t *c ,
01648 uint32_t id );
01649
01663
01664
01665
01666
01667
01668
01669
01670
01671
01672
01673
01674 xcb_sync_get_priority_reply_t *
01675 xcb_sync_get_priority_reply (xcb_connection_t *c ,
01676 xcb_sync_get_priority_cookie_t cookie ,
01677 xcb_generic_error_t **e );
01678
01679
01680 #endif
01681