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,
00069 XCB_SYNC_CA_VALUE_TYPE = 2,
00070 XCB_SYNC_CA_VALUE = 4,
00071 XCB_SYNC_CA_TEST_TYPE = 8,
00072 XCB_SYNC_CA_DELTA = 16,
00073 XCB_SYNC_CA_EVENTS = 32
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 uint8_t pad1[22];
00209 } xcb_sync_initialize_reply_t;
00210
00214 typedef struct xcb_sync_list_system_counters_cookie_t {
00215 unsigned int sequence;
00216 } xcb_sync_list_system_counters_cookie_t;
00217
00219 #define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
00220
00224 typedef struct xcb_sync_list_system_counters_request_t {
00225 uint8_t major_opcode;
00226 uint8_t minor_opcode;
00227 uint16_t length;
00228 } xcb_sync_list_system_counters_request_t;
00229
00233 typedef struct xcb_sync_list_system_counters_reply_t {
00234 uint8_t response_type;
00235 uint8_t pad0;
00236 uint16_t sequence;
00237 uint32_t length;
00238 uint32_t counters_len;
00239 uint8_t pad1[20];
00240 } xcb_sync_list_system_counters_reply_t;
00241
00243 #define XCB_SYNC_CREATE_COUNTER 2
00244
00248 typedef struct xcb_sync_create_counter_request_t {
00249 uint8_t major_opcode;
00250 uint8_t minor_opcode;
00251 uint16_t length;
00252 xcb_sync_counter_t id;
00253 xcb_sync_int64_t initial_value;
00254 } xcb_sync_create_counter_request_t;
00255
00257 #define XCB_SYNC_DESTROY_COUNTER 6
00258
00262 typedef struct xcb_sync_destroy_counter_request_t {
00263 uint8_t major_opcode;
00264 uint8_t minor_opcode;
00265 uint16_t length;
00266 xcb_sync_counter_t counter;
00267 } xcb_sync_destroy_counter_request_t;
00268
00272 typedef struct xcb_sync_query_counter_cookie_t {
00273 unsigned int sequence;
00274 } xcb_sync_query_counter_cookie_t;
00275
00277 #define XCB_SYNC_QUERY_COUNTER 5
00278
00282 typedef struct xcb_sync_query_counter_request_t {
00283 uint8_t major_opcode;
00284 uint8_t minor_opcode;
00285 uint16_t length;
00286 xcb_sync_counter_t counter;
00287 } xcb_sync_query_counter_request_t;
00288
00292 typedef struct xcb_sync_query_counter_reply_t {
00293 uint8_t response_type;
00294 uint8_t pad0;
00295 uint16_t sequence;
00296 uint32_t length;
00297 xcb_sync_int64_t counter_value;
00298 } xcb_sync_query_counter_reply_t;
00299
00301 #define XCB_SYNC_AWAIT 7
00302
00306 typedef struct xcb_sync_await_request_t {
00307 uint8_t major_opcode;
00308 uint8_t minor_opcode;
00309 uint16_t length;
00310 } xcb_sync_await_request_t;
00311
00313 #define XCB_SYNC_CHANGE_COUNTER 4
00314
00318 typedef struct xcb_sync_change_counter_request_t {
00319 uint8_t major_opcode;
00320 uint8_t minor_opcode;
00321 uint16_t length;
00322 xcb_sync_counter_t counter;
00323 xcb_sync_int64_t amount;
00324 } xcb_sync_change_counter_request_t;
00325
00327 #define XCB_SYNC_SET_COUNTER 3
00328
00332 typedef struct xcb_sync_set_counter_request_t {
00333 uint8_t major_opcode;
00334 uint8_t minor_opcode;
00335 uint16_t length;
00336 xcb_sync_counter_t counter;
00337 xcb_sync_int64_t value;
00338 } xcb_sync_set_counter_request_t;
00339
00341 #define XCB_SYNC_CREATE_ALARM 8
00342
00346 typedef struct xcb_sync_create_alarm_request_t {
00347 uint8_t major_opcode;
00348 uint8_t minor_opcode;
00349 uint16_t length;
00350 xcb_sync_alarm_t id;
00351 uint32_t value_mask;
00352 } xcb_sync_create_alarm_request_t;
00353
00355 #define XCB_SYNC_CHANGE_ALARM 9
00356
00360 typedef struct xcb_sync_change_alarm_request_t {
00361 uint8_t major_opcode;
00362 uint8_t minor_opcode;
00363 uint16_t length;
00364 xcb_sync_alarm_t id;
00365 uint32_t value_mask;
00366 } xcb_sync_change_alarm_request_t;
00367
00369 #define XCB_SYNC_DESTROY_ALARM 11
00370
00374 typedef struct xcb_sync_destroy_alarm_request_t {
00375 uint8_t major_opcode;
00376 uint8_t minor_opcode;
00377 uint16_t length;
00378 xcb_sync_alarm_t alarm;
00379 } xcb_sync_destroy_alarm_request_t;
00380
00384 typedef struct xcb_sync_query_alarm_cookie_t {
00385 unsigned int sequence;
00386 } xcb_sync_query_alarm_cookie_t;
00387
00389 #define XCB_SYNC_QUERY_ALARM 10
00390
00394 typedef struct xcb_sync_query_alarm_request_t {
00395 uint8_t major_opcode;
00396 uint8_t minor_opcode;
00397 uint16_t length;
00398 xcb_sync_alarm_t alarm;
00399 } xcb_sync_query_alarm_request_t;
00400
00404 typedef struct xcb_sync_query_alarm_reply_t {
00405 uint8_t response_type;
00406 uint8_t pad0;
00407 uint16_t sequence;
00408 uint32_t length;
00409 xcb_sync_trigger_t trigger;
00410 xcb_sync_int64_t delta;
00411 uint8_t events;
00412 uint8_t state;
00413 uint8_t pad1[2];
00414 } xcb_sync_query_alarm_reply_t;
00415
00417 #define XCB_SYNC_SET_PRIORITY 12
00418
00422 typedef struct xcb_sync_set_priority_request_t {
00423 uint8_t major_opcode;
00424 uint8_t minor_opcode;
00425 uint16_t length;
00426 uint32_t id;
00427 int32_t priority;
00428 } xcb_sync_set_priority_request_t;
00429
00433 typedef struct xcb_sync_get_priority_cookie_t {
00434 unsigned int sequence;
00435 } xcb_sync_get_priority_cookie_t;
00436
00438 #define XCB_SYNC_GET_PRIORITY 13
00439
00443 typedef struct xcb_sync_get_priority_request_t {
00444 uint8_t major_opcode;
00445 uint8_t minor_opcode;
00446 uint16_t length;
00447 uint32_t id;
00448 } xcb_sync_get_priority_request_t;
00449
00453 typedef struct xcb_sync_get_priority_reply_t {
00454 uint8_t response_type;
00455 uint8_t pad0;
00456 uint16_t sequence;
00457 uint32_t length;
00458 int32_t priority;
00459 } xcb_sync_get_priority_reply_t;
00460
00462 #define XCB_SYNC_COUNTER_NOTIFY 0
00463
00467 typedef struct xcb_sync_counter_notify_event_t {
00468 uint8_t response_type;
00469 uint8_t kind;
00470 uint16_t sequence;
00471 xcb_sync_counter_t counter;
00472 xcb_sync_int64_t wait_value;
00473 xcb_sync_int64_t counter_value;
00474 xcb_timestamp_t timestamp;
00475 uint16_t count;
00476 uint8_t destroyed;
00477 uint8_t pad0;
00478 } xcb_sync_counter_notify_event_t;
00479
00481 #define XCB_SYNC_ALARM_NOTIFY 1
00482
00486 typedef struct xcb_sync_alarm_notify_event_t {
00487 uint8_t response_type;
00488 uint8_t kind;
00489 uint16_t sequence;
00490 xcb_sync_alarm_t alarm;
00491 xcb_sync_int64_t counter_value;
00492 xcb_sync_int64_t alarm_value;
00493 xcb_timestamp_t timestamp;
00494 uint8_t state;
00495 uint8_t pad0[3];
00496 } xcb_sync_alarm_notify_event_t;
00497
00507
00508
00509
00510
00511
00512
00513
00514
00515
00516 void
00517 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i );
00518
00529
00530
00531
00532
00533
00534
00535
00536
00537
00538 xcb_generic_iterator_t
00539 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i );
00540
00550
00551
00552
00553
00554
00555
00556
00557
00558
00559 void
00560 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i );
00561
00572
00573
00574
00575
00576
00577
00578
00579
00580
00581 xcb_generic_iterator_t
00582 xcb_sync_counter_end (xcb_sync_counter_iterator_t i );
00583
00593
00594
00595
00596
00597
00598
00599
00600
00601
00602 void
00603 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i );
00604
00615
00616
00617
00618
00619
00620
00621
00622
00623
00624 xcb_generic_iterator_t
00625 xcb_sync_int64_end (xcb_sync_int64_iterator_t i );
00626
00627
00628
00629
00630
00631
00632
00633
00634
00635
00636
00637 char *
00638 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R );
00639
00640
00641
00642
00643
00644
00645
00646
00647
00648
00649
00650 int
00651 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R );
00652
00653
00654
00655
00656
00657
00658
00659
00660
00661
00662
00663 xcb_generic_iterator_t
00664 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R );
00665
00675
00676
00677
00678
00679
00680
00681
00682
00683
00684 void
00685 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i );
00686
00697
00698
00699
00700
00701
00702
00703
00704
00705
00706 xcb_generic_iterator_t
00707 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i );
00708
00718
00719
00720
00721
00722
00723
00724
00725
00726
00727 void
00728 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i );
00729
00740
00741
00742
00743
00744
00745
00746
00747
00748
00749 xcb_generic_iterator_t
00750 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i );
00751
00761
00762
00763
00764
00765
00766
00767
00768
00769
00770 void
00771 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i );
00772
00783
00784
00785
00786
00787
00788
00789
00790
00791
00792 xcb_generic_iterator_t
00793 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i );
00794
00804
00805
00806
00807
00808
00809
00810
00811
00812
00813
00814
00815 xcb_sync_initialize_cookie_t
00816 xcb_sync_initialize (xcb_connection_t *c ,
00817 uint8_t desired_major_version ,
00818 uint8_t desired_minor_version );
00819
00832
00833
00834
00835
00836
00837
00838
00839
00840
00841
00842
00843 xcb_sync_initialize_cookie_t
00844 xcb_sync_initialize_unchecked (xcb_connection_t *c ,
00845 uint8_t desired_major_version ,
00846 uint8_t desired_minor_version );
00847
00863
00864
00865
00866
00867
00868
00869
00870
00871
00872
00873
00874 xcb_sync_initialize_reply_t *
00875 xcb_sync_initialize_reply (xcb_connection_t *c ,
00876 xcb_sync_initialize_cookie_t cookie ,
00877 xcb_generic_error_t **e );
00878
00888
00889
00890
00891
00892
00893
00894
00895
00896
00897 xcb_sync_list_system_counters_cookie_t
00898 xcb_sync_list_system_counters (xcb_connection_t *c );
00899
00912
00913
00914
00915
00916
00917
00918
00919
00920
00921 xcb_sync_list_system_counters_cookie_t
00922 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c );
00923
00924
00925
00926
00927
00928
00929
00930
00931
00932
00933
00934 int
00935 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R );
00936
00937
00938
00939
00940
00941
00942
00943
00944
00945
00946
00947 xcb_sync_systemcounter_iterator_t
00948 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R );
00949
00965
00966
00967
00968
00969
00970
00971
00972
00973
00974
00975
00976 xcb_sync_list_system_counters_reply_t *
00977 xcb_sync_list_system_counters_reply (xcb_connection_t *c ,
00978 xcb_sync_list_system_counters_cookie_t cookie ,
00979 xcb_generic_error_t **e );
00980
00993
00994
00995
00996
00997
00998
00999
01000
01001
01002
01003
01004 xcb_void_cookie_t
01005 xcb_sync_create_counter_checked (xcb_connection_t *c ,
01006 xcb_sync_counter_t id ,
01007 xcb_sync_int64_t initial_value );
01008
01018
01019
01020
01021
01022
01023
01024
01025
01026
01027
01028
01029 xcb_void_cookie_t
01030 xcb_sync_create_counter (xcb_connection_t *c ,
01031 xcb_sync_counter_t id ,
01032 xcb_sync_int64_t initial_value );
01033
01046
01047
01048
01049
01050
01051
01052
01053
01054
01055
01056 xcb_void_cookie_t
01057 xcb_sync_destroy_counter_checked (xcb_connection_t *c ,
01058 xcb_sync_counter_t counter );
01059
01069
01070
01071
01072
01073
01074
01075
01076
01077
01078
01079 xcb_void_cookie_t
01080 xcb_sync_destroy_counter (xcb_connection_t *c ,
01081 xcb_sync_counter_t counter );
01082
01092
01093
01094
01095
01096
01097
01098
01099
01100
01101
01102 xcb_sync_query_counter_cookie_t
01103 xcb_sync_query_counter (xcb_connection_t *c ,
01104 xcb_sync_counter_t counter );
01105
01118
01119
01120
01121
01122
01123
01124
01125
01126
01127
01128 xcb_sync_query_counter_cookie_t
01129 xcb_sync_query_counter_unchecked (xcb_connection_t *c ,
01130 xcb_sync_counter_t counter );
01131
01147
01148
01149
01150
01151
01152
01153
01154
01155
01156
01157
01158 xcb_sync_query_counter_reply_t *
01159 xcb_sync_query_counter_reply (xcb_connection_t *c ,
01160 xcb_sync_query_counter_cookie_t cookie ,
01161 xcb_generic_error_t **e );
01162
01175
01176
01177
01178
01179
01180
01181
01182
01183
01184
01185
01186 xcb_void_cookie_t
01187 xcb_sync_await_checked (xcb_connection_t *c ,
01188 uint32_t wait_list_len ,
01189 const xcb_sync_waitcondition_t *wait_list );
01190
01200
01201
01202
01203
01204
01205
01206
01207
01208
01209
01210
01211 xcb_void_cookie_t
01212 xcb_sync_await (xcb_connection_t *c ,
01213 uint32_t wait_list_len ,
01214 const xcb_sync_waitcondition_t *wait_list );
01215
01228
01229
01230
01231
01232
01233
01234
01235
01236
01237
01238
01239 xcb_void_cookie_t
01240 xcb_sync_change_counter_checked (xcb_connection_t *c ,
01241 xcb_sync_counter_t counter ,
01242 xcb_sync_int64_t amount );
01243
01253
01254
01255
01256
01257
01258
01259
01260
01261
01262
01263
01264 xcb_void_cookie_t
01265 xcb_sync_change_counter (xcb_connection_t *c ,
01266 xcb_sync_counter_t counter ,
01267 xcb_sync_int64_t amount );
01268
01281
01282
01283
01284
01285
01286
01287
01288
01289
01290
01291
01292 xcb_void_cookie_t
01293 xcb_sync_set_counter_checked (xcb_connection_t *c ,
01294 xcb_sync_counter_t counter ,
01295 xcb_sync_int64_t value );
01296
01306
01307
01308
01309
01310
01311
01312
01313
01314
01315
01316
01317 xcb_void_cookie_t
01318 xcb_sync_set_counter (xcb_connection_t *c ,
01319 xcb_sync_counter_t counter ,
01320 xcb_sync_int64_t value );
01321
01334
01335
01336
01337
01338
01339
01340
01341
01342
01343
01344
01345
01346 xcb_void_cookie_t
01347 xcb_sync_create_alarm_checked (xcb_connection_t *c ,
01348 xcb_sync_alarm_t id ,
01349 uint32_t value_mask ,
01350 const uint32_t *value_list );
01351
01361
01362
01363
01364
01365
01366
01367
01368
01369
01370
01371
01372
01373 xcb_void_cookie_t
01374 xcb_sync_create_alarm (xcb_connection_t *c ,
01375 xcb_sync_alarm_t id ,
01376 uint32_t value_mask ,
01377 const uint32_t *value_list );
01378
01391
01392
01393
01394
01395
01396
01397
01398
01399
01400
01401
01402
01403 xcb_void_cookie_t
01404 xcb_sync_change_alarm_checked (xcb_connection_t *c ,
01405 xcb_sync_alarm_t id ,
01406 uint32_t value_mask ,
01407 const uint32_t *value_list );
01408
01418
01419
01420
01421
01422
01423
01424
01425
01426
01427
01428
01429
01430 xcb_void_cookie_t
01431 xcb_sync_change_alarm (xcb_connection_t *c ,
01432 xcb_sync_alarm_t id ,
01433 uint32_t value_mask ,
01434 const uint32_t *value_list );
01435
01448
01449
01450
01451
01452
01453
01454
01455
01456
01457
01458 xcb_void_cookie_t
01459 xcb_sync_destroy_alarm_checked (xcb_connection_t *c ,
01460 xcb_sync_alarm_t alarm );
01461
01471
01472
01473
01474
01475
01476
01477
01478
01479
01480
01481 xcb_void_cookie_t
01482 xcb_sync_destroy_alarm (xcb_connection_t *c ,
01483 xcb_sync_alarm_t alarm );
01484
01494
01495
01496
01497
01498
01499
01500
01501
01502
01503
01504 xcb_sync_query_alarm_cookie_t
01505 xcb_sync_query_alarm (xcb_connection_t *c ,
01506 xcb_sync_alarm_t alarm );
01507
01520
01521
01522
01523
01524
01525
01526
01527
01528
01529
01530 xcb_sync_query_alarm_cookie_t
01531 xcb_sync_query_alarm_unchecked (xcb_connection_t *c ,
01532 xcb_sync_alarm_t alarm );
01533
01549
01550
01551
01552
01553
01554
01555
01556
01557
01558
01559
01560 xcb_sync_query_alarm_reply_t *
01561 xcb_sync_query_alarm_reply (xcb_connection_t *c ,
01562 xcb_sync_query_alarm_cookie_t cookie ,
01563 xcb_generic_error_t **e );
01564
01577
01578
01579
01580
01581
01582
01583
01584
01585
01586
01587
01588 xcb_void_cookie_t
01589 xcb_sync_set_priority_checked (xcb_connection_t *c ,
01590 uint32_t id ,
01591 int32_t priority );
01592
01602
01603
01604
01605
01606
01607
01608
01609
01610
01611
01612
01613 xcb_void_cookie_t
01614 xcb_sync_set_priority (xcb_connection_t *c ,
01615 uint32_t id ,
01616 int32_t priority );
01617
01627
01628
01629
01630
01631
01632
01633
01634
01635
01636
01637 xcb_sync_get_priority_cookie_t
01638 xcb_sync_get_priority (xcb_connection_t *c ,
01639 uint32_t id );
01640
01653
01654
01655
01656
01657
01658
01659
01660
01661
01662
01663 xcb_sync_get_priority_cookie_t
01664 xcb_sync_get_priority_unchecked (xcb_connection_t *c ,
01665 uint32_t id );
01666
01682
01683
01684
01685
01686
01687
01688
01689
01690
01691
01692
01693 xcb_sync_get_priority_reply_t *
01694 xcb_sync_get_priority_reply (xcb_connection_t *c ,
01695 xcb_sync_get_priority_cookie_t cookie ,
01696 xcb_generic_error_t **e );
01697
01698
01699 #ifdef __cplusplus
01700 }
01701 #endif
01702
01703 #endif
01704