summaryrefslogtreecommitdiff
path: root/lib/libxcb/src/shape.h
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-26 21:32:13 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2015-01-26 21:32:13 +0000
commit534a59dc96bdfb1b29a1ff426939ee580347e3a2 (patch)
treee5b209ef8dad71342fdc362b05b2a1aaed152ff4 /lib/libxcb/src/shape.h
parent9d2efe62a0314bcf82676acac0b2c1ed7903a28a (diff)
Update to libxcb and xcb-proto 1.11.
Tested on a bulk ports build by naddy@. Lots of churn due to white-space and comments changes in generated code.
Diffstat (limited to 'lib/libxcb/src/shape.h')
-rw-r--r--lib/libxcb/src/shape.h406
1 files changed, 23 insertions, 383 deletions
diff --git a/lib/libxcb/src/shape.h b/lib/libxcb/src/shape.h
index 59a7b0ae2..f37097fee 100644
--- a/lib/libxcb/src/shape.h
+++ b/lib/libxcb/src/shape.h
@@ -21,7 +21,7 @@ extern "C" {
#define XCB_SHAPE_MAJOR_VERSION 1
#define XCB_SHAPE_MINOR_VERSION 1
-
+
extern xcb_extension_t xcb_shape_id;
typedef uint8_t xcb_shape_op_t;
@@ -314,16 +314,6 @@ typedef struct xcb_shape_get_rectangles_reply_t {
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_shape_op_t)
*/
-
-/*****************************************************************************
- **
- ** void xcb_shape_op_next
- **
- ** @param xcb_shape_op_iterator_t *i
- ** @returns void
- **
- *****************************************************************************/
-
void
xcb_shape_op_next (xcb_shape_op_iterator_t *i /**< */);
@@ -336,16 +326,6 @@ xcb_shape_op_next (xcb_shape_op_iterator_t *i /**< */);
* The member rem is set to 0. The member data points to the
* last element.
*/
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_shape_op_end
- **
- ** @param xcb_shape_op_iterator_t i
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_shape_op_end (xcb_shape_op_iterator_t i /**< */);
@@ -357,16 +337,6 @@ xcb_shape_op_end (xcb_shape_op_iterator_t i /**< */);
* decreased by one. The member data points to the next
* element. The member index is increased by sizeof(xcb_shape_kind_t)
*/
-
-/*****************************************************************************
- **
- ** void xcb_shape_kind_next
- **
- ** @param xcb_shape_kind_iterator_t *i
- ** @returns void
- **
- *****************************************************************************/
-
void
xcb_shape_kind_next (xcb_shape_kind_iterator_t *i /**< */);
@@ -379,16 +349,6 @@ xcb_shape_kind_next (xcb_shape_kind_iterator_t *i /**< */);
* The member rem is set to 0. The member data points to the
* last element.
*/
-
-/*****************************************************************************
- **
- ** xcb_generic_iterator_t xcb_shape_kind_end
- **
- ** @param xcb_shape_kind_iterator_t i
- ** @returns xcb_generic_iterator_t
- **
- *****************************************************************************/
-
xcb_generic_iterator_t
xcb_shape_kind_end (xcb_shape_kind_iterator_t i /**< */);
@@ -398,18 +358,8 @@ xcb_shape_kind_end (xcb_shape_kind_iterator_t i /**< */);
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_query_version_cookie_t xcb_shape_query_version
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_shape_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_query_version_cookie_t
xcb_shape_query_version (xcb_connection_t *c /**< */);
@@ -419,21 +369,11 @@ xcb_shape_query_version (xcb_connection_t *c /**< */);
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_query_version_cookie_t xcb_shape_query_version_unchecked
- **
- ** @param xcb_connection_t *c
- ** @returns xcb_shape_query_version_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_query_version_cookie_t
xcb_shape_query_version_unchecked (xcb_connection_t *c /**< */);
@@ -444,25 +384,13 @@ xcb_shape_query_version_unchecked (xcb_connection_t *c /**< */);
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_shape_query_version_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_query_version_reply_t * xcb_shape_query_version_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_query_version_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_shape_query_version_reply_t *
- **
- *****************************************************************************/
-
xcb_shape_query_version_reply_t *
xcb_shape_query_version_reply (xcb_connection_t *c /**< */,
xcb_shape_query_version_cookie_t cookie /**< */,
@@ -478,29 +406,11 @@ xcb_shape_rectangles_sizeof (const void *_buffer /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_rectangles_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_op_t operation
- ** @param xcb_shape_kind_t destination_kind
- ** @param uint8_t ordering
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param uint32_t rectangles_len
- ** @param const xcb_rectangle_t *rectangles
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_rectangles_checked (xcb_connection_t *c /**< */,
xcb_shape_op_t operation /**< */,
@@ -518,26 +428,8 @@ xcb_shape_rectangles_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_rectangles
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_op_t operation
- ** @param xcb_shape_kind_t destination_kind
- ** @param uint8_t ordering
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param uint32_t rectangles_len
- ** @param const xcb_rectangle_t *rectangles
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_rectangles (xcb_connection_t *c /**< */,
xcb_shape_op_t operation /**< */,
@@ -555,27 +447,11 @@ xcb_shape_rectangles (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_mask_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_op_t operation
- ** @param xcb_shape_kind_t destination_kind
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param xcb_pixmap_t source_bitmap
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_mask_checked (xcb_connection_t *c /**< */,
xcb_shape_op_t operation /**< */,
@@ -591,24 +467,8 @@ xcb_shape_mask_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_mask
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_op_t operation
- ** @param xcb_shape_kind_t destination_kind
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param xcb_pixmap_t source_bitmap
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_mask (xcb_connection_t *c /**< */,
xcb_shape_op_t operation /**< */,
@@ -624,28 +484,11 @@ xcb_shape_mask (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_combine_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_op_t operation
- ** @param xcb_shape_kind_t destination_kind
- ** @param xcb_shape_kind_t source_kind
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param xcb_window_t source_window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_combine_checked (xcb_connection_t *c /**< */,
xcb_shape_op_t operation /**< */,
@@ -662,25 +505,8 @@ xcb_shape_combine_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_combine
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_op_t operation
- ** @param xcb_shape_kind_t destination_kind
- ** @param xcb_shape_kind_t source_kind
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @param xcb_window_t source_window
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_combine (xcb_connection_t *c /**< */,
xcb_shape_op_t operation /**< */,
@@ -697,25 +523,11 @@ xcb_shape_combine (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_offset_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_kind_t destination_kind
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_offset_checked (xcb_connection_t *c /**< */,
xcb_shape_kind_t destination_kind /**< */,
@@ -729,22 +541,8 @@ xcb_shape_offset_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_offset
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_kind_t destination_kind
- ** @param xcb_window_t destination_window
- ** @param int16_t x_offset
- ** @param int16_t y_offset
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_offset (xcb_connection_t *c /**< */,
xcb_shape_kind_t destination_kind /**< */,
@@ -758,19 +556,8 @@ xcb_shape_offset (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_query_extents_cookie_t xcb_shape_query_extents
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t destination_window
- ** @returns xcb_shape_query_extents_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_query_extents_cookie_t
xcb_shape_query_extents (xcb_connection_t *c /**< */,
xcb_window_t destination_window /**< */);
@@ -781,22 +568,11 @@ xcb_shape_query_extents (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_query_extents_cookie_t xcb_shape_query_extents_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t destination_window
- ** @returns xcb_shape_query_extents_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_query_extents_cookie_t
xcb_shape_query_extents_unchecked (xcb_connection_t *c /**< */,
xcb_window_t destination_window /**< */);
@@ -808,25 +584,13 @@ xcb_shape_query_extents_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_shape_query_extents_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_query_extents_reply_t * xcb_shape_query_extents_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_query_extents_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_shape_query_extents_reply_t *
- **
- *****************************************************************************/
-
xcb_shape_query_extents_reply_t *
xcb_shape_query_extents_reply (xcb_connection_t *c /**< */,
xcb_shape_query_extents_cookie_t cookie /**< */,
@@ -838,23 +602,11 @@ xcb_shape_query_extents_reply (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will not cause
* a reply to be generated. Any returned error will be
* saved for handling by xcb_request_check().
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_select_input_checked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t destination_window
- ** @param uint8_t enable
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_select_input_checked (xcb_connection_t *c /**< */,
xcb_window_t destination_window /**< */,
@@ -866,20 +618,8 @@ xcb_shape_select_input_checked (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_void_cookie_t xcb_shape_select_input
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t destination_window
- ** @param uint8_t enable
- ** @returns xcb_void_cookie_t
- **
- *****************************************************************************/
-
xcb_void_cookie_t
xcb_shape_select_input (xcb_connection_t *c /**< */,
xcb_window_t destination_window /**< */,
@@ -891,19 +631,8 @@ xcb_shape_select_input (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_input_selected_cookie_t xcb_shape_input_selected
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t destination_window
- ** @returns xcb_shape_input_selected_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_input_selected_cookie_t
xcb_shape_input_selected (xcb_connection_t *c /**< */,
xcb_window_t destination_window /**< */);
@@ -914,22 +643,11 @@ xcb_shape_input_selected (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_input_selected_cookie_t xcb_shape_input_selected_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t destination_window
- ** @returns xcb_shape_input_selected_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_input_selected_cookie_t
xcb_shape_input_selected_unchecked (xcb_connection_t *c /**< */,
xcb_window_t destination_window /**< */);
@@ -941,25 +659,13 @@ xcb_shape_input_selected_unchecked (xcb_connection_t *c /**< */,
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_shape_input_selected_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_input_selected_reply_t * xcb_shape_input_selected_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_input_selected_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_shape_input_selected_reply_t *
- **
- *****************************************************************************/
-
xcb_shape_input_selected_reply_t *
xcb_shape_input_selected_reply (xcb_connection_t *c /**< */,
xcb_shape_input_selected_cookie_t cookie /**< */,
@@ -974,20 +680,8 @@ xcb_shape_get_rectangles_sizeof (const void *_buffer /**< */);
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_get_rectangles_cookie_t xcb_shape_get_rectangles
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param xcb_shape_kind_t source_kind
- ** @returns xcb_shape_get_rectangles_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_get_rectangles_cookie_t
xcb_shape_get_rectangles (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
@@ -999,64 +693,22 @@ xcb_shape_get_rectangles (xcb_connection_t *c /**< */,
* @return A cookie
*
* Delivers a request to the X server.
- *
+ *
* This form can be used only if the request will cause
* a reply to be generated. Any returned error will be
* placed in the event queue.
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_get_rectangles_cookie_t xcb_shape_get_rectangles_unchecked
- **
- ** @param xcb_connection_t *c
- ** @param xcb_window_t window
- ** @param xcb_shape_kind_t source_kind
- ** @returns xcb_shape_get_rectangles_cookie_t
- **
- *****************************************************************************/
-
xcb_shape_get_rectangles_cookie_t
xcb_shape_get_rectangles_unchecked (xcb_connection_t *c /**< */,
xcb_window_t window /**< */,
xcb_shape_kind_t source_kind /**< */);
-
-/*****************************************************************************
- **
- ** xcb_rectangle_t * xcb_shape_get_rectangles_rectangles
- **
- ** @param const xcb_shape_get_rectangles_reply_t *R
- ** @returns xcb_rectangle_t *
- **
- *****************************************************************************/
-
xcb_rectangle_t *
xcb_shape_get_rectangles_rectangles (const xcb_shape_get_rectangles_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** int xcb_shape_get_rectangles_rectangles_length
- **
- ** @param const xcb_shape_get_rectangles_reply_t *R
- ** @returns int
- **
- *****************************************************************************/
-
int
xcb_shape_get_rectangles_rectangles_length (const xcb_shape_get_rectangles_reply_t *R /**< */);
-
-/*****************************************************************************
- **
- ** xcb_rectangle_iterator_t xcb_shape_get_rectangles_rectangles_iterator
- **
- ** @param const xcb_shape_get_rectangles_reply_t *R
- ** @returns xcb_rectangle_iterator_t
- **
- *****************************************************************************/
-
xcb_rectangle_iterator_t
xcb_shape_get_rectangles_rectangles_iterator (const xcb_shape_get_rectangles_reply_t *R /**< */);
@@ -1067,25 +719,13 @@ xcb_shape_get_rectangles_rectangles_iterator (const xcb_shape_get_rectangles_rep
* @param e The xcb_generic_error_t supplied
*
* Returns the reply of the request asked by
- *
+ *
* The parameter @p e supplied to this function must be NULL if
* xcb_shape_get_rectangles_unchecked(). is used.
* Otherwise, it stores the error if any.
*
* The returned value must be freed by the caller using free().
*/
-
-/*****************************************************************************
- **
- ** xcb_shape_get_rectangles_reply_t * xcb_shape_get_rectangles_reply
- **
- ** @param xcb_connection_t *c
- ** @param xcb_shape_get_rectangles_cookie_t cookie
- ** @param xcb_generic_error_t **e
- ** @returns xcb_shape_get_rectangles_reply_t *
- **
- *****************************************************************************/
-
xcb_shape_get_rectangles_reply_t *
xcb_shape_get_rectangles_reply (xcb_connection_t *c /**< */,
xcb_shape_get_rectangles_cookie_t cookie /**< */,