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