X FUNCTIONS XdbeQueryExtension(3xext)
NAME
XdbeQueryExtension - returns the version of DBE supported by
the server.SYNOPSIS
cc [ flag... ] file... -lXext [ library... ]
#include
Status XdbeQueryExtension(
Display *dpy,int *major_version_return,
int *minor_version_return)
DESCRIPTION
Sets major_version_return and minor_version_return to the
major and minor DBE protocol version supported by the server. If the DBE library is compatible with the versionreturned by the server, this function returns non-zero. If
dpy does not support the DBE extension, or if there was an error during communication with the server, or if the serverand library protocol versions are incompatible, this func-
tion returns zero. No other Xdbe functions may be called before this function. If a client violates this rule, theeffects of all subsequent Xdbe calls that it makes are unde-
fined.SEE ALSO
DBE, XdbeAllocateBackBufferName(), XdbeBeginIdiom(),XdbeDeallocateBackBufferName(), XdbeEndIdiom(), XdbeFreeV-
isualInfo(), XdbeGetBackBufferAttributes(), XdbeGet-
VisualInfo(), XdbeSwapBuffers().ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libxext ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libXext 1.1.2 1