xref: /freebsd/contrib/ncurses/include/termcap.h.in (revision 21817992b3314c908ab50f0bb88d2ee750b9c4ac)
10e3d5408SPeter Wemm/****************************************************************************
2*21817992SBaptiste Daroussin * Copyright 2018-2020,2021 Thomas E. Dickey                                *
3e1865124SBaptiste Daroussin * Copyright 1998-2000,2001 Free Software Foundation, Inc.                  *
40e3d5408SPeter Wemm *                                                                          *
50e3d5408SPeter Wemm * Permission is hereby granted, free of charge, to any person obtaining a  *
60e3d5408SPeter Wemm * copy of this software and associated documentation files (the            *
70e3d5408SPeter Wemm * "Software"), to deal in the Software without restriction, including      *
80e3d5408SPeter Wemm * without limitation the rights to use, copy, modify, merge, publish,      *
90e3d5408SPeter Wemm * distribute, distribute with modifications, sublicense, and/or sell       *
100e3d5408SPeter Wemm * copies of the Software, and to permit persons to whom the Software is    *
110e3d5408SPeter Wemm * furnished to do so, subject to the following conditions:                 *
120e3d5408SPeter Wemm *                                                                          *
130e3d5408SPeter Wemm * The above copyright notice and this permission notice shall be included  *
140e3d5408SPeter Wemm * in all copies or substantial portions of the Software.                   *
150e3d5408SPeter Wemm *                                                                          *
160e3d5408SPeter Wemm * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
170e3d5408SPeter Wemm * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
180e3d5408SPeter Wemm * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
190e3d5408SPeter Wemm * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
200e3d5408SPeter Wemm * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
210e3d5408SPeter Wemm * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
220e3d5408SPeter Wemm * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
230e3d5408SPeter Wemm *                                                                          *
240e3d5408SPeter Wemm * Except as contained in this notice, the name(s) of the above copyright   *
250e3d5408SPeter Wemm * holders shall not be used in advertising or otherwise to promote the     *
260e3d5408SPeter Wemm * sale, use or other dealings in this Software without prior written       *
270e3d5408SPeter Wemm * authorization.                                                           *
280e3d5408SPeter Wemm ****************************************************************************/
290e3d5408SPeter Wemm
300e3d5408SPeter Wemm/****************************************************************************
310e3d5408SPeter Wemm *  Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995               *
320e3d5408SPeter Wemm *     and: Eric S. Raymond <esr@snark.thyrsus.com>                         *
330e3d5408SPeter Wemm ****************************************************************************/
340e3d5408SPeter Wemm
35*21817992SBaptiste Daroussin/* $Id: termcap.h.in,v 1.20 2021/06/17 21:26:02 tom Exp $ */
360e3d5408SPeter Wemm
377a69bbfbSPeter Wemm#ifndef NCURSES_TERMCAP_H_incl
387a69bbfbSPeter Wemm#define NCURSES_TERMCAP_H_incl	1
390e3d5408SPeter Wemm
400e3d5408SPeter Wemm#undef  NCURSES_VERSION
410e3d5408SPeter Wemm#define NCURSES_VERSION "@NCURSES_MAJOR@.@NCURSES_MINOR@"
420e3d5408SPeter Wemm
437a69bbfbSPeter Wemm#include <ncurses_dll.h>
447a69bbfbSPeter Wemm
450e3d5408SPeter Wemm#ifdef __cplusplus
460e3d5408SPeter Wemmextern "C"
470e3d5408SPeter Wemm{
480e3d5408SPeter Wemm#endif /* __cplusplus */
490e3d5408SPeter Wemm
500e3d5408SPeter Wemm#include <sys/types.h>
510e3d5408SPeter Wemm
527a69bbfbSPeter Wemm#undef  NCURSES_OSPEED
537a69bbfbSPeter Wemm#define NCURSES_OSPEED @NCURSES_OSPEED@
540e3d5408SPeter Wemm
557a69bbfbSPeter Wemmextern NCURSES_EXPORT_VAR(char) PC;
567a69bbfbSPeter Wemmextern NCURSES_EXPORT_VAR(char *) UP;
577a69bbfbSPeter Wemmextern NCURSES_EXPORT_VAR(char *) BC;
587a69bbfbSPeter Wemmextern NCURSES_EXPORT_VAR(NCURSES_OSPEED) ospeed;
597a69bbfbSPeter Wemm
607a69bbfbSPeter Wemm#if !defined(NCURSES_TERM_H_incl)
61aae38d10SBaptiste Daroussinextern NCURSES_EXPORT(char *) tgetstr (const char *, char **);
627a69bbfbSPeter Wemmextern NCURSES_EXPORT(char *) tgoto (const char *, int, int);
637a69bbfbSPeter Wemmextern NCURSES_EXPORT(int) tgetent (char *, const char *);
64aae38d10SBaptiste Daroussinextern NCURSES_EXPORT(int) tgetflag (const char *);
65aae38d10SBaptiste Daroussinextern NCURSES_EXPORT(int) tgetnum (const char *);
667a69bbfbSPeter Wemmextern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int));
670e3d5408SPeter Wemm#endif
680e3d5408SPeter Wemm
690e3d5408SPeter Wemm#ifdef __cplusplus
700e3d5408SPeter Wemm}
710e3d5408SPeter Wemm#endif
720e3d5408SPeter Wemm
737a69bbfbSPeter Wemm#endif /* NCURSES_TERMCAP_H_incl */
74