| 1 | /* Declarations for termcap library.
|
|---|
| 2 | Copyright (C) 1991, 1992 Free Software Foundation, Inc.
|
|---|
| 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
|
|---|
| 16 | Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|---|
| 17 |
|
|---|
| 18 | /* Modified for emx by Eberhard Mattes, Aug 1994 */
|
|---|
| 19 |
|
|---|
| 20 | #ifndef _TERMCAP_H
|
|---|
| 21 | #define _TERMCAP_H 1
|
|---|
| 22 |
|
|---|
| 23 | #if defined (__cplusplus)
|
|---|
| 24 | extern "C" {
|
|---|
| 25 | #endif
|
|---|
| 26 |
|
|---|
| 27 | #if __STDC__
|
|---|
| 28 |
|
|---|
| 29 | extern int tgetent (char *buffer, const char *termtype);
|
|---|
| 30 |
|
|---|
| 31 | extern int tgetnum (const char *name);
|
|---|
| 32 | extern int tgetflag (const char *name);
|
|---|
| 33 | extern char *tgetstr (const char *name, char **area);
|
|---|
| 34 |
|
|---|
| 35 | extern char PC;
|
|---|
| 36 | extern short ospeed;
|
|---|
| 37 | extern void tputs (const char *string, int nlines, int (*outfun) ());
|
|---|
| 38 |
|
|---|
| 39 | extern char *tparam (const char *ctlstring, char *buffer, int size, ...);
|
|---|
| 40 |
|
|---|
| 41 | extern char *UP;
|
|---|
| 42 | extern char *BC;
|
|---|
| 43 |
|
|---|
| 44 | extern char *tgoto (const char *cstring, int hpos, int vpos);
|
|---|
| 45 |
|
|---|
| 46 | #else /* not __STDC__ */
|
|---|
| 47 |
|
|---|
| 48 | extern int tgetent ();
|
|---|
| 49 |
|
|---|
| 50 | extern int tgetnum ();
|
|---|
| 51 | extern int tgetflag ();
|
|---|
| 52 | extern char *tgetstr ();
|
|---|
| 53 |
|
|---|
| 54 | extern char PC;
|
|---|
| 55 | extern short ospeed;
|
|---|
| 56 |
|
|---|
| 57 | extern void tputs ();
|
|---|
| 58 |
|
|---|
| 59 | extern char *tparam ();
|
|---|
| 60 |
|
|---|
| 61 | extern char *UP;
|
|---|
| 62 | extern char *BC;
|
|---|
| 63 |
|
|---|
| 64 | extern char *tgoto ();
|
|---|
| 65 |
|
|---|
| 66 | #endif /* not __STDC__ */
|
|---|
| 67 |
|
|---|
| 68 | #if defined (__cplusplus)
|
|---|
| 69 | }
|
|---|
| 70 | #endif
|
|---|
| 71 |
|
|---|
| 72 | #endif /* not _TERMCAP_H */
|
|---|