* and: Eric S. Raymond <esr@snark.thyrsus.com> *
****************************************************************************/
-/* $Id: termcap.h.in,v 1.5 1998/02/11 12:13:45 tom Exp $ */
+/* $Id: termcap.h.in,v 1.12 2000/10/08 01:06:37 tom Exp $ */
-#ifndef _TERMCAP_H
-#define _TERMCAP_H 1
+#ifndef _NCU_TERMCAP_H
+#define _NCU_TERMCAP_H 1
#undef NCURSES_VERSION
#define NCURSES_VERSION "@NCURSES_MAJOR@.@NCURSES_MINOR@"
#include <sys/types.h>
+#undef NCURSES_CONST
+#define NCURSES_CONST @NCURSES_CONST@
+
extern char PC;
extern char *UP;
extern char *BC;
-extern short ospeed;
+extern short ospeed;
+#if !defined(_NCU_TERM_H)
+extern char *tgetstr(NCURSES_CONST char *, char **);
+extern char *tgoto(const char *, int, int);
extern int tgetent(char *, const char *);
-extern int tgetflag(const char *);
-extern int tgetnum(const char *);
-extern char *tgetstr(const char *, char **);
-
+extern int tgetflag(NCURSES_CONST char *);
+extern int tgetnum(NCURSES_CONST char *);
extern int tputs(const char *, int, int (*)(int));
-
-extern char *tgoto(const char *, int, int);
+#endif
#ifdef __cplusplus
}
#endif
-#endif /* _TERMCAP_H */
+#endif /* _NCU_TERMCAP_H */