home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / xcb / bigreq.h next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  3.5 KB  |  132 lines

  1. /*
  2.  * This file generated automatically from bigreq.xml by c-client.xsl using XSLT.
  3.  * Edit at your peril.
  4.  */
  5.  
  6. /**
  7.  * @defgroup XCB_BigRequests_API XCB BigRequests API
  8.  * @brief BigRequests XCB Protocol Implementation.
  9.  * @{
  10.  **/
  11.  
  12. #ifndef __BIGREQ_H
  13. #define __BIGREQ_H
  14.  
  15. #include "xcb.h"
  16.  
  17. #define XCB_BIGREQUESTS_MAJOR_VERSION 0
  18. #define XCB_BIGREQUESTS_MINOR_VERSION 0
  19.   
  20. extern xcb_extension_t xcb_big_requests_id;
  21.  
  22. /**
  23.  * @brief xcb_big_requests_enable_cookie_t
  24.  **/
  25. typedef struct xcb_big_requests_enable_cookie_t {
  26.     unsigned int sequence; /**<  */
  27. } xcb_big_requests_enable_cookie_t;
  28.  
  29. /** Opcode for xcb_big_requests_enable. */
  30. #define XCB_BIG_REQUESTS_ENABLE 0
  31.  
  32. /**
  33.  * @brief xcb_big_requests_enable_request_t
  34.  **/
  35. typedef struct xcb_big_requests_enable_request_t {
  36.     uint8_t  major_opcode; /**<  */
  37.     uint8_t  minor_opcode; /**<  */
  38.     uint16_t length; /**<  */
  39. } xcb_big_requests_enable_request_t;
  40.  
  41. /**
  42.  * @brief xcb_big_requests_enable_reply_t
  43.  **/
  44. typedef struct xcb_big_requests_enable_reply_t {
  45.     uint8_t  response_type; /**<  */
  46.     uint8_t  pad0; /**<  */
  47.     uint16_t sequence; /**<  */
  48.     uint32_t length; /**<  */
  49.     uint32_t maximum_request_length; /**<  */
  50. } xcb_big_requests_enable_reply_t;
  51.  
  52. /**
  53.  * Delivers a request to the X server
  54.  * @param c The connection
  55.  * @return A cookie
  56.  *
  57.  * Delivers a request to the X server.
  58.  * 
  59.  */
  60.  
  61. /*****************************************************************************
  62.  **
  63.  ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable
  64.  ** 
  65.  ** @param xcb_connection_t *c
  66.  ** @returns xcb_big_requests_enable_cookie_t
  67.  **
  68.  *****************************************************************************/
  69.  
  70. xcb_big_requests_enable_cookie_t
  71. xcb_big_requests_enable (xcb_connection_t *c  /**< */);
  72.  
  73. /**
  74.  * Delivers a request to the X server
  75.  * @param c The connection
  76.  * @return A cookie
  77.  *
  78.  * Delivers a request to the X server.
  79.  * 
  80.  * This form can be used only if the request will cause
  81.  * a reply to be generated. Any returned error will be
  82.  * placed in the event queue.
  83.  */
  84.  
  85. /*****************************************************************************
  86.  **
  87.  ** xcb_big_requests_enable_cookie_t xcb_big_requests_enable_unchecked
  88.  ** 
  89.  ** @param xcb_connection_t *c
  90.  ** @returns xcb_big_requests_enable_cookie_t
  91.  **
  92.  *****************************************************************************/
  93.  
  94. xcb_big_requests_enable_cookie_t
  95. xcb_big_requests_enable_unchecked (xcb_connection_t *c  /**< */);
  96.  
  97. /**
  98.  * Return the reply
  99.  * @param c      The connection
  100.  * @param cookie The cookie
  101.  * @param e      The xcb_generic_error_t supplied
  102.  *
  103.  * Returns the reply of the request asked by
  104.  * 
  105.  * The parameter @p e supplied to this function must be NULL if
  106.  * xcb_big_requests_enable_unchecked(). is used.
  107.  * Otherwise, it stores the error if any.
  108.  */
  109.  
  110. /*****************************************************************************
  111.  **
  112.  ** xcb_big_requests_enable_reply_t * xcb_big_requests_enable_reply
  113.  ** 
  114.  ** @param xcb_connection_t                  *c
  115.  ** @param xcb_big_requests_enable_cookie_t   cookie
  116.  ** @param xcb_generic_error_t              **e
  117.  ** @returns xcb_big_requests_enable_reply_t *
  118.  **
  119.  *****************************************************************************/
  120.  
  121. xcb_big_requests_enable_reply_t *
  122. xcb_big_requests_enable_reply (xcb_connection_t                  *c  /**< */,
  123.                                xcb_big_requests_enable_cookie_t   cookie  /**< */,
  124.                                xcb_generic_error_t              **e  /**< */);
  125.  
  126.  
  127. #endif
  128.  
  129. /**
  130.  * @}
  131.  */
  132.