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 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 } xcb_sync_alarm_notify_event_t;
00495 
00505 /*****************************************************************************
00506  **
00507  ** void xcb_sync_alarm_next
00508  ** 
00509  ** @param xcb_sync_alarm_iterator_t *i
00510  ** @returns void
00511  **
00512  *****************************************************************************/
00513  
00514 void
00515 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i  );
00516 
00527 /*****************************************************************************
00528  **
00529  ** xcb_generic_iterator_t xcb_sync_alarm_end
00530  ** 
00531  ** @param xcb_sync_alarm_iterator_t i
00532  ** @returns xcb_generic_iterator_t
00533  **
00534  *****************************************************************************/
00535  
00536 xcb_generic_iterator_t
00537 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i  );
00538 
00548 /*****************************************************************************
00549  **
00550  ** void xcb_sync_counter_next
00551  ** 
00552  ** @param xcb_sync_counter_iterator_t *i
00553  ** @returns void
00554  **
00555  *****************************************************************************/
00556  
00557 void
00558 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i  );
00559 
00570 /*****************************************************************************
00571  **
00572  ** xcb_generic_iterator_t xcb_sync_counter_end
00573  ** 
00574  ** @param xcb_sync_counter_iterator_t i
00575  ** @returns xcb_generic_iterator_t
00576  **
00577  *****************************************************************************/
00578  
00579 xcb_generic_iterator_t
00580 xcb_sync_counter_end (xcb_sync_counter_iterator_t i  );
00581 
00591 /*****************************************************************************
00592  **
00593  ** void xcb_sync_int64_next
00594  ** 
00595  ** @param xcb_sync_int64_iterator_t *i
00596  ** @returns void
00597  **
00598  *****************************************************************************/
00599  
00600 void
00601 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i  );
00602 
00613 /*****************************************************************************
00614  **
00615  ** xcb_generic_iterator_t xcb_sync_int64_end
00616  ** 
00617  ** @param xcb_sync_int64_iterator_t i
00618  ** @returns xcb_generic_iterator_t
00619  **
00620  *****************************************************************************/
00621  
00622 xcb_generic_iterator_t
00623 xcb_sync_int64_end (xcb_sync_int64_iterator_t i  );
00624 
00625 
00626 /*****************************************************************************
00627  **
00628  ** char * xcb_sync_systemcounter_name
00629  ** 
00630  ** @param const xcb_sync_systemcounter_t *R
00631  ** @returns char *
00632  **
00633  *****************************************************************************/
00634  
00635 char *
00636 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R  );
00637 
00638 
00639 /*****************************************************************************
00640  **
00641  ** int xcb_sync_systemcounter_name_length
00642  ** 
00643  ** @param const xcb_sync_systemcounter_t *R
00644  ** @returns int
00645  **
00646  *****************************************************************************/
00647  
00648 int
00649 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R  );
00650 
00651 
00652 /*****************************************************************************
00653  **
00654  ** xcb_generic_iterator_t xcb_sync_systemcounter_name_end
00655  ** 
00656  ** @param const xcb_sync_systemcounter_t *R
00657  ** @returns xcb_generic_iterator_t
00658  **
00659  *****************************************************************************/
00660  
00661 xcb_generic_iterator_t
00662 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R  );
00663 
00673 /*****************************************************************************
00674  **
00675  ** void xcb_sync_systemcounter_next
00676  ** 
00677  ** @param xcb_sync_systemcounter_iterator_t *i
00678  ** @returns void
00679  **
00680  *****************************************************************************/
00681  
00682 void
00683 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i  );
00684 
00695 /*****************************************************************************
00696  **
00697  ** xcb_generic_iterator_t xcb_sync_systemcounter_end
00698  ** 
00699  ** @param xcb_sync_systemcounter_iterator_t i
00700  ** @returns xcb_generic_iterator_t
00701  **
00702  *****************************************************************************/
00703  
00704 xcb_generic_iterator_t
00705 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i  );
00706 
00716 /*****************************************************************************
00717  **
00718  ** void xcb_sync_trigger_next
00719  ** 
00720  ** @param xcb_sync_trigger_iterator_t *i
00721  ** @returns void
00722  **
00723  *****************************************************************************/
00724  
00725 void
00726 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i  );
00727 
00738 /*****************************************************************************
00739  **
00740  ** xcb_generic_iterator_t xcb_sync_trigger_end
00741  ** 
00742  ** @param xcb_sync_trigger_iterator_t i
00743  ** @returns xcb_generic_iterator_t
00744  **
00745  *****************************************************************************/
00746  
00747 xcb_generic_iterator_t
00748 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i  );
00749 
00759 /*****************************************************************************
00760  **
00761  ** void xcb_sync_waitcondition_next
00762  ** 
00763  ** @param xcb_sync_waitcondition_iterator_t *i
00764  ** @returns void
00765  **
00766  *****************************************************************************/
00767  
00768 void
00769 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i  );
00770 
00781 /*****************************************************************************
00782  **
00783  ** xcb_generic_iterator_t xcb_sync_waitcondition_end
00784  ** 
00785  ** @param xcb_sync_waitcondition_iterator_t i
00786  ** @returns xcb_generic_iterator_t
00787  **
00788  *****************************************************************************/
00789  
00790 xcb_generic_iterator_t
00791 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i  );
00792 
00802 /*****************************************************************************
00803  **
00804  ** xcb_sync_initialize_cookie_t xcb_sync_initialize
00805  ** 
00806  ** @param xcb_connection_t *c
00807  ** @param uint8_t           desired_major_version
00808  ** @param uint8_t           desired_minor_version
00809  ** @returns xcb_sync_initialize_cookie_t
00810  **
00811  *****************************************************************************/
00812  
00813 xcb_sync_initialize_cookie_t
00814 xcb_sync_initialize (xcb_connection_t *c  ,
00815                      uint8_t           desired_major_version  ,
00816                      uint8_t           desired_minor_version  );
00817 
00830 /*****************************************************************************
00831  **
00832  ** xcb_sync_initialize_cookie_t xcb_sync_initialize_unchecked
00833  ** 
00834  ** @param xcb_connection_t *c
00835  ** @param uint8_t           desired_major_version
00836  ** @param uint8_t           desired_minor_version
00837  ** @returns xcb_sync_initialize_cookie_t
00838  **
00839  *****************************************************************************/
00840  
00841 xcb_sync_initialize_cookie_t
00842 xcb_sync_initialize_unchecked (xcb_connection_t *c  ,
00843                                uint8_t           desired_major_version  ,
00844                                uint8_t           desired_minor_version  );
00845 
00861 /*****************************************************************************
00862  **
00863  ** xcb_sync_initialize_reply_t * xcb_sync_initialize_reply
00864  ** 
00865  ** @param xcb_connection_t              *c
00866  ** @param xcb_sync_initialize_cookie_t   cookie
00867  ** @param xcb_generic_error_t          **e
00868  ** @returns xcb_sync_initialize_reply_t *
00869  **
00870  *****************************************************************************/
00871  
00872 xcb_sync_initialize_reply_t *
00873 xcb_sync_initialize_reply (xcb_connection_t              *c  ,
00874                            xcb_sync_initialize_cookie_t   cookie  ,
00875                            xcb_generic_error_t          **e  );
00876 
00886 /*****************************************************************************
00887  **
00888  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters
00889  ** 
00890  ** @param xcb_connection_t *c
00891  ** @returns xcb_sync_list_system_counters_cookie_t
00892  **
00893  *****************************************************************************/
00894  
00895 xcb_sync_list_system_counters_cookie_t
00896 xcb_sync_list_system_counters (xcb_connection_t *c  );
00897 
00910 /*****************************************************************************
00911  **
00912  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters_unchecked
00913  ** 
00914  ** @param xcb_connection_t *c
00915  ** @returns xcb_sync_list_system_counters_cookie_t
00916  **
00917  *****************************************************************************/
00918  
00919 xcb_sync_list_system_counters_cookie_t
00920 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c  );
00921 
00922 
00923 /*****************************************************************************
00924  **
00925  ** int xcb_sync_list_system_counters_counters_length
00926  ** 
00927  ** @param const xcb_sync_list_system_counters_reply_t *R
00928  ** @returns int
00929  **
00930  *****************************************************************************/
00931  
00932 int
00933 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R  );
00934 
00935 
00936 /*****************************************************************************
00937  **
00938  ** xcb_sync_systemcounter_iterator_t xcb_sync_list_system_counters_counters_iterator
00939  ** 
00940  ** @param const xcb_sync_list_system_counters_reply_t *R
00941  ** @returns xcb_sync_systemcounter_iterator_t
00942  **
00943  *****************************************************************************/
00944  
00945 xcb_sync_systemcounter_iterator_t
00946 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R  );
00947 
00963 /*****************************************************************************
00964  **
00965  ** xcb_sync_list_system_counters_reply_t * xcb_sync_list_system_counters_reply
00966  ** 
00967  ** @param xcb_connection_t                        *c
00968  ** @param xcb_sync_list_system_counters_cookie_t   cookie
00969  ** @param xcb_generic_error_t                    **e
00970  ** @returns xcb_sync_list_system_counters_reply_t *
00971  **
00972  *****************************************************************************/
00973  
00974 xcb_sync_list_system_counters_reply_t *
00975 xcb_sync_list_system_counters_reply (xcb_connection_t                        *c  ,
00976                                      xcb_sync_list_system_counters_cookie_t   cookie  ,
00977                                      xcb_generic_error_t                    **e  );
00978 
00991 /*****************************************************************************
00992  **
00993  ** xcb_void_cookie_t xcb_sync_create_counter_checked
00994  ** 
00995  ** @param xcb_connection_t   *c
00996  ** @param xcb_sync_counter_t  id
00997  ** @param xcb_sync_int64_t    initial_value
00998  ** @returns xcb_void_cookie_t
00999  **
01000  *****************************************************************************/
01001  
01002 xcb_void_cookie_t
01003 xcb_sync_create_counter_checked (xcb_connection_t   *c  ,
01004                                  xcb_sync_counter_t  id  ,
01005                                  xcb_sync_int64_t    initial_value  );
01006 
01016 /*****************************************************************************
01017  **
01018  ** xcb_void_cookie_t xcb_sync_create_counter
01019  ** 
01020  ** @param xcb_connection_t   *c
01021  ** @param xcb_sync_counter_t  id
01022  ** @param xcb_sync_int64_t    initial_value
01023  ** @returns xcb_void_cookie_t
01024  **
01025  *****************************************************************************/
01026  
01027 xcb_void_cookie_t
01028 xcb_sync_create_counter (xcb_connection_t   *c  ,
01029                          xcb_sync_counter_t  id  ,
01030                          xcb_sync_int64_t    initial_value  );
01031 
01044 /*****************************************************************************
01045  **
01046  ** xcb_void_cookie_t xcb_sync_destroy_counter_checked
01047  ** 
01048  ** @param xcb_connection_t   *c
01049  ** @param xcb_sync_counter_t  counter
01050  ** @returns xcb_void_cookie_t
01051  **
01052  *****************************************************************************/
01053  
01054 xcb_void_cookie_t
01055 xcb_sync_destroy_counter_checked (xcb_connection_t   *c  ,
01056                                   xcb_sync_counter_t  counter  );
01057 
01067 /*****************************************************************************
01068  **
01069  ** xcb_void_cookie_t xcb_sync_destroy_counter
01070  ** 
01071  ** @param xcb_connection_t   *c
01072  ** @param xcb_sync_counter_t  counter
01073  ** @returns xcb_void_cookie_t
01074  **
01075  *****************************************************************************/
01076  
01077 xcb_void_cookie_t
01078 xcb_sync_destroy_counter (xcb_connection_t   *c  ,
01079                           xcb_sync_counter_t  counter  );
01080 
01090 /*****************************************************************************
01091  **
01092  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter
01093  ** 
01094  ** @param xcb_connection_t   *c
01095  ** @param xcb_sync_counter_t  counter
01096  ** @returns xcb_sync_query_counter_cookie_t
01097  **
01098  *****************************************************************************/
01099  
01100 xcb_sync_query_counter_cookie_t
01101 xcb_sync_query_counter (xcb_connection_t   *c  ,
01102                         xcb_sync_counter_t  counter  );
01103 
01116 /*****************************************************************************
01117  **
01118  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter_unchecked
01119  ** 
01120  ** @param xcb_connection_t   *c
01121  ** @param xcb_sync_counter_t  counter
01122  ** @returns xcb_sync_query_counter_cookie_t
01123  **
01124  *****************************************************************************/
01125  
01126 xcb_sync_query_counter_cookie_t
01127 xcb_sync_query_counter_unchecked (xcb_connection_t   *c  ,
01128                                   xcb_sync_counter_t  counter  );
01129 
01145 /*****************************************************************************
01146  **
01147  ** xcb_sync_query_counter_reply_t * xcb_sync_query_counter_reply
01148  ** 
01149  ** @param xcb_connection_t                 *c
01150  ** @param xcb_sync_query_counter_cookie_t   cookie
01151  ** @param xcb_generic_error_t             **e
01152  ** @returns xcb_sync_query_counter_reply_t *
01153  **
01154  *****************************************************************************/
01155  
01156 xcb_sync_query_counter_reply_t *
01157 xcb_sync_query_counter_reply (xcb_connection_t                 *c  ,
01158                               xcb_sync_query_counter_cookie_t   cookie  ,
01159                               xcb_generic_error_t             **e  );
01160 
01173 /*****************************************************************************
01174  **
01175  ** xcb_void_cookie_t xcb_sync_await_checked
01176  ** 
01177  ** @param xcb_connection_t               *c
01178  ** @param uint32_t                        wait_list_len
01179  ** @param const xcb_sync_waitcondition_t *wait_list
01180  ** @returns xcb_void_cookie_t
01181  **
01182  *****************************************************************************/
01183  
01184 xcb_void_cookie_t
01185 xcb_sync_await_checked (xcb_connection_t               *c  ,
01186                         uint32_t                        wait_list_len  ,
01187                         const xcb_sync_waitcondition_t *wait_list  );
01188 
01198 /*****************************************************************************
01199  **
01200  ** xcb_void_cookie_t xcb_sync_await
01201  ** 
01202  ** @param xcb_connection_t               *c
01203  ** @param uint32_t                        wait_list_len
01204  ** @param const xcb_sync_waitcondition_t *wait_list
01205  ** @returns xcb_void_cookie_t
01206  **
01207  *****************************************************************************/
01208  
01209 xcb_void_cookie_t
01210 xcb_sync_await (xcb_connection_t               *c  ,
01211                 uint32_t                        wait_list_len  ,
01212                 const xcb_sync_waitcondition_t *wait_list  );
01213 
01226 /*****************************************************************************
01227  **
01228  ** xcb_void_cookie_t xcb_sync_change_counter_checked
01229  ** 
01230  ** @param xcb_connection_t   *c
01231  ** @param xcb_sync_counter_t  counter
01232  ** @param xcb_sync_int64_t    amount
01233  ** @returns xcb_void_cookie_t
01234  **
01235  *****************************************************************************/
01236  
01237 xcb_void_cookie_t
01238 xcb_sync_change_counter_checked (xcb_connection_t   *c  ,
01239                                  xcb_sync_counter_t  counter  ,
01240                                  xcb_sync_int64_t    amount  );
01241 
01251 /*****************************************************************************
01252  **
01253  ** xcb_void_cookie_t xcb_sync_change_counter
01254  ** 
01255  ** @param xcb_connection_t   *c
01256  ** @param xcb_sync_counter_t  counter
01257  ** @param xcb_sync_int64_t    amount
01258  ** @returns xcb_void_cookie_t
01259  **
01260  *****************************************************************************/
01261  
01262 xcb_void_cookie_t
01263 xcb_sync_change_counter (xcb_connection_t   *c  ,
01264                          xcb_sync_counter_t  counter  ,
01265                          xcb_sync_int64_t    amount  );
01266 
01279 /*****************************************************************************
01280  **
01281  ** xcb_void_cookie_t xcb_sync_set_counter_checked
01282  ** 
01283  ** @param xcb_connection_t   *c
01284  ** @param xcb_sync_counter_t  counter
01285  ** @param xcb_sync_int64_t    value
01286  ** @returns xcb_void_cookie_t
01287  **
01288  *****************************************************************************/
01289  
01290 xcb_void_cookie_t
01291 xcb_sync_set_counter_checked (xcb_connection_t   *c  ,
01292                               xcb_sync_counter_t  counter  ,
01293                               xcb_sync_int64_t    value  );
01294 
01304 /*****************************************************************************
01305  **
01306  ** xcb_void_cookie_t xcb_sync_set_counter
01307  ** 
01308  ** @param xcb_connection_t   *c
01309  ** @param xcb_sync_counter_t  counter
01310  ** @param xcb_sync_int64_t    value
01311  ** @returns xcb_void_cookie_t
01312  **
01313  *****************************************************************************/
01314  
01315 xcb_void_cookie_t
01316 xcb_sync_set_counter (xcb_connection_t   *c  ,
01317                       xcb_sync_counter_t  counter  ,
01318                       xcb_sync_int64_t    value  );
01319 
01332 /*****************************************************************************
01333  **
01334  ** xcb_void_cookie_t xcb_sync_create_alarm_checked
01335  ** 
01336  ** @param xcb_connection_t *c
01337  ** @param xcb_sync_alarm_t  id
01338  ** @param uint32_t          value_mask
01339  ** @param const uint32_t   *value_list
01340  ** @returns xcb_void_cookie_t
01341  **
01342  *****************************************************************************/
01343  
01344 xcb_void_cookie_t
01345 xcb_sync_create_alarm_checked (xcb_connection_t *c  ,
01346                                xcb_sync_alarm_t  id  ,
01347                                uint32_t          value_mask  ,
01348                                const uint32_t   *value_list  );
01349 
01359 /*****************************************************************************
01360  **
01361  ** xcb_void_cookie_t xcb_sync_create_alarm
01362  ** 
01363  ** @param xcb_connection_t *c
01364  ** @param xcb_sync_alarm_t  id
01365  ** @param uint32_t          value_mask
01366  ** @param const uint32_t   *value_list
01367  ** @returns xcb_void_cookie_t
01368  **
01369  *****************************************************************************/
01370  
01371 xcb_void_cookie_t
01372 xcb_sync_create_alarm (xcb_connection_t *c  ,
01373                        xcb_sync_alarm_t  id  ,
01374                        uint32_t          value_mask  ,
01375                        const uint32_t   *value_list  );
01376 
01389 /*****************************************************************************
01390  **
01391  ** xcb_void_cookie_t xcb_sync_change_alarm_checked
01392  ** 
01393  ** @param xcb_connection_t *c
01394  ** @param xcb_sync_alarm_t  id
01395  ** @param uint32_t          value_mask
01396  ** @param const uint32_t   *value_list
01397  ** @returns xcb_void_cookie_t
01398  **
01399  *****************************************************************************/
01400  
01401 xcb_void_cookie_t
01402 xcb_sync_change_alarm_checked (xcb_connection_t *c  ,
01403                                xcb_sync_alarm_t  id  ,
01404                                uint32_t          value_mask  ,
01405                                const uint32_t   *value_list  );
01406 
01416 /*****************************************************************************
01417  **
01418  ** xcb_void_cookie_t xcb_sync_change_alarm
01419  ** 
01420  ** @param xcb_connection_t *c
01421  ** @param xcb_sync_alarm_t  id
01422  ** @param uint32_t          value_mask
01423  ** @param const uint32_t   *value_list
01424  ** @returns xcb_void_cookie_t
01425  **
01426  *****************************************************************************/
01427  
01428 xcb_void_cookie_t
01429 xcb_sync_change_alarm (xcb_connection_t *c  ,
01430                        xcb_sync_alarm_t  id  ,
01431                        uint32_t          value_mask  ,
01432                        const uint32_t   *value_list  );
01433 
01446 /*****************************************************************************
01447  **
01448  ** xcb_void_cookie_t xcb_sync_destroy_alarm_checked
01449  ** 
01450  ** @param xcb_connection_t *c
01451  ** @param xcb_sync_alarm_t  alarm
01452  ** @returns xcb_void_cookie_t
01453  **
01454  *****************************************************************************/
01455  
01456 xcb_void_cookie_t
01457 xcb_sync_destroy_alarm_checked (xcb_connection_t *c  ,
01458                                 xcb_sync_alarm_t  alarm  );
01459 
01469 /*****************************************************************************
01470  **
01471  ** xcb_void_cookie_t xcb_sync_destroy_alarm
01472  ** 
01473  ** @param xcb_connection_t *c
01474  ** @param xcb_sync_alarm_t  alarm
01475  ** @returns xcb_void_cookie_t
01476  **
01477  *****************************************************************************/
01478  
01479 xcb_void_cookie_t
01480 xcb_sync_destroy_alarm (xcb_connection_t *c  ,
01481                         xcb_sync_alarm_t  alarm  );
01482 
01492 /*****************************************************************************
01493  **
01494  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm
01495  ** 
01496  ** @param xcb_connection_t *c
01497  ** @param xcb_sync_alarm_t  alarm
01498  ** @returns xcb_sync_query_alarm_cookie_t
01499  **
01500  *****************************************************************************/
01501  
01502 xcb_sync_query_alarm_cookie_t
01503 xcb_sync_query_alarm (xcb_connection_t *c  ,
01504                       xcb_sync_alarm_t  alarm  );
01505 
01518 /*****************************************************************************
01519  **
01520  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm_unchecked
01521  ** 
01522  ** @param xcb_connection_t *c
01523  ** @param xcb_sync_alarm_t  alarm
01524  ** @returns xcb_sync_query_alarm_cookie_t
01525  **
01526  *****************************************************************************/
01527  
01528 xcb_sync_query_alarm_cookie_t
01529 xcb_sync_query_alarm_unchecked (xcb_connection_t *c  ,
01530                                 xcb_sync_alarm_t  alarm  );
01531 
01547 /*****************************************************************************
01548  **
01549  ** xcb_sync_query_alarm_reply_t * xcb_sync_query_alarm_reply
01550  ** 
01551  ** @param xcb_connection_t               *c
01552  ** @param xcb_sync_query_alarm_cookie_t   cookie
01553  ** @param xcb_generic_error_t           **e
01554  ** @returns xcb_sync_query_alarm_reply_t *
01555  **
01556  *****************************************************************************/
01557  
01558 xcb_sync_query_alarm_reply_t *
01559 xcb_sync_query_alarm_reply (xcb_connection_t               *c  ,
01560                             xcb_sync_query_alarm_cookie_t   cookie  ,
01561                             xcb_generic_error_t           **e  );
01562 
01575 /*****************************************************************************
01576  **
01577  ** xcb_void_cookie_t xcb_sync_set_priority_checked
01578  ** 
01579  ** @param xcb_connection_t *c
01580  ** @param uint32_t          id
01581  ** @param int32_t           priority
01582  ** @returns xcb_void_cookie_t
01583  **
01584  *****************************************************************************/
01585  
01586 xcb_void_cookie_t
01587 xcb_sync_set_priority_checked (xcb_connection_t *c  ,
01588                                uint32_t          id  ,
01589                                int32_t           priority  );
01590 
01600 /*****************************************************************************
01601  **
01602  ** xcb_void_cookie_t xcb_sync_set_priority
01603  ** 
01604  ** @param xcb_connection_t *c
01605  ** @param uint32_t          id
01606  ** @param int32_t           priority
01607  ** @returns xcb_void_cookie_t
01608  **
01609  *****************************************************************************/
01610  
01611 xcb_void_cookie_t
01612 xcb_sync_set_priority (xcb_connection_t *c  ,
01613                        uint32_t          id  ,
01614                        int32_t           priority  );
01615 
01625 /*****************************************************************************
01626  **
01627  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority
01628  ** 
01629  ** @param xcb_connection_t *c
01630  ** @param uint32_t          id
01631  ** @returns xcb_sync_get_priority_cookie_t
01632  **
01633  *****************************************************************************/
01634  
01635 xcb_sync_get_priority_cookie_t
01636 xcb_sync_get_priority (xcb_connection_t *c  ,
01637                        uint32_t          id  );
01638 
01651 /*****************************************************************************
01652  **
01653  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority_unchecked
01654  ** 
01655  ** @param xcb_connection_t *c
01656  ** @param uint32_t          id
01657  ** @returns xcb_sync_get_priority_cookie_t
01658  **
01659  *****************************************************************************/
01660  
01661 xcb_sync_get_priority_cookie_t
01662 xcb_sync_get_priority_unchecked (xcb_connection_t *c  ,
01663                                  uint32_t          id  );
01664 
01680 /*****************************************************************************
01681  **
01682  ** xcb_sync_get_priority_reply_t * xcb_sync_get_priority_reply
01683  ** 
01684  ** @param xcb_connection_t                *c
01685  ** @param xcb_sync_get_priority_cookie_t   cookie
01686  ** @param xcb_generic_error_t            **e
01687  ** @returns xcb_sync_get_priority_reply_t *
01688  **
01689  *****************************************************************************/
01690  
01691 xcb_sync_get_priority_reply_t *
01692 xcb_sync_get_priority_reply (xcb_connection_t                *c  ,
01693                              xcb_sync_get_priority_cookie_t   cookie  ,
01694                              xcb_generic_error_t            **e  );
01695 
01696 
01697 #ifdef __cplusplus
01698 }
01699 #endif
01700 
01701 #endif
01702 

Generated on Mon Apr 13 21:43:58 2009 for XCB by  doxygen 1.5.4