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