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

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