X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fxcb.h;h=8e990fdb236fd00beef3f77c26b65d14097c61c5;hb=e6132aff2fdcd0ab1ef5d7ac84a3c597dc07d370;hp=718233f7fc478c8f4b9c5d12c458c9ae6f52e553;hpb=dd932e025b2de0fa33b65971288c63679238e08a;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb.h b/src/xcb.h index 718233f..8e990fd 100644 --- a/src/xcb.h +++ b/src/xcb.h @@ -83,13 +83,6 @@ extern "C" { #define XCB_TYPE_PAD(T,I) (-(I) & (sizeof(T) > 4 ? 3 : sizeof(T) - 1)) - -/** XCBNone is the universal null resource or null atom parameter value for many core X requests */ -#define XCBNone 0L - -/** XCBCopyFromParent can be used for many CreateWindow parameters */ -#define XCBCopyFromParent 0L - /* Opaque structures */ /** @@ -166,6 +159,19 @@ typedef struct { #include "xproto.h" +/** XCBNone is the universal null resource or null atom parameter value for many core X requests */ +#define XCBNone 0L + +/** XCBCopyFromParent can be used for many CreateWindow parameters */ +#define XCBCopyFromParent 0L + +/** XCBCurrentTime can be used in most requests that take an XCBTIMESTAMP */ +#define XCBCurrentTime 0L + +/** XCBNoSymbol fills in unused entries in XCBKEYSYM tables */ +#define XCBNoSymbol 0L + + /* xcb_auth.c */ /** @@ -290,7 +296,7 @@ typedef struct XCBExtension XCBExtension; /**< Opaque structure used as key for * @brief Caches reply information from QueryExtension requests. * @param c: The connection. * @param ext: The extension data. - * @return A pointer to a XCBConnSetupSuccessRep pointer. + * @return A pointer to the XCBQueryExtensionRep for the extension. * * This function is the primary interface to the "extension cache", * which caches reply information from QueryExtension @@ -323,7 +329,7 @@ void XCBPrefetchExtensionData(XCBConnection *c, XCBExtension *ext); /** * @brief Access the data returned by the server. * @param c: The connection. - * @return A pointer to a XCBConnSetupSuccessRep pointer. + * @return A pointer to an XCBSetup structure. * * Accessor for the data returned by the server when the XCBConnection * was initialized. This data includes