00001
00002
00003
00004
00005
00012 #ifndef __SYNC_H
00013 #define __SYNC_H
00014
00015 #include "xcb.h"
00016 #include "xproto.h"
00017
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021
00022 #define XCB_SYNC_MAJOR_VERSION 3
00023 #define XCB_SYNC_MINOR_VERSION 0
00024
00025 extern xcb_extension_t xcb_sync_id;
00026
00027 typedef uint32_t xcb_sync_alarm_t;
00028
00032 typedef struct xcb_sync_alarm_iterator_t {
00033 xcb_sync_alarm_t *data;
00034 int rem;
00035 int index;
00036 } xcb_sync_alarm_iterator_t;
00037
00038 typedef enum xcb_sync_alarmstate_t {
00039 XCB_SYNC_ALARMSTATE_ACTIVE,
00040 XCB_SYNC_ALARMSTATE_INACTIVE,
00041 XCB_SYNC_ALARMSTATE_DESTROYED
00042 } xcb_sync_alarmstate_t;
00043
00044 typedef uint32_t xcb_sync_counter_t;
00045
00049 typedef struct xcb_sync_counter_iterator_t {
00050 xcb_sync_counter_t *data;
00051 int rem;
00052 int index;
00053 } xcb_sync_counter_iterator_t;
00054
00055 typedef enum xcb_sync_testtype_t {
00056 XCB_SYNC_TESTTYPE_POSITIVE_TRANSITION,
00057 XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION,
00058 XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON,
00059 XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON
00060 } xcb_sync_testtype_t;
00061
00062 typedef enum xcb_sync_valuetype_t {
00063 XCB_SYNC_VALUETYPE_ABSOLUTE,
00064 XCB_SYNC_VALUETYPE_RELATIVE
00065 } xcb_sync_valuetype_t;
00066
00067 typedef enum xcb_sync_ca_t {
00068 XCB_SYNC_CA_COUNTER = (1 << 0),
00069 XCB_SYNC_CA_VALUE_TYPE = (1 << 1),
00070 XCB_SYNC_CA_VALUE = (1 << 2),
00071 XCB_SYNC_CA_TEST_TYPE = (1 << 3),
00072 XCB_SYNC_CA_DELTA = (1 << 4),
00073 XCB_SYNC_CA_EVENTS = (1 << 5)
00074 } xcb_sync_ca_t;
00075
00079 typedef struct xcb_sync_int64_t {
00080 int32_t hi;
00081 uint32_t lo;
00082 } xcb_sync_int64_t;
00083
00087 typedef struct xcb_sync_int64_iterator_t {
00088 xcb_sync_int64_t *data;
00089 int rem;
00090 int index;
00091 } xcb_sync_int64_iterator_t;
00092
00096 typedef struct xcb_sync_systemcounter_t {
00097 xcb_sync_counter_t counter;
00098 xcb_sync_int64_t resolution;
00099 uint16_t name_len;
00100 } xcb_sync_systemcounter_t;
00101
00105 typedef struct xcb_sync_systemcounter_iterator_t {
00106 xcb_sync_systemcounter_t *data;
00107 int rem;
00108 int index;
00109 } xcb_sync_systemcounter_iterator_t;
00110
00114 typedef struct xcb_sync_trigger_t {
00115 xcb_sync_counter_t counter;
00116 uint32_t wait_type;
00117 xcb_sync_int64_t wait_value;
00118 uint32_t test_type;
00119 } xcb_sync_trigger_t;
00120
00124 typedef struct xcb_sync_trigger_iterator_t {
00125 xcb_sync_trigger_t *data;
00126 int rem;
00127 int index;
00128 } xcb_sync_trigger_iterator_t;
00129
00133 typedef struct xcb_sync_waitcondition_t {
00134 xcb_sync_trigger_t trigger;
00135 xcb_sync_int64_t event_threshold;
00136 } xcb_sync_waitcondition_t;
00137
00141 typedef struct xcb_sync_waitcondition_iterator_t {
00142 xcb_sync_waitcondition_t *data;
00143 int rem;
00144 int index;
00145 } xcb_sync_waitcondition_iterator_t;
00146
00148 #define XCB_SYNC_COUNTER 0
00149
00153 typedef struct xcb_sync_counter_error_t {
00154 uint8_t response_type;
00155 uint8_t error_code;
00156 uint16_t sequence;
00157 uint32_t bad_counter;
00158 uint16_t minor_opcode;
00159 uint8_t major_opcode;
00160 } xcb_sync_counter_error_t;
00161
00163 #define XCB_SYNC_ALARM 1
00164
00168 typedef struct xcb_sync_alarm_error_t {
00169 uint8_t response_type;
00170 uint8_t error_code;
00171 uint16_t sequence;
00172 uint32_t bad_alarm;
00173 uint16_t minor_opcode;
00174 uint8_t major_opcode;
00175 } xcb_sync_alarm_error_t;
00176
00180 typedef struct xcb_sync_initialize_cookie_t {
00181 unsigned int sequence;
00182 } xcb_sync_initialize_cookie_t;
00183
00185 #define XCB_SYNC_INITIALIZE 0
00186
00190 typedef struct xcb_sync_initialize_request_t {
00191 uint8_t major_opcode;
00192 uint8_t minor_opcode;
00193 uint16_t length;
00194 uint8_t desired_major_version;
00195 uint8_t desired_minor_version;
00196 } xcb_sync_initialize_request_t;
00197
00201 typedef struct xcb_sync_initialize_reply_t {
00202 uint8_t response_type;
00203 uint8_t pad0;
00204 uint16_t sequence;
00205 uint32_t length;
00206 uint8_t major_version;
00207 uint8_t minor_version;
00208 } xcb_sync_initialize_reply_t;
00209
00213 typedef struct xcb_sync_list_system_counters_cookie_t {
00214 unsigned int sequence;
00215 } xcb_sync_list_system_counters_cookie_t;
00216
00218 #define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
00219
00223 typedef struct xcb_sync_list_system_counters_request_t {
00224 uint8_t major_opcode;
00225 uint8_t minor_opcode;
00226 uint16_t length;
00227 } xcb_sync_list_system_counters_request_t;
00228
00232 typedef struct xcb_sync_list_system_counters_reply_t {
00233 uint8_t response_type;
00234 uint8_t pad0;
00235 uint16_t sequence;
00236 uint32_t length;
00237 uint32_t counters_len;
00238 uint8_t pad1[20];
00239 } xcb_sync_list_system_counters_reply_t;
00240
00242 #define XCB_SYNC_CREATE_COUNTER 2
00243
00247 typedef struct xcb_sync_create_counter_request_t {
00248 uint8_t major_opcode;
00249 uint8_t minor_opcode;
00250 uint16_t length;
00251 xcb_sync_counter_t id;
00252 xcb_sync_int64_t initial_value;
00253 } xcb_sync_create_counter_request_t;
00254
00256 #define XCB_SYNC_DESTROY_COUNTER 6
00257
00261 typedef struct xcb_sync_destroy_counter_request_t {
00262 uint8_t major_opcode;
00263 uint8_t minor_opcode;
00264 uint16_t length;
00265 xcb_sync_counter_t counter;
00266 } xcb_sync_destroy_counter_request_t;
00267
00271 typedef struct xcb_sync_query_counter_cookie_t {
00272 unsigned int sequence;
00273 } xcb_sync_query_counter_cookie_t;
00274
00276 #define XCB_SYNC_QUERY_COUNTER 5
00277
00281 typedef struct xcb_sync_query_counter_request_t {
00282 uint8_t major_opcode;
00283 uint8_t minor_opcode;
00284 uint16_t length;
00285 xcb_sync_counter_t counter;
00286 } xcb_sync_query_counter_request_t;
00287
00291 typedef struct xcb_sync_query_counter_reply_t {
00292 uint8_t response_type;
00293 uint8_t pad0;
00294 uint16_t sequence;
00295 uint32_t length;
00296 xcb_sync_int64_t counter_value;
00297 } xcb_sync_query_counter_reply_t;
00298
00300 #define XCB_SYNC_AWAIT 7
00301
00305 typedef struct xcb_sync_await_request_t {
00306 uint8_t major_opcode;
00307 uint8_t minor_opcode;
00308 uint16_t length;
00309 } xcb_sync_await_request_t;
00310
00312 #define XCB_SYNC_CHANGE_COUNTER 4
00313
00317 typedef struct xcb_sync_change_counter_request_t {
00318 uint8_t major_opcode;
00319 uint8_t minor_opcode;
00320 uint16_t length;
00321 xcb_sync_counter_t counter;
00322 xcb_sync_int64_t amount;
00323 } xcb_sync_change_counter_request_t;
00324
00326 #define XCB_SYNC_SET_COUNTER 3
00327
00331 typedef struct xcb_sync_set_counter_request_t {
00332 uint8_t major_opcode;
00333 uint8_t minor_opcode;
00334 uint16_t length;
00335 xcb_sync_counter_t counter;
00336 xcb_sync_int64_t value;
00337 } xcb_sync_set_counter_request_t;
00338
00340 #define XCB_SYNC_CREATE_ALARM 8
00341
00345 typedef struct xcb_sync_create_alarm_request_t {
00346 uint8_t major_opcode;
00347 uint8_t minor_opcode;
00348 uint16_t length;
00349 xcb_sync_alarm_t id;
00350 uint32_t value_mask;
00351 } xcb_sync_create_alarm_request_t;
00352
00354 #define XCB_SYNC_CHANGE_ALARM 9
00355
00359 typedef struct xcb_sync_change_alarm_request_t {
00360 uint8_t major_opcode;
00361 uint8_t minor_opcode;
00362 uint16_t length;
00363 xcb_sync_alarm_t id;
00364 uint32_t value_mask;
00365 } xcb_sync_change_alarm_request_t;
00366
00368 #define XCB_SYNC_DESTROY_ALARM 11
00369
00373 typedef struct xcb_sync_destroy_alarm_request_t {
00374 uint8_t major_opcode;
00375 uint8_t minor_opcode;
00376 uint16_t length;
00377 xcb_sync_alarm_t alarm;
00378 } xcb_sync_destroy_alarm_request_t;
00379
00383 typedef struct xcb_sync_query_alarm_cookie_t {
00384 unsigned int sequence;
00385 } xcb_sync_query_alarm_cookie_t;
00386
00388 #define XCB_SYNC_QUERY_ALARM 10
00389
00393 typedef struct xcb_sync_query_alarm_request_t {
00394 uint8_t major_opcode;
00395 uint8_t minor_opcode;
00396 uint16_t length;
00397 xcb_sync_alarm_t alarm;
00398 } xcb_sync_query_alarm_request_t;
00399
00403 typedef struct xcb_sync_query_alarm_reply_t {
00404 uint8_t response_type;
00405 uint8_t pad0;
00406 uint16_t sequence;
00407 uint32_t length;
00408 xcb_sync_trigger_t trigger;
00409 xcb_sync_int64_t delta;
00410 uint8_t events;
00411 uint8_t state;
00412 } xcb_sync_query_alarm_reply_t;
00413
00415 #define XCB_SYNC_SET_PRIORITY 12
00416
00420 typedef struct xcb_sync_set_priority_request_t {
00421 uint8_t major_opcode;
00422 uint8_t minor_opcode;
00423 uint16_t length;
00424 uint32_t id;
00425 int32_t priority;
00426 } xcb_sync_set_priority_request_t;
00427
00431 typedef struct xcb_sync_get_priority_cookie_t {
00432 unsigned int sequence;
00433 } xcb_sync_get_priority_cookie_t;
00434
00436 #define XCB_SYNC_GET_PRIORITY 13
00437
00441 typedef struct xcb_sync_get_priority_request_t {
00442 uint8_t major_opcode;
00443 uint8_t minor_opcode;
00444 uint16_t length;
00445 uint32_t id;
00446 } xcb_sync_get_priority_request_t;
00447
00451 typedef struct xcb_sync_get_priority_reply_t {
00452 uint8_t response_type;
00453 uint8_t pad0;
00454 uint16_t sequence;
00455 uint32_t length;
00456 int32_t priority;
00457 } xcb_sync_get_priority_reply_t;
00458
00460 #define XCB_SYNC_COUNTER_NOTIFY 0
00461
00465 typedef struct xcb_sync_counter_notify_event_t {
00466 uint8_t response_type;
00467 uint8_t kind;
00468 uint16_t sequence;
00469 xcb_sync_counter_t counter;
00470 xcb_sync_int64_t wait_value;
00471 xcb_sync_int64_t counter_value;
00472 xcb_timestamp_t timestamp;
00473 uint16_t count;
00474 uint8_t destroyed;
00475 } xcb_sync_counter_notify_event_t;
00476
00478 #define XCB_SYNC_ALARM_NOTIFY 1
00479
00483 typedef struct xcb_sync_alarm_notify_event_t {
00484 uint8_t response_type;
00485 uint8_t kind;
00486 uint16_t sequence;
00487 xcb_sync_alarm_t alarm;
00488 xcb_sync_int64_t counter_value;
00489 xcb_sync_int64_t alarm_value;
00490 xcb_timestamp_t timestamp;
00491 } xcb_sync_alarm_notify_event_t;
00492
00502
00503
00504
00505
00506
00507
00508
00509
00510
00511 void
00512 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i );
00513
00524
00525
00526
00527
00528
00529
00530
00531
00532
00533 xcb_generic_iterator_t
00534 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i );
00535
00545
00546
00547
00548
00549
00550
00551
00552
00553
00554 void
00555 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i );
00556
00567
00568
00569
00570
00571
00572
00573
00574
00575
00576 xcb_generic_iterator_t
00577 xcb_sync_counter_end (xcb_sync_counter_iterator_t i );
00578
00588
00589
00590
00591
00592
00593
00594
00595
00596
00597 void
00598 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i );
00599
00610
00611
00612
00613
00614
00615
00616
00617
00618
00619 xcb_generic_iterator_t
00620 xcb_sync_int64_end (xcb_sync_int64_iterator_t i );
00621
00622
00623
00624
00625
00626
00627
00628
00629
00630
00631
00632 uint8_t *
00633 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R );
00634
00635
00636
00637
00638
00639
00640
00641
00642
00643
00644
00645 int
00646 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R );
00647
00648
00649
00650
00651
00652
00653
00654
00655
00656
00657
00658 xcb_generic_iterator_t
00659 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R );
00660
00670
00671
00672
00673
00674
00675
00676
00677
00678
00679 void
00680 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i );
00681
00692
00693
00694
00695
00696
00697
00698
00699
00700
00701 xcb_generic_iterator_t
00702 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i );
00703
00713
00714
00715
00716
00717
00718
00719
00720
00721
00722 void
00723 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i );
00724
00735
00736
00737
00738
00739
00740
00741
00742
00743
00744 xcb_generic_iterator_t
00745 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i );
00746
00756
00757
00758
00759
00760
00761
00762
00763
00764
00765 void
00766 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i );
00767
00778
00779
00780
00781
00782
00783
00784
00785
00786
00787 xcb_generic_iterator_t
00788 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i );
00789
00799
00800
00801
00802
00803
00804
00805
00806
00807
00808
00809
00810 xcb_sync_initialize_cookie_t
00811 xcb_sync_initialize (xcb_connection_t *c ,
00812 uint8_t desired_major_version ,
00813 uint8_t desired_minor_version );
00814
00827
00828
00829
00830
00831
00832
00833
00834
00835
00836
00837
00838 xcb_sync_initialize_cookie_t
00839 xcb_sync_initialize_unchecked (xcb_connection_t *c ,
00840 uint8_t desired_major_version ,
00841 uint8_t desired_minor_version );
00842
00858
00859
00860
00861
00862
00863
00864
00865
00866
00867
00868
00869 xcb_sync_initialize_reply_t *
00870 xcb_sync_initialize_reply (xcb_connection_t *c ,
00871 xcb_sync_initialize_cookie_t cookie ,
00872 xcb_generic_error_t **e );
00873
00883
00884
00885
00886
00887
00888
00889
00890
00891
00892 xcb_sync_list_system_counters_cookie_t
00893 xcb_sync_list_system_counters (xcb_connection_t *c );
00894
00907
00908
00909
00910
00911
00912
00913
00914
00915
00916 xcb_sync_list_system_counters_cookie_t
00917 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c );
00918
00919
00920
00921
00922
00923
00924
00925
00926
00927
00928
00929 int
00930 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R );
00931
00932
00933
00934
00935
00936
00937
00938
00939
00940
00941
00942 xcb_sync_systemcounter_iterator_t
00943 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R );
00944
00960
00961
00962
00963
00964
00965
00966
00967
00968
00969
00970
00971 xcb_sync_list_system_counters_reply_t *
00972 xcb_sync_list_system_counters_reply (xcb_connection_t *c ,
00973 xcb_sync_list_system_counters_cookie_t cookie ,
00974 xcb_generic_error_t **e );
00975
00988
00989
00990
00991
00992
00993
00994
00995
00996
00997
00998
00999 xcb_void_cookie_t
01000 xcb_sync_create_counter_checked (xcb_connection_t *c ,
01001 xcb_sync_counter_t id ,
01002 xcb_sync_int64_t initial_value );
01003
01013
01014
01015
01016
01017
01018
01019
01020
01021
01022
01023
01024 xcb_void_cookie_t
01025 xcb_sync_create_counter (xcb_connection_t *c ,
01026 xcb_sync_counter_t id ,
01027 xcb_sync_int64_t initial_value );
01028
01041
01042
01043
01044
01045
01046
01047
01048
01049
01050
01051 xcb_void_cookie_t
01052 xcb_sync_destroy_counter_checked (xcb_connection_t *c ,
01053 xcb_sync_counter_t counter );
01054
01064
01065
01066
01067
01068
01069
01070
01071
01072
01073
01074 xcb_void_cookie_t
01075 xcb_sync_destroy_counter (xcb_connection_t *c ,
01076 xcb_sync_counter_t counter );
01077
01087
01088
01089
01090
01091
01092
01093
01094
01095
01096
01097 xcb_sync_query_counter_cookie_t
01098 xcb_sync_query_counter (xcb_connection_t *c ,
01099 xcb_sync_counter_t counter );
01100
01113
01114
01115
01116
01117
01118
01119
01120
01121
01122
01123 xcb_sync_query_counter_cookie_t
01124 xcb_sync_query_counter_unchecked (xcb_connection_t *c ,
01125 xcb_sync_counter_t counter );
01126
01142
01143
01144
01145
01146
01147
01148
01149
01150
01151
01152
01153 xcb_sync_query_counter_reply_t *
01154 xcb_sync_query_counter_reply (xcb_connection_t *c ,
01155 xcb_sync_query_counter_cookie_t cookie ,
01156 xcb_generic_error_t **e );
01157
01170
01171
01172
01173
01174
01175
01176
01177
01178
01179
01180
01181 xcb_void_cookie_t
01182 xcb_sync_await_checked (xcb_connection_t *c ,
01183 uint32_t wait_list_len ,
01184 const xcb_sync_waitcondition_t *wait_list );
01185
01195
01196
01197
01198
01199
01200
01201
01202
01203
01204
01205
01206 xcb_void_cookie_t
01207 xcb_sync_await (xcb_connection_t *c ,
01208 uint32_t wait_list_len ,
01209 const xcb_sync_waitcondition_t *wait_list );
01210
01223
01224
01225
01226
01227
01228
01229
01230
01231
01232
01233
01234 xcb_void_cookie_t
01235 xcb_sync_change_counter_checked (xcb_connection_t *c ,
01236 xcb_sync_counter_t counter ,
01237 xcb_sync_int64_t amount );
01238
01248
01249
01250
01251
01252
01253
01254
01255
01256
01257
01258
01259 xcb_void_cookie_t
01260 xcb_sync_change_counter (xcb_connection_t *c ,
01261 xcb_sync_counter_t counter ,
01262 xcb_sync_int64_t amount );
01263
01276
01277
01278
01279
01280
01281
01282
01283
01284
01285
01286
01287 xcb_void_cookie_t
01288 xcb_sync_set_counter_checked (xcb_connection_t *c ,
01289 xcb_sync_counter_t counter ,
01290 xcb_sync_int64_t value );
01291
01301
01302
01303
01304
01305
01306
01307
01308
01309
01310
01311
01312 xcb_void_cookie_t
01313 xcb_sync_set_counter (xcb_connection_t *c ,
01314 xcb_sync_counter_t counter ,
01315 xcb_sync_int64_t value );
01316
01329
01330
01331
01332
01333
01334
01335
01336
01337
01338
01339
01340
01341 xcb_void_cookie_t
01342 xcb_sync_create_alarm_checked (xcb_connection_t *c ,
01343 xcb_sync_alarm_t id ,
01344 uint32_t value_mask ,
01345 const uint32_t *value_list );
01346
01356
01357
01358
01359
01360
01361
01362
01363
01364
01365
01366
01367
01368 xcb_void_cookie_t
01369 xcb_sync_create_alarm (xcb_connection_t *c ,
01370 xcb_sync_alarm_t id ,
01371 uint32_t value_mask ,
01372 const uint32_t *value_list );
01373
01386
01387
01388
01389
01390
01391
01392
01393
01394
01395
01396
01397
01398 xcb_void_cookie_t
01399 xcb_sync_change_alarm_checked (xcb_connection_t *c ,
01400 xcb_sync_alarm_t id ,
01401 uint32_t value_mask ,
01402 const uint32_t *value_list );
01403
01413
01414
01415
01416
01417
01418
01419
01420
01421
01422
01423
01424
01425 xcb_void_cookie_t
01426 xcb_sync_change_alarm (xcb_connection_t *c ,
01427 xcb_sync_alarm_t id ,
01428 uint32_t value_mask ,
01429 const uint32_t *value_list );
01430
01443
01444
01445
01446
01447
01448
01449
01450
01451
01452
01453 xcb_void_cookie_t
01454 xcb_sync_destroy_alarm_checked (xcb_connection_t *c ,
01455 xcb_sync_alarm_t alarm );
01456
01466
01467
01468
01469
01470
01471
01472
01473
01474
01475
01476 xcb_void_cookie_t
01477 xcb_sync_destroy_alarm (xcb_connection_t *c ,
01478 xcb_sync_alarm_t alarm );
01479
01489
01490
01491
01492
01493
01494
01495
01496
01497
01498
01499 xcb_sync_query_alarm_cookie_t
01500 xcb_sync_query_alarm (xcb_connection_t *c ,
01501 xcb_sync_alarm_t alarm );
01502
01515
01516
01517
01518
01519
01520
01521
01522
01523
01524
01525 xcb_sync_query_alarm_cookie_t
01526 xcb_sync_query_alarm_unchecked (xcb_connection_t *c ,
01527 xcb_sync_alarm_t alarm );
01528
01544
01545
01546
01547
01548
01549
01550
01551
01552
01553
01554
01555 xcb_sync_query_alarm_reply_t *
01556 xcb_sync_query_alarm_reply (xcb_connection_t *c ,
01557 xcb_sync_query_alarm_cookie_t cookie ,
01558 xcb_generic_error_t **e );
01559
01572
01573
01574
01575
01576
01577
01578
01579
01580
01581
01582
01583 xcb_void_cookie_t
01584 xcb_sync_set_priority_checked (xcb_connection_t *c ,
01585 uint32_t id ,
01586 int32_t priority );
01587
01597
01598
01599
01600
01601
01602
01603
01604
01605
01606
01607
01608 xcb_void_cookie_t
01609 xcb_sync_set_priority (xcb_connection_t *c ,
01610 uint32_t id ,
01611 int32_t priority );
01612
01622
01623
01624
01625
01626
01627
01628
01629
01630
01631
01632 xcb_sync_get_priority_cookie_t
01633 xcb_sync_get_priority (xcb_connection_t *c ,
01634 uint32_t id );
01635
01648
01649
01650
01651
01652
01653
01654
01655
01656
01657
01658 xcb_sync_get_priority_cookie_t
01659 xcb_sync_get_priority_unchecked (xcb_connection_t *c ,
01660 uint32_t id );
01661
01677
01678
01679
01680
01681
01682
01683
01684
01685
01686
01687
01688 xcb_sync_get_priority_reply_t *
01689 xcb_sync_get_priority_reply (xcb_connection_t *c ,
01690 xcb_sync_get_priority_cookie_t cookie ,
01691 xcb_generic_error_t **e );
01692
01693
01694 #ifdef __cplusplus
01695 }
01696 #endif
01697
01698 #endif
01699