1/* 2Copyright 1989, 1998 The Open Group 3 4Permission to use, copy, modify, distribute, and sell this software and its 5documentation for any purpose is hereby granted without fee, provided that 6the above copyright notice appear in all copies and that both that 7copyright notice and this permission notice appear in supporting 8documentation. 9 10The above copyright notice and this permission notice shall be included in 11all copies or substantial portions of the Software. 12 13THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN 17AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 18CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 19 20Except as contained in this notice, the name of The Open Group shall not be 21used in advertising or otherwise to promote the sale, use or other dealings 22in this Software without prior written authorization from The Open Group. 23 */ 24/* $XFree86: xc/include/extensions/Xext.h,v 1.7 2005/01/27 03:03:09 dawes Exp $ */ 25 26#ifndef _XEXT_H_ 27#define _XEXT_H_ 28 29#include <X11/Xfuncproto.h> 30 31_XFUNCPROTOBEGIN 32 33typedef int (*XExtensionErrorHandler)(Display *, _Xconst char *, 34 _Xconst char *); 35 36extern XExtensionErrorHandler XSetExtensionErrorHandler( 37 XExtensionErrorHandler handler 38); 39 40extern int XMissingExtension( 41 Display* /* dpy */, 42 _Xconst char* /* ext_name */ 43); 44 45_XFUNCPROTOEND 46 47#define X_EXTENSION_UNKNOWN "unknown" 48#define X_EXTENSION_MISSING "missing" 49 50#endif /* _XEXT_H_ */ 51