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