XCB  1.9.3
sync.h
00001 /*
00002  * This file generated automatically from sync.xml by c_client.py.
00003  * Edit at your peril.
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 1
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 = 0,
00040     XCB_SYNC_ALARMSTATE_INACTIVE = 1,
00041     XCB_SYNC_ALARMSTATE_DESTROYED = 2
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 uint32_t xcb_sync_fence_t;
00056 
00060 typedef struct xcb_sync_fence_iterator_t {
00061     xcb_sync_fence_t *data; 
00062     int               rem; 
00063     int               index; 
00064 } xcb_sync_fence_iterator_t;
00065 
00066 typedef enum xcb_sync_testtype_t {
00067     XCB_SYNC_TESTTYPE_POSITIVE_TRANSITION = 0,
00068     XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION = 1,
00069     XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON = 2,
00070     XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON = 3
00071 } xcb_sync_testtype_t;
00072 
00073 typedef enum xcb_sync_valuetype_t {
00074     XCB_SYNC_VALUETYPE_ABSOLUTE = 0,
00075     XCB_SYNC_VALUETYPE_RELATIVE = 1
00076 } xcb_sync_valuetype_t;
00077 
00078 typedef enum xcb_sync_ca_t {
00079     XCB_SYNC_CA_COUNTER = 1,
00080     XCB_SYNC_CA_VALUE_TYPE = 2,
00081     XCB_SYNC_CA_VALUE = 4,
00082     XCB_SYNC_CA_TEST_TYPE = 8,
00083     XCB_SYNC_CA_DELTA = 16,
00084     XCB_SYNC_CA_EVENTS = 32
00085 } xcb_sync_ca_t;
00086 
00090 typedef struct xcb_sync_int64_t {
00091     int32_t  hi; 
00092     uint32_t lo; 
00093 } xcb_sync_int64_t;
00094 
00098 typedef struct xcb_sync_int64_iterator_t {
00099     xcb_sync_int64_t *data; 
00100     int               rem; 
00101     int               index; 
00102 } xcb_sync_int64_iterator_t;
00103 
00107 typedef struct xcb_sync_systemcounter_t {
00108     xcb_sync_counter_t counter; 
00109     xcb_sync_int64_t   resolution; 
00110     uint16_t           name_len; 
00111 } xcb_sync_systemcounter_t;
00112 
00116 typedef struct xcb_sync_systemcounter_iterator_t {
00117     xcb_sync_systemcounter_t *data; 
00118     int                       rem; 
00119     int                       index; 
00120 } xcb_sync_systemcounter_iterator_t;
00121 
00125 typedef struct xcb_sync_trigger_t {
00126     xcb_sync_counter_t counter; 
00127     uint32_t           wait_type; 
00128     xcb_sync_int64_t   wait_value; 
00129     uint32_t           test_type; 
00130 } xcb_sync_trigger_t;
00131 
00135 typedef struct xcb_sync_trigger_iterator_t {
00136     xcb_sync_trigger_t *data; 
00137     int                 rem; 
00138     int                 index; 
00139 } xcb_sync_trigger_iterator_t;
00140 
00144 typedef struct xcb_sync_waitcondition_t {
00145     xcb_sync_trigger_t trigger; 
00146     xcb_sync_int64_t   event_threshold; 
00147 } xcb_sync_waitcondition_t;
00148 
00152 typedef struct xcb_sync_waitcondition_iterator_t {
00153     xcb_sync_waitcondition_t *data; 
00154     int                       rem; 
00155     int                       index; 
00156 } xcb_sync_waitcondition_iterator_t;
00157 
00159 #define XCB_SYNC_COUNTER 0
00160 
00164 typedef struct xcb_sync_counter_error_t {
00165     uint8_t  response_type; 
00166     uint8_t  error_code; 
00167     uint16_t sequence; 
00168     uint32_t bad_counter; 
00169     uint16_t minor_opcode; 
00170     uint8_t  major_opcode; 
00171 } xcb_sync_counter_error_t;
00172 
00174 #define XCB_SYNC_ALARM 1
00175 
00179 typedef struct xcb_sync_alarm_error_t {
00180     uint8_t  response_type; 
00181     uint8_t  error_code; 
00182     uint16_t sequence; 
00183     uint32_t bad_alarm; 
00184     uint16_t minor_opcode; 
00185     uint8_t  major_opcode; 
00186 } xcb_sync_alarm_error_t;
00187 
00191 typedef struct xcb_sync_initialize_cookie_t {
00192     unsigned int sequence; 
00193 } xcb_sync_initialize_cookie_t;
00194 
00196 #define XCB_SYNC_INITIALIZE 0
00197 
00201 typedef struct xcb_sync_initialize_request_t {
00202     uint8_t  major_opcode; 
00203     uint8_t  minor_opcode; 
00204     uint16_t length; 
00205     uint8_t  desired_major_version; 
00206     uint8_t  desired_minor_version; 
00207 } xcb_sync_initialize_request_t;
00208 
00212 typedef struct xcb_sync_initialize_reply_t {
00213     uint8_t  response_type; 
00214     uint8_t  pad0; 
00215     uint16_t sequence; 
00216     uint32_t length; 
00217     uint8_t  major_version; 
00218     uint8_t  minor_version; 
00219     uint8_t  pad1[22]; 
00220 } xcb_sync_initialize_reply_t;
00221 
00225 typedef struct xcb_sync_list_system_counters_cookie_t {
00226     unsigned int sequence; 
00227 } xcb_sync_list_system_counters_cookie_t;
00228 
00230 #define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
00231 
00235 typedef struct xcb_sync_list_system_counters_request_t {
00236     uint8_t  major_opcode; 
00237     uint8_t  minor_opcode; 
00238     uint16_t length; 
00239 } xcb_sync_list_system_counters_request_t;
00240 
00244 typedef struct xcb_sync_list_system_counters_reply_t {
00245     uint8_t  response_type; 
00246     uint8_t  pad0; 
00247     uint16_t sequence; 
00248     uint32_t length; 
00249     uint32_t counters_len; 
00250     uint8_t  pad1[20]; 
00251 } xcb_sync_list_system_counters_reply_t;
00252 
00254 #define XCB_SYNC_CREATE_COUNTER 2
00255 
00259 typedef struct xcb_sync_create_counter_request_t {
00260     uint8_t            major_opcode; 
00261     uint8_t            minor_opcode; 
00262     uint16_t           length; 
00263     xcb_sync_counter_t id; 
00264     xcb_sync_int64_t   initial_value; 
00265 } xcb_sync_create_counter_request_t;
00266 
00268 #define XCB_SYNC_DESTROY_COUNTER 6
00269 
00273 typedef struct xcb_sync_destroy_counter_request_t {
00274     uint8_t            major_opcode; 
00275     uint8_t            minor_opcode; 
00276     uint16_t           length; 
00277     xcb_sync_counter_t counter; 
00278 } xcb_sync_destroy_counter_request_t;
00279 
00283 typedef struct xcb_sync_query_counter_cookie_t {
00284     unsigned int sequence; 
00285 } xcb_sync_query_counter_cookie_t;
00286 
00288 #define XCB_SYNC_QUERY_COUNTER 5
00289 
00293 typedef struct xcb_sync_query_counter_request_t {
00294     uint8_t            major_opcode; 
00295     uint8_t            minor_opcode; 
00296     uint16_t           length; 
00297     xcb_sync_counter_t counter; 
00298 } xcb_sync_query_counter_request_t;
00299 
00303 typedef struct xcb_sync_query_counter_reply_t {
00304     uint8_t          response_type; 
00305     uint8_t          pad0; 
00306     uint16_t         sequence; 
00307     uint32_t         length; 
00308     xcb_sync_int64_t counter_value; 
00309 } xcb_sync_query_counter_reply_t;
00310 
00312 #define XCB_SYNC_AWAIT 7
00313 
00317 typedef struct xcb_sync_await_request_t {
00318     uint8_t  major_opcode; 
00319     uint8_t  minor_opcode; 
00320     uint16_t length; 
00321 } xcb_sync_await_request_t;
00322 
00324 #define XCB_SYNC_CHANGE_COUNTER 4
00325 
00329 typedef struct xcb_sync_change_counter_request_t {
00330     uint8_t            major_opcode; 
00331     uint8_t            minor_opcode; 
00332     uint16_t           length; 
00333     xcb_sync_counter_t counter; 
00334     xcb_sync_int64_t   amount; 
00335 } xcb_sync_change_counter_request_t;
00336 
00338 #define XCB_SYNC_SET_COUNTER 3
00339 
00343 typedef struct xcb_sync_set_counter_request_t {
00344     uint8_t            major_opcode; 
00345     uint8_t            minor_opcode; 
00346     uint16_t           length; 
00347     xcb_sync_counter_t counter; 
00348     xcb_sync_int64_t   value; 
00349 } xcb_sync_set_counter_request_t;
00350 
00354 typedef struct xcb_sync_create_alarm_value_list_t {
00355     xcb_sync_counter_t counter; 
00356     uint32_t           valueType; 
00357     int64_t            value; 
00358     uint32_t           testType; 
00359     int64_t            delta; 
00360     uint32_t           events; 
00361 } xcb_sync_create_alarm_value_list_t;
00362 
00364 #define XCB_SYNC_CREATE_ALARM 8
00365 
00369 typedef struct xcb_sync_create_alarm_request_t {
00370     uint8_t          major_opcode; 
00371     uint8_t          minor_opcode; 
00372     uint16_t         length; 
00373     xcb_sync_alarm_t id; 
00374     uint32_t         value_mask; 
00375 } xcb_sync_create_alarm_request_t;
00376 
00380 typedef struct xcb_sync_change_alarm_value_list_t {
00381     xcb_sync_counter_t counter; 
00382     uint32_t           valueType; 
00383     int64_t            value; 
00384     uint32_t           testType; 
00385     int64_t            delta; 
00386     uint32_t           events; 
00387 } xcb_sync_change_alarm_value_list_t;
00388 
00390 #define XCB_SYNC_CHANGE_ALARM 9
00391 
00395 typedef struct xcb_sync_change_alarm_request_t {
00396     uint8_t          major_opcode; 
00397     uint8_t          minor_opcode; 
00398     uint16_t         length; 
00399     xcb_sync_alarm_t id; 
00400     uint32_t         value_mask; 
00401 } xcb_sync_change_alarm_request_t;
00402 
00404 #define XCB_SYNC_DESTROY_ALARM 11
00405 
00409 typedef struct xcb_sync_destroy_alarm_request_t {
00410     uint8_t          major_opcode; 
00411     uint8_t          minor_opcode; 
00412     uint16_t         length; 
00413     xcb_sync_alarm_t alarm; 
00414 } xcb_sync_destroy_alarm_request_t;
00415 
00419 typedef struct xcb_sync_query_alarm_cookie_t {
00420     unsigned int sequence; 
00421 } xcb_sync_query_alarm_cookie_t;
00422 
00424 #define XCB_SYNC_QUERY_ALARM 10
00425 
00429 typedef struct xcb_sync_query_alarm_request_t {
00430     uint8_t          major_opcode; 
00431     uint8_t          minor_opcode; 
00432     uint16_t         length; 
00433     xcb_sync_alarm_t alarm; 
00434 } xcb_sync_query_alarm_request_t;
00435 
00439 typedef struct xcb_sync_query_alarm_reply_t {
00440     uint8_t            response_type; 
00441     uint8_t            pad0; 
00442     uint16_t           sequence; 
00443     uint32_t           length; 
00444     xcb_sync_trigger_t trigger; 
00445     xcb_sync_int64_t   delta; 
00446     uint8_t            events; 
00447     uint8_t            state; 
00448     uint8_t            pad1[2]; 
00449 } xcb_sync_query_alarm_reply_t;
00450 
00452 #define XCB_SYNC_SET_PRIORITY 12
00453 
00457 typedef struct xcb_sync_set_priority_request_t {
00458     uint8_t  major_opcode; 
00459     uint8_t  minor_opcode; 
00460     uint16_t length; 
00461     uint32_t id; 
00462     int32_t  priority; 
00463 } xcb_sync_set_priority_request_t;
00464 
00468 typedef struct xcb_sync_get_priority_cookie_t {
00469     unsigned int sequence; 
00470 } xcb_sync_get_priority_cookie_t;
00471 
00473 #define XCB_SYNC_GET_PRIORITY 13
00474 
00478 typedef struct xcb_sync_get_priority_request_t {
00479     uint8_t  major_opcode; 
00480     uint8_t  minor_opcode; 
00481     uint16_t length; 
00482     uint32_t id; 
00483 } xcb_sync_get_priority_request_t;
00484 
00488 typedef struct xcb_sync_get_priority_reply_t {
00489     uint8_t  response_type; 
00490     uint8_t  pad0; 
00491     uint16_t sequence; 
00492     uint32_t length; 
00493     int32_t  priority; 
00494 } xcb_sync_get_priority_reply_t;
00495 
00497 #define XCB_SYNC_CREATE_FENCE 14
00498 
00502 typedef struct xcb_sync_create_fence_request_t {
00503     uint8_t          major_opcode; 
00504     uint8_t          minor_opcode; 
00505     uint16_t         length; 
00506     xcb_drawable_t   drawable; 
00507     xcb_sync_fence_t fence; 
00508     uint8_t          initially_triggered; 
00509 } xcb_sync_create_fence_request_t;
00510 
00512 #define XCB_SYNC_TRIGGER_FENCE 15
00513 
00517 typedef struct xcb_sync_trigger_fence_request_t {
00518     uint8_t          major_opcode; 
00519     uint8_t          minor_opcode; 
00520     uint16_t         length; 
00521     xcb_sync_fence_t fence; 
00522 } xcb_sync_trigger_fence_request_t;
00523 
00525 #define XCB_SYNC_RESET_FENCE 16
00526 
00530 typedef struct xcb_sync_reset_fence_request_t {
00531     uint8_t          major_opcode; 
00532     uint8_t          minor_opcode; 
00533     uint16_t         length; 
00534     xcb_sync_fence_t fence; 
00535 } xcb_sync_reset_fence_request_t;
00536 
00538 #define XCB_SYNC_DESTROY_FENCE 17
00539 
00543 typedef struct xcb_sync_destroy_fence_request_t {
00544     uint8_t          major_opcode; 
00545     uint8_t          minor_opcode; 
00546     uint16_t         length; 
00547     xcb_sync_fence_t fence; 
00548 } xcb_sync_destroy_fence_request_t;
00549 
00553 typedef struct xcb_sync_query_fence_cookie_t {
00554     unsigned int sequence; 
00555 } xcb_sync_query_fence_cookie_t;
00556 
00558 #define XCB_SYNC_QUERY_FENCE 18
00559 
00563 typedef struct xcb_sync_query_fence_request_t {
00564     uint8_t          major_opcode; 
00565     uint8_t          minor_opcode; 
00566     uint16_t         length; 
00567     xcb_sync_fence_t fence; 
00568 } xcb_sync_query_fence_request_t;
00569 
00573 typedef struct xcb_sync_query_fence_reply_t {
00574     uint8_t  response_type; 
00575     uint8_t  pad0; 
00576     uint16_t sequence; 
00577     uint32_t length; 
00578     uint8_t  triggered; 
00579     uint8_t  pad1[23]; 
00580 } xcb_sync_query_fence_reply_t;
00581 
00583 #define XCB_SYNC_AWAIT_FENCE 19
00584 
00588 typedef struct xcb_sync_await_fence_request_t {
00589     uint8_t  major_opcode; 
00590     uint8_t  minor_opcode; 
00591     uint16_t length; 
00592 } xcb_sync_await_fence_request_t;
00593 
00595 #define XCB_SYNC_COUNTER_NOTIFY 0
00596 
00600 typedef struct xcb_sync_counter_notify_event_t {
00601     uint8_t            response_type; 
00602     uint8_t            kind; 
00603     uint16_t           sequence; 
00604     xcb_sync_counter_t counter; 
00605     xcb_sync_int64_t   wait_value; 
00606     xcb_sync_int64_t   counter_value; 
00607     xcb_timestamp_t    timestamp; 
00608     uint16_t           count; 
00609     uint8_t            destroyed; 
00610     uint8_t            pad0; 
00611 } xcb_sync_counter_notify_event_t;
00612 
00614 #define XCB_SYNC_ALARM_NOTIFY 1
00615 
00619 typedef struct xcb_sync_alarm_notify_event_t {
00620     uint8_t          response_type; 
00621     uint8_t          kind; 
00622     uint16_t         sequence; 
00623     xcb_sync_alarm_t alarm; 
00624     xcb_sync_int64_t counter_value; 
00625     xcb_sync_int64_t alarm_value; 
00626     xcb_timestamp_t  timestamp; 
00627     uint8_t          state; 
00628     uint8_t          pad0[3]; 
00629 } xcb_sync_alarm_notify_event_t;
00630 
00640 /*****************************************************************************
00641  **
00642  ** void xcb_sync_alarm_next
00643  ** 
00644  ** @param xcb_sync_alarm_iterator_t *i
00645  ** @returns void
00646  **
00647  *****************************************************************************/
00648  
00649 void
00650 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i  );
00651 
00662 /*****************************************************************************
00663  **
00664  ** xcb_generic_iterator_t xcb_sync_alarm_end
00665  ** 
00666  ** @param xcb_sync_alarm_iterator_t i
00667  ** @returns xcb_generic_iterator_t
00668  **
00669  *****************************************************************************/
00670  
00671 xcb_generic_iterator_t
00672 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i  );
00673 
00683 /*****************************************************************************
00684  **
00685  ** void xcb_sync_counter_next
00686  ** 
00687  ** @param xcb_sync_counter_iterator_t *i
00688  ** @returns void
00689  **
00690  *****************************************************************************/
00691  
00692 void
00693 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i  );
00694 
00705 /*****************************************************************************
00706  **
00707  ** xcb_generic_iterator_t xcb_sync_counter_end
00708  ** 
00709  ** @param xcb_sync_counter_iterator_t i
00710  ** @returns xcb_generic_iterator_t
00711  **
00712  *****************************************************************************/
00713  
00714 xcb_generic_iterator_t
00715 xcb_sync_counter_end (xcb_sync_counter_iterator_t i  );
00716 
00726 /*****************************************************************************
00727  **
00728  ** void xcb_sync_fence_next
00729  ** 
00730  ** @param xcb_sync_fence_iterator_t *i
00731  ** @returns void
00732  **
00733  *****************************************************************************/
00734  
00735 void
00736 xcb_sync_fence_next (xcb_sync_fence_iterator_t *i  );
00737 
00748 /*****************************************************************************
00749  **
00750  ** xcb_generic_iterator_t xcb_sync_fence_end
00751  ** 
00752  ** @param xcb_sync_fence_iterator_t i
00753  ** @returns xcb_generic_iterator_t
00754  **
00755  *****************************************************************************/
00756  
00757 xcb_generic_iterator_t
00758 xcb_sync_fence_end (xcb_sync_fence_iterator_t i  );
00759 
00769 /*****************************************************************************
00770  **
00771  ** void xcb_sync_int64_next
00772  ** 
00773  ** @param xcb_sync_int64_iterator_t *i
00774  ** @returns void
00775  **
00776  *****************************************************************************/
00777  
00778 void
00779 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i  );
00780 
00791 /*****************************************************************************
00792  **
00793  ** xcb_generic_iterator_t xcb_sync_int64_end
00794  ** 
00795  ** @param xcb_sync_int64_iterator_t i
00796  ** @returns xcb_generic_iterator_t
00797  **
00798  *****************************************************************************/
00799  
00800 xcb_generic_iterator_t
00801 xcb_sync_int64_end (xcb_sync_int64_iterator_t i  );
00802 
00803 int
00804 xcb_sync_systemcounter_sizeof (const void  *_buffer  );
00805 
00806 
00807 /*****************************************************************************
00808  **
00809  ** char * xcb_sync_systemcounter_name
00810  ** 
00811  ** @param const xcb_sync_systemcounter_t *R
00812  ** @returns char *
00813  **
00814  *****************************************************************************/
00815  
00816 char *
00817 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R  );
00818 
00819 
00820 /*****************************************************************************
00821  **
00822  ** int xcb_sync_systemcounter_name_length
00823  ** 
00824  ** @param const xcb_sync_systemcounter_t *R
00825  ** @returns int
00826  **
00827  *****************************************************************************/
00828  
00829 int
00830 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R  );
00831 
00832 
00833 /*****************************************************************************
00834  **
00835  ** xcb_generic_iterator_t xcb_sync_systemcounter_name_end
00836  ** 
00837  ** @param const xcb_sync_systemcounter_t *R
00838  ** @returns xcb_generic_iterator_t
00839  **
00840  *****************************************************************************/
00841  
00842 xcb_generic_iterator_t
00843 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R  );
00844 
00854 /*****************************************************************************
00855  **
00856  ** void xcb_sync_systemcounter_next
00857  ** 
00858  ** @param xcb_sync_systemcounter_iterator_t *i
00859  ** @returns void
00860  **
00861  *****************************************************************************/
00862  
00863 void
00864 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i  );
00865 
00876 /*****************************************************************************
00877  **
00878  ** xcb_generic_iterator_t xcb_sync_systemcounter_end
00879  ** 
00880  ** @param xcb_sync_systemcounter_iterator_t i
00881  ** @returns xcb_generic_iterator_t
00882  **
00883  *****************************************************************************/
00884  
00885 xcb_generic_iterator_t
00886 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i  );
00887 
00897 /*****************************************************************************
00898  **
00899  ** void xcb_sync_trigger_next
00900  ** 
00901  ** @param xcb_sync_trigger_iterator_t *i
00902  ** @returns void
00903  **
00904  *****************************************************************************/
00905  
00906 void
00907 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i  );
00908 
00919 /*****************************************************************************
00920  **
00921  ** xcb_generic_iterator_t xcb_sync_trigger_end
00922  ** 
00923  ** @param xcb_sync_trigger_iterator_t i
00924  ** @returns xcb_generic_iterator_t
00925  **
00926  *****************************************************************************/
00927  
00928 xcb_generic_iterator_t
00929 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i  );
00930 
00940 /*****************************************************************************
00941  **
00942  ** void xcb_sync_waitcondition_next
00943  ** 
00944  ** @param xcb_sync_waitcondition_iterator_t *i
00945  ** @returns void
00946  **
00947  *****************************************************************************/
00948  
00949 void
00950 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i  );
00951 
00962 /*****************************************************************************
00963  **
00964  ** xcb_generic_iterator_t xcb_sync_waitcondition_end
00965  ** 
00966  ** @param xcb_sync_waitcondition_iterator_t i
00967  ** @returns xcb_generic_iterator_t
00968  **
00969  *****************************************************************************/
00970  
00971 xcb_generic_iterator_t
00972 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i  );
00973 
00983 /*****************************************************************************
00984  **
00985  ** xcb_sync_initialize_cookie_t xcb_sync_initialize
00986  ** 
00987  ** @param xcb_connection_t *c
00988  ** @param uint8_t           desired_major_version
00989  ** @param uint8_t           desired_minor_version
00990  ** @returns xcb_sync_initialize_cookie_t
00991  **
00992  *****************************************************************************/
00993  
00994 xcb_sync_initialize_cookie_t
00995 xcb_sync_initialize (xcb_connection_t *c  ,
00996                      uint8_t           desired_major_version  ,
00997                      uint8_t           desired_minor_version  );
00998 
01011 /*****************************************************************************
01012  **
01013  ** xcb_sync_initialize_cookie_t xcb_sync_initialize_unchecked
01014  ** 
01015  ** @param xcb_connection_t *c
01016  ** @param uint8_t           desired_major_version
01017  ** @param uint8_t           desired_minor_version
01018  ** @returns xcb_sync_initialize_cookie_t
01019  **
01020  *****************************************************************************/
01021  
01022 xcb_sync_initialize_cookie_t
01023 xcb_sync_initialize_unchecked (xcb_connection_t *c  ,
01024                                uint8_t           desired_major_version  ,
01025                                uint8_t           desired_minor_version  );
01026 
01042 /*****************************************************************************
01043  **
01044  ** xcb_sync_initialize_reply_t * xcb_sync_initialize_reply
01045  ** 
01046  ** @param xcb_connection_t              *c
01047  ** @param xcb_sync_initialize_cookie_t   cookie
01048  ** @param xcb_generic_error_t          **e
01049  ** @returns xcb_sync_initialize_reply_t *
01050  **
01051  *****************************************************************************/
01052  
01053 xcb_sync_initialize_reply_t *
01054 xcb_sync_initialize_reply (xcb_connection_t              *c  ,
01055                            xcb_sync_initialize_cookie_t   cookie  ,
01056                            xcb_generic_error_t          **e  );
01057 
01058 int
01059 xcb_sync_list_system_counters_sizeof (const void  *_buffer  );
01060 
01070 /*****************************************************************************
01071  **
01072  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters
01073  ** 
01074  ** @param xcb_connection_t *c
01075  ** @returns xcb_sync_list_system_counters_cookie_t
01076  **
01077  *****************************************************************************/
01078  
01079 xcb_sync_list_system_counters_cookie_t
01080 xcb_sync_list_system_counters (xcb_connection_t *c  );
01081 
01094 /*****************************************************************************
01095  **
01096  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters_unchecked
01097  ** 
01098  ** @param xcb_connection_t *c
01099  ** @returns xcb_sync_list_system_counters_cookie_t
01100  **
01101  *****************************************************************************/
01102  
01103 xcb_sync_list_system_counters_cookie_t
01104 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c  );
01105 
01106 
01107 /*****************************************************************************
01108  **
01109  ** int xcb_sync_list_system_counters_counters_length
01110  ** 
01111  ** @param const xcb_sync_list_system_counters_reply_t *R
01112  ** @returns int
01113  **
01114  *****************************************************************************/
01115  
01116 int
01117 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R  );
01118 
01119 
01120 /*****************************************************************************
01121  **
01122  ** xcb_sync_systemcounter_iterator_t xcb_sync_list_system_counters_counters_iterator
01123  ** 
01124  ** @param const xcb_sync_list_system_counters_reply_t *R
01125  ** @returns xcb_sync_systemcounter_iterator_t
01126  **
01127  *****************************************************************************/
01128  
01129 xcb_sync_systemcounter_iterator_t
01130 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R  );
01131 
01147 /*****************************************************************************
01148  **
01149  ** xcb_sync_list_system_counters_reply_t * xcb_sync_list_system_counters_reply
01150  ** 
01151  ** @param xcb_connection_t                        *c
01152  ** @param xcb_sync_list_system_counters_cookie_t   cookie
01153  ** @param xcb_generic_error_t                    **e
01154  ** @returns xcb_sync_list_system_counters_reply_t *
01155  **
01156  *****************************************************************************/
01157  
01158 xcb_sync_list_system_counters_reply_t *
01159 xcb_sync_list_system_counters_reply (xcb_connection_t                        *c  ,
01160                                      xcb_sync_list_system_counters_cookie_t   cookie  ,
01161                                      xcb_generic_error_t                    **e  );
01162 
01175 /*****************************************************************************
01176  **
01177  ** xcb_void_cookie_t xcb_sync_create_counter_checked
01178  ** 
01179  ** @param xcb_connection_t   *c
01180  ** @param xcb_sync_counter_t  id
01181  ** @param xcb_sync_int64_t    initial_value
01182  ** @returns xcb_void_cookie_t
01183  **
01184  *****************************************************************************/
01185  
01186 xcb_void_cookie_t
01187 xcb_sync_create_counter_checked (xcb_connection_t   *c  ,
01188                                  xcb_sync_counter_t  id  ,
01189                                  xcb_sync_int64_t    initial_value  );
01190 
01200 /*****************************************************************************
01201  **
01202  ** xcb_void_cookie_t xcb_sync_create_counter
01203  ** 
01204  ** @param xcb_connection_t   *c
01205  ** @param xcb_sync_counter_t  id
01206  ** @param xcb_sync_int64_t    initial_value
01207  ** @returns xcb_void_cookie_t
01208  **
01209  *****************************************************************************/
01210  
01211 xcb_void_cookie_t
01212 xcb_sync_create_counter (xcb_connection_t   *c  ,
01213                          xcb_sync_counter_t  id  ,
01214                          xcb_sync_int64_t    initial_value  );
01215 
01228 /*****************************************************************************
01229  **
01230  ** xcb_void_cookie_t xcb_sync_destroy_counter_checked
01231  ** 
01232  ** @param xcb_connection_t   *c
01233  ** @param xcb_sync_counter_t  counter
01234  ** @returns xcb_void_cookie_t
01235  **
01236  *****************************************************************************/
01237  
01238 xcb_void_cookie_t
01239 xcb_sync_destroy_counter_checked (xcb_connection_t   *c  ,
01240                                   xcb_sync_counter_t  counter  );
01241 
01251 /*****************************************************************************
01252  **
01253  ** xcb_void_cookie_t xcb_sync_destroy_counter
01254  ** 
01255  ** @param xcb_connection_t   *c
01256  ** @param xcb_sync_counter_t  counter
01257  ** @returns xcb_void_cookie_t
01258  **
01259  *****************************************************************************/
01260  
01261 xcb_void_cookie_t
01262 xcb_sync_destroy_counter (xcb_connection_t   *c  ,
01263                           xcb_sync_counter_t  counter  );
01264 
01274 /*****************************************************************************
01275  **
01276  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter
01277  ** 
01278  ** @param xcb_connection_t   *c
01279  ** @param xcb_sync_counter_t  counter
01280  ** @returns xcb_sync_query_counter_cookie_t
01281  **
01282  *****************************************************************************/
01283  
01284 xcb_sync_query_counter_cookie_t
01285 xcb_sync_query_counter (xcb_connection_t   *c  ,
01286                         xcb_sync_counter_t  counter  );
01287 
01300 /*****************************************************************************
01301  **
01302  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter_unchecked
01303  ** 
01304  ** @param xcb_connection_t   *c
01305  ** @param xcb_sync_counter_t  counter
01306  ** @returns xcb_sync_query_counter_cookie_t
01307  **
01308  *****************************************************************************/
01309  
01310 xcb_sync_query_counter_cookie_t
01311 xcb_sync_query_counter_unchecked (xcb_connection_t   *c  ,
01312                                   xcb_sync_counter_t  counter  );
01313 
01329 /*****************************************************************************
01330  **
01331  ** xcb_sync_query_counter_reply_t * xcb_sync_query_counter_reply
01332  ** 
01333  ** @param xcb_connection_t                 *c
01334  ** @param xcb_sync_query_counter_cookie_t   cookie
01335  ** @param xcb_generic_error_t             **e
01336  ** @returns xcb_sync_query_counter_reply_t *
01337  **
01338  *****************************************************************************/
01339  
01340 xcb_sync_query_counter_reply_t *
01341 xcb_sync_query_counter_reply (xcb_connection_t                 *c  ,
01342                               xcb_sync_query_counter_cookie_t   cookie  ,
01343                               xcb_generic_error_t             **e  );
01344 
01345 int
01346 xcb_sync_await_sizeof (const void  *_buffer  ,
01347                        uint32_t     wait_list_len  );
01348 
01361 /*****************************************************************************
01362  **
01363  ** xcb_void_cookie_t xcb_sync_await_checked
01364  ** 
01365  ** @param xcb_connection_t               *c
01366  ** @param uint32_t                        wait_list_len
01367  ** @param const xcb_sync_waitcondition_t *wait_list
01368  ** @returns xcb_void_cookie_t
01369  **
01370  *****************************************************************************/
01371  
01372 xcb_void_cookie_t
01373 xcb_sync_await_checked (xcb_connection_t               *c  ,
01374                         uint32_t                        wait_list_len  ,
01375                         const xcb_sync_waitcondition_t *wait_list  );
01376 
01386 /*****************************************************************************
01387  **
01388  ** xcb_void_cookie_t xcb_sync_await
01389  ** 
01390  ** @param xcb_connection_t               *c
01391  ** @param uint32_t                        wait_list_len
01392  ** @param const xcb_sync_waitcondition_t *wait_list
01393  ** @returns xcb_void_cookie_t
01394  **
01395  *****************************************************************************/
01396  
01397 xcb_void_cookie_t
01398 xcb_sync_await (xcb_connection_t               *c  ,
01399                 uint32_t                        wait_list_len  ,
01400                 const xcb_sync_waitcondition_t *wait_list  );
01401 
01414 /*****************************************************************************
01415  **
01416  ** xcb_void_cookie_t xcb_sync_change_counter_checked
01417  ** 
01418  ** @param xcb_connection_t   *c
01419  ** @param xcb_sync_counter_t  counter
01420  ** @param xcb_sync_int64_t    amount
01421  ** @returns xcb_void_cookie_t
01422  **
01423  *****************************************************************************/
01424  
01425 xcb_void_cookie_t
01426 xcb_sync_change_counter_checked (xcb_connection_t   *c  ,
01427                                  xcb_sync_counter_t  counter  ,
01428                                  xcb_sync_int64_t    amount  );
01429 
01439 /*****************************************************************************
01440  **
01441  ** xcb_void_cookie_t xcb_sync_change_counter
01442  ** 
01443  ** @param xcb_connection_t   *c
01444  ** @param xcb_sync_counter_t  counter
01445  ** @param xcb_sync_int64_t    amount
01446  ** @returns xcb_void_cookie_t
01447  **
01448  *****************************************************************************/
01449  
01450 xcb_void_cookie_t
01451 xcb_sync_change_counter (xcb_connection_t   *c  ,
01452                          xcb_sync_counter_t  counter  ,
01453                          xcb_sync_int64_t    amount  );
01454 
01467 /*****************************************************************************
01468  **
01469  ** xcb_void_cookie_t xcb_sync_set_counter_checked
01470  ** 
01471  ** @param xcb_connection_t   *c
01472  ** @param xcb_sync_counter_t  counter
01473  ** @param xcb_sync_int64_t    value
01474  ** @returns xcb_void_cookie_t
01475  **
01476  *****************************************************************************/
01477  
01478 xcb_void_cookie_t
01479 xcb_sync_set_counter_checked (xcb_connection_t   *c  ,
01480                               xcb_sync_counter_t  counter  ,
01481                               xcb_sync_int64_t    value  );
01482 
01492 /*****************************************************************************
01493  **
01494  ** xcb_void_cookie_t xcb_sync_set_counter
01495  ** 
01496  ** @param xcb_connection_t   *c
01497  ** @param xcb_sync_counter_t  counter
01498  ** @param xcb_sync_int64_t    value
01499  ** @returns xcb_void_cookie_t
01500  **
01501  *****************************************************************************/
01502  
01503 xcb_void_cookie_t
01504 xcb_sync_set_counter (xcb_connection_t   *c  ,
01505                       xcb_sync_counter_t  counter  ,
01506                       xcb_sync_int64_t    value  );
01507 
01508 int
01509 xcb_sync_create_alarm_value_list_serialize (void                                     **_buffer  ,
01510                                             uint32_t                                   value_mask  ,
01511                                             const xcb_sync_create_alarm_value_list_t  *_aux  );
01512 
01513 int
01514 xcb_sync_create_alarm_value_list_unpack (const void                          *_buffer  ,
01515                                          uint32_t                             value_mask  ,
01516                                          xcb_sync_create_alarm_value_list_t  *_aux  );
01517 
01518 int
01519 xcb_sync_create_alarm_value_list_sizeof (const void  *_buffer  ,
01520                                          uint32_t     value_mask  );
01521 
01534 /*****************************************************************************
01535  **
01536  ** xcb_void_cookie_t xcb_sync_create_alarm_checked
01537  ** 
01538  ** @param xcb_connection_t *c
01539  ** @param xcb_sync_alarm_t  id
01540  ** @param uint32_t          value_mask
01541  ** @param const void       *value_list
01542  ** @returns xcb_void_cookie_t
01543  **
01544  *****************************************************************************/
01545  
01546 xcb_void_cookie_t
01547 xcb_sync_create_alarm_checked (xcb_connection_t *c  ,
01548                                xcb_sync_alarm_t  id  ,
01549                                uint32_t          value_mask  ,
01550                                const void       *value_list  );
01551 
01561 /*****************************************************************************
01562  **
01563  ** xcb_void_cookie_t xcb_sync_create_alarm
01564  ** 
01565  ** @param xcb_connection_t *c
01566  ** @param xcb_sync_alarm_t  id
01567  ** @param uint32_t          value_mask
01568  ** @param const void       *value_list
01569  ** @returns xcb_void_cookie_t
01570  **
01571  *****************************************************************************/
01572  
01573 xcb_void_cookie_t
01574 xcb_sync_create_alarm (xcb_connection_t *c  ,
01575                        xcb_sync_alarm_t  id  ,
01576                        uint32_t          value_mask  ,
01577                        const void       *value_list  );
01578 
01591 /*****************************************************************************
01592  **
01593  ** xcb_void_cookie_t xcb_sync_create_alarm_aux_checked
01594  ** 
01595  ** @param xcb_connection_t                         *c
01596  ** @param xcb_sync_alarm_t                          id
01597  ** @param uint32_t                                  value_mask
01598  ** @param const xcb_sync_create_alarm_value_list_t *value_list
01599  ** @returns xcb_void_cookie_t
01600  **
01601  *****************************************************************************/
01602  
01603 xcb_void_cookie_t
01604 xcb_sync_create_alarm_aux_checked (xcb_connection_t                         *c  ,
01605                                    xcb_sync_alarm_t                          id  ,
01606                                    uint32_t                                  value_mask  ,
01607                                    const xcb_sync_create_alarm_value_list_t *value_list  );
01608 
01618 /*****************************************************************************
01619  **
01620  ** xcb_void_cookie_t xcb_sync_create_alarm_aux
01621  ** 
01622  ** @param xcb_connection_t                         *c
01623  ** @param xcb_sync_alarm_t                          id
01624  ** @param uint32_t                                  value_mask
01625  ** @param const xcb_sync_create_alarm_value_list_t *value_list
01626  ** @returns xcb_void_cookie_t
01627  **
01628  *****************************************************************************/
01629  
01630 xcb_void_cookie_t
01631 xcb_sync_create_alarm_aux (xcb_connection_t                         *c  ,
01632                            xcb_sync_alarm_t                          id  ,
01633                            uint32_t                                  value_mask  ,
01634                            const xcb_sync_create_alarm_value_list_t *value_list  );
01635 
01636 int
01637 xcb_sync_change_alarm_value_list_serialize (void                                     **_buffer  ,
01638                                             uint32_t                                   value_mask  ,
01639                                             const xcb_sync_change_alarm_value_list_t  *_aux  );
01640 
01641 int
01642 xcb_sync_change_alarm_value_list_unpack (const void                          *_buffer  ,
01643                                          uint32_t                             value_mask  ,
01644                                          xcb_sync_change_alarm_value_list_t  *_aux  );
01645 
01646 int
01647 xcb_sync_change_alarm_value_list_sizeof (const void  *_buffer  ,
01648                                          uint32_t     value_mask  );
01649 
01662 /*****************************************************************************
01663  **
01664  ** xcb_void_cookie_t xcb_sync_change_alarm_checked
01665  ** 
01666  ** @param xcb_connection_t *c
01667  ** @param xcb_sync_alarm_t  id
01668  ** @param uint32_t          value_mask
01669  ** @param const void       *value_list
01670  ** @returns xcb_void_cookie_t
01671  **
01672  *****************************************************************************/
01673  
01674 xcb_void_cookie_t
01675 xcb_sync_change_alarm_checked (xcb_connection_t *c  ,
01676                                xcb_sync_alarm_t  id  ,
01677                                uint32_t          value_mask  ,
01678                                const void       *value_list  );
01679 
01689 /*****************************************************************************
01690  **
01691  ** xcb_void_cookie_t xcb_sync_change_alarm
01692  ** 
01693  ** @param xcb_connection_t *c
01694  ** @param xcb_sync_alarm_t  id
01695  ** @param uint32_t          value_mask
01696  ** @param const void       *value_list
01697  ** @returns xcb_void_cookie_t
01698  **
01699  *****************************************************************************/
01700  
01701 xcb_void_cookie_t
01702 xcb_sync_change_alarm (xcb_connection_t *c  ,
01703                        xcb_sync_alarm_t  id  ,
01704                        uint32_t          value_mask  ,
01705                        const void       *value_list  );
01706 
01719 /*****************************************************************************
01720  **
01721  ** xcb_void_cookie_t xcb_sync_change_alarm_aux_checked
01722  ** 
01723  ** @param xcb_connection_t                         *c
01724  ** @param xcb_sync_alarm_t                          id
01725  ** @param uint32_t                                  value_mask
01726  ** @param const xcb_sync_change_alarm_value_list_t *value_list
01727  ** @returns xcb_void_cookie_t
01728  **
01729  *****************************************************************************/
01730  
01731 xcb_void_cookie_t
01732 xcb_sync_change_alarm_aux_checked (xcb_connection_t                         *c  ,
01733                                    xcb_sync_alarm_t                          id  ,
01734                                    uint32_t                                  value_mask  ,
01735                                    const xcb_sync_change_alarm_value_list_t *value_list  );
01736 
01746 /*****************************************************************************
01747  **
01748  ** xcb_void_cookie_t xcb_sync_change_alarm_aux
01749  ** 
01750  ** @param xcb_connection_t                         *c
01751  ** @param xcb_sync_alarm_t                          id
01752  ** @param uint32_t                                  value_mask
01753  ** @param const xcb_sync_change_alarm_value_list_t *value_list
01754  ** @returns xcb_void_cookie_t
01755  **
01756  *****************************************************************************/
01757  
01758 xcb_void_cookie_t
01759 xcb_sync_change_alarm_aux (xcb_connection_t                         *c  ,
01760                            xcb_sync_alarm_t                          id  ,
01761                            uint32_t                                  value_mask  ,
01762                            const xcb_sync_change_alarm_value_list_t *value_list  );
01763 
01776 /*****************************************************************************
01777  **
01778  ** xcb_void_cookie_t xcb_sync_destroy_alarm_checked
01779  ** 
01780  ** @param xcb_connection_t *c
01781  ** @param xcb_sync_alarm_t  alarm
01782  ** @returns xcb_void_cookie_t
01783  **
01784  *****************************************************************************/
01785  
01786 xcb_void_cookie_t
01787 xcb_sync_destroy_alarm_checked (xcb_connection_t *c  ,
01788                                 xcb_sync_alarm_t  alarm  );
01789 
01799 /*****************************************************************************
01800  **
01801  ** xcb_void_cookie_t xcb_sync_destroy_alarm
01802  ** 
01803  ** @param xcb_connection_t *c
01804  ** @param xcb_sync_alarm_t  alarm
01805  ** @returns xcb_void_cookie_t
01806  **
01807  *****************************************************************************/
01808  
01809 xcb_void_cookie_t
01810 xcb_sync_destroy_alarm (xcb_connection_t *c  ,
01811                         xcb_sync_alarm_t  alarm  );
01812 
01822 /*****************************************************************************
01823  **
01824  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm
01825  ** 
01826  ** @param xcb_connection_t *c
01827  ** @param xcb_sync_alarm_t  alarm
01828  ** @returns xcb_sync_query_alarm_cookie_t
01829  **
01830  *****************************************************************************/
01831  
01832 xcb_sync_query_alarm_cookie_t
01833 xcb_sync_query_alarm (xcb_connection_t *c  ,
01834                       xcb_sync_alarm_t  alarm  );
01835 
01848 /*****************************************************************************
01849  **
01850  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm_unchecked
01851  ** 
01852  ** @param xcb_connection_t *c
01853  ** @param xcb_sync_alarm_t  alarm
01854  ** @returns xcb_sync_query_alarm_cookie_t
01855  **
01856  *****************************************************************************/
01857  
01858 xcb_sync_query_alarm_cookie_t
01859 xcb_sync_query_alarm_unchecked (xcb_connection_t *c  ,
01860                                 xcb_sync_alarm_t  alarm  );
01861 
01877 /*****************************************************************************
01878  **
01879  ** xcb_sync_query_alarm_reply_t * xcb_sync_query_alarm_reply
01880  ** 
01881  ** @param xcb_connection_t               *c
01882  ** @param xcb_sync_query_alarm_cookie_t   cookie
01883  ** @param xcb_generic_error_t           **e
01884  ** @returns xcb_sync_query_alarm_reply_t *
01885  **
01886  *****************************************************************************/
01887  
01888 xcb_sync_query_alarm_reply_t *
01889 xcb_sync_query_alarm_reply (xcb_connection_t               *c  ,
01890                             xcb_sync_query_alarm_cookie_t   cookie  ,
01891                             xcb_generic_error_t           **e  );
01892 
01905 /*****************************************************************************
01906  **
01907  ** xcb_void_cookie_t xcb_sync_set_priority_checked
01908  ** 
01909  ** @param xcb_connection_t *c
01910  ** @param uint32_t          id
01911  ** @param int32_t           priority
01912  ** @returns xcb_void_cookie_t
01913  **
01914  *****************************************************************************/
01915  
01916 xcb_void_cookie_t
01917 xcb_sync_set_priority_checked (xcb_connection_t *c  ,
01918                                uint32_t          id  ,
01919                                int32_t           priority  );
01920 
01930 /*****************************************************************************
01931  **
01932  ** xcb_void_cookie_t xcb_sync_set_priority
01933  ** 
01934  ** @param xcb_connection_t *c
01935  ** @param uint32_t          id
01936  ** @param int32_t           priority
01937  ** @returns xcb_void_cookie_t
01938  **
01939  *****************************************************************************/
01940  
01941 xcb_void_cookie_t
01942 xcb_sync_set_priority (xcb_connection_t *c  ,
01943                        uint32_t          id  ,
01944                        int32_t           priority  );
01945 
01955 /*****************************************************************************
01956  **
01957  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority
01958  ** 
01959  ** @param xcb_connection_t *c
01960  ** @param uint32_t          id
01961  ** @returns xcb_sync_get_priority_cookie_t
01962  **
01963  *****************************************************************************/
01964  
01965 xcb_sync_get_priority_cookie_t
01966 xcb_sync_get_priority (xcb_connection_t *c  ,
01967                        uint32_t          id  );
01968 
01981 /*****************************************************************************
01982  **
01983  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority_unchecked
01984  ** 
01985  ** @param xcb_connection_t *c
01986  ** @param uint32_t          id
01987  ** @returns xcb_sync_get_priority_cookie_t
01988  **
01989  *****************************************************************************/
01990  
01991 xcb_sync_get_priority_cookie_t
01992 xcb_sync_get_priority_unchecked (xcb_connection_t *c  ,
01993                                  uint32_t          id  );
01994 
02010 /*****************************************************************************
02011  **
02012  ** xcb_sync_get_priority_reply_t * xcb_sync_get_priority_reply
02013  ** 
02014  ** @param xcb_connection_t                *c
02015  ** @param xcb_sync_get_priority_cookie_t   cookie
02016  ** @param xcb_generic_error_t            **e
02017  ** @returns xcb_sync_get_priority_reply_t *
02018  **
02019  *****************************************************************************/
02020  
02021 xcb_sync_get_priority_reply_t *
02022 xcb_sync_get_priority_reply (xcb_connection_t                *c  ,
02023                              xcb_sync_get_priority_cookie_t   cookie  ,
02024                              xcb_generic_error_t            **e  );
02025 
02038 /*****************************************************************************
02039  **
02040  ** xcb_void_cookie_t xcb_sync_create_fence_checked
02041  ** 
02042  ** @param xcb_connection_t *c
02043  ** @param xcb_drawable_t    drawable
02044  ** @param xcb_sync_fence_t  fence
02045  ** @param uint8_t           initially_triggered
02046  ** @returns xcb_void_cookie_t
02047  **
02048  *****************************************************************************/
02049  
02050 xcb_void_cookie_t
02051 xcb_sync_create_fence_checked (xcb_connection_t *c  ,
02052                                xcb_drawable_t    drawable  ,
02053                                xcb_sync_fence_t  fence  ,
02054                                uint8_t           initially_triggered  );
02055 
02065 /*****************************************************************************
02066  **
02067  ** xcb_void_cookie_t xcb_sync_create_fence
02068  ** 
02069  ** @param xcb_connection_t *c
02070  ** @param xcb_drawable_t    drawable
02071  ** @param xcb_sync_fence_t  fence
02072  ** @param uint8_t           initially_triggered
02073  ** @returns xcb_void_cookie_t
02074  **
02075  *****************************************************************************/
02076  
02077 xcb_void_cookie_t
02078 xcb_sync_create_fence (xcb_connection_t *c  ,
02079                        xcb_drawable_t    drawable  ,
02080                        xcb_sync_fence_t  fence  ,
02081                        uint8_t           initially_triggered  );
02082 
02095 /*****************************************************************************
02096  **
02097  ** xcb_void_cookie_t xcb_sync_trigger_fence_checked
02098  ** 
02099  ** @param xcb_connection_t *c
02100  ** @param xcb_sync_fence_t  fence
02101  ** @returns xcb_void_cookie_t
02102  **
02103  *****************************************************************************/
02104  
02105 xcb_void_cookie_t
02106 xcb_sync_trigger_fence_checked (xcb_connection_t *c  ,
02107                                 xcb_sync_fence_t  fence  );
02108 
02118 /*****************************************************************************
02119  **
02120  ** xcb_void_cookie_t xcb_sync_trigger_fence
02121  ** 
02122  ** @param xcb_connection_t *c
02123  ** @param xcb_sync_fence_t  fence
02124  ** @returns xcb_void_cookie_t
02125  **
02126  *****************************************************************************/
02127  
02128 xcb_void_cookie_t
02129 xcb_sync_trigger_fence (xcb_connection_t *c  ,
02130                         xcb_sync_fence_t  fence  );
02131 
02144 /*****************************************************************************
02145  **
02146  ** xcb_void_cookie_t xcb_sync_reset_fence_checked
02147  ** 
02148  ** @param xcb_connection_t *c
02149  ** @param xcb_sync_fence_t  fence
02150  ** @returns xcb_void_cookie_t
02151  **
02152  *****************************************************************************/
02153  
02154 xcb_void_cookie_t
02155 xcb_sync_reset_fence_checked (xcb_connection_t *c  ,
02156                               xcb_sync_fence_t  fence  );
02157 
02167 /*****************************************************************************
02168  **
02169  ** xcb_void_cookie_t xcb_sync_reset_fence
02170  ** 
02171  ** @param xcb_connection_t *c
02172  ** @param xcb_sync_fence_t  fence
02173  ** @returns xcb_void_cookie_t
02174  **
02175  *****************************************************************************/
02176  
02177 xcb_void_cookie_t
02178 xcb_sync_reset_fence (xcb_connection_t *c  ,
02179                       xcb_sync_fence_t  fence  );
02180 
02193 /*****************************************************************************
02194  **
02195  ** xcb_void_cookie_t xcb_sync_destroy_fence_checked
02196  ** 
02197  ** @param xcb_connection_t *c
02198  ** @param xcb_sync_fence_t  fence
02199  ** @returns xcb_void_cookie_t
02200  **
02201  *****************************************************************************/
02202  
02203 xcb_void_cookie_t
02204 xcb_sync_destroy_fence_checked (xcb_connection_t *c  ,
02205                                 xcb_sync_fence_t  fence  );
02206 
02216 /*****************************************************************************
02217  **
02218  ** xcb_void_cookie_t xcb_sync_destroy_fence
02219  ** 
02220  ** @param xcb_connection_t *c
02221  ** @param xcb_sync_fence_t  fence
02222  ** @returns xcb_void_cookie_t
02223  **
02224  *****************************************************************************/
02225  
02226 xcb_void_cookie_t
02227 xcb_sync_destroy_fence (xcb_connection_t *c  ,
02228                         xcb_sync_fence_t  fence  );
02229 
02239 /*****************************************************************************
02240  **
02241  ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence
02242  ** 
02243  ** @param xcb_connection_t *c
02244  ** @param xcb_sync_fence_t  fence
02245  ** @returns xcb_sync_query_fence_cookie_t
02246  **
02247  *****************************************************************************/
02248  
02249 xcb_sync_query_fence_cookie_t
02250 xcb_sync_query_fence (xcb_connection_t *c  ,
02251                       xcb_sync_fence_t  fence  );
02252 
02265 /*****************************************************************************
02266  **
02267  ** xcb_sync_query_fence_cookie_t xcb_sync_query_fence_unchecked
02268  ** 
02269  ** @param xcb_connection_t *c
02270  ** @param xcb_sync_fence_t  fence
02271  ** @returns xcb_sync_query_fence_cookie_t
02272  **
02273  *****************************************************************************/
02274  
02275 xcb_sync_query_fence_cookie_t
02276 xcb_sync_query_fence_unchecked (xcb_connection_t *c  ,
02277                                 xcb_sync_fence_t  fence  );
02278 
02294 /*****************************************************************************
02295  **
02296  ** xcb_sync_query_fence_reply_t * xcb_sync_query_fence_reply
02297  ** 
02298  ** @param xcb_connection_t               *c
02299  ** @param xcb_sync_query_fence_cookie_t   cookie
02300  ** @param xcb_generic_error_t           **e
02301  ** @returns xcb_sync_query_fence_reply_t *
02302  **
02303  *****************************************************************************/
02304  
02305 xcb_sync_query_fence_reply_t *
02306 xcb_sync_query_fence_reply (xcb_connection_t               *c  ,
02307                             xcb_sync_query_fence_cookie_t   cookie  ,
02308                             xcb_generic_error_t           **e  );
02309 
02310 int
02311 xcb_sync_await_fence_sizeof (const void  *_buffer  ,
02312                              uint32_t     fence_list_len  );
02313 
02326 /*****************************************************************************
02327  **
02328  ** xcb_void_cookie_t xcb_sync_await_fence_checked
02329  ** 
02330  ** @param xcb_connection_t       *c
02331  ** @param uint32_t                fence_list_len
02332  ** @param const xcb_sync_fence_t *fence_list
02333  ** @returns xcb_void_cookie_t
02334  **
02335  *****************************************************************************/
02336  
02337 xcb_void_cookie_t
02338 xcb_sync_await_fence_checked (xcb_connection_t       *c  ,
02339                               uint32_t                fence_list_len  ,
02340                               const xcb_sync_fence_t *fence_list  );
02341 
02351 /*****************************************************************************
02352  **
02353  ** xcb_void_cookie_t xcb_sync_await_fence
02354  ** 
02355  ** @param xcb_connection_t       *c
02356  ** @param uint32_t                fence_list_len
02357  ** @param const xcb_sync_fence_t *fence_list
02358  ** @returns xcb_void_cookie_t
02359  **
02360  *****************************************************************************/
02361  
02362 xcb_void_cookie_t
02363 xcb_sync_await_fence (xcb_connection_t       *c  ,
02364                       uint32_t                fence_list_len  ,
02365                       const xcb_sync_fence_t *fence_list  );
02366 
02367 
02368 #ifdef __cplusplus
02369 }
02370 #endif
02371 
02372 #endif
02373