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

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