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