home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / include / x11 / extensions / xext.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-10-17  |  1.8 KB  |  60 lines

  1. /*
  2.  * $XConsortium: Xext.h,v 1.4 94/04/17 20:11:18 keith Exp $
  3.  *
  4. Copyright (c) 1989  X Consortium
  5.  
  6. Permission is hereby granted, free of charge, to any person obtaining a copy
  7. of this software and associated documentation files (the "Software"), to deal
  8. in the Software without restriction, including without limitation the rights
  9. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  10. copies of the Software, and to permit persons to whom the Software is
  11. furnished to do so, subject to the following conditions:
  12.  
  13. The above copyright notice and this permission notice shall be included in
  14. all copies or substantial portions of the Software.
  15.  
  16. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  17. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  18. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
  19. X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  20. AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  21. CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  22.  
  23. Except as contained in this notice, the name of the X Consortium shall not be
  24. used in advertising or otherwise to promote the sale, use or other dealings
  25. in this Software without prior written authorization from the X Consortium.
  26.  */
  27.  
  28. #ifndef _XEXT_H_
  29. #define _XEXT_H_
  30.  
  31. #include <X11/Xfuncproto.h>
  32.  
  33. _XFUNCPROTOBEGIN
  34.  
  35. extern int (*XSetExtensionErrorHandler(
  36. #if NeedFunctionPrototypes
  37.     int (*handler)(
  38. #if NeedNestedPrototypes
  39.            Display *,
  40.            char *,
  41.            char *
  42. #endif
  43.            )
  44. #endif
  45. ))();
  46.  
  47. extern int XMissingExtension(
  48. #if NeedFunctionPrototypes
  49.     Display*        /* dpy */,
  50.     _Xconst char*    /* ext_name */
  51. #endif
  52. );
  53.  
  54. _XFUNCPROTOEND
  55.  
  56. #define X_EXTENSION_UNKNOWN "unknown"
  57. #define X_EXTENSION_MISSING "missing"
  58.  
  59. #endif /* _XEXT_H_ */
  60.