]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - include/termcap.h.in
ncurses 5.2
[ncurses.git] / include / termcap.h.in
index 618b0a9b8f1c2b2b285515332b2a4b2df49cb198..21c62398e0bd5f841b6a87f2408bff9f25a2be74 100644 (file)
  *     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@"
@@ -46,22 +46,25 @@ extern "C"
 
 #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 */