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