home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-385-Vol-1of3.iso / t / trmcap11.zip / termcap-1.1 / termcap.h < prev    next >
C/C++ Source or Header  |  1992-09-29  |  2KB  |  63 lines

  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. #ifndef _TERMCAP_H
  19. #define _TERMCAP_H 1
  20.  
  21. #if __STDC__
  22.  
  23. extern int tgetent (char *buffer, char *termtype);
  24.  
  25. extern int tgetnum (char *name);
  26. extern int tgetflag (char *name);
  27. extern char *tgetstr (char *name, char **area);
  28.  
  29. extern char PC;
  30. extern short ospeed;
  31. extern void tputs (char *string, int nlines, int (*outfun) ());
  32.  
  33. extern char *tparam (char *ctlstring, char *buffer, int size, ...);
  34.  
  35. extern char *UP;
  36. extern char *BC;
  37.  
  38. extern char *tgoto (char *cstring, int hpos, int vpos);
  39.  
  40. #else /* not ANSI C */
  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 ANSI C */
  61.  
  62. #endif /* not _TERMCAP_H */
  63.