sync.h

00001 /*
00002  * This file generated automatically from sync.xml by c-client.xsl using XSLT.
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 #define XCB_SYNC_MAJOR_VERSION 3
00019 #define XCB_SYNC_MINOR_VERSION 0
00020   
00021 extern xcb_extension_t xcb_sync_id;
00022 
00023 typedef uint32_t xcb_sync_alarm_t;
00024 
00028 typedef struct xcb_sync_alarm_iterator_t {
00029     xcb_sync_alarm_t *data; 
00030     int               rem; 
00031     int               index; 
00032 } xcb_sync_alarm_iterator_t;
00033 
00034 typedef enum xcb_sync_alarmstate_t {
00035     XCB_SYNC_ALARMSTATE_ACTIVE,
00036     XCB_SYNC_ALARMSTATE_INACTIVE,
00037     XCB_SYNC_ALARMSTATE_DESTROYED
00038 } xcb_sync_alarmstate_t;
00039 
00040 typedef uint32_t xcb_sync_counter_t;
00041 
00045 typedef struct xcb_sync_counter_iterator_t {
00046     xcb_sync_counter_t *data; 
00047     int                 rem; 
00048     int                 index; 
00049 } xcb_sync_counter_iterator_t;
00050 
00051 typedef enum xcb_sync_testtype_t {
00052     XCB_SYNC_TESTTYPE_POSITIVE_TRANSITION,
00053     XCB_SYNC_TESTTYPE_NEGATIVE_TRANSITION,
00054     XCB_SYNC_TESTTYPE_POSITIVE_COMPARISON,
00055     XCB_SYNC_TESTTYPE_NEGATIVE_COMPARISON
00056 } xcb_sync_testtype_t;
00057 
00058 typedef enum xcb_sync_valuetype_t {
00059     XCB_SYNC_VALUETYPE_ABSOLUTE,
00060     XCB_SYNC_VALUETYPE_RELATIVE
00061 } xcb_sync_valuetype_t;
00062 
00063 typedef enum xcb_sync_ca_t {
00064     XCB_SYNC_CA_COUNTER = (1 << 0),
00065     XCB_SYNC_CA_VALUE_TYPE = (1 << 1),
00066     XCB_SYNC_CA_VALUE = (1 << 2),
00067     XCB_SYNC_CA_TEST_TYPE = (1 << 3),
00068     XCB_SYNC_CA_DELTA = (1 << 4),
00069     XCB_SYNC_CA_EVENTS = (1 << 5)
00070 } xcb_sync_ca_t;
00071 
00075 typedef struct xcb_sync_int64_t {
00076     int32_t  hi; 
00077     uint32_t lo; 
00078 } xcb_sync_int64_t;
00079 
00083 typedef struct xcb_sync_int64_iterator_t {
00084     xcb_sync_int64_t *data; 
00085     int               rem; 
00086     int               index; 
00087 } xcb_sync_int64_iterator_t;
00088 
00092 typedef struct xcb_sync_systemcounter_t {
00093     xcb_sync_counter_t counter; 
00094     xcb_sync_int64_t   resolution; 
00095     uint16_t           name_len; 
00096 } xcb_sync_systemcounter_t;
00097 
00101 typedef struct xcb_sync_systemcounter_iterator_t {
00102     xcb_sync_systemcounter_t *data; 
00103     int                       rem; 
00104     int                       index; 
00105 } xcb_sync_systemcounter_iterator_t;
00106 
00110 typedef struct xcb_sync_trigger_t {
00111     xcb_sync_counter_t   counter; 
00112     xcb_sync_valuetype_t wait_type; 
00113     xcb_sync_int64_t     wait_value; 
00114     xcb_sync_testtype_t  test_type; 
00115 } xcb_sync_trigger_t;
00116 
00120 typedef struct xcb_sync_trigger_iterator_t {
00121     xcb_sync_trigger_t *data; 
00122     int                 rem; 
00123     int                 index; 
00124 } xcb_sync_trigger_iterator_t;
00125 
00129 typedef struct xcb_sync_waitcondition_t {
00130     xcb_sync_trigger_t trigger; 
00131     xcb_sync_int64_t   event_threshold; 
00132 } xcb_sync_waitcondition_t;
00133 
00137 typedef struct xcb_sync_waitcondition_iterator_t {
00138     xcb_sync_waitcondition_t *data; 
00139     int                       rem; 
00140     int                       index; 
00141 } xcb_sync_waitcondition_iterator_t;
00142 
00144 #define XCB_SYNC_COUNTER 0
00145 
00149 typedef struct xcb_sync_counter_error_t {
00150     uint8_t  response_type; 
00151     uint8_t  error_code; 
00152     uint16_t sequence; 
00153     uint32_t bad_counter; 
00154     uint16_t minor_opcode; 
00155     uint8_t  major_opcode; 
00156 } xcb_sync_counter_error_t;
00157 
00159 #define XCB_SYNC_ALARM 1
00160 
00164 typedef struct xcb_sync_alarm_error_t {
00165     uint8_t  response_type; 
00166     uint8_t  error_code; 
00167     uint16_t sequence; 
00168     uint32_t bad_alarm; 
00169     uint16_t minor_opcode; 
00170     uint8_t  major_opcode; 
00171 } xcb_sync_alarm_error_t;
00172 
00176 typedef struct xcb_sync_initialize_cookie_t {
00177     unsigned int sequence; 
00178 } xcb_sync_initialize_cookie_t;
00179 
00181 #define XCB_SYNC_INITIALIZE 0
00182 
00186 typedef struct xcb_sync_initialize_request_t {
00187     uint8_t  major_opcode; 
00188     uint8_t  minor_opcode; 
00189     uint16_t length; 
00190 } xcb_sync_initialize_request_t;
00191 
00195 typedef struct xcb_sync_initialize_reply_t {
00196     uint8_t  response_type; 
00197     uint8_t  pad0; 
00198     uint16_t sequence; 
00199     uint32_t length; 
00200     uint8_t  major_version; 
00201     uint8_t  minor_version; 
00202 } xcb_sync_initialize_reply_t;
00203 
00207 typedef struct xcb_sync_list_system_counters_cookie_t {
00208     unsigned int sequence; 
00209 } xcb_sync_list_system_counters_cookie_t;
00210 
00212 #define XCB_SYNC_LIST_SYSTEM_COUNTERS 1
00213 
00217 typedef struct xcb_sync_list_system_counters_request_t {
00218     uint8_t  major_opcode; 
00219     uint8_t  minor_opcode; 
00220     uint16_t length; 
00221 } xcb_sync_list_system_counters_request_t;
00222 
00226 typedef struct xcb_sync_list_system_counters_reply_t {
00227     uint8_t  response_type; 
00228     uint8_t  pad0; 
00229     uint16_t sequence; 
00230     uint32_t length; 
00231     uint32_t counters_len; 
00232     uint8_t  pad1[20]; 
00233 } xcb_sync_list_system_counters_reply_t;
00234 
00236 #define XCB_SYNC_CREATE_COUNTER 2
00237 
00241 typedef struct xcb_sync_create_counter_request_t {
00242     uint8_t            major_opcode; 
00243     uint8_t            minor_opcode; 
00244     uint16_t           length; 
00245     xcb_sync_counter_t id; 
00246     xcb_sync_int64_t   initial_value; 
00247 } xcb_sync_create_counter_request_t;
00248 
00250 #define XCB_SYNC_DESTROY_COUNTER 6
00251 
00255 typedef struct xcb_sync_destroy_counter_request_t {
00256     uint8_t            major_opcode; 
00257     uint8_t            minor_opcode; 
00258     uint16_t           length; 
00259     xcb_sync_counter_t counter; 
00260 } xcb_sync_destroy_counter_request_t;
00261 
00265 typedef struct xcb_sync_query_counter_cookie_t {
00266     unsigned int sequence; 
00267 } xcb_sync_query_counter_cookie_t;
00268 
00270 #define XCB_SYNC_QUERY_COUNTER 5
00271 
00275 typedef struct xcb_sync_query_counter_request_t {
00276     uint8_t            major_opcode; 
00277     uint8_t            minor_opcode; 
00278     uint16_t           length; 
00279     xcb_sync_counter_t counter; 
00280 } xcb_sync_query_counter_request_t;
00281 
00285 typedef struct xcb_sync_query_counter_reply_t {
00286     uint8_t          response_type; 
00287     uint8_t          pad0; 
00288     uint16_t         sequence; 
00289     uint32_t         length; 
00290     xcb_sync_int64_t counter_value; 
00291 } xcb_sync_query_counter_reply_t;
00292 
00294 #define XCB_SYNC_AWAIT 7
00295 
00299 typedef struct xcb_sync_await_request_t {
00300     uint8_t  major_opcode; 
00301     uint8_t  minor_opcode; 
00302     uint16_t length; 
00303 } xcb_sync_await_request_t;
00304 
00306 #define XCB_SYNC_CHANGE_COUNTER 4
00307 
00311 typedef struct xcb_sync_change_counter_request_t {
00312     uint8_t            major_opcode; 
00313     uint8_t            minor_opcode; 
00314     uint16_t           length; 
00315     xcb_sync_counter_t counter; 
00316     xcb_sync_int64_t   amount; 
00317 } xcb_sync_change_counter_request_t;
00318 
00320 #define XCB_SYNC_SET_COUNTER 3
00321 
00325 typedef struct xcb_sync_set_counter_request_t {
00326     uint8_t            major_opcode; 
00327     uint8_t            minor_opcode; 
00328     uint16_t           length; 
00329     xcb_sync_counter_t counter; 
00330     xcb_sync_int64_t   value; 
00331 } xcb_sync_set_counter_request_t;
00332 
00334 #define XCB_SYNC_CREATE_ALARM 8
00335 
00339 typedef struct xcb_sync_create_alarm_request_t {
00340     uint8_t          major_opcode; 
00341     uint8_t          minor_opcode; 
00342     uint16_t         length; 
00343     xcb_sync_alarm_t id; 
00344     uint32_t         value_mask; 
00345 } xcb_sync_create_alarm_request_t;
00346 
00348 #define XCB_SYNC_CHANGE_ALARM 9
00349 
00353 typedef struct xcb_sync_change_alarm_request_t {
00354     uint8_t          major_opcode; 
00355     uint8_t          minor_opcode; 
00356     uint16_t         length; 
00357     xcb_sync_alarm_t id; 
00358     uint32_t         value_mask; 
00359 } xcb_sync_change_alarm_request_t;
00360 
00362 #define XCB_SYNC_DESTROY_ALARM 11
00363 
00367 typedef struct xcb_sync_destroy_alarm_request_t {
00368     uint8_t          major_opcode; 
00369     uint8_t          minor_opcode; 
00370     uint16_t         length; 
00371     xcb_sync_alarm_t alarm; 
00372 } xcb_sync_destroy_alarm_request_t;
00373 
00377 typedef struct xcb_sync_query_alarm_cookie_t {
00378     unsigned int sequence; 
00379 } xcb_sync_query_alarm_cookie_t;
00380 
00382 #define XCB_SYNC_QUERY_ALARM 10
00383 
00387 typedef struct xcb_sync_query_alarm_request_t {
00388     uint8_t          major_opcode; 
00389     uint8_t          minor_opcode; 
00390     uint16_t         length; 
00391     xcb_sync_alarm_t alarm; 
00392 } xcb_sync_query_alarm_request_t;
00393 
00397 typedef struct xcb_sync_query_alarm_reply_t {
00398     uint8_t               response_type; 
00399     uint8_t               pad0; 
00400     uint16_t              sequence; 
00401     uint32_t              length; 
00402     xcb_sync_trigger_t    trigger; 
00403     xcb_sync_int64_t      delta; 
00404     uint8_t               events; 
00405     xcb_sync_alarmstate_t state; 
00406 } xcb_sync_query_alarm_reply_t;
00407 
00409 #define XCB_SYNC_SET_PRIORITY 12
00410 
00414 typedef struct xcb_sync_set_priority_request_t {
00415     uint8_t  major_opcode; 
00416     uint8_t  minor_opcode; 
00417     uint16_t length; 
00418     uint32_t id; 
00419     int32_t  priority; 
00420 } xcb_sync_set_priority_request_t;
00421 
00425 typedef struct xcb_sync_get_priority_cookie_t {
00426     unsigned int sequence; 
00427 } xcb_sync_get_priority_cookie_t;
00428 
00430 #define XCB_SYNC_GET_PRIORITY 13
00431 
00435 typedef struct xcb_sync_get_priority_request_t {
00436     uint8_t  major_opcode; 
00437     uint8_t  minor_opcode; 
00438     uint16_t length; 
00439     uint32_t id; 
00440 } xcb_sync_get_priority_request_t;
00441 
00445 typedef struct xcb_sync_get_priority_reply_t {
00446     uint8_t  response_type; 
00447     uint8_t  pad0; 
00448     uint16_t sequence; 
00449     uint32_t length; 
00450     int32_t  priority; 
00451 } xcb_sync_get_priority_reply_t;
00452 
00454 #define XCB_SYNC_COUNTER_NOTIFY 0
00455 
00459 typedef struct xcb_sync_counter_notify_event_t {
00460     uint8_t            response_type; 
00461     uint8_t            kind; 
00462     uint16_t           sequence; 
00463     xcb_sync_counter_t counter; 
00464     xcb_sync_int64_t   wait_value; 
00465     xcb_sync_int64_t   counter_value; 
00466     xcb_timestamp_t    timestamp; 
00467     uint16_t           count; 
00468     uint8_t            destroyed; 
00469 } xcb_sync_counter_notify_event_t;
00470 
00472 #define XCB_SYNC_ALARM_NOTIFY 1
00473 
00477 typedef struct xcb_sync_alarm_notify_event_t {
00478     uint8_t          response_type; 
00479     uint8_t          kind; 
00480     uint16_t         sequence; 
00481     xcb_sync_alarm_t alarm; 
00482     xcb_sync_int64_t counter_value; 
00483     xcb_sync_int64_t alarm_value; 
00484     xcb_timestamp_t  timestamp; 
00485 } xcb_sync_alarm_notify_event_t;
00486 
00487 
00488 /*****************************************************************************
00489  **
00490  ** void xcb_sync_alarm_next
00491  ** 
00492  ** @param xcb_sync_alarm_iterator_t *i
00493  ** @returns void
00494  **
00495  *****************************************************************************/
00496  
00497 void
00498 xcb_sync_alarm_next (xcb_sync_alarm_iterator_t *i  );
00499 
00500 
00501 /*****************************************************************************
00502  **
00503  ** xcb_generic_iterator_t xcb_sync_alarm_end
00504  ** 
00505  ** @param xcb_sync_alarm_iterator_t i
00506  ** @returns xcb_generic_iterator_t
00507  **
00508  *****************************************************************************/
00509  
00510 xcb_generic_iterator_t
00511 xcb_sync_alarm_end (xcb_sync_alarm_iterator_t i  );
00512 
00513 
00514 /*****************************************************************************
00515  **
00516  ** void xcb_sync_counter_next
00517  ** 
00518  ** @param xcb_sync_counter_iterator_t *i
00519  ** @returns void
00520  **
00521  *****************************************************************************/
00522  
00523 void
00524 xcb_sync_counter_next (xcb_sync_counter_iterator_t *i  );
00525 
00526 
00527 /*****************************************************************************
00528  **
00529  ** xcb_generic_iterator_t xcb_sync_counter_end
00530  ** 
00531  ** @param xcb_sync_counter_iterator_t i
00532  ** @returns xcb_generic_iterator_t
00533  **
00534  *****************************************************************************/
00535  
00536 xcb_generic_iterator_t
00537 xcb_sync_counter_end (xcb_sync_counter_iterator_t i  );
00538 
00539 
00540 /*****************************************************************************
00541  **
00542  ** void xcb_sync_int64_next
00543  ** 
00544  ** @param xcb_sync_int64_iterator_t *i
00545  ** @returns void
00546  **
00547  *****************************************************************************/
00548  
00549 void
00550 xcb_sync_int64_next (xcb_sync_int64_iterator_t *i  );
00551 
00552 
00553 /*****************************************************************************
00554  **
00555  ** xcb_generic_iterator_t xcb_sync_int64_end
00556  ** 
00557  ** @param xcb_sync_int64_iterator_t i
00558  ** @returns xcb_generic_iterator_t
00559  **
00560  *****************************************************************************/
00561  
00562 xcb_generic_iterator_t
00563 xcb_sync_int64_end (xcb_sync_int64_iterator_t i  );
00564 
00565 
00566 /*****************************************************************************
00567  **
00568  ** uint8_t * xcb_sync_systemcounter_name
00569  ** 
00570  ** @param const xcb_sync_systemcounter_t *R
00571  ** @returns uint8_t *
00572  **
00573  *****************************************************************************/
00574  
00575 uint8_t *
00576 xcb_sync_systemcounter_name (const xcb_sync_systemcounter_t *R  );
00577 
00578 
00579 /*****************************************************************************
00580  **
00581  ** int xcb_sync_systemcounter_name_length
00582  ** 
00583  ** @param const xcb_sync_systemcounter_t *R
00584  ** @returns int
00585  **
00586  *****************************************************************************/
00587  
00588 int
00589 xcb_sync_systemcounter_name_length (const xcb_sync_systemcounter_t *R  );
00590 
00591 
00592 /*****************************************************************************
00593  **
00594  ** xcb_generic_iterator_t xcb_sync_systemcounter_name_end
00595  ** 
00596  ** @param const xcb_sync_systemcounter_t *R
00597  ** @returns xcb_generic_iterator_t
00598  **
00599  *****************************************************************************/
00600  
00601 xcb_generic_iterator_t
00602 xcb_sync_systemcounter_name_end (const xcb_sync_systemcounter_t *R  );
00603 
00604 
00605 /*****************************************************************************
00606  **
00607  ** void xcb_sync_systemcounter_next
00608  ** 
00609  ** @param xcb_sync_systemcounter_iterator_t *i
00610  ** @returns void
00611  **
00612  *****************************************************************************/
00613  
00614 void
00615 xcb_sync_systemcounter_next (xcb_sync_systemcounter_iterator_t *i  );
00616 
00617 
00618 /*****************************************************************************
00619  **
00620  ** xcb_generic_iterator_t xcb_sync_systemcounter_end
00621  ** 
00622  ** @param xcb_sync_systemcounter_iterator_t i
00623  ** @returns xcb_generic_iterator_t
00624  **
00625  *****************************************************************************/
00626  
00627 xcb_generic_iterator_t
00628 xcb_sync_systemcounter_end (xcb_sync_systemcounter_iterator_t i  );
00629 
00630 
00631 /*****************************************************************************
00632  **
00633  ** void xcb_sync_trigger_next
00634  ** 
00635  ** @param xcb_sync_trigger_iterator_t *i
00636  ** @returns void
00637  **
00638  *****************************************************************************/
00639  
00640 void
00641 xcb_sync_trigger_next (xcb_sync_trigger_iterator_t *i  );
00642 
00643 
00644 /*****************************************************************************
00645  **
00646  ** xcb_generic_iterator_t xcb_sync_trigger_end
00647  ** 
00648  ** @param xcb_sync_trigger_iterator_t i
00649  ** @returns xcb_generic_iterator_t
00650  **
00651  *****************************************************************************/
00652  
00653 xcb_generic_iterator_t
00654 xcb_sync_trigger_end (xcb_sync_trigger_iterator_t i  );
00655 
00656 
00657 /*****************************************************************************
00658  **
00659  ** void xcb_sync_waitcondition_next
00660  ** 
00661  ** @param xcb_sync_waitcondition_iterator_t *i
00662  ** @returns void
00663  **
00664  *****************************************************************************/
00665  
00666 void
00667 xcb_sync_waitcondition_next (xcb_sync_waitcondition_iterator_t *i  );
00668 
00669 
00670 /*****************************************************************************
00671  **
00672  ** xcb_generic_iterator_t xcb_sync_waitcondition_end
00673  ** 
00674  ** @param xcb_sync_waitcondition_iterator_t i
00675  ** @returns xcb_generic_iterator_t
00676  **
00677  *****************************************************************************/
00678  
00679 xcb_generic_iterator_t
00680 xcb_sync_waitcondition_end (xcb_sync_waitcondition_iterator_t i  );
00681 
00682 
00683 /*****************************************************************************
00684  **
00685  ** xcb_sync_initialize_cookie_t xcb_sync_initialize
00686  ** 
00687  ** @param xcb_connection_t *c
00688  ** @returns xcb_sync_initialize_cookie_t
00689  **
00690  *****************************************************************************/
00691  
00692 xcb_sync_initialize_cookie_t
00693 xcb_sync_initialize (xcb_connection_t *c  );
00694 
00695 
00696 /*****************************************************************************
00697  **
00698  ** xcb_sync_initialize_cookie_t xcb_sync_initialize_unchecked
00699  ** 
00700  ** @param xcb_connection_t *c
00701  ** @returns xcb_sync_initialize_cookie_t
00702  **
00703  *****************************************************************************/
00704  
00705 xcb_sync_initialize_cookie_t
00706 xcb_sync_initialize_unchecked (xcb_connection_t *c  );
00707 
00708 
00709 /*****************************************************************************
00710  **
00711  ** xcb_sync_initialize_reply_t * xcb_sync_initialize_reply
00712  ** 
00713  ** @param xcb_connection_t              *c
00714  ** @param xcb_sync_initialize_cookie_t   cookie
00715  ** @param xcb_generic_error_t          **e
00716  ** @returns xcb_sync_initialize_reply_t *
00717  **
00718  *****************************************************************************/
00719  
00720 xcb_sync_initialize_reply_t *
00721 xcb_sync_initialize_reply (xcb_connection_t              *c  ,
00722                            xcb_sync_initialize_cookie_t   cookie  ,
00723                            xcb_generic_error_t          **e  );
00724 
00725 
00726 /*****************************************************************************
00727  **
00728  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters
00729  ** 
00730  ** @param xcb_connection_t *c
00731  ** @returns xcb_sync_list_system_counters_cookie_t
00732  **
00733  *****************************************************************************/
00734  
00735 xcb_sync_list_system_counters_cookie_t
00736 xcb_sync_list_system_counters (xcb_connection_t *c  );
00737 
00738 
00739 /*****************************************************************************
00740  **
00741  ** xcb_sync_list_system_counters_cookie_t xcb_sync_list_system_counters_unchecked
00742  ** 
00743  ** @param xcb_connection_t *c
00744  ** @returns xcb_sync_list_system_counters_cookie_t
00745  **
00746  *****************************************************************************/
00747  
00748 xcb_sync_list_system_counters_cookie_t
00749 xcb_sync_list_system_counters_unchecked (xcb_connection_t *c  );
00750 
00751 
00752 /*****************************************************************************
00753  **
00754  ** int xcb_sync_list_system_counters_counters_length
00755  ** 
00756  ** @param const xcb_sync_list_system_counters_reply_t *R
00757  ** @returns int
00758  **
00759  *****************************************************************************/
00760  
00761 int
00762 xcb_sync_list_system_counters_counters_length (const xcb_sync_list_system_counters_reply_t *R  );
00763 
00764 
00765 /*****************************************************************************
00766  **
00767  ** xcb_sync_systemcounter_iterator_t xcb_sync_list_system_counters_counters_iterator
00768  ** 
00769  ** @param const xcb_sync_list_system_counters_reply_t *R
00770  ** @returns xcb_sync_systemcounter_iterator_t
00771  **
00772  *****************************************************************************/
00773  
00774 xcb_sync_systemcounter_iterator_t
00775 xcb_sync_list_system_counters_counters_iterator (const xcb_sync_list_system_counters_reply_t *R  );
00776 
00777 
00778 /*****************************************************************************
00779  **
00780  ** xcb_sync_list_system_counters_reply_t * xcb_sync_list_system_counters_reply
00781  ** 
00782  ** @param xcb_connection_t                        *c
00783  ** @param xcb_sync_list_system_counters_cookie_t   cookie
00784  ** @param xcb_generic_error_t                    **e
00785  ** @returns xcb_sync_list_system_counters_reply_t *
00786  **
00787  *****************************************************************************/
00788  
00789 xcb_sync_list_system_counters_reply_t *
00790 xcb_sync_list_system_counters_reply (xcb_connection_t                        *c  ,
00791                                      xcb_sync_list_system_counters_cookie_t   cookie  ,
00792                                      xcb_generic_error_t                    **e  );
00793 
00794 
00795 /*****************************************************************************
00796  **
00797  ** xcb_void_cookie_t xcb_sync_create_counter_checked
00798  ** 
00799  ** @param xcb_connection_t   *c
00800  ** @param xcb_sync_counter_t  id
00801  ** @param xcb_sync_int64_t    initial_value
00802  ** @returns xcb_void_cookie_t
00803  **
00804  *****************************************************************************/
00805  
00806 xcb_void_cookie_t
00807 xcb_sync_create_counter_checked (xcb_connection_t   *c  ,
00808                                  xcb_sync_counter_t  id  ,
00809                                  xcb_sync_int64_t    initial_value  );
00810 
00811 
00812 /*****************************************************************************
00813  **
00814  ** xcb_void_cookie_t xcb_sync_create_counter
00815  ** 
00816  ** @param xcb_connection_t   *c
00817  ** @param xcb_sync_counter_t  id
00818  ** @param xcb_sync_int64_t    initial_value
00819  ** @returns xcb_void_cookie_t
00820  **
00821  *****************************************************************************/
00822  
00823 xcb_void_cookie_t
00824 xcb_sync_create_counter (xcb_connection_t   *c  ,
00825                          xcb_sync_counter_t  id  ,
00826                          xcb_sync_int64_t    initial_value  );
00827 
00828 
00829 /*****************************************************************************
00830  **
00831  ** xcb_void_cookie_t xcb_sync_destroy_counter_checked
00832  ** 
00833  ** @param xcb_connection_t   *c
00834  ** @param xcb_sync_counter_t  counter
00835  ** @returns xcb_void_cookie_t
00836  **
00837  *****************************************************************************/
00838  
00839 xcb_void_cookie_t
00840 xcb_sync_destroy_counter_checked (xcb_connection_t   *c  ,
00841                                   xcb_sync_counter_t  counter  );
00842 
00843 
00844 /*****************************************************************************
00845  **
00846  ** xcb_void_cookie_t xcb_sync_destroy_counter
00847  ** 
00848  ** @param xcb_connection_t   *c
00849  ** @param xcb_sync_counter_t  counter
00850  ** @returns xcb_void_cookie_t
00851  **
00852  *****************************************************************************/
00853  
00854 xcb_void_cookie_t
00855 xcb_sync_destroy_counter (xcb_connection_t   *c  ,
00856                           xcb_sync_counter_t  counter  );
00857 
00858 
00859 /*****************************************************************************
00860  **
00861  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter
00862  ** 
00863  ** @param xcb_connection_t   *c
00864  ** @param xcb_sync_counter_t  counter
00865  ** @returns xcb_sync_query_counter_cookie_t
00866  **
00867  *****************************************************************************/
00868  
00869 xcb_sync_query_counter_cookie_t
00870 xcb_sync_query_counter (xcb_connection_t   *c  ,
00871                         xcb_sync_counter_t  counter  );
00872 
00873 
00874 /*****************************************************************************
00875  **
00876  ** xcb_sync_query_counter_cookie_t xcb_sync_query_counter_unchecked
00877  ** 
00878  ** @param xcb_connection_t   *c
00879  ** @param xcb_sync_counter_t  counter
00880  ** @returns xcb_sync_query_counter_cookie_t
00881  **
00882  *****************************************************************************/
00883  
00884 xcb_sync_query_counter_cookie_t
00885 xcb_sync_query_counter_unchecked (xcb_connection_t   *c  ,
00886                                   xcb_sync_counter_t  counter  );
00887 
00888 
00889 /*****************************************************************************
00890  **
00891  ** xcb_sync_query_counter_reply_t * xcb_sync_query_counter_reply
00892  ** 
00893  ** @param xcb_connection_t                 *c
00894  ** @param xcb_sync_query_counter_cookie_t   cookie
00895  ** @param xcb_generic_error_t             **e
00896  ** @returns xcb_sync_query_counter_reply_t *
00897  **
00898  *****************************************************************************/
00899  
00900 xcb_sync_query_counter_reply_t *
00901 xcb_sync_query_counter_reply (xcb_connection_t                 *c  ,
00902                               xcb_sync_query_counter_cookie_t   cookie  ,
00903                               xcb_generic_error_t             **e  );
00904 
00905 
00906 /*****************************************************************************
00907  **
00908  ** xcb_void_cookie_t xcb_sync_await_checked
00909  ** 
00910  ** @param xcb_connection_t               *c
00911  ** @param uint32_t                        wait_list_len
00912  ** @param const xcb_sync_waitcondition_t *wait_list
00913  ** @returns xcb_void_cookie_t
00914  **
00915  *****************************************************************************/
00916  
00917 xcb_void_cookie_t
00918 xcb_sync_await_checked (xcb_connection_t               *c  ,
00919                         uint32_t                        wait_list_len  ,
00920                         const xcb_sync_waitcondition_t *wait_list  );
00921 
00922 
00923 /*****************************************************************************
00924  **
00925  ** xcb_void_cookie_t xcb_sync_await
00926  ** 
00927  ** @param xcb_connection_t               *c
00928  ** @param uint32_t                        wait_list_len
00929  ** @param const xcb_sync_waitcondition_t *wait_list
00930  ** @returns xcb_void_cookie_t
00931  **
00932  *****************************************************************************/
00933  
00934 xcb_void_cookie_t
00935 xcb_sync_await (xcb_connection_t               *c  ,
00936                 uint32_t                        wait_list_len  ,
00937                 const xcb_sync_waitcondition_t *wait_list  );
00938 
00939 
00940 /*****************************************************************************
00941  **
00942  ** xcb_void_cookie_t xcb_sync_change_counter_checked
00943  ** 
00944  ** @param xcb_connection_t   *c
00945  ** @param xcb_sync_counter_t  counter
00946  ** @param xcb_sync_int64_t    amount
00947  ** @returns xcb_void_cookie_t
00948  **
00949  *****************************************************************************/
00950  
00951 xcb_void_cookie_t
00952 xcb_sync_change_counter_checked (xcb_connection_t   *c  ,
00953                                  xcb_sync_counter_t  counter  ,
00954                                  xcb_sync_int64_t    amount  );
00955 
00956 
00957 /*****************************************************************************
00958  **
00959  ** xcb_void_cookie_t xcb_sync_change_counter
00960  ** 
00961  ** @param xcb_connection_t   *c
00962  ** @param xcb_sync_counter_t  counter
00963  ** @param xcb_sync_int64_t    amount
00964  ** @returns xcb_void_cookie_t
00965  **
00966  *****************************************************************************/
00967  
00968 xcb_void_cookie_t
00969 xcb_sync_change_counter (xcb_connection_t   *c  ,
00970                          xcb_sync_counter_t  counter  ,
00971                          xcb_sync_int64_t    amount  );
00972 
00973 
00974 /*****************************************************************************
00975  **
00976  ** xcb_void_cookie_t xcb_sync_set_counter_checked
00977  ** 
00978  ** @param xcb_connection_t   *c
00979  ** @param xcb_sync_counter_t  counter
00980  ** @param xcb_sync_int64_t    value
00981  ** @returns xcb_void_cookie_t
00982  **
00983  *****************************************************************************/
00984  
00985 xcb_void_cookie_t
00986 xcb_sync_set_counter_checked (xcb_connection_t   *c  ,
00987                               xcb_sync_counter_t  counter  ,
00988                               xcb_sync_int64_t    value  );
00989 
00990 
00991 /*****************************************************************************
00992  **
00993  ** xcb_void_cookie_t xcb_sync_set_counter
00994  ** 
00995  ** @param xcb_connection_t   *c
00996  ** @param xcb_sync_counter_t  counter
00997  ** @param xcb_sync_int64_t    value
00998  ** @returns xcb_void_cookie_t
00999  **
01000  *****************************************************************************/
01001  
01002 xcb_void_cookie_t
01003 xcb_sync_set_counter (xcb_connection_t   *c  ,
01004                       xcb_sync_counter_t  counter  ,
01005                       xcb_sync_int64_t    value  );
01006 
01007 
01008 /*****************************************************************************
01009  **
01010  ** xcb_void_cookie_t xcb_sync_create_alarm_checked
01011  ** 
01012  ** @param xcb_connection_t *c
01013  ** @param xcb_sync_alarm_t  id
01014  ** @param uint32_t          value_mask
01015  ** @param const uint32_t   *value_list
01016  ** @returns xcb_void_cookie_t
01017  **
01018  *****************************************************************************/
01019  
01020 xcb_void_cookie_t
01021 xcb_sync_create_alarm_checked (xcb_connection_t *c  ,
01022                                xcb_sync_alarm_t  id  ,
01023                                uint32_t          value_mask  ,
01024                                const uint32_t   *value_list  );
01025 
01026 
01027 /*****************************************************************************
01028  **
01029  ** xcb_void_cookie_t xcb_sync_create_alarm
01030  ** 
01031  ** @param xcb_connection_t *c
01032  ** @param xcb_sync_alarm_t  id
01033  ** @param uint32_t          value_mask
01034  ** @param const uint32_t   *value_list
01035  ** @returns xcb_void_cookie_t
01036  **
01037  *****************************************************************************/
01038  
01039 xcb_void_cookie_t
01040 xcb_sync_create_alarm (xcb_connection_t *c  ,
01041                        xcb_sync_alarm_t  id  ,
01042                        uint32_t          value_mask  ,
01043                        const uint32_t   *value_list  );
01044 
01045 
01046 /*****************************************************************************
01047  **
01048  ** xcb_void_cookie_t xcb_sync_change_alarm_checked
01049  ** 
01050  ** @param xcb_connection_t *c
01051  ** @param xcb_sync_alarm_t  id
01052  ** @param uint32_t          value_mask
01053  ** @param const uint32_t   *value_list
01054  ** @returns xcb_void_cookie_t
01055  **
01056  *****************************************************************************/
01057  
01058 xcb_void_cookie_t
01059 xcb_sync_change_alarm_checked (xcb_connection_t *c  ,
01060                                xcb_sync_alarm_t  id  ,
01061                                uint32_t          value_mask  ,
01062                                const uint32_t   *value_list  );
01063 
01064 
01065 /*****************************************************************************
01066  **
01067  ** xcb_void_cookie_t xcb_sync_change_alarm
01068  ** 
01069  ** @param xcb_connection_t *c
01070  ** @param xcb_sync_alarm_t  id
01071  ** @param uint32_t          value_mask
01072  ** @param const uint32_t   *value_list
01073  ** @returns xcb_void_cookie_t
01074  **
01075  *****************************************************************************/
01076  
01077 xcb_void_cookie_t
01078 xcb_sync_change_alarm (xcb_connection_t *c  ,
01079                        xcb_sync_alarm_t  id  ,
01080                        uint32_t          value_mask  ,
01081                        const uint32_t   *value_list  );
01082 
01083 
01084 /*****************************************************************************
01085  **
01086  ** xcb_void_cookie_t xcb_sync_destroy_alarm_checked
01087  ** 
01088  ** @param xcb_connection_t *c
01089  ** @param xcb_sync_alarm_t  alarm
01090  ** @returns xcb_void_cookie_t
01091  **
01092  *****************************************************************************/
01093  
01094 xcb_void_cookie_t
01095 xcb_sync_destroy_alarm_checked (xcb_connection_t *c  ,
01096                                 xcb_sync_alarm_t  alarm  );
01097 
01098 
01099 /*****************************************************************************
01100  **
01101  ** xcb_void_cookie_t xcb_sync_destroy_alarm
01102  ** 
01103  ** @param xcb_connection_t *c
01104  ** @param xcb_sync_alarm_t  alarm
01105  ** @returns xcb_void_cookie_t
01106  **
01107  *****************************************************************************/
01108  
01109 xcb_void_cookie_t
01110 xcb_sync_destroy_alarm (xcb_connection_t *c  ,
01111                         xcb_sync_alarm_t  alarm  );
01112 
01113 
01114 /*****************************************************************************
01115  **
01116  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm
01117  ** 
01118  ** @param xcb_connection_t *c
01119  ** @param xcb_sync_alarm_t  alarm
01120  ** @returns xcb_sync_query_alarm_cookie_t
01121  **
01122  *****************************************************************************/
01123  
01124 xcb_sync_query_alarm_cookie_t
01125 xcb_sync_query_alarm (xcb_connection_t *c  ,
01126                       xcb_sync_alarm_t  alarm  );
01127 
01128 
01129 /*****************************************************************************
01130  **
01131  ** xcb_sync_query_alarm_cookie_t xcb_sync_query_alarm_unchecked
01132  ** 
01133  ** @param xcb_connection_t *c
01134  ** @param xcb_sync_alarm_t  alarm
01135  ** @returns xcb_sync_query_alarm_cookie_t
01136  **
01137  *****************************************************************************/
01138  
01139 xcb_sync_query_alarm_cookie_t
01140 xcb_sync_query_alarm_unchecked (xcb_connection_t *c  ,
01141                                 xcb_sync_alarm_t  alarm  );
01142 
01143 
01144 /*****************************************************************************
01145  **
01146  ** xcb_sync_query_alarm_reply_t * xcb_sync_query_alarm_reply
01147  ** 
01148  ** @param xcb_connection_t               *c
01149  ** @param xcb_sync_query_alarm_cookie_t   cookie
01150  ** @param xcb_generic_error_t           **e
01151  ** @returns xcb_sync_query_alarm_reply_t *
01152  **
01153  *****************************************************************************/
01154  
01155 xcb_sync_query_alarm_reply_t *
01156 xcb_sync_query_alarm_reply (xcb_connection_t               *c  ,
01157                             xcb_sync_query_alarm_cookie_t   cookie  ,
01158                             xcb_generic_error_t           **e  );
01159 
01160 
01161 /*****************************************************************************
01162  **
01163  ** xcb_void_cookie_t xcb_sync_set_priority_checked
01164  ** 
01165  ** @param xcb_connection_t *c
01166  ** @param uint32_t          id
01167  ** @param int32_t           priority
01168  ** @returns xcb_void_cookie_t
01169  **
01170  *****************************************************************************/
01171  
01172 xcb_void_cookie_t
01173 xcb_sync_set_priority_checked (xcb_connection_t *c  ,
01174                                uint32_t          id  ,
01175                                int32_t           priority  );
01176 
01177 
01178 /*****************************************************************************
01179  **
01180  ** xcb_void_cookie_t xcb_sync_set_priority
01181  ** 
01182  ** @param xcb_connection_t *c
01183  ** @param uint32_t          id
01184  ** @param int32_t           priority
01185  ** @returns xcb_void_cookie_t
01186  **
01187  *****************************************************************************/
01188  
01189 xcb_void_cookie_t
01190 xcb_sync_set_priority (xcb_connection_t *c  ,
01191                        uint32_t          id  ,
01192                        int32_t           priority  );
01193 
01194 
01195 /*****************************************************************************
01196  **
01197  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority
01198  ** 
01199  ** @param xcb_connection_t *c
01200  ** @param uint32_t          id
01201  ** @returns xcb_sync_get_priority_cookie_t
01202  **
01203  *****************************************************************************/
01204  
01205 xcb_sync_get_priority_cookie_t
01206 xcb_sync_get_priority (xcb_connection_t *c  ,
01207                        uint32_t          id  );
01208 
01209 
01210 /*****************************************************************************
01211  **
01212  ** xcb_sync_get_priority_cookie_t xcb_sync_get_priority_unchecked
01213  ** 
01214  ** @param xcb_connection_t *c
01215  ** @param uint32_t          id
01216  ** @returns xcb_sync_get_priority_cookie_t
01217  **
01218  *****************************************************************************/
01219  
01220 xcb_sync_get_priority_cookie_t
01221 xcb_sync_get_priority_unchecked (xcb_connection_t *c  ,
01222                                  uint32_t          id  );
01223 
01224 
01225 /*****************************************************************************
01226  **
01227  ** xcb_sync_get_priority_reply_t * xcb_sync_get_priority_reply
01228  ** 
01229  ** @param xcb_connection_t                *c
01230  ** @param xcb_sync_get_priority_cookie_t   cookie
01231  ** @param xcb_generic_error_t            **e
01232  ** @returns xcb_sync_get_priority_reply_t *
01233  **
01234  *****************************************************************************/
01235  
01236 xcb_sync_get_priority_reply_t *
01237 xcb_sync_get_priority_reply (xcb_connection_t                *c  ,
01238                              xcb_sync_get_priority_cookie_t   cookie  ,
01239                              xcb_generic_error_t            **e  );
01240 
01241 
01242 #endif
01243 

Generated on Fri Nov 9 13:06:59 2007 for XCB by  doxygen 1.5.2