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