home *** CD-ROM | disk | FTP | other *** search
/ PC Shareware 1999 March / PCShareware-3-99.iso / IMPLE / DJGPP.RAR / DJGPP2 / XLIB-SR0.ZIP / SRC / EXTENSIO / MITMISC.H < prev    next >
C/C++ Source or Header  |  1991-07-12  |  2KB  |  64 lines

  1. /************************************************************
  2. Copyright 1989 by The Massachusetts Institute of Technology
  3.  
  4. Permission to use, copy, modify, and distribute this
  5. software and its documentation for any purpose and without
  6. fee is hereby granted, provided that the above copyright
  7. no- tice appear in all copies and that both that copyright
  8. no- tice and this permission notice appear in supporting
  9. docu- mentation, and that the name of MIT not be used in
  10. advertising or publicity pertaining to distribution of the
  11. software without specific prior written permission.
  12. M.I.T. makes no representation about the suitability of
  13. this software for any purpose. It is provided "as is"
  14. without any express or implied warranty.
  15.  
  16. ********************************************************/
  17.  
  18. /* RANDOM CRUFT! THIS HAS NO OFFICIAL X CONSORTIUM BLESSING */
  19.  
  20. /* $XConsortium: MITMisc.h,v 1.4 91/07/12 10:06:43 rws Exp $ */
  21.  
  22. #ifndef _XMITMISC_H_
  23. #define _XMITMISC_H_
  24.  
  25. #include <X11/Xfuncproto.h>
  26.  
  27. #define X_MITSetBugMode            0
  28. #define X_MITGetBugMode            1
  29.  
  30. #define MITMiscNumberEvents        0
  31.  
  32. #define MITMiscNumberErrors        0
  33.  
  34. #ifndef _MITMISC_SERVER_
  35.  
  36. _XFUNCPROTOBEGIN
  37.  
  38. Bool XMITMiscQueryExtension(
  39. #if NeedFunctionPrototypes
  40.     Display*        /* dpy */,
  41.     int*        /* event_basep */,
  42.     int*        /* error_basep */
  43. #endif
  44. );
  45.  
  46. Status XMITMiscSetBugMode(
  47. #if NeedFunctionPrototypes
  48.     Display*        /* dpy */,
  49.     Bool        /* onOff */
  50. #endif
  51. );
  52.  
  53. Bool XMITMiscGetBugMode(
  54. #if NeedFunctionPrototypes
  55.     Display*        /* dpy */
  56. #endif
  57. );
  58.  
  59. _XFUNCPROTOEND
  60.  
  61. #endif
  62.  
  63. #endif
  64.