blob: 5d715956c8b063426fcbbacacdb6136630a4befc [file] [log] [blame]
Jari Aalto31859422009-01-12 13:36:28 +00001/* termcap.h - public declarations for termcap library. */
Jari Aalto726f6381996-08-26 18:22:31 +00002
Jari Aalto31859422009-01-12 13:36:28 +00003/* Copyright (C) 1991, 1992, 1995, 2001, 2005, 2006, 2008,2009 Free Software Foundation, Inc.
4
5 Bash is free software: you can redistribute it and/or modify
Jari Aalto726f6381996-08-26 18:22:31 +00006 it under the terms of the GNU General Public License as published by
Jari Aalto31859422009-01-12 13:36:28 +00007 the Free Software Foundation, either version 3 of the License, or
8 (at your option) any later version.
Jari Aalto726f6381996-08-26 18:22:31 +00009
Jari Aalto31859422009-01-12 13:36:28 +000010 Bash is distributed in the hope that it will be useful,
Jari Aalto726f6381996-08-26 18:22:31 +000011 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
Jari Aalto31859422009-01-12 13:36:28 +000016 along with Bash. If not, see <http://www.gnu.org/licenses/>.
17*/
Jari Aalto726f6381996-08-26 18:22:31 +000018
19#ifndef _TERMCAP_H
20#define _TERMCAP_H 1
21
22#if __STDC__
23
24extern int tgetent (char *buffer, const char *termtype);
25
26extern int tgetnum (const char *name);
27extern int tgetflag (const char *name);
28extern char *tgetstr (const char *name, char **area);
29
30extern char PC;
31extern short ospeed;
Jari Aaltoccc6cda1996-12-23 17:02:34 +000032extern void tputs (const char *string, int nlines, int (*outfun) (int));
Jari Aalto726f6381996-08-26 18:22:31 +000033
34extern char *tparam (const char *ctlstring, char *buffer, int size, ...);
35
36extern char *UP;
37extern char *BC;
38
39extern char *tgoto (const char *cstring, int hpos, int vpos);
40
41#else /* not __STDC__ */
42
43extern int tgetent ();
44
45extern int tgetnum ();
46extern int tgetflag ();
47extern char *tgetstr ();
48
49extern char PC;
50extern short ospeed;
51
52extern void tputs ();
53
54extern char *tparam ();
55
56extern char *UP;
57extern char *BC;
58
59extern char *tgoto ();
60
61#endif /* not __STDC__ */
62
63#endif /* not _TERMCAP_H */