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