jpayne@69: /* jpayne@69: * jpayne@69: Copyright 1989, 1998 The Open Group jpayne@69: jpayne@69: Permission to use, copy, modify, distribute, and sell this software and its jpayne@69: documentation for any purpose is hereby granted without fee, provided that jpayne@69: the above copyright notice appear in all copies and that both that jpayne@69: copyright notice and this permission notice appear in supporting jpayne@69: documentation. jpayne@69: jpayne@69: The above copyright notice and this permission notice shall be included in jpayne@69: all copies or substantial portions of the Software. jpayne@69: jpayne@69: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR jpayne@69: IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, jpayne@69: FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE jpayne@69: OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN jpayne@69: AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN jpayne@69: CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. jpayne@69: jpayne@69: Except as contained in this notice, the name of The Open Group shall not be jpayne@69: used in advertising or otherwise to promote the sale, use or other dealings jpayne@69: in this Software without prior written authorization from The Open Group. jpayne@69: */ jpayne@69: jpayne@69: #ifndef _XEXT_H_ jpayne@69: #define _XEXT_H_ jpayne@69: jpayne@69: #include jpayne@69: jpayne@69: _XFUNCPROTOBEGIN jpayne@69: jpayne@69: typedef int (*XextErrorHandler) ( jpayne@69: Display * /* dpy */, jpayne@69: _Xconst char* /* ext_name */, jpayne@69: _Xconst char* /* reason */ jpayne@69: ); jpayne@69: jpayne@69: extern XextErrorHandler XSetExtensionErrorHandler( jpayne@69: XextErrorHandler /* handler */ jpayne@69: ); jpayne@69: jpayne@69: extern int XMissingExtension( jpayne@69: Display* /* dpy */, jpayne@69: _Xconst char* /* ext_name */ jpayne@69: ); jpayne@69: jpayne@69: _XFUNCPROTOEND jpayne@69: jpayne@69: #define X_EXTENSION_UNKNOWN "unknown" jpayne@69: #define X_EXTENSION_MISSING "missing" jpayne@69: jpayne@69: #endif /* _XEXT_H_ */