X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fc-client.xsl;h=a15d824a16bed1fd17187a5937c034615b201186;hb=1c590d5a86ae854e53f388e40c952e92f11d59e6;hp=982ec0202579275c7ffb31591bf9c0eddd8a0f49;hpb=16516a5e94205edffddde546abc833106c68068e;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/c-client.xsl b/src/c-client.xsl index 982ec02..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. - - - @@ -98,31 +97,19 @@ authorization from the authors. xcb - - - _randr - - - _screensaver - - - _xf86dri - - - _xfixes - - - _xvmc - - - _ - - - - - - - + + _ + + + + + + + + + + + _ @@ -270,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 @@ -361,6 +366,7 @@ authorization from the authors. + @@ -390,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(). + */ @@ -403,18 +423,10 @@ authorization from the authors. - - - - + + - - - ret; - ret.xid = xcb_generate_id(c); - return ret; - @@ -598,7 +610,7 @@ authorization from the authors. - + @@ -730,7 +742,11 @@ authorization from the authors. xcb_out; - + xcb_out.pad0 = 0; + + @@ -789,6 +805,14 @@ authorization from the authors. + + + + xcb_out.pad = 0; + memset(xcb_out.pad, 0, ); + + + @@ -920,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) + */ @@ -938,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; @@ -989,8 +1030,16 @@ authorization from the authors. * Edit at your peril. */ - +/** + * @defgroup XCB__API XCB API + * @brief XCB Protocol Implementation. + + * @{ + **/ + + + #ifndef #define @@ -1002,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" @@ -1015,6 +1079,10 @@ authorization from the authors. #endif + +/** + * @} + */ @@ -1023,6 +1091,8 @@ authorization from the authors. + /** Opcode for . */ + #define @@ -1083,8 +1153,14 @@ authorization from the authors. + /** + * @brief + **/ + typedef struct + + { @@ -1092,7 +1168,7 @@ authorization from the authors. - ; + ; /**< */ } @@ -1105,7 +1181,9 @@ authorization from the authors. - typedef enum { + typedef enum + + { , @@ -1135,8 +1213,35 @@ authorization from the authors. - - + + + + + + +/***************************************************************************** + ** + ** + + + ** + + + + + ** @param + + + + + + + + ** @returns + ** + *****************************************************************************/ + + @@ -1154,6 +1259,7 @@ authorization from the authors. + /**< */ @@ -1177,6 +1283,11 @@ authorization from the authors. + + + + +