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