** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: cio.h,v 1.7 2000/05/08 20:45:10 kevin Exp $
-** $Log: cio.h,v $
-** Revision 1.7 2000/05/08 20:45:10 kevin
-** *** empty log message ***
-**
-** Revision 1.6 2000/05/08 20:00:47 kevin
-** ANSI C changes
-**
-** Revision 1.5 2000/05/07 12:46:19 kevin
-** made c++ compatible
-**
-** Revision 1.4 2000/04/28 18:18:59 kevin
-** removed unused files
-**
-** Revision 1.3 2000/04/28 14:14:16 kevin
-** *** empty log message ***
-**
+** $Id: cio.h,v 1.9 2000/06/13 16:20:31 kevin Exp $
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License (version 2) as
#ifndef __CIO_H
#define __CIO_H
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
#define C_BLACK 0 /* color codes */
#define C_BLUE 1
#define SC_BLANK ' '
-/* audio.c */
+/* audio.cpp */
void cio_beep(void);
void cio_tone(double freq, double length);
-/* crtput.c */
+/* crtput.cpp */
void cio_put_c(int c);
void cio_put_cc(int c, int count);
void cio_put_str(const char *str);
-/* kbget.c */
+/* kbget.cpp */
unsigned int cio_kb_getc(void);
void cio_kb_ungetc(unsigned int c);
char *cio_kb_gets(char *str, int maxlen);
unsigned int cio_kb_waitc(const char *astr, int beep);
-#ifdef _cplusplus
-}
-#endif /* _cplusplus */
-
#endif