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