termcap.h.in revision 76726
1251876Speter/**************************************************************************** 2251876Speter * Copyright (c) 1998,2000 Free Software Foundation, Inc. * 3251876Speter * * 4251876Speter * Permission is hereby granted, free of charge, to any person obtaining a * 5251876Speter * copy of this software and associated documentation files (the * 6251876Speter * "Software"), to deal in the Software without restriction, including * 7251876Speter * without limitation the rights to use, copy, modify, merge, publish, * 8251876Speter * distribute, distribute with modifications, sublicense, and/or sell * 9251876Speter * copies of the Software, and to permit persons to whom the Software is * 10251876Speter * furnished to do so, subject to the following conditions: * 11251876Speter * * 12251876Speter * The above copyright notice and this permission notice shall be included * 13251876Speter * in all copies or substantial portions of the Software. * 14251876Speter * * 15251876Speter * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * 16251876Speter * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * 17251876Speter * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * 18251876Speter * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * 19251876Speter * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * 20251876Speter * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR * 21251876Speter * THE USE OR OTHER DEALINGS IN THE SOFTWARE. * 22251876Speter * * 23251876Speter * Except as contained in this notice, the name(s) of the above copyright * 24251876Speter * holders shall not be used in advertising or otherwise to promote the * 25251876Speter * sale, use or other dealings in this Software without prior written * 26251876Speter * authorization. * 27251876Speter ****************************************************************************/ 28251876Speter 29251876Speter/**************************************************************************** 30251876Speter * Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995 * 31251876Speter * and: Eric S. Raymond <esr@snark.thyrsus.com> * 32251876Speter ****************************************************************************/ 33251876Speter 34251876Speter/* $Id: termcap.h.in,v 1.16 2001/03/24 21:53:27 tom Exp $ */ 35251876Speter 36251876Speter#ifndef NCURSES_TERMCAP_H_incl 37251876Speter#define NCURSES_TERMCAP_H_incl 1 38251876Speter 39251876Speter#undef NCURSES_VERSION 40251876Speter#define NCURSES_VERSION "@NCURSES_MAJOR@.@NCURSES_MINOR@" 41251876Speter 42251876Speter#include <ncurses_dll.h> 43251876Speter 44251876Speter#ifdef __cplusplus 45251876Speterextern "C" 46251876Speter{ 47251876Speter#endif /* __cplusplus */ 48251876Speter 49251876Speter#include <sys/types.h> 50251876Speter 51251876Speter#undef NCURSES_CONST 52251876Speter#define NCURSES_CONST @NCURSES_CONST@ 53251876Speter 54251876Speter#undef NCURSES_OSPEED 55251876Speter#define NCURSES_OSPEED @NCURSES_OSPEED@ 56251876Speter 57251876Speterextern NCURSES_EXPORT_VAR(char) PC; 58251876Speterextern NCURSES_EXPORT_VAR(char *) UP; 59251876Speterextern NCURSES_EXPORT_VAR(char *) BC; 60251876Speterextern NCURSES_EXPORT_VAR(NCURSES_OSPEED) ospeed; 61251876Speter 62251876Speter#if !defined(NCURSES_TERM_H_incl) 63251876Speterextern NCURSES_EXPORT(char *) tgetstr (NCURSES_CONST char *, char **); 64251876Speterextern NCURSES_EXPORT(char *) tgoto (const char *, int, int); 65251876Speterextern NCURSES_EXPORT(int) tgetent (char *, const char *); 66251876Speterextern NCURSES_EXPORT(int) tgetflag (NCURSES_CONST char *); 67251876Speterextern NCURSES_EXPORT(int) tgetnum (NCURSES_CONST char *); 68251876Speterextern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int)); 69251876Speter#endif 70251876Speter 71251876Speter#ifdef __cplusplus 72251876Speter} 73251876Speter#endif 74251876Speter 75251876Speter#endif /* NCURSES_TERMCAP_H_incl */ 76251876Speter