xref: /freebsd/contrib/ncurses/ncurses/llib-ltinfow (revision 21817992b3314c908ab50f0bb88d2ee750b9c4ac)
1/****************************************************************************
2 * Copyright 2018-2022,2023 Thomas E. Dickey                                *
3 * Copyright 2012-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       2012-on                                  *
32 ****************************************************************************/
33/* LINTLIBRARY */
34
35/* ./tinfo/access.c */
36
37#include <curses.priv.h>
38
39#undef _nc_rootname
40char	*_nc_rootname(
41		char	*path)
42		{ return(*(char **)0); }
43
44#undef _nc_is_abs_path
45NCURSES_BOOL _nc_is_abs_path(
46		const char *path)
47		{ return(*(NCURSES_BOOL *)0); }
48
49#undef _nc_pathlast
50unsigned _nc_pathlast(
51		const char *path)
52		{ return(*(unsigned *)0); }
53
54#undef _nc_basename
55char	*_nc_basename(
56		char	*path)
57		{ return(*(char **)0); }
58
59#undef _nc_access
60int	_nc_access(
61		const char *path,
62		int	mode)
63		{ return(*(int *)0); }
64
65#undef _nc_is_dir_path
66NCURSES_BOOL _nc_is_dir_path(
67		const char *path)
68		{ return(*(NCURSES_BOOL *)0); }
69
70#undef _nc_is_file_path
71NCURSES_BOOL _nc_is_file_path(
72		const char *path)
73		{ return(*(NCURSES_BOOL *)0); }
74
75#undef _nc_env_access
76int	_nc_env_access(void)
77		{ return(*(int *)0); }
78
79#undef _nc_safe_fopen
80FILE	*_nc_safe_fopen(
81		const char *path,
82		const char *mode)
83		{ return(*(FILE **)0); }
84
85#undef _nc_safe_open3
86int	_nc_safe_open3(
87		const char *path,
88		int	flags,
89		mode_t	mode)
90		{ return(*(int *)0); }
91
92/* ./tinfo/add_tries.c */
93
94#undef _nc_add_to_try
95int	_nc_add_to_try(
96		TRIES	**tree,
97		const char *str,
98		unsigned code)
99		{ return(*(int *)0); }
100
101/* ./tinfo/alloc_ttype.c */
102
103#undef _nc_align_termtype
104void	_nc_align_termtype(
105		TERMTYPE2 *to,
106		TERMTYPE2 *from)
107		{ /* void */ }
108
109#undef _nc_copy_termtype
110void	_nc_copy_termtype(
111		TERMTYPE *dst,
112		const TERMTYPE *src)
113		{ /* void */ }
114
115#undef _nc_copy_termtype2
116void	_nc_copy_termtype2(
117		TERMTYPE2 *dst,
118		const TERMTYPE2 *src)
119		{ /* void */ }
120
121#undef _nc_export_termtype2
122void	_nc_export_termtype2(
123		TERMTYPE *dst,
124		const TERMTYPE2 *src)
125		{ /* void */ }
126
127/* ./codes.c */
128
129#undef boolcodes
130const char *const boolcodes[] = {0};
131#undef numcodes
132const char *const numcodes[] = {0};
133#undef strcodes
134const char *const strcodes[] = {0};
135
136/* ./comp_captab.c */
137
138#undef _nc_get_table
139const struct name_table_entry *_nc_get_table(
140		NCURSES_BOOL termcap)
141		{ return(*(const struct name_table_entry **)0); }
142
143#undef _nc_get_hash_table
144const HashValue *_nc_get_hash_table(
145		NCURSES_BOOL termcap)
146		{ return(*(const HashValue **)0); }
147
148#undef _nc_get_alias_table
149const struct alias *_nc_get_alias_table(
150		NCURSES_BOOL termcap)
151		{ return(*(const struct alias **)0); }
152
153#undef _nc_get_hash_info
154const HashData *_nc_get_hash_info(
155		NCURSES_BOOL termcap)
156		{ return(*(const HashData **)0); }
157
158/* ./tinfo/comp_error.c */
159
160#undef _nc_suppress_warnings
161NCURSES_BOOL _nc_suppress_warnings;
162#undef _nc_curr_line
163int	_nc_curr_line;
164#undef _nc_curr_col
165int	_nc_curr_col;
166
167#undef _nc_get_source
168const char *_nc_get_source(void)
169		{ return(*(const char **)0); }
170
171#undef _nc_set_source
172void	_nc_set_source(
173		const char *const name)
174		{ /* void */ }
175
176#undef _nc_set_type
177void	_nc_set_type(
178		const char *const name)
179		{ /* void */ }
180
181#undef _nc_get_type
182void	_nc_get_type(
183		char	*name)
184		{ /* void */ }
185
186#undef _nc_warning
187void	_nc_warning(
188		const char *const fmt,
189		...)
190		{ /* void */ }
191
192#undef _nc_err_abort
193void	_nc_err_abort(
194		const char *const fmt,
195		...)
196		{ /* void */ }
197
198#undef _nc_syserr_abort
199void	_nc_syserr_abort(
200		const char *const fmt,
201		...)
202		{ /* void */ }
203
204/* ./tinfo/comp_hash.c */
205
206#undef _nc_find_entry
207struct name_table_entry const *_nc_find_entry(
208		const char *string,
209		const HashValue *hash_table)
210		{ return(*(struct name_table_entry const **)0); }
211
212#undef _nc_find_type_entry
213struct name_table_entry const *_nc_find_type_entry(
214		const char *string,
215		int	type,
216		NCURSES_BOOL termcap)
217		{ return(*(struct name_table_entry const **)0); }
218
219#undef _nc_find_user_entry
220struct user_table_entry const *_nc_find_user_entry(
221		const char *string)
222		{ return(*(struct user_table_entry const **)0); }
223
224/* ./comp_userdefs.c */
225
226#undef _nc_get_userdefs_table
227const struct user_table_entry *_nc_get_userdefs_table(void)
228		{ return(*(const struct user_table_entry **)0); }
229
230#undef _nc_get_hash_user
231const HashData *_nc_get_hash_user(void)
232		{ return(*(const HashData **)0); }
233
234/* ./tinfo/db_iterator.c */
235
236#undef _nc_tic_dir
237const char *_nc_tic_dir(
238		const char *path)
239		{ return(*(const char **)0); }
240
241#undef _nc_keep_tic_dir
242void	_nc_keep_tic_dir(
243		const char *path)
244		{ /* void */ }
245
246#undef _nc_last_db
247void	_nc_last_db(void)
248		{ /* void */ }
249
250#undef _nc_next_db
251const char *_nc_next_db(
252		DBDIRS	*state,
253		int	*offset)
254		{ return(*(const char **)0); }
255
256#undef _nc_first_db
257void	_nc_first_db(
258		DBDIRS	*state,
259		int	*offset)
260		{ /* void */ }
261
262/* ./tinfo/doalloc.c */
263
264#undef _nc_doalloc
265void	*_nc_doalloc(
266		void	*oldp,
267		size_t	amount)
268		{ return(*(void **)0); }
269
270/* ./tinfo/entries.c */
271
272#undef _nc_head
273ENTRY	*_nc_head;
274#undef _nc_tail
275ENTRY	*_nc_tail;
276
277#undef _nc_free_entry
278void	_nc_free_entry(
279		ENTRY	*headp,
280		TERMTYPE2 *tterm)
281		{ /* void */ }
282
283#undef _nc_free_entries
284void	_nc_free_entries(
285		ENTRY	*headp)
286		{ /* void */ }
287
288#undef _nc_leaks_tinfo
289void	_nc_leaks_tinfo(void)
290		{ /* void */ }
291
292#undef exit_terminfo
293void	exit_terminfo(
294		int	code)
295		{ /* void */ }
296
297/* ./fallback.c */
298
299#undef _nc_fallback2
300const TERMTYPE2 *_nc_fallback2(
301		const char *name)
302		{ return(*(const TERMTYPE2 **)0); }
303
304#undef _nc_fallback
305const TERMTYPE *_nc_fallback(
306		const char *name)
307		{ return(*(const TERMTYPE **)0); }
308
309/* ./tinfo/free_ttype.c */
310
311#undef _nc_free_termtype
312void	_nc_free_termtype(
313		TERMTYPE *ptr)
314		{ /* void */ }
315
316#undef _nc_free_termtype1
317void	_nc_free_termtype1(
318		TERMTYPE *ptr)
319		{ /* void */ }
320
321#undef _nc_free_termtype2
322void	_nc_free_termtype2(
323		TERMTYPE2 *ptr)
324		{ /* void */ }
325
326#undef _nc_user_definable
327NCURSES_BOOL _nc_user_definable;
328
329#undef use_extended_names
330int	use_extended_names(
331		NCURSES_BOOL flag)
332		{ return(*(int *)0); }
333
334/* ./tinfo/getenv_num.c */
335
336#undef _nc_getenv_num
337int	_nc_getenv_num(
338		const char *name)
339		{ return(*(int *)0); }
340
341#undef _nc_setenv_num
342void	_nc_setenv_num(
343		const char *name,
344		int	value)
345		{ /* void */ }
346
347/* ./tinfo/home_terminfo.c */
348
349#undef _nc_home_terminfo
350char	*_nc_home_terminfo(void)
351		{ return(*(char **)0); }
352
353/* ./tinfo/init_keytry.c */
354
355#undef _nc_init_keytry
356void	_nc_init_keytry(
357		SCREEN	*sp)
358		{ /* void */ }
359
360/* ./tinfo/lib_acs.c */
361
362#undef acs_map
363chtype	acs_map[128];
364
365#undef _nc_init_acs_sp
366void	_nc_init_acs_sp(
367		SCREEN	*sp)
368		{ /* void */ }
369
370#undef _nc_init_acs
371void	_nc_init_acs(void)
372		{ /* void */ }
373
374/* ./tinfo/lib_baudrate.c */
375
376struct speed {
377    int given_speed;
378    int actual_speed;
379};
380
381#undef _nc_baudrate
382int	_nc_baudrate(
383		int	OSpeed)
384		{ return(*(int *)0); }
385
386#undef _nc_ospeed
387int	_nc_ospeed(
388		int	BaudRate)
389		{ return(*(int *)0); }
390
391#undef baudrate_sp
392int	baudrate_sp(
393		SCREEN	*sp)
394		{ return(*(int *)0); }
395
396#undef baudrate
397int	baudrate(void)
398		{ return(*(int *)0); }
399
400/* ./tinfo/lib_cur_term.c */
401
402#undef cur_term
403TERMINAL *cur_term;
404
405#undef set_curterm_sp
406TERMINAL *set_curterm_sp(
407		SCREEN	*sp,
408		TERMINAL *termp)
409		{ return(*(TERMINAL **)0); }
410
411#undef set_curterm
412TERMINAL *set_curterm(
413		TERMINAL *termp)
414		{ return(*(TERMINAL **)0); }
415
416#undef del_curterm_sp
417int	del_curterm_sp(
418		SCREEN	*sp,
419		TERMINAL *termp)
420		{ return(*(int *)0); }
421
422#undef del_curterm
423int	del_curterm(
424		TERMINAL *termp)
425		{ return(*(int *)0); }
426
427/* ./tinfo/lib_data.c */
428
429#undef stdscr
430WINDOW	*stdscr;
431#undef curscr
432WINDOW	*curscr;
433#undef newscr
434WINDOW	*newscr;
435#undef _nc_screen_chain
436SCREEN	*_nc_screen_chain;
437#undef SP
438SCREEN	*SP;
439#undef _nc_globals
440NCURSES_GLOBALS _nc_globals;
441#undef _nc_prescreen
442NCURSES_PRESCREEN _nc_prescreen;
443
444#undef _nc_screen_of
445SCREEN	*_nc_screen_of(
446		WINDOW	*win)
447		{ return(*(SCREEN **)0); }
448
449/* ./tinfo/lib_has_cap.c */
450
451#undef has_ic_sp
452NCURSES_BOOL has_ic_sp(
453		SCREEN	*sp)
454		{ return(*(NCURSES_BOOL *)0); }
455
456#undef has_ic
457NCURSES_BOOL has_ic(void)
458		{ return(*(NCURSES_BOOL *)0); }
459
460#undef has_il_sp
461NCURSES_BOOL has_il_sp(
462		SCREEN	*sp)
463		{ return(*(NCURSES_BOOL *)0); }
464
465#undef has_il
466NCURSES_BOOL has_il(void)
467		{ return(*(NCURSES_BOOL *)0); }
468
469/* ./tinfo/lib_kernel.c */
470
471#undef erasechar_sp
472char	erasechar_sp(
473		SCREEN	*sp)
474		{ return(*(char *)0); }
475
476#undef erasechar
477char	erasechar(void)
478		{ return(*(char *)0); }
479
480#undef killchar_sp
481char	killchar_sp(
482		SCREEN	*sp)
483		{ return(*(char *)0); }
484
485#undef killchar
486char	killchar(void)
487		{ return(*(char *)0); }
488
489#undef flushinp_sp
490int	flushinp_sp(
491		SCREEN	*sp)
492		{ return(*(int *)0); }
493
494#undef flushinp
495int	flushinp(void)
496		{ return(*(int *)0); }
497
498/* ./lib_keyname.c */
499
500struct kn { short offset; int code; };
501
502#undef keyname_sp
503const char *keyname_sp(
504		SCREEN	*sp,
505		int	c)
506		{ return(*(const char **)0); }
507
508#undef keyname
509const char *keyname(
510		int	c)
511		{ return(*(const char **)0); }
512
513/* ./tinfo/lib_longname.c */
514
515#undef longname_sp
516char	*longname_sp(
517		SCREEN	*sp)
518		{ return(*(char **)0); }
519
520#undef longname
521char	*longname(void)
522		{ return(*(char **)0); }
523
524/* ./tinfo/lib_napms.c */
525
526#undef napms_sp
527int	napms_sp(
528		SCREEN	*sp,
529		int	ms)
530		{ return(*(int *)0); }
531
532#undef napms
533int	napms(
534		int	ms)
535		{ return(*(int *)0); }
536
537/* ./tinfo/lib_options.c */
538
539#undef idlok
540int	idlok(
541		WINDOW	*win,
542		NCURSES_BOOL flag)
543		{ return(*(int *)0); }
544
545#undef idcok
546void	idcok(
547		WINDOW	*win,
548		NCURSES_BOOL flag)
549		{ /* void */ }
550
551#undef halfdelay_sp
552int	halfdelay_sp(
553		SCREEN	*sp,
554		int	t)
555		{ return(*(int *)0); }
556
557#undef halfdelay
558int	halfdelay(
559		int	t)
560		{ return(*(int *)0); }
561
562#undef nodelay
563int	nodelay(
564		WINDOW	*win,
565		NCURSES_BOOL flag)
566		{ return(*(int *)0); }
567
568#undef notimeout
569int	notimeout(
570		WINDOW	*win,
571		NCURSES_BOOL f)
572		{ return(*(int *)0); }
573
574#undef wtimeout
575void	wtimeout(
576		WINDOW	*win,
577		int	delay)
578		{ /* void */ }
579
580#undef keypad
581int	keypad(
582		WINDOW	*win,
583		NCURSES_BOOL flag)
584		{ return(*(int *)0); }
585
586#undef meta
587int	meta(
588		WINDOW	*win,
589		NCURSES_BOOL flag)
590		{ return(*(int *)0); }
591
592#undef curs_set_sp
593int	curs_set_sp(
594		SCREEN	*sp,
595		int	vis)
596		{ return(*(int *)0); }
597
598#undef curs_set
599int	curs_set(
600		int	vis)
601		{ return(*(int *)0); }
602
603#undef typeahead_sp
604int	typeahead_sp(
605		SCREEN	*sp,
606		int	fd)
607		{ return(*(int *)0); }
608
609#undef typeahead
610int	typeahead(
611		int	fd)
612		{ return(*(int *)0); }
613
614#undef has_key_sp
615int	has_key_sp(
616		SCREEN	*sp,
617		int	keycode)
618		{ return(*(int *)0); }
619
620#undef has_key
621int	has_key(
622		int	keycode)
623		{ return(*(int *)0); }
624
625#undef _nc_putp_flush_sp
626int	_nc_putp_flush_sp(
627		SCREEN	*sp,
628		const char *name,
629		const char *value)
630		{ return(*(int *)0); }
631
632#undef _nc_keypad
633int	_nc_keypad(
634		SCREEN	*sp,
635		int	flag)
636		{ return(*(int *)0); }
637
638/* ./tinfo/lib_raw.c */
639
640#undef raw_sp
641int	raw_sp(
642		SCREEN	*sp)
643		{ return(*(int *)0); }
644
645#undef raw
646int	raw(void)
647		{ return(*(int *)0); }
648
649#undef cbreak_sp
650int	cbreak_sp(
651		SCREEN	*sp)
652		{ return(*(int *)0); }
653
654#undef cbreak
655int	cbreak(void)
656		{ return(*(int *)0); }
657
658#undef qiflush_sp
659void	qiflush_sp(
660		SCREEN	*sp)
661		{ /* void */ }
662
663#undef qiflush
664void	qiflush(void)
665		{ /* void */ }
666
667#undef noraw_sp
668int	noraw_sp(
669		SCREEN	*sp)
670		{ return(*(int *)0); }
671
672#undef noraw
673int	noraw(void)
674		{ return(*(int *)0); }
675
676#undef nocbreak_sp
677int	nocbreak_sp(
678		SCREEN	*sp)
679		{ return(*(int *)0); }
680
681#undef nocbreak
682int	nocbreak(void)
683		{ return(*(int *)0); }
684
685#undef noqiflush_sp
686void	noqiflush_sp(
687		SCREEN	*sp)
688		{ /* void */ }
689
690#undef noqiflush
691void	noqiflush(void)
692		{ /* void */ }
693
694#undef intrflush_sp
695int	intrflush_sp(
696		SCREEN	*sp,
697		WINDOW	*win,
698		NCURSES_BOOL flag)
699		{ return(*(int *)0); }
700
701#undef intrflush
702int	intrflush(
703		WINDOW	*win,
704		NCURSES_BOOL flag)
705		{ return(*(int *)0); }
706
707#undef is_nl_sp
708int	is_nl_sp(
709		SCREEN	*sp)
710		{ return(*(int *)0); }
711
712#undef is_raw_sp
713int	is_raw_sp(
714		SCREEN	*sp)
715		{ return(*(int *)0); }
716
717#undef is_cbreak_sp
718int	is_cbreak_sp(
719		SCREEN	*sp)
720		{ return(*(int *)0); }
721
722#undef is_echo_sp
723int	is_echo_sp(
724		SCREEN	*sp)
725		{ return(*(int *)0); }
726
727#undef is_nl
728int	is_nl(void)
729		{ return(*(int *)0); }
730
731#undef is_raw
732int	is_raw(void)
733		{ return(*(int *)0); }
734
735#undef is_cbreak
736int	is_cbreak(void)
737		{ return(*(int *)0); }
738
739#undef is_echo
740int	is_echo(void)
741		{ return(*(int *)0); }
742
743/* ./tinfo/lib_setup.c */
744
745#undef ttytype
746char	ttytype[256];
747#undef LINES
748int	LINES;
749#undef COLS
750int	COLS;
751#undef TABSIZE
752int	TABSIZE;
753
754#undef set_tabsize_sp
755int	set_tabsize_sp(
756		SCREEN	*sp,
757		int	value)
758		{ return(*(int *)0); }
759
760#undef set_tabsize
761int	set_tabsize(
762		int	value)
763		{ return(*(int *)0); }
764
765#undef _nc_handle_sigwinch
766int	_nc_handle_sigwinch(
767		SCREEN	*sp)
768		{ return(*(int *)0); }
769
770#undef use_env_sp
771void	use_env_sp(
772		SCREEN	*sp,
773		NCURSES_BOOL f)
774		{ /* void */ }
775
776#undef use_tioctl_sp
777void	use_tioctl_sp(
778		SCREEN	*sp,
779		NCURSES_BOOL f)
780		{ /* void */ }
781
782#undef use_env
783void	use_env(
784		NCURSES_BOOL f)
785		{ /* void */ }
786
787#undef use_tioctl
788void	use_tioctl(
789		NCURSES_BOOL f)
790		{ /* void */ }
791
792#undef _nc_get_screensize
793void	_nc_get_screensize(
794		SCREEN	*sp,
795		int	*linep,
796		int	*colp)
797		{ /* void */ }
798
799#undef _nc_update_screensize
800void	_nc_update_screensize(
801		SCREEN	*sp)
802		{ /* void */ }
803
804#undef _nc_setup_tinfo
805int	_nc_setup_tinfo(
806		const char *const tn,
807		TERMTYPE2 *const tp)
808		{ return(*(int *)0); }
809
810#undef _nc_tinfo_cmdch
811void	_nc_tinfo_cmdch(
812		TERMINAL *termp,
813		int	proto)
814		{ /* void */ }
815
816#undef _nc_get_locale
817char	*_nc_get_locale(void)
818		{ return(*(char **)0); }
819
820#undef _nc_unicode_locale
821int	_nc_unicode_locale(void)
822		{ return(*(int *)0); }
823
824#undef _nc_locale_breaks_acs
825int	_nc_locale_breaks_acs(
826		TERMINAL *termp)
827		{ return(*(int *)0); }
828
829#undef _nc_setupterm
830int	_nc_setupterm(
831		const char *tname,
832		int	Filedes,
833		int	*errret,
834		int	reuse)
835		{ return(*(int *)0); }
836
837#undef new_prescr
838SCREEN	*new_prescr(void)
839		{ return(*(SCREEN **)0); }
840
841#undef setupterm
842int	setupterm(
843		const char *tname,
844		int	Filedes,
845		int	*errret)
846		{ return(*(int *)0); }
847
848/* ./tinfo/lib_termcap.c */
849
850#undef UP
851char	*UP;
852#undef BC
853char	*BC;
854
855#undef tgetent_sp
856int	tgetent_sp(
857		SCREEN	*sp,
858		char	*bufp,
859		const char *name)
860		{ return(*(int *)0); }
861
862#undef tgetent
863int	tgetent(
864		char	*bufp,
865		const char *name)
866		{ return(*(int *)0); }
867
868#undef tgetflag_sp
869int	tgetflag_sp(
870		SCREEN	*sp,
871		const char *id)
872		{ return(*(int *)0); }
873
874#undef tgetflag
875int	tgetflag(
876		const char *id)
877		{ return(*(int *)0); }
878
879#undef tgetnum_sp
880int	tgetnum_sp(
881		SCREEN	*sp,
882		const char *id)
883		{ return(*(int *)0); }
884
885#undef tgetnum
886int	tgetnum(
887		const char *id)
888		{ return(*(int *)0); }
889
890#undef tgetstr_sp
891char	*tgetstr_sp(
892		SCREEN	*sp,
893		const char *id,
894		char	**area)
895		{ return(*(char **)0); }
896
897#undef tgetstr
898char	*tgetstr(
899		const char *id,
900		char	**area)
901		{ return(*(char **)0); }
902
903/* ./tinfo/lib_termname.c */
904
905#undef termname_sp
906char	*termname_sp(
907		SCREEN	*sp)
908		{ return(*(char **)0); }
909
910#undef termname
911char	*termname(void)
912		{ return(*(char **)0); }
913
914/* ./tinfo/lib_tgoto.c */
915
916#undef tgoto
917char	*tgoto(
918		const char *string,
919		int	x,
920		int	y)
921		{ return(*(char **)0); }
922
923/* ./tinfo/lib_ti.c */
924
925#undef tigetflag_sp
926int	tigetflag_sp(
927		SCREEN	*sp,
928		const char *str)
929		{ return(*(int *)0); }
930
931#undef tigetflag
932int	tigetflag(
933		const char *str)
934		{ return(*(int *)0); }
935
936#undef tigetnum_sp
937int	tigetnum_sp(
938		SCREEN	*sp,
939		const char *str)
940		{ return(*(int *)0); }
941
942#undef tigetnum
943int	tigetnum(
944		const char *str)
945		{ return(*(int *)0); }
946
947#undef tigetstr_sp
948char	*tigetstr_sp(
949		SCREEN	*sp,
950		const char *str)
951		{ return(*(char **)0); }
952
953#undef tigetstr
954char	*tigetstr(
955		const char *str)
956		{ return(*(char **)0); }
957
958/* ./tinfo/lib_tparm.c */
959
960#undef _nc_tparm_err
961int	_nc_tparm_err;
962
963#undef _nc_free_tparm
964void	_nc_free_tparm(
965		TERMINAL *termp)
966		{ /* void */ }
967
968#undef _nc_tparm_analyze
969int	_nc_tparm_analyze(
970		TERMINAL *term,
971		const char *string,
972		char	**p_is_s,
973		int	*_nc_popcount)
974		{ return(*(int *)0); }
975
976#undef tparm
977char	*tparm(
978		const char *string,
979		...)
980		{ return(*(char **)0); }
981
982#undef tiparm
983char	*tiparm(
984		const char *string,
985		...)
986		{ return(*(char **)0); }
987
988#undef tiparm_s
989char	*tiparm_s(
990		int	num_expected,
991		int	tparm_type,
992		const char *string,
993		...)
994		{ return(*(char **)0); }
995
996#undef tiscan_s
997int	tiscan_s(
998		int	*num_expected,
999		int	*tparm_type,
1000		const char *string)
1001		{ return(*(int *)0); }
1002
1003#undef _nc_tiparm
1004char	*_nc_tiparm(
1005		int	expected,
1006		const char *string,
1007		...)
1008		{ return(*(char **)0); }
1009
1010#undef _nc_reset_tparm
1011void	_nc_reset_tparm(
1012		TERMINAL *term)
1013		{ /* void */ }
1014
1015/* ./tinfo/lib_tputs.c */
1016
1017#undef PC
1018char	PC;
1019#undef ospeed
1020short	ospeed;
1021#undef _nc_nulls_sent
1022int	_nc_nulls_sent;
1023
1024#undef _nc_set_no_padding
1025void	_nc_set_no_padding(
1026		SCREEN	*sp)
1027		{ /* void */ }
1028
1029#undef delay_output_sp
1030int	delay_output_sp(
1031		SCREEN	*sp,
1032		int	ms)
1033		{ return(*(int *)0); }
1034
1035#undef delay_output
1036int	delay_output(
1037		int	ms)
1038		{ return(*(int *)0); }
1039
1040#undef _nc_flush_sp
1041void	_nc_flush_sp(
1042		SCREEN	*sp)
1043		{ /* void */ }
1044
1045#undef _nc_flush
1046void	_nc_flush(void)
1047		{ /* void */ }
1048
1049#undef _nc_outch_sp
1050int	_nc_outch_sp(
1051		SCREEN	*sp,
1052		int	ch)
1053		{ return(*(int *)0); }
1054
1055#undef _nc_outch
1056int	_nc_outch(
1057		int	ch)
1058		{ return(*(int *)0); }
1059
1060#undef _nc_putchar_sp
1061int	_nc_putchar_sp(
1062		SCREEN	*sp,
1063		int	ch)
1064		{ return(*(int *)0); }
1065
1066#undef _nc_putchar
1067int	_nc_putchar(
1068		int	ch)
1069		{ return(*(int *)0); }
1070
1071#undef putp_sp
1072int	putp_sp(
1073		SCREEN	*sp,
1074		const char *string)
1075		{ return(*(int *)0); }
1076
1077#undef putp
1078int	putp(
1079		const char *string)
1080		{ return(*(int *)0); }
1081
1082#undef _nc_putp_sp
1083int	_nc_putp_sp(
1084		SCREEN	*sp,
1085		const char *name,
1086		const char *string)
1087		{ return(*(int *)0); }
1088
1089#undef _nc_putp
1090int	_nc_putp(
1091		const char *name,
1092		const char *string)
1093		{ return(*(int *)0); }
1094
1095#undef tputs_sp
1096int	tputs_sp(
1097		SCREEN	*sp,
1098		const char *string,
1099		int	affcnt,
1100		NCURSES_OUTC_sp outc)
1101		{ return(*(int *)0); }
1102
1103#undef _nc_outc_wrapper
1104int	_nc_outc_wrapper(
1105		SCREEN	*sp,
1106		int	c)
1107		{ return(*(int *)0); }
1108
1109#undef tputs
1110int	tputs(
1111		const char *string,
1112		int	affcnt,
1113		int	(*outc)(
1114		int	p1))
1115		{ return(*(int *)0); }
1116
1117/* ./trace/lib_trace.c */
1118
1119#undef _nc_tracing
1120unsigned _nc_tracing;
1121#undef _nc_tputs_trace
1122const char *_nc_tputs_trace = {0};
1123#undef _nc_outchars
1124long	_nc_outchars;
1125
1126#undef curses_trace
1127unsigned curses_trace(
1128		unsigned tracelevel)
1129		{ return(*(unsigned *)0); }
1130
1131#undef trace
1132void	trace(
1133		const unsigned int tracelevel)
1134		{ /* void */ }
1135
1136#undef _tracef
1137void	_tracef(
1138		const char *fmt,
1139		...)
1140		{ /* void */ }
1141
1142#undef _nc_retrace_bool
1143NCURSES_BOOL _nc_retrace_bool(
1144		int	code)
1145		{ return(*(NCURSES_BOOL *)0); }
1146
1147#undef _nc_retrace_char
1148char	_nc_retrace_char(
1149		int	code)
1150		{ return(*(char *)0); }
1151
1152#undef _nc_retrace_int
1153int	_nc_retrace_int(
1154		int	code)
1155		{ return(*(int *)0); }
1156
1157#undef _nc_retrace_unsigned
1158unsigned _nc_retrace_unsigned(
1159		unsigned code)
1160		{ return(*(unsigned *)0); }
1161
1162#undef _nc_retrace_ptr
1163char	*_nc_retrace_ptr(
1164		char	*code)
1165		{ return(*(char **)0); }
1166
1167#undef _nc_retrace_cptr
1168const char *_nc_retrace_cptr(
1169		const char *code)
1170		{ return(*(const char **)0); }
1171
1172#undef _nc_retrace_cvoid_ptr
1173const void *_nc_retrace_cvoid_ptr(
1174		const void *code)
1175		{ return(*(const void **)0); }
1176
1177#undef _nc_retrace_void_ptr
1178void	*_nc_retrace_void_ptr(
1179		void	*code)
1180		{ return(*(void **)0); }
1181
1182#undef _nc_retrace_sp
1183SCREEN	*_nc_retrace_sp(
1184		SCREEN	*code)
1185		{ return(*(SCREEN **)0); }
1186
1187#undef _nc_retrace_win
1188WINDOW	*_nc_retrace_win(
1189		WINDOW	*code)
1190		{ return(*(WINDOW **)0); }
1191
1192#undef _nc_fmt_funcptr
1193char	*_nc_fmt_funcptr(
1194		char	*target,
1195		const char *source,
1196		size_t	size)
1197		{ return(*(char **)0); }
1198
1199/* ./trace/lib_traceatr.c */
1200
1201#undef _traceattr2
1202char	*_traceattr2(
1203		int	bufnum,
1204		chtype	newmode)
1205		{ return(*(char **)0); }
1206
1207#undef _traceattr
1208char	*_traceattr(
1209		attr_t	newmode)
1210		{ return(*(char **)0); }
1211
1212#undef _nc_retrace_int_attr_t
1213int	_nc_retrace_int_attr_t(
1214		attr_t	code)
1215		{ return(*(int *)0); }
1216
1217#undef _nc_retrace_attr_t
1218attr_t	_nc_retrace_attr_t(
1219		attr_t	code)
1220		{ return(*(attr_t *)0); }
1221
1222#undef _nc_altcharset_name
1223const char *_nc_altcharset_name(
1224		attr_t	attr,
1225		chtype	ch)
1226		{ return(*(const char **)0); }
1227
1228#undef _tracechtype2
1229char	*_tracechtype2(
1230		int	bufnum,
1231		chtype	ch)
1232		{ return(*(char **)0); }
1233
1234#undef _tracechtype
1235char	*_tracechtype(
1236		chtype	ch)
1237		{ return(*(char **)0); }
1238
1239#undef _nc_retrace_chtype
1240chtype	_nc_retrace_chtype(
1241		chtype	code)
1242		{ return(*(chtype *)0); }
1243
1244#undef _tracecchar_t2
1245char	*_tracecchar_t2(
1246		int	bufnum,
1247		const cchar_t *ch)
1248		{ return(*(char **)0); }
1249
1250#undef _tracecchar_t
1251char	*_tracecchar_t(
1252		const cchar_t *ch)
1253		{ return(*(char **)0); }
1254
1255/* ./trace/lib_tracebits.c */
1256
1257#undef _nc_trace_ttymode
1258char	*_nc_trace_ttymode(
1259		const struct termios *tty)
1260		{ return(*(char **)0); }
1261
1262#undef _nc_tracebits
1263char	*_nc_tracebits(void)
1264		{ return(*(char **)0); }
1265
1266/* ./trace/lib_tracechr.c */
1267
1268#undef _nc_tracechar
1269char	*_nc_tracechar(
1270		SCREEN	*sp,
1271		int	ch)
1272		{ return(*(char **)0); }
1273
1274#undef _tracechar
1275char	*_tracechar(
1276		int	ch)
1277		{ return(*(char **)0); }
1278
1279/* ./tinfo/lib_ttyflags.c */
1280
1281#undef _nc_get_tty_mode_sp
1282int	_nc_get_tty_mode_sp(
1283		SCREEN	*sp,
1284		struct termios *buf)
1285		{ return(*(int *)0); }
1286
1287#undef _nc_get_tty_mode
1288int	_nc_get_tty_mode(
1289		struct termios *buf)
1290		{ return(*(int *)0); }
1291
1292#undef _nc_set_tty_mode_sp
1293int	_nc_set_tty_mode_sp(
1294		SCREEN	*sp,
1295		struct termios *buf)
1296		{ return(*(int *)0); }
1297
1298#undef _nc_set_tty_mode
1299int	_nc_set_tty_mode(
1300		struct termios *buf)
1301		{ return(*(int *)0); }
1302
1303#undef def_shell_mode_sp
1304int	def_shell_mode_sp(
1305		SCREEN	*sp)
1306		{ return(*(int *)0); }
1307
1308#undef def_shell_mode
1309int	def_shell_mode(void)
1310		{ return(*(int *)0); }
1311
1312#undef def_prog_mode_sp
1313int	def_prog_mode_sp(
1314		SCREEN	*sp)
1315		{ return(*(int *)0); }
1316
1317#undef def_prog_mode
1318int	def_prog_mode(void)
1319		{ return(*(int *)0); }
1320
1321#undef reset_prog_mode_sp
1322int	reset_prog_mode_sp(
1323		SCREEN	*sp)
1324		{ return(*(int *)0); }
1325
1326#undef reset_prog_mode
1327int	reset_prog_mode(void)
1328		{ return(*(int *)0); }
1329
1330#undef reset_shell_mode_sp
1331int	reset_shell_mode_sp(
1332		SCREEN	*sp)
1333		{ return(*(int *)0); }
1334
1335#undef reset_shell_mode
1336int	reset_shell_mode(void)
1337		{ return(*(int *)0); }
1338
1339#undef savetty_sp
1340int	savetty_sp(
1341		SCREEN	*sp)
1342		{ return(*(int *)0); }
1343
1344#undef savetty
1345int	savetty(void)
1346		{ return(*(int *)0); }
1347
1348#undef resetty_sp
1349int	resetty_sp(
1350		SCREEN	*sp)
1351		{ return(*(int *)0); }
1352
1353#undef resetty
1354int	resetty(void)
1355		{ return(*(int *)0); }
1356
1357/* ./tty/lib_twait.c */
1358
1359#undef _nc_timed_wait
1360int	_nc_timed_wait(
1361		SCREEN	*sp,
1362		int	mode,
1363		int	milliseconds,
1364		int	*timeleft)
1365		{ return(*(int *)0); }
1366
1367/* ./tinfo/name_match.c */
1368
1369#undef _nc_first_name
1370char	*_nc_first_name(
1371		const char *const sp)
1372		{ return(*(char **)0); }
1373
1374#undef _nc_name_match
1375int	_nc_name_match(
1376		const char *const namelst,
1377		const char *const name,
1378		const char *const delim)
1379		{ return(*(int *)0); }
1380
1381/* ./names.c */
1382
1383#undef boolnames
1384const char *const boolnames[] = {0};
1385#undef boolfnames
1386const char *const boolfnames[] = {0};
1387#undef numnames
1388const char *const numnames[] = {0};
1389#undef numfnames
1390const char *const numfnames[] = {0};
1391#undef strnames
1392const char *const strnames[] = {0};
1393#undef strfnames
1394const char *const strfnames[] = {0};
1395
1396/* ./tinfo/obsolete.c */
1397
1398#undef _nc_set_buffer_sp
1399void	_nc_set_buffer_sp(
1400		SCREEN	*sp,
1401		FILE	*ofp,
1402		int	buffered)
1403		{ /* void */ }
1404
1405#undef _nc_set_buffer
1406void	_nc_set_buffer(
1407		FILE	*ofp,
1408		int	buffered)
1409		{ /* void */ }
1410
1411/* ./tinfo/read_entry.c */
1412
1413#undef _nc_init_termtype
1414void	_nc_init_termtype(
1415		TERMTYPE2 *const tp)
1416		{ /* void */ }
1417
1418#undef _nc_read_termtype
1419int	_nc_read_termtype(
1420		TERMTYPE2 *ptr,
1421		char	*buffer,
1422		int	limit)
1423		{ return(*(int *)0); }
1424
1425#undef _nc_read_file_entry
1426int	_nc_read_file_entry(
1427		const char *const filename,
1428		TERMTYPE2 *ptr)
1429		{ return(*(int *)0); }
1430
1431#undef _nc_read_entry2
1432int	_nc_read_entry2(
1433		const char *const name,
1434		char	*const filename,
1435		TERMTYPE2 *const tp)
1436		{ return(*(int *)0); }
1437
1438#undef _nc_read_entry
1439int	_nc_read_entry(
1440		const char *const name,
1441		char	*const filename,
1442		TERMTYPE *const tp)
1443		{ return(*(int *)0); }
1444
1445/* ./tinfo/read_termcap.c */
1446
1447#undef _nc_read_termcap
1448void	_nc_read_termcap(void)
1449		{ /* void */ }
1450
1451/* ./tinfo/strings.c */
1452
1453#undef _nc_str_init
1454string_desc *_nc_str_init(
1455		string_desc *dst,
1456		char	*src,
1457		size_t	len)
1458		{ return(*(string_desc **)0); }
1459
1460#undef _nc_str_null
1461string_desc *_nc_str_null(
1462		string_desc *dst,
1463		size_t	len)
1464		{ return(*(string_desc **)0); }
1465
1466#undef _nc_str_copy
1467string_desc *_nc_str_copy(
1468		string_desc *dst,
1469		const string_desc *const src)
1470		{ return(*(string_desc **)0); }
1471
1472#undef _nc_safe_strcat
1473NCURSES_BOOL _nc_safe_strcat(
1474		string_desc *dst,
1475		const char *src)
1476		{ return(*(NCURSES_BOOL *)0); }
1477
1478#undef _nc_safe_strcpy
1479NCURSES_BOOL _nc_safe_strcpy(
1480		string_desc *dst,
1481		const char *src)
1482		{ return(*(NCURSES_BOOL *)0); }
1483
1484/* ./trace/trace_buf.c */
1485
1486#undef _nc_trace_buf
1487char	*_nc_trace_buf(
1488		int	bufnum,
1489		size_t	want)
1490		{ return(*(char **)0); }
1491
1492#undef _nc_trace_bufcat
1493char	*_nc_trace_bufcat(
1494		int	bufnum,
1495		const char *value)
1496		{ return(*(char **)0); }
1497
1498/* ./trace/trace_tries.c */
1499
1500#undef _nc_trace_tries
1501void	_nc_trace_tries(
1502		TRIES	*tree)
1503		{ /* void */ }
1504
1505/* ./base/tries.c */
1506
1507#undef _nc_expand_try
1508char	*_nc_expand_try(
1509		TRIES	*tree,
1510		unsigned code,
1511		int	*count,
1512		size_t	len)
1513		{ return(*(char **)0); }
1514
1515#undef _nc_remove_key
1516int	_nc_remove_key(
1517		TRIES	**tree,
1518		unsigned code)
1519		{ return(*(int *)0); }
1520
1521#undef _nc_remove_string
1522int	_nc_remove_string(
1523		TRIES	**tree,
1524		const char *string)
1525		{ return(*(int *)0); }
1526
1527/* ./tinfo/trim_sgr0.c */
1528
1529#undef _nc_trim_sgr0
1530char	*_nc_trim_sgr0(
1531		TERMTYPE2 *tp)
1532		{ return(*(char **)0); }
1533
1534/* ./unctrl.c */
1535
1536#undef unctrl_sp
1537const char *unctrl_sp(
1538		SCREEN	*sp,
1539		chtype	ch)
1540		{ return(*(const char **)0); }
1541
1542#undef unctrl
1543const char *unctrl(
1544		chtype	ch)
1545		{ return(*(const char **)0); }
1546
1547/* ./trace/visbuf.c */
1548
1549#undef _nc_visbuf2
1550const char *_nc_visbuf2(
1551		int	bufnum,
1552		const char *buf)
1553		{ return(*(const char **)0); }
1554
1555#undef _nc_visbuf
1556const char *_nc_visbuf(
1557		const char *buf)
1558		{ return(*(const char **)0); }
1559
1560#undef _nc_visbufn
1561const char *_nc_visbufn(
1562		const char *buf,
1563		int	len)
1564		{ return(*(const char **)0); }
1565
1566#undef _nc_viswbuf2
1567const char *_nc_viswbuf2(
1568		int	bufnum,
1569		const wchar_t *buf)
1570		{ return(*(const char **)0); }
1571
1572#undef _nc_viswbuf
1573const char *_nc_viswbuf(
1574		const wchar_t *buf)
1575		{ return(*(const char **)0); }
1576
1577#undef _nc_viswbufn
1578const char *_nc_viswbufn(
1579		const wchar_t *buf,
1580		int	len)
1581		{ return(*(const char **)0); }
1582
1583#undef _nc_viswibuf
1584const char *_nc_viswibuf(
1585		const wint_t *buf)
1586		{ return(*(const char **)0); }
1587
1588#undef _nc_viscbuf2
1589const char *_nc_viscbuf2(
1590		int	bufnum,
1591		const cchar_t *buf,
1592		int	len)
1593		{ return(*(const char **)0); }
1594
1595#undef _nc_viscbuf
1596const char *_nc_viscbuf(
1597		const cchar_t *buf,
1598		int	len)
1599		{ return(*(const char **)0); }
1600
1601/* ./base/define_key.c */
1602
1603#undef define_key_sp
1604int	define_key_sp(
1605		SCREEN	*sp,
1606		const char *str,
1607		int	keycode)
1608		{ return(*(int *)0); }
1609
1610#undef define_key
1611int	define_key(
1612		const char *str,
1613		int	keycode)
1614		{ return(*(int *)0); }
1615
1616/* ./tinfo/hashed_db.c */
1617
1618#undef _nc_hashed_db
1619void	_nc_hashed_db(void)
1620		{ /* void */ }
1621
1622/* ./base/key_defined.c */
1623
1624#undef key_defined_sp
1625int	key_defined_sp(
1626		SCREEN	*sp,
1627		const char *str)
1628		{ return(*(int *)0); }
1629
1630#undef key_defined
1631int	key_defined(
1632		const char *str)
1633		{ return(*(int *)0); }
1634
1635/* ./base/keybound.c */
1636
1637#undef keybound_sp
1638char	*keybound_sp(
1639		SCREEN	*sp,
1640		int	code,
1641		int	count)
1642		{ return(*(char **)0); }
1643
1644#undef keybound
1645char	*keybound(
1646		int	code,
1647		int	count)
1648		{ return(*(char **)0); }
1649
1650/* ./base/keyok.c */
1651
1652#undef keyok_sp
1653int	keyok_sp(
1654		SCREEN	*sp,
1655		int	c,
1656		NCURSES_BOOL flag)
1657		{ return(*(int *)0); }
1658
1659#undef keyok
1660int	keyok(
1661		int	c,
1662		NCURSES_BOOL flag)
1663		{ return(*(int *)0); }
1664
1665/* ./base/version.c */
1666
1667#undef curses_version
1668const char *curses_version(void)
1669		{ return(*(const char **)0); }
1670