e14743d1 |
1 | /* |
2 | Copyright 1989, 1998 The Open Group |
3 | |
4 | Permission to use, copy, modify, distribute, and sell this software and its |
5 | documentation for any purpose is hereby granted without fee, provided that |
6 | the above copyright notice appear in all copies and that both that |
7 | copyright notice and this permission notice appear in supporting |
8 | documentation. |
9 | |
10 | The above copyright notice and this permission notice shall be included in |
11 | all copies or substantial portions of the Software. |
12 | |
13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
16 | OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN |
17 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
18 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
19 | |
20 | Except as contained in this notice, the name of The Open Group shall not be |
21 | used in advertising or otherwise to promote the sale, use or other dealings |
22 | in 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 | |
33 | typedef int (*XExtensionErrorHandler)(Display *, _Xconst char *, |
34 | _Xconst char *); |
35 | |
36 | extern XExtensionErrorHandler XSetExtensionErrorHandler( |
37 | XExtensionErrorHandler handler |
38 | ); |
39 | |
40 | extern 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_ */ |