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