home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / mitsch75.zip / scheme-7_5_17-src.zip / scheme-7.5.17 / src / microcode / outf.h < prev    next >
C/C++ Source or Header  |  2000-12-05  |  2KB  |  45 lines

  1. /* -*-C-*-
  2.  
  3. $Id: outf.h,v 1.5 2000/12/05 21:23:47 cph Exp $
  4.  
  5. Copyright (c) 1993, 1999, 2000 Massachusetts Institute of Technology
  6.  
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or (at
  10. your option) any later version.
  11.  
  12. This program is distributed in the hope that it will be useful, but
  13. WITHOUT ANY WARRANTY; without even the implied warranty of
  14. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15. General Public License for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21.  
  22. #ifndef SCM_OUTF_H
  23. #define SCM_OUTF_H
  24.  
  25. #include <stdio.h>
  26. #include "config.h"
  27.  
  28. typedef struct __outf_channel_type_placeholder *outf_channel;
  29.  
  30. extern void EXFUN (outf, (outf_channel chan, CONST char *format  DOTS));
  31. extern void EXFUN (outf_console, (CONST char *format  DOTS));
  32. extern void EXFUN (outf_error, (CONST char *format  DOTS));
  33. extern void EXFUN (outf_fatal, (CONST char *format  DOTS));
  34.  
  35. extern void EXFUN (outf_flush, (outf_channel chan));
  36. extern void EXFUN (outf_flush_console, (void));
  37. extern void EXFUN (outf_flush_error, (void));
  38. extern void EXFUN (outf_flush_fatal, (void));
  39.  
  40. #define  console_output ((outf_channel)-1)
  41. #define  error_output ((outf_channel)-2)
  42. #define  fatal_output ((outf_channel)-3)
  43.  
  44. #endif /* SCM_OUTF_H */
  45.