• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

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

Generated on Mon Sep 6 2010 23:50:24 for XCB by  doxygen 1.7.1