]> ncurses.scripts.mit.edu Git - ncurses.git/blob - include/termcap.h.in
adae0b7436b6a6cf20896b7632ac92e9e2b3e36d
[ncurses.git] / include / termcap.h.in
1 /***************************************************************************
2 *                            COPYRIGHT NOTICE                              *
3 ****************************************************************************
4 *                ncurses is copyright (C) 1992-1995                        *
5 *                          Zeyd M. Ben-Halim                               *
6 *                          zmbenhal@netcom.com                             *
7 *                          Eric S. Raymond                                 *
8 *                          esr@snark.thyrsus.com                           *
9 *                                                                          *
10 *        Permission is hereby granted to reproduce and distribute ncurses  *
11 *        by any means and for any fee, whether alone or as part of a       *
12 *        larger distribution, in source or in binary form, PROVIDED        *
13 *        this notice is included with any such distribution, and is not    *
14 *        removed from any of its header files. Mention of ncurses in any   *
15 *        applications linked with it is highly appreciated.                *
16 *                                                                          *
17 *        ncurses comes AS IS with no warranty, implied or expressed.       *
18 *                                                                          *
19 ***************************************************************************/
20
21 /* $Id: termcap.h.in,v 1.4 1997/02/08 21:50:39 tom Exp $ */
22
23 #ifndef _TERMCAP_H
24 #define _TERMCAP_H      1
25
26 #undef  NCURSES_VERSION
27 #define NCURSES_VERSION "@NCURSES_MAJOR@.@NCURSES_MINOR@"
28
29 #ifdef __cplusplus
30 extern "C"
31 {
32 #endif /* __cplusplus */
33
34 #include <sys/types.h>
35
36 extern char PC;
37 extern char *UP;
38 extern char *BC;
39 extern short ospeed;
40
41 extern int tgetent(char *, const char *);
42 extern int tgetflag(const char *);
43 extern int tgetnum(const char *);
44 extern char *tgetstr(const char *, char **);
45
46 extern int tputs(const char *, int, int (*)(int));
47
48 extern char *tgoto(const char *, int, int);
49
50 #ifdef __cplusplus
51 }
52 #endif
53
54 #endif /* _TERMCAP_H */