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