X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fc-client.xsl;h=a15d824a16bed1fd17187a5937c034615b201186;hb=e82c34c2f7ac3fbb23ab14cbee8df2dd9178f5a4;hp=188e8b0d3312e6d671c6097add685211a2425a64;hpb=a3bd6f4760b5b3f5f360a690920839646e2b9d06;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/c-client.xsl b/src/c-client.xsl index 188e8b0..a15d824 100644 --- a/src/c-client.xsl +++ b/src/c-client.xsl @@ -47,6 +47,8 @@ authorization from the authors. + + @@ -68,9 +70,6 @@ authorization from the authors. - - - @@ -89,11 +88,6 @@ authorization from the authors. { "" } - - - return xcb_get_extension_data(c, &_id); - @@ -103,31 +97,19 @@ authorization from the authors. xcb - - - _randr - - - _screensaver - - - _xf86dri - - - _xfixes - - - _xvmc - - - _ - - - - - - - + + _ + + + + + + + + + + + _ @@ -275,8 +257,8 @@ authorization from the authors. + /** + * Delivers a request to the X server + * @param c The connection + * @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(). + + + * 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. + + */ - true @@ -366,6 +366,7 @@ authorization from the authors. + @@ -395,6 +396,20 @@ authorization from the authors. + /** + * Return the reply + * @param c The connection + * @param cookie The cookie + * @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 + * _unchecked(). is used. + * Otherwise, it stores the error if any. + * + * The returned value must be freed by the caller using free(). + */ @@ -408,18 +423,10 @@ authorization from the authors. - - - - + + - - - ret; - ret.xid = xcb_generate_id(c); - return ret; - @@ -603,7 +610,7 @@ authorization from the authors. - + @@ -735,7 +742,11 @@ authorization from the authors. xcb_out; - + xcb_out.pad0 = 0; + + @@ -794,6 +805,14 @@ authorization from the authors. + + + + xcb_out.pad = 0; + memset(xcb_out.pad, 0, ); + + + @@ -925,6 +944,14 @@ authorization from the authors. + /** + * Get the next element of the iterator + * @param i Pointer to a _iterator_t + * + * Get the next element in the iterator. The member rem is + * decreased by one. The member data points to the next + * element. The member index is increased by sizeof(_t) + */ @@ -943,6 +970,15 @@ authorization from the authors. + /** + * Return the iterator pointing to the last element + * @param i An _iterator_t + * @return The iterator pointing to the last element + * + * Set the current element in the iterator to the last element. + * The member rem is set to 0. The member data points to the + * last element. + */ xcb_generic_iterator_t ret; @@ -994,8 +1030,16 @@ authorization from the authors. * Edit at your peril. */ - +/** + * @defgroup XCB__API XCB API + * @brief XCB Protocol Implementation. + + * @{ + **/ + + + #ifndef #define @@ -1007,8 +1051,23 @@ authorization from the authors. + + + + #define XCB__MAJOR_VERSION + + #define XCB__MINOR_VERSION + + + + + + - + + +#include <string.h> + #include <assert.h> #include "xcbext.h" #include ".h" @@ -1020,6 +1079,10 @@ authorization from the authors. #endif + +/** + * @} + */ @@ -1028,6 +1091,8 @@ authorization from the authors. + /** Opcode for . */ + #define @@ -1088,8 +1153,14 @@ authorization from the authors. + /** + * @brief + **/ + typedef struct + + { @@ -1097,7 +1168,7 @@ authorization from the authors. - ; + ; /**< */ } @@ -1110,7 +1181,9 @@ authorization from the authors. - typedef enum { + typedef enum + + { , @@ -1140,8 +1213,35 @@ authorization from the authors. - - + + + + + + +/***************************************************************************** + ** + ** + + + ** + + + + + ** @param + + + + + + + + ** @returns + ** + *****************************************************************************/ + + @@ -1159,6 +1259,7 @@ authorization from the authors. + /**< */ @@ -1182,6 +1283,11 @@ authorization from the authors. + + + + +