xref: /dflybsd-src/lib/libncurses/include/termcap.h (revision 2ff0cc302e82d6175cbe81dba2f5318e19834254)
17d1ab061SEirik Nygaard /****************************************************************************
2*2ff0cc30SDaniel Fojt  * Copyright 2018,2020 Thomas E. Dickey                                     *
3*2ff0cc30SDaniel Fojt  * Copyright 1998-2000,2001 Free Software Foundation, Inc.                  *
47d1ab061SEirik Nygaard  *                                                                          *
57d1ab061SEirik Nygaard  * Permission is hereby granted, free of charge, to any person obtaining a  *
67d1ab061SEirik Nygaard  * copy of this software and associated documentation files (the            *
77d1ab061SEirik Nygaard  * "Software"), to deal in the Software without restriction, including      *
87d1ab061SEirik Nygaard  * without limitation the rights to use, copy, modify, merge, publish,      *
97d1ab061SEirik Nygaard  * distribute, distribute with modifications, sublicense, and/or sell       *
107d1ab061SEirik Nygaard  * copies of the Software, and to permit persons to whom the Software is    *
117d1ab061SEirik Nygaard  * furnished to do so, subject to the following conditions:                 *
127d1ab061SEirik Nygaard  *                                                                          *
137d1ab061SEirik Nygaard  * The above copyright notice and this permission notice shall be included  *
147d1ab061SEirik Nygaard  * in all copies or substantial portions of the Software.                   *
157d1ab061SEirik Nygaard  *                                                                          *
167d1ab061SEirik Nygaard  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
177d1ab061SEirik Nygaard  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
187d1ab061SEirik Nygaard  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
197d1ab061SEirik Nygaard  * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
207d1ab061SEirik Nygaard  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
217d1ab061SEirik Nygaard  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
227d1ab061SEirik Nygaard  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
237d1ab061SEirik Nygaard  *                                                                          *
247d1ab061SEirik Nygaard  * Except as contained in this notice, the name(s) of the above copyright   *
257d1ab061SEirik Nygaard  * holders shall not be used in advertising or otherwise to promote the     *
267d1ab061SEirik Nygaard  * sale, use or other dealings in this Software without prior written       *
277d1ab061SEirik Nygaard  * authorization.                                                           *
287d1ab061SEirik Nygaard  ****************************************************************************/
297d1ab061SEirik Nygaard 
307d1ab061SEirik Nygaard /****************************************************************************
317d1ab061SEirik Nygaard  *  Author: Zeyd M. Ben-Halim <zmbenhal@netcom.com> 1992,1995               *
327d1ab061SEirik Nygaard  *     and: Eric S. Raymond <esr@snark.thyrsus.com>                         *
337d1ab061SEirik Nygaard  ****************************************************************************/
347d1ab061SEirik Nygaard 
35*2ff0cc30SDaniel Fojt /* $Id: termcap.h.in,v 1.19 2020/02/02 23:34:34 tom Exp $ */
367d1ab061SEirik Nygaard 
377d1ab061SEirik Nygaard #ifndef NCURSES_TERMCAP_H_incl
387d1ab061SEirik Nygaard #define NCURSES_TERMCAP_H_incl	1
397d1ab061SEirik Nygaard 
407d1ab061SEirik Nygaard #undef  NCURSES_VERSION
41*2ff0cc30SDaniel Fojt #define NCURSES_VERSION "6.2"
427d1ab061SEirik Nygaard 
437d1ab061SEirik Nygaard #include <ncurses_dll.h>
447d1ab061SEirik Nygaard 
457d1ab061SEirik Nygaard #ifdef __cplusplus
467d1ab061SEirik Nygaard extern "C"
477d1ab061SEirik Nygaard {
487d1ab061SEirik Nygaard #endif /* __cplusplus */
497d1ab061SEirik Nygaard 
507d1ab061SEirik Nygaard #include <sys/types.h>
517d1ab061SEirik Nygaard 
527d1ab061SEirik Nygaard #undef  NCURSES_OSPEED
537d1ab061SEirik Nygaard #define NCURSES_OSPEED short
547d1ab061SEirik Nygaard 
557d1ab061SEirik Nygaard extern NCURSES_EXPORT_VAR(char) PC;
567d1ab061SEirik Nygaard extern NCURSES_EXPORT_VAR(char *) UP;
577d1ab061SEirik Nygaard extern NCURSES_EXPORT_VAR(char *) BC;
587d1ab061SEirik Nygaard extern NCURSES_EXPORT_VAR(NCURSES_OSPEED) ospeed;
597d1ab061SEirik Nygaard 
607d1ab061SEirik Nygaard #if !defined(NCURSES_TERM_H_incl)
61*2ff0cc30SDaniel Fojt extern NCURSES_EXPORT(char *) tgetstr (const char *, char **);
627d1ab061SEirik Nygaard extern NCURSES_EXPORT(char *) tgoto (const char *, int, int);
637d1ab061SEirik Nygaard extern NCURSES_EXPORT(int) tgetent (char *, const char *);
64*2ff0cc30SDaniel Fojt extern NCURSES_EXPORT(int) tgetflag (const char *);
65*2ff0cc30SDaniel Fojt extern NCURSES_EXPORT(int) tgetnum (const char *);
667d1ab061SEirik Nygaard extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int));
677d1ab061SEirik Nygaard #endif
687d1ab061SEirik Nygaard 
697d1ab061SEirik Nygaard #ifdef __cplusplus
707d1ab061SEirik Nygaard }
717d1ab061SEirik Nygaard #endif
727d1ab061SEirik Nygaard 
737d1ab061SEirik Nygaard #endif /* NCURSES_TERMCAP_H_incl */
74