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 / xinerama.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-17  |  24.0 KB  |  789 lines

  1. /*
  2.  * This file generated automatically from xinerama.xml by c-client.xsl using XSLT.
  3.  * Edit at your peril.
  4.  */
  5.  
  6. /**
  7.  * @defgroup XCB_Xinerama_API XCB Xinerama API
  8.  * @brief Xinerama XCB Protocol Implementation.
  9.  * @{
  10.  **/
  11.  
  12. #ifndef __XINERAMA_H
  13. #define __XINERAMA_H
  14.  
  15. #include "xcb.h"
  16. #include "xproto.h"
  17.  
  18. #define XCB_XINERAMA_MAJOR_VERSION 1
  19. #define XCB_XINERAMA_MINOR_VERSION 1
  20.   
  21. extern xcb_extension_t xcb_xinerama_id;
  22.  
  23. /**
  24.  * @brief xcb_xinerama_screen_info_t
  25.  **/
  26. typedef struct xcb_xinerama_screen_info_t {
  27.     int16_t  x_org; /**<  */
  28.     int16_t  y_org; /**<  */
  29.     uint16_t width; /**<  */
  30.     uint16_t height; /**<  */
  31. } xcb_xinerama_screen_info_t;
  32.  
  33. /**
  34.  * @brief xcb_xinerama_screen_info_iterator_t
  35.  **/
  36. typedef struct xcb_xinerama_screen_info_iterator_t {
  37.     xcb_xinerama_screen_info_t *data; /**<  */
  38.     int                         rem; /**<  */
  39.     int                         index; /**<  */
  40. } xcb_xinerama_screen_info_iterator_t;
  41.  
  42. /**
  43.  * @brief xcb_xinerama_query_version_cookie_t
  44.  **/
  45. typedef struct xcb_xinerama_query_version_cookie_t {
  46.     unsigned int sequence; /**<  */
  47. } xcb_xinerama_query_version_cookie_t;
  48.  
  49. /** Opcode for xcb_xinerama_query_version. */
  50. #define XCB_XINERAMA_QUERY_VERSION 0
  51.  
  52. /**
  53.  * @brief xcb_xinerama_query_version_request_t
  54.  **/
  55. typedef struct xcb_xinerama_query_version_request_t {
  56.     uint8_t  major_opcode; /**<  */
  57.     uint8_t  minor_opcode; /**<  */
  58.     uint16_t length; /**<  */
  59.     uint8_t  major; /**<  */
  60.     uint8_t  minor; /**<  */
  61. } xcb_xinerama_query_version_request_t;
  62.  
  63. /**
  64.  * @brief xcb_xinerama_query_version_reply_t
  65.  **/
  66. typedef struct xcb_xinerama_query_version_reply_t {
  67.     uint8_t  response_type; /**<  */
  68.     uint8_t  pad0; /**<  */
  69.     uint16_t sequence; /**<  */
  70.     uint32_t length; /**<  */
  71.     uint16_t major; /**<  */
  72.     uint16_t minor; /**<  */
  73. } xcb_xinerama_query_version_reply_t;
  74.  
  75. /**
  76.  * @brief xcb_xinerama_get_state_cookie_t
  77.  **/
  78. typedef struct xcb_xinerama_get_state_cookie_t {
  79.     unsigned int sequence; /**<  */
  80. } xcb_xinerama_get_state_cookie_t;
  81.  
  82. /** Opcode for xcb_xinerama_get_state. */
  83. #define XCB_XINERAMA_GET_STATE 1
  84.  
  85. /**
  86.  * @brief xcb_xinerama_get_state_request_t
  87.  **/
  88. typedef struct xcb_xinerama_get_state_request_t {
  89.     uint8_t      major_opcode; /**<  */
  90.     uint8_t      minor_opcode; /**<  */
  91.     uint16_t     length; /**<  */
  92.     xcb_window_t window; /**<  */
  93. } xcb_xinerama_get_state_request_t;
  94.  
  95. /**
  96.  * @brief xcb_xinerama_get_state_reply_t
  97.  **/
  98. typedef struct xcb_xinerama_get_state_reply_t {
  99.     uint8_t      response_type; /**<  */
  100.     uint8_t      state; /**<  */
  101.     uint16_t     sequence; /**<  */
  102.     uint32_t     length; /**<  */
  103.     xcb_window_t window; /**<  */
  104. } xcb_xinerama_get_state_reply_t;
  105.  
  106. /**
  107.  * @brief xcb_xinerama_get_screen_count_cookie_t
  108.  **/
  109. typedef struct xcb_xinerama_get_screen_count_cookie_t {
  110.     unsigned int sequence; /**<  */
  111. } xcb_xinerama_get_screen_count_cookie_t;
  112.  
  113. /** Opcode for xcb_xinerama_get_screen_count. */
  114. #define XCB_XINERAMA_GET_SCREEN_COUNT 2
  115.  
  116. /**
  117.  * @brief xcb_xinerama_get_screen_count_request_t
  118.  **/
  119. typedef struct xcb_xinerama_get_screen_count_request_t {
  120.     uint8_t      major_opcode; /**<  */
  121.     uint8_t      minor_opcode; /**<  */
  122.     uint16_t     length; /**<  */
  123.     xcb_window_t window; /**<  */
  124. } xcb_xinerama_get_screen_count_request_t;
  125.  
  126. /**
  127.  * @brief xcb_xinerama_get_screen_count_reply_t
  128.  **/
  129. typedef struct xcb_xinerama_get_screen_count_reply_t {
  130.     uint8_t      response_type; /**<  */
  131.     uint8_t      screen_count; /**<  */
  132.     uint16_t     sequence; /**<  */
  133.     uint32_t     length; /**<  */
  134.     xcb_window_t window; /**<  */
  135. } xcb_xinerama_get_screen_count_reply_t;
  136.  
  137. /**
  138.  * @brief xcb_xinerama_get_screen_size_cookie_t
  139.  **/
  140. typedef struct xcb_xinerama_get_screen_size_cookie_t {
  141.     unsigned int sequence; /**<  */
  142. } xcb_xinerama_get_screen_size_cookie_t;
  143.  
  144. /** Opcode for xcb_xinerama_get_screen_size. */
  145. #define XCB_XINERAMA_GET_SCREEN_SIZE 3
  146.  
  147. /**
  148.  * @brief xcb_xinerama_get_screen_size_request_t
  149.  **/
  150. typedef struct xcb_xinerama_get_screen_size_request_t {
  151.     uint8_t      major_opcode; /**<  */
  152.     uint8_t      minor_opcode; /**<  */
  153.     uint16_t     length; /**<  */
  154.     xcb_window_t window; /**<  */
  155.     xcb_screen_t screen; /**<  */
  156. } xcb_xinerama_get_screen_size_request_t;
  157.  
  158. /**
  159.  * @brief xcb_xinerama_get_screen_size_reply_t
  160.  **/
  161. typedef struct xcb_xinerama_get_screen_size_reply_t {
  162.     uint8_t      response_type; /**<  */
  163.     uint8_t      pad0; /**<  */
  164.     uint16_t     sequence; /**<  */
  165.     uint32_t     length; /**<  */
  166.     uint32_t     width; /**<  */
  167.     uint32_t     height; /**<  */
  168.     xcb_window_t window; /**<  */
  169.     xcb_screen_t screen; /**<  */
  170. } xcb_xinerama_get_screen_size_reply_t;
  171.  
  172. /**
  173.  * @brief xcb_xinerama_is_active_cookie_t
  174.  **/
  175. typedef struct xcb_xinerama_is_active_cookie_t {
  176.     unsigned int sequence; /**<  */
  177. } xcb_xinerama_is_active_cookie_t;
  178.  
  179. /** Opcode for xcb_xinerama_is_active. */
  180. #define XCB_XINERAMA_IS_ACTIVE 4
  181.  
  182. /**
  183.  * @brief xcb_xinerama_is_active_request_t
  184.  **/
  185. typedef struct xcb_xinerama_is_active_request_t {
  186.     uint8_t  major_opcode; /**<  */
  187.     uint8_t  minor_opcode; /**<  */
  188.     uint16_t length; /**<  */
  189. } xcb_xinerama_is_active_request_t;
  190.  
  191. /**
  192.  * @brief xcb_xinerama_is_active_reply_t
  193.  **/
  194. typedef struct xcb_xinerama_is_active_reply_t {
  195.     uint8_t  response_type; /**<  */
  196.     uint8_t  pad0; /**<  */
  197.     uint16_t sequence; /**<  */
  198.     uint32_t length; /**<  */
  199.     uint32_t state; /**<  */
  200. } xcb_xinerama_is_active_reply_t;
  201.  
  202. /**
  203.  * @brief xcb_xinerama_query_screens_cookie_t
  204.  **/
  205. typedef struct xcb_xinerama_query_screens_cookie_t {
  206.     unsigned int sequence; /**<  */
  207. } xcb_xinerama_query_screens_cookie_t;
  208.  
  209. /** Opcode for xcb_xinerama_query_screens. */
  210. #define XCB_XINERAMA_QUERY_SCREENS 5
  211.  
  212. /**
  213.  * @brief xcb_xinerama_query_screens_request_t
  214.  **/
  215. typedef struct xcb_xinerama_query_screens_request_t {
  216.     uint8_t  major_opcode; /**<  */
  217.     uint8_t  minor_opcode; /**<  */
  218.     uint16_t length; /**<  */
  219. } xcb_xinerama_query_screens_request_t;
  220.  
  221. /**
  222.  * @brief xcb_xinerama_query_screens_reply_t
  223.  **/
  224. typedef struct xcb_xinerama_query_screens_reply_t {
  225.     uint8_t  response_type; /**<  */
  226.     uint8_t  pad0; /**<  */
  227.     uint16_t sequence; /**<  */
  228.     uint32_t length; /**<  */
  229.     uint32_t number; /**<  */
  230.     uint8_t  pad1[20]; /**<  */
  231. } xcb_xinerama_query_screens_reply_t;
  232.  
  233. /**
  234.  * Get the next element of the iterator
  235.  * @param i Pointer to a xcb_xinerama_screen_info_iterator_t
  236.  *
  237.  * Get the next element in the iterator. The member rem is
  238.  * decreased by one. The member data points to the next
  239.  * element. The member index is increased by sizeof(xcb_xinerama_screen_info_t)
  240.  */
  241.  
  242. /*****************************************************************************
  243.  **
  244.  ** void xcb_xinerama_screen_info_next
  245.  ** 
  246.  ** @param xcb_xinerama_screen_info_iterator_t *i
  247.  ** @returns void
  248.  **
  249.  *****************************************************************************/
  250.  
  251. void
  252. xcb_xinerama_screen_info_next (xcb_xinerama_screen_info_iterator_t *i  /**< */);
  253.  
  254. /**
  255.  * Return the iterator pointing to the last element
  256.  * @param i An xcb_xinerama_screen_info_iterator_t
  257.  * @return  The iterator pointing to the last element
  258.  *
  259.  * Set the current element in the iterator to the last element.
  260.  * The member rem is set to 0. The member data points to the
  261.  * last element.
  262.  */
  263.  
  264. /*****************************************************************************
  265.  **
  266.  ** xcb_generic_iterator_t xcb_xinerama_screen_info_end
  267.  ** 
  268.  ** @param xcb_xinerama_screen_info_iterator_t i
  269.  ** @returns xcb_generic_iterator_t
  270.  **
  271.  *****************************************************************************/
  272.  
  273. xcb_generic_iterator_t
  274. xcb_xinerama_screen_info_end (xcb_xinerama_screen_info_iterator_t i  /**< */);
  275.  
  276. /**
  277.  * Delivers a request to the X server
  278.  * @param c The connection
  279.  * @return A cookie
  280.  *
  281.  * Delivers a request to the X server.
  282.  * 
  283.  */
  284.  
  285. /*****************************************************************************
  286.  **
  287.  ** xcb_xinerama_query_version_cookie_t xcb_xinerama_query_version
  288.  ** 
  289.  ** @param xcb_connection_t *c
  290.  ** @param uint8_t           major
  291.  ** @param uint8_t           minor
  292.  ** @returns xcb_xinerama_query_version_cookie_t
  293.  **
  294.  *****************************************************************************/
  295.  
  296. xcb_xinerama_query_version_cookie_t
  297. xcb_xinerama_query_version (xcb_connection_t *c  /**< */,
  298.                             uint8_t           major  /**< */,
  299.                             uint8_t           minor  /**< */);
  300.  
  301. /**
  302.  * Delivers a request to the X server
  303.  * @param c The connection
  304.  * @return A cookie
  305.  *
  306.  * Delivers a request to the X server.
  307.  * 
  308.  * This form can be used only if the request will cause
  309.  * a reply to be generated. Any returned error will be
  310.  * placed in the event queue.
  311.  */
  312.  
  313. /*****************************************************************************
  314.  **
  315.  ** xcb_xinerama_query_version_cookie_t xcb_xinerama_query_version_unchecked
  316.  ** 
  317.  ** @param xcb_connection_t *c
  318.  ** @param uint8_t           major
  319.  ** @param uint8_t           minor
  320.  ** @returns xcb_xinerama_query_version_cookie_t
  321.  **
  322.  *****************************************************************************/
  323.  
  324. xcb_xinerama_query_version_cookie_t
  325. xcb_xinerama_query_version_unchecked (xcb_connection_t *c  /**< */,
  326.                                       uint8_t           major  /**< */,
  327.                                       uint8_t           minor  /**< */);
  328.  
  329. /**
  330.  * Return the reply
  331.  * @param c      The connection
  332.  * @param cookie The cookie
  333.  * @param e      The xcb_generic_error_t supplied
  334.  *
  335.  * Returns the reply of the request asked by
  336.  * 
  337.  * The parameter @p e supplied to this function must be NULL if
  338.  * xcb_xinerama_query_version_unchecked(). is used.
  339.  * Otherwise, it stores the error if any.
  340.  */
  341.  
  342. /*****************************************************************************
  343.  **
  344.  ** xcb_xinerama_query_version_reply_t * xcb_xinerama_query_version_reply
  345.  ** 
  346.  ** @param xcb_connection_t                     *c
  347.  ** @param xcb_xinerama_query_version_cookie_t   cookie
  348.  ** @param xcb_generic_error_t                 **e
  349.  ** @returns xcb_xinerama_query_version_reply_t *
  350.  **
  351.  *****************************************************************************/
  352.  
  353. xcb_xinerama_query_version_reply_t *
  354. xcb_xinerama_query_version_reply (xcb_connection_t                     *c  /**< */,
  355.                                   xcb_xinerama_query_version_cookie_t   cookie  /**< */,
  356.                                   xcb_generic_error_t                 **e  /**< */);
  357.  
  358. /**
  359.  * Delivers a request to the X server
  360.  * @param c The connection
  361.  * @return A cookie
  362.  *
  363.  * Delivers a request to the X server.
  364.  * 
  365.  */
  366.  
  367. /*****************************************************************************
  368.  **
  369.  ** xcb_xinerama_get_state_cookie_t xcb_xinerama_get_state
  370.  ** 
  371.  ** @param xcb_connection_t *c
  372.  ** @param xcb_window_t      window
  373.  ** @returns xcb_xinerama_get_state_cookie_t
  374.  **
  375.  *****************************************************************************/
  376.  
  377. xcb_xinerama_get_state_cookie_t
  378. xcb_xinerama_get_state (xcb_connection_t *c  /**< */,
  379.                         xcb_window_t      window  /**< */);
  380.  
  381. /**
  382.  * Delivers a request to the X server
  383.  * @param c The connection
  384.  * @return A cookie
  385.  *
  386.  * Delivers a request to the X server.
  387.  * 
  388.  * This form can be used only if the request will cause
  389.  * a reply to be generated. Any returned error will be
  390.  * placed in the event queue.
  391.  */
  392.  
  393. /*****************************************************************************
  394.  **
  395.  ** xcb_xinerama_get_state_cookie_t xcb_xinerama_get_state_unchecked
  396.  ** 
  397.  ** @param xcb_connection_t *c
  398.  ** @param xcb_window_t      window
  399.  ** @returns xcb_xinerama_get_state_cookie_t
  400.  **
  401.  *****************************************************************************/
  402.  
  403. xcb_xinerama_get_state_cookie_t
  404. xcb_xinerama_get_state_unchecked (xcb_connection_t *c  /**< */,
  405.                                   xcb_window_t      window  /**< */);
  406.  
  407. /**
  408.  * Return the reply
  409.  * @param c      The connection
  410.  * @param cookie The cookie
  411.  * @param e      The xcb_generic_error_t supplied
  412.  *
  413.  * Returns the reply of the request asked by
  414.  * 
  415.  * The parameter @p e supplied to this function must be NULL if
  416.  * xcb_xinerama_get_state_unchecked(). is used.
  417.  * Otherwise, it stores the error if any.
  418.  */
  419.  
  420. /*****************************************************************************
  421.  **
  422.  ** xcb_xinerama_get_state_reply_t * xcb_xinerama_get_state_reply
  423.  ** 
  424.  ** @param xcb_connection_t                 *c
  425.  ** @param xcb_xinerama_get_state_cookie_t   cookie
  426.  ** @param xcb_generic_error_t             **e
  427.  ** @returns xcb_xinerama_get_state_reply_t *
  428.  **
  429.  *****************************************************************************/
  430.  
  431. xcb_xinerama_get_state_reply_t *
  432. xcb_xinerama_get_state_reply (xcb_connection_t                 *c  /**< */,
  433.                               xcb_xinerama_get_state_cookie_t   cookie  /**< */,
  434.                               xcb_generic_error_t             **e  /**< */);
  435.  
  436. /**
  437.  * Delivers a request to the X server
  438.  * @param c The connection
  439.  * @return A cookie
  440.  *
  441.  * Delivers a request to the X server.
  442.  * 
  443.  */
  444.  
  445. /*****************************************************************************
  446.  **
  447.  ** xcb_xinerama_get_screen_count_cookie_t xcb_xinerama_get_screen_count
  448.  ** 
  449.  ** @param xcb_connection_t *c
  450.  ** @param xcb_window_t      window
  451.  ** @returns xcb_xinerama_get_screen_count_cookie_t
  452.  **
  453.  *****************************************************************************/
  454.  
  455. xcb_xinerama_get_screen_count_cookie_t
  456. xcb_xinerama_get_screen_count (xcb_connection_t *c  /**< */,
  457.                                xcb_window_t      window  /**< */);
  458.  
  459. /**
  460.  * Delivers a request to the X server
  461.  * @param c The connection
  462.  * @return A cookie
  463.  *
  464.  * Delivers a request to the X server.
  465.  * 
  466.  * This form can be used only if the request will cause
  467.  * a reply to be generated. Any returned error will be
  468.  * placed in the event queue.
  469.  */
  470.  
  471. /*****************************************************************************
  472.  **
  473.  ** xcb_xinerama_get_screen_count_cookie_t xcb_xinerama_get_screen_count_unchecked
  474.  ** 
  475.  ** @param xcb_connection_t *c
  476.  ** @param xcb_window_t      window
  477.  ** @returns xcb_xinerama_get_screen_count_cookie_t
  478.  **
  479.  *****************************************************************************/
  480.  
  481. xcb_xinerama_get_screen_count_cookie_t
  482. xcb_xinerama_get_screen_count_unchecked (xcb_connection_t *c  /**< */,
  483.                                          xcb_window_t      window  /**< */);
  484.  
  485. /**
  486.  * Return the reply
  487.  * @param c      The connection
  488.  * @param cookie The cookie
  489.  * @param e      The xcb_generic_error_t supplied
  490.  *
  491.  * Returns the reply of the request asked by
  492.  * 
  493.  * The parameter @p e supplied to this function must be NULL if
  494.  * xcb_xinerama_get_screen_count_unchecked(). is used.
  495.  * Otherwise, it stores the error if any.
  496.  */
  497.  
  498. /*****************************************************************************
  499.  **
  500.  ** xcb_xinerama_get_screen_count_reply_t * xcb_xinerama_get_screen_count_reply
  501.  ** 
  502.  ** @param xcb_connection_t                        *c
  503.  ** @param xcb_xinerama_get_screen_count_cookie_t   cookie
  504.  ** @param xcb_generic_error_t                    **e
  505.  ** @returns xcb_xinerama_get_screen_count_reply_t *
  506.  **
  507.  *****************************************************************************/
  508.  
  509. xcb_xinerama_get_screen_count_reply_t *
  510. xcb_xinerama_get_screen_count_reply (xcb_connection_t                        *c  /**< */,
  511.                                      xcb_xinerama_get_screen_count_cookie_t   cookie  /**< */,
  512.                                      xcb_generic_error_t                    **e  /**< */);
  513.  
  514. /**
  515.  * Delivers a request to the X server
  516.  * @param c The connection
  517.  * @return A cookie
  518.  *
  519.  * Delivers a request to the X server.
  520.  * 
  521.  */
  522.  
  523. /*****************************************************************************
  524.  **
  525.  ** xcb_xinerama_get_screen_size_cookie_t xcb_xinerama_get_screen_size
  526.  ** 
  527.  ** @param xcb_connection_t *c
  528.  ** @param xcb_window_t      window
  529.  ** @param xcb_screen_t      screen
  530.  ** @returns xcb_xinerama_get_screen_size_cookie_t
  531.  **
  532.  *****************************************************************************/
  533.  
  534. xcb_xinerama_get_screen_size_cookie_t
  535. xcb_xinerama_get_screen_size (xcb_connection_t *c  /**< */,
  536.                               xcb_window_t      window  /**< */,
  537.                               xcb_screen_t      screen  /**< */);
  538.  
  539. /**
  540.  * Delivers a request to the X server
  541.  * @param c The connection
  542.  * @return A cookie
  543.  *
  544.  * Delivers a request to the X server.
  545.  * 
  546.  * This form can be used only if the request will cause
  547.  * a reply to be generated. Any returned error will be
  548.  * placed in the event queue.
  549.  */
  550.  
  551. /*****************************************************************************
  552.  **
  553.  ** xcb_xinerama_get_screen_size_cookie_t xcb_xinerama_get_screen_size_unchecked
  554.  ** 
  555.  ** @param xcb_connection_t *c
  556.  ** @param xcb_window_t      window
  557.  ** @param xcb_screen_t      screen
  558.  ** @returns xcb_xinerama_get_screen_size_cookie_t
  559.  **
  560.  *****************************************************************************/
  561.  
  562. xcb_xinerama_get_screen_size_cookie_t
  563. xcb_xinerama_get_screen_size_unchecked (xcb_connection_t *c  /**< */,
  564.                                         xcb_window_t      window  /**< */,
  565.                                         xcb_screen_t      screen  /**< */);
  566.  
  567. /**
  568.  * Return the reply
  569.  * @param c      The connection
  570.  * @param cookie The cookie
  571.  * @param e      The xcb_generic_error_t supplied
  572.  *
  573.  * Returns the reply of the request asked by
  574.  * 
  575.  * The parameter @p e supplied to this function must be NULL if
  576.  * xcb_xinerama_get_screen_size_unchecked(). is used.
  577.  * Otherwise, it stores the error if any.
  578.  */
  579.  
  580. /*****************************************************************************
  581.  **
  582.  ** xcb_xinerama_get_screen_size_reply_t * xcb_xinerama_get_screen_size_reply
  583.  ** 
  584.  ** @param xcb_connection_t                       *c
  585.  ** @param xcb_xinerama_get_screen_size_cookie_t   cookie
  586.  ** @param xcb_generic_error_t                   **e
  587.  ** @returns xcb_xinerama_get_screen_size_reply_t *
  588.  **
  589.  *****************************************************************************/
  590.  
  591. xcb_xinerama_get_screen_size_reply_t *
  592. xcb_xinerama_get_screen_size_reply (xcb_connection_t                       *c  /**< */,
  593.                                     xcb_xinerama_get_screen_size_cookie_t   cookie  /**< */,
  594.                                     xcb_generic_error_t                   **e  /**< */);
  595.  
  596. /**
  597.  * Delivers a request to the X server
  598.  * @param c The connection
  599.  * @return A cookie
  600.  *
  601.  * Delivers a request to the X server.
  602.  * 
  603.  */
  604.  
  605. /*****************************************************************************
  606.  **
  607.  ** xcb_xinerama_is_active_cookie_t xcb_xinerama_is_active
  608.  ** 
  609.  ** @param xcb_connection_t *c
  610.  ** @returns xcb_xinerama_is_active_cookie_t
  611.  **
  612.  *****************************************************************************/
  613.  
  614. xcb_xinerama_is_active_cookie_t
  615. xcb_xinerama_is_active (xcb_connection_t *c  /**< */);
  616.  
  617. /**
  618.  * Delivers a request to the X server
  619.  * @param c The connection
  620.  * @return A cookie
  621.  *
  622.  * Delivers a request to the X server.
  623.  * 
  624.  * This form can be used only if the request will cause
  625.  * a reply to be generated. Any returned error will be
  626.  * placed in the event queue.
  627.  */
  628.  
  629. /*****************************************************************************
  630.  **
  631.  ** xcb_xinerama_is_active_cookie_t xcb_xinerama_is_active_unchecked
  632.  ** 
  633.  ** @param xcb_connection_t *c
  634.  ** @returns xcb_xinerama_is_active_cookie_t
  635.  **
  636.  *****************************************************************************/
  637.  
  638. xcb_xinerama_is_active_cookie_t
  639. xcb_xinerama_is_active_unchecked (xcb_connection_t *c  /**< */);
  640.  
  641. /**
  642.  * Return the reply
  643.  * @param c      The connection
  644.  * @param cookie The cookie
  645.  * @param e      The xcb_generic_error_t supplied
  646.  *
  647.  * Returns the reply of the request asked by
  648.  * 
  649.  * The parameter @p e supplied to this function must be NULL if
  650.  * xcb_xinerama_is_active_unchecked(). is used.
  651.  * Otherwise, it stores the error if any.
  652.  */
  653.  
  654. /*****************************************************************************
  655.  **
  656.  ** xcb_xinerama_is_active_reply_t * xcb_xinerama_is_active_reply
  657.  ** 
  658.  ** @param xcb_connection_t                 *c
  659.  ** @param xcb_xinerama_is_active_cookie_t   cookie
  660.  ** @param xcb_generic_error_t             **e
  661.  ** @returns xcb_xinerama_is_active_reply_t *
  662.  **
  663.  *****************************************************************************/
  664.  
  665. xcb_xinerama_is_active_reply_t *
  666. xcb_xinerama_is_active_reply (xcb_connection_t                 *c  /**< */,
  667.                               xcb_xinerama_is_active_cookie_t   cookie  /**< */,
  668.                               xcb_generic_error_t             **e  /**< */);
  669.  
  670. /**
  671.  * Delivers a request to the X server
  672.  * @param c The connection
  673.  * @return A cookie
  674.  *
  675.  * Delivers a request to the X server.
  676.  * 
  677.  */
  678.  
  679. /*****************************************************************************
  680.  **
  681.  ** xcb_xinerama_query_screens_cookie_t xcb_xinerama_query_screens
  682.  ** 
  683.  ** @param xcb_connection_t *c
  684.  ** @returns xcb_xinerama_query_screens_cookie_t
  685.  **
  686.  *****************************************************************************/
  687.  
  688. xcb_xinerama_query_screens_cookie_t
  689. xcb_xinerama_query_screens (xcb_connection_t *c  /**< */);
  690.  
  691. /**
  692.  * Delivers a request to the X server
  693.  * @param c The connection
  694.  * @return A cookie
  695.  *
  696.  * Delivers a request to the X server.
  697.  * 
  698.  * This form can be used only if the request will cause
  699.  * a reply to be generated. Any returned error will be
  700.  * placed in the event queue.
  701.  */
  702.  
  703. /*****************************************************************************
  704.  **
  705.  ** xcb_xinerama_query_screens_cookie_t xcb_xinerama_query_screens_unchecked
  706.  ** 
  707.  ** @param xcb_connection_t *c
  708.  ** @returns xcb_xinerama_query_screens_cookie_t
  709.  **
  710.  *****************************************************************************/
  711.  
  712. xcb_xinerama_query_screens_cookie_t
  713. xcb_xinerama_query_screens_unchecked (xcb_connection_t *c  /**< */);
  714.  
  715.  
  716. /*****************************************************************************
  717.  **
  718.  ** xcb_xinerama_screen_info_t * xcb_xinerama_query_screens_screen_info
  719.  ** 
  720.  ** @param const xcb_xinerama_query_screens_reply_t *R
  721.  ** @returns xcb_xinerama_screen_info_t *
  722.  **
  723.  *****************************************************************************/
  724.  
  725. xcb_xinerama_screen_info_t *
  726. xcb_xinerama_query_screens_screen_info (const xcb_xinerama_query_screens_reply_t *R  /**< */);
  727.  
  728.  
  729. /*****************************************************************************
  730.  **
  731.  ** int xcb_xinerama_query_screens_screen_info_length
  732.  ** 
  733.  ** @param const xcb_xinerama_query_screens_reply_t *R
  734.  ** @returns int
  735.  **
  736.  *****************************************************************************/
  737.  
  738. int
  739. xcb_xinerama_query_screens_screen_info_length (const xcb_xinerama_query_screens_reply_t *R  /**< */);
  740.  
  741.  
  742. /*****************************************************************************
  743.  **
  744.  ** xcb_xinerama_screen_info_iterator_t xcb_xinerama_query_screens_screen_info_iterator
  745.  ** 
  746.  ** @param const xcb_xinerama_query_screens_reply_t *R
  747.  ** @returns xcb_xinerama_screen_info_iterator_t
  748.  **
  749.  *****************************************************************************/
  750.  
  751. xcb_xinerama_screen_info_iterator_t
  752. xcb_xinerama_query_screens_screen_info_iterator (const xcb_xinerama_query_screens_reply_t *R  /**< */);
  753.  
  754. /**
  755.  * Return the reply
  756.  * @param c      The connection
  757.  * @param cookie The cookie
  758.  * @param e      The xcb_generic_error_t supplied
  759.  *
  760.  * Returns the reply of the request asked by
  761.  * 
  762.  * The parameter @p e supplied to this function must be NULL if
  763.  * xcb_xinerama_query_screens_unchecked(). is used.
  764.  * Otherwise, it stores the error if any.
  765.  */
  766.  
  767. /*****************************************************************************
  768.  **
  769.  ** xcb_xinerama_query_screens_reply_t * xcb_xinerama_query_screens_reply
  770.  ** 
  771.  ** @param xcb_connection_t                     *c
  772.  ** @param xcb_xinerama_query_screens_cookie_t   cookie
  773.  ** @param xcb_generic_error_t                 **e
  774.  ** @returns xcb_xinerama_query_screens_reply_t *
  775.  **
  776.  *****************************************************************************/
  777.  
  778. xcb_xinerama_query_screens_reply_t *
  779. xcb_xinerama_query_screens_reply (xcb_connection_t                     *c  /**< */,
  780.                                   xcb_xinerama_query_screens_cookie_t   cookie  /**< */,
  781.                                   xcb_generic_error_t                 **e  /**< */);
  782.  
  783.  
  784. #endif
  785.  
  786. /**
  787.  * @}
  788.  */
  789.