xref: /freebsd/contrib/ncurses/ncurses/llib-ltict (revision e0c4386e)
1/****************************************************************************
2 * Copyright 2020 Thomas E. Dickey                                          *
3 * Copyright 2013-2016,2017 Free Software Foundation, Inc.                  *
4 *                                                                          *
5 * Permission is hereby granted, free of charge, to any person obtaining a  *
6 * copy of this software and associated documentation files (the            *
7 * "Software"), to deal in the Software without restriction, including      *
8 * without limitation the rights to use, copy, modify, merge, publish,      *
9 * distribute, distribute with modifications, sublicense, and/or sell       *
10 * copies of the Software, and to permit persons to whom the Software is    *
11 * furnished to do so, subject to the following conditions:                 *
12 *                                                                          *
13 * The above copyright notice and this permission notice shall be included  *
14 * in all copies or substantial portions of the Software.                   *
15 *                                                                          *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
19 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
22 * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
23 *                                                                          *
24 * Except as contained in this notice, the name(s) of the above copyright   *
25 * holders shall not be used in advertising or otherwise to promote the     *
26 * sale, use or other dealings in this Software without prior written       *
27 * authorization.                                                           *
28 ****************************************************************************/
29
30/****************************************************************************
31 *  Author: Thomas E. Dickey       2013-on                                  *
32 ****************************************************************************/
33/* LINTLIBRARY */
34
35/* ./tinfo/alloc_entry.c */
36
37#include <curses.priv.h>
38
39#undef _nc_init_entry
40void	_nc_init_entry(
41		ENTRY	*const tp)
42		{ /* void */ }
43
44#undef _nc_copy_entry
45ENTRY	*_nc_copy_entry(
46		ENTRY	*oldp)
47		{ return(*(ENTRY **)0); }
48
49#undef _nc_save_str
50char	*_nc_save_str(
51		const char *const string)
52		{ return(*(char **)0); }
53
54#undef _nc_wrap_entry
55void	_nc_wrap_entry(
56		ENTRY	*const ep,
57		NCURSES_BOOL copy_strings)
58		{ /* void */ }
59
60#undef _nc_merge_entry
61void	_nc_merge_entry(
62		ENTRY	*const target,
63		ENTRY	*const source)
64		{ /* void */ }
65
66/* ./tinfo/captoinfo.c */
67
68#undef _nc_captoinfo
69char	*_nc_captoinfo(
70		const char *cap,
71		const char *s,
72		int const parameterized)
73		{ return(*(char **)0); }
74
75#undef _nc_infotocap
76char	*_nc_infotocap(
77		const char *cap,
78		const char *str,
79		int const parameterized)
80		{ return(*(char **)0); }
81
82/* ./tinfo/comp_expand.c */
83
84#undef _nc_tic_expand
85char	*_nc_tic_expand(
86		const char *srcp,
87		NCURSES_BOOL tic_format,
88		int	numbers)
89		{ return(*(char **)0); }
90
91/* ./tinfo/comp_parse.c */
92
93#undef _nc_check_termtype2
94void	(*_nc_check_termtype2)(
95		TERMTYPE2 *p1,
96		NCURSES_BOOL p2);
97
98#undef _nc_entry_match
99NCURSES_BOOL _nc_entry_match(
100		char	*n1,
101		char	*n2)
102		{ return(*(NCURSES_BOOL *)0); }
103
104#undef _nc_read_entry_source
105void	_nc_read_entry_source(
106		FILE	*fp,
107		char	*buf,
108		int	literal,
109		NCURSES_BOOL silent,
110		NCURSES_BOOL (*hook)(
111		ENTRY	*p1))
112		{ /* void */ }
113
114#undef _nc_resolve_uses2
115int	_nc_resolve_uses2(
116		NCURSES_BOOL fullresolve,
117		NCURSES_BOOL literal)
118		{ return(*(int *)0); }
119
120/* ./tinfo/comp_scan.c */
121
122#undef _nc_syntax
123int	_nc_syntax;
124#undef _nc_strict_bsd
125int	_nc_strict_bsd;
126#undef _nc_curr_file_pos
127long	_nc_curr_file_pos;
128#undef _nc_comment_start
129long	_nc_comment_start;
130#undef _nc_comment_end
131long	_nc_comment_end;
132#undef _nc_start_line
133long	_nc_start_line;
134#undef _nc_curr_token
135struct token _nc_curr_token;
136#undef _nc_disable_period
137NCURSES_BOOL _nc_disable_period;
138
139#undef _nc_reset_input
140void	_nc_reset_input(
141		FILE	*fp,
142		char	*buf)
143		{ /* void */ }
144
145#undef _nc_get_token
146int	_nc_get_token(
147		NCURSES_BOOL silent)
148		{ return(*(int *)0); }
149
150#undef _nc_trans_string
151int	_nc_trans_string(
152		char	*ptr,
153		char	*last)
154		{ return(*(int *)0); }
155
156#undef _nc_push_token
157void	_nc_push_token(
158		int	tokclass)
159		{ /* void */ }
160
161#undef _nc_panic_mode
162void	_nc_panic_mode(
163		char	ch)
164		{ /* void */ }
165
166/* ./tinfo/parse_entry.c */
167
168#undef _nc_parse_entry
169int	_nc_parse_entry(
170		ENTRY	*entryp,
171		int	literal,
172		NCURSES_BOOL silent)
173		{ return(*(int *)0); }
174
175#undef _nc_capcmp
176int	_nc_capcmp(
177		const char *s,
178		const char *t)
179		{ return(*(int *)0); }
180
181/* ./tinfo/write_entry.c */
182
183#undef _nc_set_writedir
184void	_nc_set_writedir(
185		const char *dir)
186		{ /* void */ }
187
188#undef _nc_write_entry
189void	_nc_write_entry(
190		TERMTYPE2 *const tp)
191		{ /* void */ }
192
193#undef _nc_write_object
194int	_nc_write_object(
195		TERMTYPE2 *tp,
196		char	*buffer,
197		unsigned *offset,
198		unsigned limit)
199		{ return(*(int *)0); }
200
201#undef _nc_tic_written
202int	_nc_tic_written(void)
203		{ return(*(int *)0); }
204