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