diff options
author | Jamey Sharp <jamey@minilop.net> | 2006-04-26 23:19:16 -0700 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2006-04-26 23:19:16 -0700 |
commit | dd932e025b2de0fa33b65971288c63679238e08a (patch) | |
tree | 8d3f1565da9985c033104c42410b39be1728aa85 /src/xcb.h | |
parent | b825f3385becccfcde34626f872721301e82f960 (diff) |
Rename ConnSetup* to Setup*, Setup*Rep to Setup*, and SetupSuccess* to Setup*. Provide deprecated backwards-compatability functions and typedefs for the old names, to be removed before 1.0.
Diffstat (limited to 'src/xcb.h')
-rw-r--r-- | src/xcb.h | 43 |
1 files changed, 42 insertions, 1 deletions
@@ -338,7 +338,7 @@ void XCBPrefetchExtensionData(XCBConnection *c, XCBExtension *ext); * * The result must not be freed. */ -const XCBConnSetupSuccessRep *XCBGetSetup(XCBConnection *c); +const XCBSetup *XCBGetSetup(XCBConnection *c); /** * @brief Access the file descriptor of the connection. @@ -483,6 +483,47 @@ int XCBSync(XCBConnection *c, XCBGenericError **e); */ +/* Old names for connection-setup types, to be removed before 1.0. */ + +typedef XCBSetupReq XCBConnSetupReq deprecated; +typedef XCBSetupReqIter XCBConnSetupReqIter deprecated; +typedef XCBSetupFailed XCBConnSetupFailedRep deprecated; +typedef XCBSetupFailedIter XCBConnSetupFailedRepIter deprecated; +typedef XCBSetupAuthenticate XCBConnSetupAuthenticateRep deprecated; +typedef XCBSetupAuthenticateIter XCBConnSetupAuthenticateRepIter deprecated; +typedef XCBSetup XCBConnSetupSuccessRep deprecated; +typedef XCBSetupIter XCBConnSetupSuccessRepIter deprecated; + +char *XCBConnSetupReqAuthorizationProtocolName(XCBSetupReq *R) deprecated; +int XCBConnSetupReqAuthorizationProtocolNameLength(XCBSetupReq *R) deprecated; +XCBGenericIter XCBConnSetupReqAuthorizationProtocolNameEnd(XCBSetupReq *R) deprecated; +char *XCBConnSetupReqAuthorizationProtocolData(XCBSetupReq *R) deprecated; +int XCBConnSetupReqAuthorizationProtocolDataLength(XCBSetupReq *R) deprecated; +XCBGenericIter XCBConnSetupReqAuthorizationProtocolDataEnd(XCBSetupReq *R) deprecated; +void XCBConnSetupReqNext(XCBSetupReqIter *i) deprecated; +XCBGenericIter XCBConnSetupReqEnd(XCBSetupReqIter i) deprecated; +char *XCBConnSetupFailedRepReason(XCBSetupFailed *R) deprecated; +int XCBConnSetupFailedRepReasonLength(XCBSetupFailed *R) deprecated; +XCBGenericIter XCBConnSetupFailedRepReasonEnd(XCBSetupFailed *R) deprecated; +void XCBConnSetupFailedRepNext(XCBSetupFailedIter *i) deprecated; +XCBGenericIter XCBConnSetupFailedRepEnd(XCBSetupFailedIter i) deprecated; +char *XCBConnSetupAuthenticateRepReason(XCBSetupAuthenticate *R) deprecated; +int XCBConnSetupAuthenticateRepReasonLength(XCBSetupAuthenticate *R) deprecated; +XCBGenericIter XCBConnSetupAuthenticateRepReasonEnd(XCBSetupAuthenticate *R) deprecated; +void XCBConnSetupAuthenticateRepNext(XCBSetupAuthenticateIter *i) deprecated; +XCBGenericIter XCBConnSetupAuthenticateRepEnd(XCBSetupAuthenticateIter i) deprecated; +char *XCBConnSetupSuccessRepVendor(XCBSetup *R) deprecated; +int XCBConnSetupSuccessRepVendorLength(XCBSetup *R) deprecated; +XCBGenericIter XCBConnSetupSuccessRepVendorEnd(XCBSetup *R) deprecated; +XCBFORMAT *XCBConnSetupSuccessRepPixmapFormats(XCBSetup *R) deprecated; +int XCBConnSetupSuccessRepPixmapFormatsLength(XCBSetup *R) deprecated; +XCBFORMATIter XCBConnSetupSuccessRepPixmapFormatsIter(XCBSetup *R) deprecated; +int XCBConnSetupSuccessRepRootsLength(XCBSetup *R) deprecated; +XCBSCREENIter XCBConnSetupSuccessRepRootsIter(XCBSetup *R) deprecated; +void XCBConnSetupSuccessRepNext(XCBSetupIter *i) deprecated; +XCBGenericIter XCBConnSetupSuccessRepEnd(XCBSetupIter i) deprecated; + + #ifdef __cplusplus } #endif |