]>
Commit | Line | Data |
---|---|---|
726f6388 | 1 | /* Declarations for termcap library. |
ccc6cda3 | 2 | Copyright (C) 1991, 1992, 1995 Free Software Foundation, Inc. |
726f6388 JA |
3 | |
4 | This program is free software; you can redistribute it and/or modify | |
5 | it under the terms of the GNU General Public License as published by | |
6 | the Free Software Foundation; either version 2, or (at your option) | |
7 | any later version. | |
8 | ||
9 | This program is distributed in the hope that it will be useful, | |
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 | GNU General Public License for more details. | |
13 | ||
14 | You should have received a copy of the GNU General Public License | |
15 | along with this program; if not, write to the Free Software | |
bb70624e | 16 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA. */ |
726f6388 JA |
17 | |
18 | #ifndef _TERMCAP_H | |
19 | #define _TERMCAP_H 1 | |
20 | ||
21 | #if __STDC__ | |
22 | ||
23 | extern int tgetent (char *buffer, const char *termtype); | |
24 | ||
25 | extern int tgetnum (const char *name); | |
26 | extern int tgetflag (const char *name); | |
27 | extern char *tgetstr (const char *name, char **area); | |
28 | ||
29 | extern char PC; | |
30 | extern short ospeed; | |
ccc6cda3 | 31 | extern void tputs (const char *string, int nlines, int (*outfun) (int)); |
726f6388 JA |
32 | |
33 | extern char *tparam (const char *ctlstring, char *buffer, int size, ...); | |
34 | ||
35 | extern char *UP; | |
36 | extern char *BC; | |
37 | ||
38 | extern char *tgoto (const char *cstring, int hpos, int vpos); | |
39 | ||
40 | #else /* not __STDC__ */ | |
41 | ||
42 | extern int tgetent (); | |
43 | ||
44 | extern int tgetnum (); | |
45 | extern int tgetflag (); | |
46 | extern char *tgetstr (); | |
47 | ||
48 | extern char PC; | |
49 | extern short ospeed; | |
50 | ||
51 | extern void tputs (); | |
52 | ||
53 | extern char *tparam (); | |
54 | ||
55 | extern char *UP; | |
56 | extern char *BC; | |
57 | ||
58 | extern char *tgoto (); | |
59 | ||
60 | #endif /* not __STDC__ */ | |
61 | ||
62 | #endif /* not _TERMCAP_H */ |