Xext.h revision 485f0483
1485f0483Smrg/* 2485f0483Smrg * $Xorg: Xext.h,v 1.4 2001/02/09 02:03:24 xorgcvs Exp $ 3485f0483Smrg * 4485f0483SmrgCopyright 1989, 1998 The Open Group 5485f0483Smrg 6485f0483SmrgPermission to use, copy, modify, distribute, and sell this software and its 7485f0483Smrgdocumentation for any purpose is hereby granted without fee, provided that 8485f0483Smrgthe above copyright notice appear in all copies and that both that 9485f0483Smrgcopyright notice and this permission notice appear in supporting 10485f0483Smrgdocumentation. 11485f0483Smrg 12485f0483SmrgThe above copyright notice and this permission notice shall be included in 13485f0483Smrgall copies or substantial portions of the Software. 14485f0483Smrg 15485f0483SmrgTHE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16485f0483SmrgIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17485f0483SmrgFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18485f0483SmrgOPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 19485f0483SmrgAN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20485f0483SmrgCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21485f0483Smrg 22485f0483SmrgExcept as contained in this notice, the name of The Open Group shall not be 23485f0483Smrgused in advertising or otherwise to promote the sale, use or other dealings 24485f0483Smrgin this Software without prior written authorization from The Open Group. 25485f0483Smrg */ 26485f0483Smrg/* $XFree86: xc/include/extensions/Xext.h,v 1.4 2001/12/14 19:53:28 dawes Exp $ */ 27485f0483Smrg 28485f0483Smrg#ifndef _XEXT_H_ 29485f0483Smrg#define _XEXT_H_ 30485f0483Smrg 31485f0483Smrg#include <X11/Xfuncproto.h> 32485f0483Smrg 33485f0483Smrg_XFUNCPROTOBEGIN 34485f0483Smrg 35485f0483Smrgtypedef int (*XextErrorHandler) ( 36485f0483Smrg Display * /* dpy */, 37485f0483Smrg _Xconst char* /* ext_name */, 38485f0483Smrg _Xconst char* /* reason */ 39485f0483Smrg); 40485f0483Smrg 41485f0483Smrgextern XextErrorHandler XSetExtensionErrorHandler( 42485f0483Smrg XextErrorHandler /* handler */ 43485f0483Smrg); 44485f0483Smrg 45485f0483Smrgextern int XMissingExtension( 46485f0483Smrg Display* /* dpy */, 47485f0483Smrg _Xconst char* /* ext_name */ 48485f0483Smrg); 49485f0483Smrg 50485f0483Smrg_XFUNCPROTOEND 51485f0483Smrg 52485f0483Smrg#define X_EXTENSION_UNKNOWN "unknown" 53485f0483Smrg#define X_EXTENSION_MISSING "missing" 54485f0483Smrg 55485f0483Smrg#endif /* _XEXT_H_ */ 56