]> ncurses.scripts.mit.edu Git - ncurses.git/blob - ncurses/llib-ltinfo
ncurses 6.4 - patch 20221231
[ncurses.git] / ncurses / llib-ltinfo
1 /****************************************************************************
2  * Copyright 2019-2021,2022 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 /* ./tinfo/lib_setup.c */
686
687 #undef ttytype
688 char    ttytype[256];
689 #undef LINES
690 int     LINES;
691 #undef COLS
692 int     COLS;
693 #undef TABSIZE
694 int     TABSIZE;
695
696 #undef set_tabsize_sp
697 int     set_tabsize_sp(
698                 SCREEN  *sp,
699                 int     value)
700                 { return(*(int *)0); }
701
702 #undef set_tabsize
703 int     set_tabsize(
704                 int     value)
705                 { return(*(int *)0); }
706
707 #undef _nc_handle_sigwinch
708 int     _nc_handle_sigwinch(
709                 SCREEN  *sp)
710                 { return(*(int *)0); }
711
712 #undef use_env_sp
713 void    use_env_sp(
714                 SCREEN  *sp,
715                 NCURSES_BOOL f)
716                 { /* void */ }
717
718 #undef use_tioctl_sp
719 void    use_tioctl_sp(
720                 SCREEN  *sp,
721                 NCURSES_BOOL f)
722                 { /* void */ }
723
724 #undef use_env
725 void    use_env(
726                 NCURSES_BOOL f)
727                 { /* void */ }
728
729 #undef use_tioctl
730 void    use_tioctl(
731                 NCURSES_BOOL f)
732                 { /* void */ }
733
734 #undef _nc_get_screensize
735 void    _nc_get_screensize(
736                 SCREEN  *sp,
737                 int     *linep,
738                 int     *colp)
739                 { /* void */ }
740
741 #undef _nc_update_screensize
742 void    _nc_update_screensize(
743                 SCREEN  *sp)
744                 { /* void */ }
745
746 #undef _nc_setup_tinfo
747 int     _nc_setup_tinfo(
748                 const char *const tn,
749                 TERMTYPE *const tp)
750                 { return(*(int *)0); }
751
752 #undef _nc_tinfo_cmdch
753 void    _nc_tinfo_cmdch(
754                 TERMINAL *termp,
755                 int     proto)
756                 { /* void */ }
757
758 #undef _nc_get_locale
759 char    *_nc_get_locale(void)
760                 { return(*(char **)0); }
761
762 #undef _nc_unicode_locale
763 int     _nc_unicode_locale(void)
764                 { return(*(int *)0); }
765
766 #undef _nc_locale_breaks_acs
767 int     _nc_locale_breaks_acs(
768                 TERMINAL *termp)
769                 { return(*(int *)0); }
770
771 #undef _nc_setupterm
772 int     _nc_setupterm(
773                 const char *tname,
774                 int     Filedes,
775                 int     *errret,
776                 int     reuse)
777                 { return(*(int *)0); }
778
779 #undef new_prescr
780 SCREEN  *new_prescr(void)
781                 { return(*(SCREEN **)0); }
782
783 #undef setupterm
784 int     setupterm(
785                 const char *tname,
786                 int     Filedes,
787                 int     *errret)
788                 { return(*(int *)0); }
789
790 /* ./tinfo/lib_termcap.c */
791
792 #undef UP
793 char    *UP;
794 #undef BC
795 char    *BC;
796
797 #undef tgetent_sp
798 int     tgetent_sp(
799                 SCREEN  *sp,
800                 char    *bufp,
801                 const char *name)
802                 { return(*(int *)0); }
803
804 #undef tgetent
805 int     tgetent(
806                 char    *bufp,
807                 const char *name)
808                 { return(*(int *)0); }
809
810 #undef tgetflag_sp
811 int     tgetflag_sp(
812                 SCREEN  *sp,
813                 const char *id)
814                 { return(*(int *)0); }
815
816 #undef tgetflag
817 int     tgetflag(
818                 const char *id)
819                 { return(*(int *)0); }
820
821 #undef tgetnum_sp
822 int     tgetnum_sp(
823                 SCREEN  *sp,
824                 const char *id)
825                 { return(*(int *)0); }
826
827 #undef tgetnum
828 int     tgetnum(
829                 const char *id)
830                 { return(*(int *)0); }
831
832 #undef tgetstr_sp
833 char    *tgetstr_sp(
834                 SCREEN  *sp,
835                 const char *id,
836                 char    **area)
837                 { return(*(char **)0); }
838
839 #undef tgetstr
840 char    *tgetstr(
841                 const char *id,
842                 char    **area)
843                 { return(*(char **)0); }
844
845 /* ./tinfo/lib_termname.c */
846
847 #undef termname_sp
848 char    *termname_sp(
849                 SCREEN  *sp)
850                 { return(*(char **)0); }
851
852 #undef termname
853 char    *termname(void)
854                 { return(*(char **)0); }
855
856 /* ./tinfo/lib_tgoto.c */
857
858 #undef tgoto
859 char    *tgoto(
860                 const char *string,
861                 int     x,
862                 int     y)
863                 { return(*(char **)0); }
864
865 /* ./tinfo/lib_ti.c */
866
867 #undef tigetflag_sp
868 int     tigetflag_sp(
869                 SCREEN  *sp,
870                 const char *str)
871                 { return(*(int *)0); }
872
873 #undef tigetflag
874 int     tigetflag(
875                 const char *str)
876                 { return(*(int *)0); }
877
878 #undef tigetnum_sp
879 int     tigetnum_sp(
880                 SCREEN  *sp,
881                 const char *str)
882                 { return(*(int *)0); }
883
884 #undef tigetnum
885 int     tigetnum(
886                 const char *str)
887                 { return(*(int *)0); }
888
889 #undef tigetstr_sp
890 char    *tigetstr_sp(
891                 SCREEN  *sp,
892                 const char *str)
893                 { return(*(char **)0); }
894
895 #undef tigetstr
896 char    *tigetstr(
897                 const char *str)
898                 { return(*(char **)0); }
899
900 /* ./tinfo/lib_tparm.c */
901
902 #undef _nc_tparm_err
903 int     _nc_tparm_err;
904
905 #undef _nc_free_tparm
906 void    _nc_free_tparm(
907                 TERMINAL *termp)
908                 { /* void */ }
909
910 #undef _nc_tparm_analyze
911 int     _nc_tparm_analyze(
912                 TERMINAL *term,
913                 const char *string,
914                 char    **p_is_s,
915                 int     *_nc_popcount)
916                 { return(*(int *)0); }
917
918 #undef tparm
919 char    *tparm(
920                 const char *string,
921                 ...)
922                 { return(*(char **)0); }
923
924 #undef tiparm
925 char    *tiparm(
926                 const char *string,
927                 ...)
928                 { return(*(char **)0); }
929
930 #undef _nc_tiparm
931 char    *_nc_tiparm(
932                 int     expected,
933                 const char *string,
934                 ...)
935                 { return(*(char **)0); }
936
937 #undef _nc_reset_tparm
938 void    _nc_reset_tparm(
939                 TERMINAL *term)
940                 { /* void */ }
941
942 /* ./tinfo/lib_tputs.c */
943
944 #undef PC
945 char    PC;
946 #undef ospeed
947 short   ospeed;
948 #undef _nc_nulls_sent
949 int     _nc_nulls_sent;
950
951 #undef _nc_set_no_padding
952 void    _nc_set_no_padding(
953                 SCREEN  *sp)
954                 { /* void */ }
955
956 #undef delay_output_sp
957 int     delay_output_sp(
958                 SCREEN  *sp,
959                 int     ms)
960                 { return(*(int *)0); }
961
962 #undef delay_output
963 int     delay_output(
964                 int     ms)
965                 { return(*(int *)0); }
966
967 #undef _nc_flush_sp
968 void    _nc_flush_sp(
969                 SCREEN  *sp)
970                 { /* void */ }
971
972 #undef _nc_flush
973 void    _nc_flush(void)
974                 { /* void */ }
975
976 #undef _nc_outch_sp
977 int     _nc_outch_sp(
978                 SCREEN  *sp,
979                 int     ch)
980                 { return(*(int *)0); }
981
982 #undef _nc_outch
983 int     _nc_outch(
984                 int     ch)
985                 { return(*(int *)0); }
986
987 #undef _nc_putchar_sp
988 int     _nc_putchar_sp(
989                 SCREEN  *sp,
990                 int     ch)
991                 { return(*(int *)0); }
992
993 #undef _nc_putchar
994 int     _nc_putchar(
995                 int     ch)
996                 { return(*(int *)0); }
997
998 #undef putp_sp
999 int     putp_sp(
1000                 SCREEN  *sp,
1001                 const char *string)
1002                 { return(*(int *)0); }
1003
1004 #undef putp
1005 int     putp(
1006                 const char *string)
1007                 { return(*(int *)0); }
1008
1009 #undef _nc_putp_sp
1010 int     _nc_putp_sp(
1011                 SCREEN  *sp,
1012                 const char *name,
1013                 const char *string)
1014                 { return(*(int *)0); }
1015
1016 #undef _nc_putp
1017 int     _nc_putp(
1018                 const char *name,
1019                 const char *string)
1020                 { return(*(int *)0); }
1021
1022 #undef tputs_sp
1023 int     tputs_sp(
1024                 SCREEN  *sp,
1025                 const char *string,
1026                 int     affcnt,
1027                 NCURSES_OUTC_sp outc)
1028                 { return(*(int *)0); }
1029
1030 #undef _nc_outc_wrapper
1031 int     _nc_outc_wrapper(
1032                 SCREEN  *sp,
1033                 int     c)
1034                 { return(*(int *)0); }
1035
1036 #undef tputs
1037 int     tputs(
1038                 const char *string,
1039                 int     affcnt,
1040                 int     (*outc)(
1041                 int     p1))
1042                 { return(*(int *)0); }
1043
1044 /* ./trace/lib_trace.c */
1045
1046 #undef _nc_tracing
1047 unsigned _nc_tracing;
1048 #undef _nc_tputs_trace
1049 const char *_nc_tputs_trace = {0};
1050 #undef _nc_outchars
1051 long    _nc_outchars;
1052
1053 #undef curses_trace
1054 unsigned curses_trace(
1055                 unsigned tracelevel)
1056                 { return(*(unsigned *)0); }
1057
1058 #undef trace
1059 void    trace(
1060                 const unsigned int tracelevel)
1061                 { /* void */ }
1062
1063 #undef _tracef
1064 void    _tracef(
1065                 const char *fmt,
1066                 ...)
1067                 { /* void */ }
1068
1069 #undef _nc_retrace_bool
1070 NCURSES_BOOL _nc_retrace_bool(
1071                 int     code)
1072                 { return(*(NCURSES_BOOL *)0); }
1073
1074 #undef _nc_retrace_char
1075 char    _nc_retrace_char(
1076                 int     code)
1077                 { return(*(char *)0); }
1078
1079 #undef _nc_retrace_int
1080 int     _nc_retrace_int(
1081                 int     code)
1082                 { return(*(int *)0); }
1083
1084 #undef _nc_retrace_unsigned
1085 unsigned _nc_retrace_unsigned(
1086                 unsigned code)
1087                 { return(*(unsigned *)0); }
1088
1089 #undef _nc_retrace_ptr
1090 char    *_nc_retrace_ptr(
1091                 char    *code)
1092                 { return(*(char **)0); }
1093
1094 #undef _nc_retrace_cptr
1095 const char *_nc_retrace_cptr(
1096                 const char *code)
1097                 { return(*(const char **)0); }
1098
1099 #undef _nc_retrace_cvoid_ptr
1100 const void *_nc_retrace_cvoid_ptr(
1101                 const void *code)
1102                 { return(*(const void **)0); }
1103
1104 #undef _nc_retrace_void_ptr
1105 void    *_nc_retrace_void_ptr(
1106                 void    *code)
1107                 { return(*(void **)0); }
1108
1109 #undef _nc_retrace_sp
1110 SCREEN  *_nc_retrace_sp(
1111                 SCREEN  *code)
1112                 { return(*(SCREEN **)0); }
1113
1114 #undef _nc_retrace_win
1115 WINDOW  *_nc_retrace_win(
1116                 WINDOW  *code)
1117                 { return(*(WINDOW **)0); }
1118
1119 #undef _nc_fmt_funcptr
1120 char    *_nc_fmt_funcptr(
1121                 char    *target,
1122                 const char *source,
1123                 size_t  size)
1124                 { return(*(char **)0); }
1125
1126 /* ./trace/lib_traceatr.c */
1127
1128 #undef _traceattr2
1129 char    *_traceattr2(
1130                 int     bufnum,
1131                 chtype  newmode)
1132                 { return(*(char **)0); }
1133
1134 #undef _traceattr
1135 char    *_traceattr(
1136                 attr_t  newmode)
1137                 { return(*(char **)0); }
1138
1139 #undef _nc_retrace_int_attr_t
1140 int     _nc_retrace_int_attr_t(
1141                 attr_t  code)
1142                 { return(*(int *)0); }
1143
1144 #undef _nc_retrace_attr_t
1145 attr_t  _nc_retrace_attr_t(
1146                 attr_t  code)
1147                 { return(*(attr_t *)0); }
1148
1149 #undef _nc_altcharset_name
1150 const char *_nc_altcharset_name(
1151                 attr_t  attr,
1152                 chtype  ch)
1153                 { return(*(const char **)0); }
1154
1155 #undef _tracechtype2
1156 char    *_tracechtype2(
1157                 int     bufnum,
1158                 chtype  ch)
1159                 { return(*(char **)0); }
1160
1161 #undef _tracechtype
1162 char    *_tracechtype(
1163                 chtype  ch)
1164                 { return(*(char **)0); }
1165
1166 #undef _nc_retrace_chtype
1167 chtype  _nc_retrace_chtype(
1168                 chtype  code)
1169                 { return(*(chtype *)0); }
1170
1171 /* ./trace/lib_tracebits.c */
1172
1173 #undef _nc_trace_ttymode
1174 char    *_nc_trace_ttymode(
1175                 const struct termios *tty)
1176                 { return(*(char **)0); }
1177
1178 #undef _nc_tracebits
1179 char    *_nc_tracebits(void)
1180                 { return(*(char **)0); }
1181
1182 /* ./trace/lib_tracechr.c */
1183
1184 #undef _nc_tracechar
1185 char    *_nc_tracechar(
1186                 SCREEN  *sp,
1187                 int     ch)
1188                 { return(*(char **)0); }
1189
1190 #undef _tracechar
1191 char    *_tracechar(
1192                 int     ch)
1193                 { return(*(char **)0); }
1194
1195 /* ./tinfo/lib_ttyflags.c */
1196
1197 #undef _nc_get_tty_mode_sp
1198 int     _nc_get_tty_mode_sp(
1199                 SCREEN  *sp,
1200                 struct termios *buf)
1201                 { return(*(int *)0); }
1202
1203 #undef _nc_get_tty_mode
1204 int     _nc_get_tty_mode(
1205                 struct termios *buf)
1206                 { return(*(int *)0); }
1207
1208 #undef _nc_set_tty_mode_sp
1209 int     _nc_set_tty_mode_sp(
1210                 SCREEN  *sp,
1211                 struct termios *buf)
1212                 { return(*(int *)0); }
1213
1214 #undef _nc_set_tty_mode
1215 int     _nc_set_tty_mode(
1216                 struct termios *buf)
1217                 { return(*(int *)0); }
1218
1219 #undef def_shell_mode_sp
1220 int     def_shell_mode_sp(
1221                 SCREEN  *sp)
1222                 { return(*(int *)0); }
1223
1224 #undef def_shell_mode
1225 int     def_shell_mode(void)
1226                 { return(*(int *)0); }
1227
1228 #undef def_prog_mode_sp
1229 int     def_prog_mode_sp(
1230                 SCREEN  *sp)
1231                 { return(*(int *)0); }
1232
1233 #undef def_prog_mode
1234 int     def_prog_mode(void)
1235                 { return(*(int *)0); }
1236
1237 #undef reset_prog_mode_sp
1238 int     reset_prog_mode_sp(
1239                 SCREEN  *sp)
1240                 { return(*(int *)0); }
1241
1242 #undef reset_prog_mode
1243 int     reset_prog_mode(void)
1244                 { return(*(int *)0); }
1245
1246 #undef reset_shell_mode_sp
1247 int     reset_shell_mode_sp(
1248                 SCREEN  *sp)
1249                 { return(*(int *)0); }
1250
1251 #undef reset_shell_mode
1252 int     reset_shell_mode(void)
1253                 { return(*(int *)0); }
1254
1255 #undef savetty_sp
1256 int     savetty_sp(
1257                 SCREEN  *sp)
1258                 { return(*(int *)0); }
1259
1260 #undef savetty
1261 int     savetty(void)
1262                 { return(*(int *)0); }
1263
1264 #undef resetty_sp
1265 int     resetty_sp(
1266                 SCREEN  *sp)
1267                 { return(*(int *)0); }
1268
1269 #undef resetty
1270 int     resetty(void)
1271                 { return(*(int *)0); }
1272
1273 /* ./tty/lib_twait.c */
1274
1275 #undef _nc_timed_wait
1276 int     _nc_timed_wait(
1277                 SCREEN  *sp,
1278                 int     mode,
1279                 int     milliseconds,
1280                 int     *timeleft)
1281                 { return(*(int *)0); }
1282
1283 /* ./tinfo/name_match.c */
1284
1285 #undef _nc_first_name
1286 char    *_nc_first_name(
1287                 const char *const sp)
1288                 { return(*(char **)0); }
1289
1290 #undef _nc_name_match
1291 int     _nc_name_match(
1292                 const char *const namelst,
1293                 const char *const name,
1294                 const char *const delim)
1295                 { return(*(int *)0); }
1296
1297 /* ./names.c */
1298
1299 #undef boolnames
1300 const char *const boolnames[] = {0};
1301 #undef boolfnames
1302 const char *const boolfnames[] = {0};
1303 #undef numnames
1304 const char *const numnames[] = {0};
1305 #undef numfnames
1306 const char *const numfnames[] = {0};
1307 #undef strnames
1308 const char *const strnames[] = {0};
1309 #undef strfnames
1310 const char *const strfnames[] = {0};
1311
1312 /* ./tinfo/obsolete.c */
1313
1314 #undef _nc_set_buffer_sp
1315 void    _nc_set_buffer_sp(
1316                 SCREEN  *sp,
1317                 FILE    *ofp,
1318                 int     buffered)
1319                 { /* void */ }
1320
1321 #undef _nc_set_buffer
1322 void    _nc_set_buffer(
1323                 FILE    *ofp,
1324                 int     buffered)
1325                 { /* void */ }
1326
1327 /* ./tinfo/read_entry.c */
1328
1329 #undef _nc_init_termtype
1330 void    _nc_init_termtype(
1331                 TERMTYPE *const tp)
1332                 { /* void */ }
1333
1334 #undef _nc_read_termtype
1335 int     _nc_read_termtype(
1336                 TERMTYPE *ptr,
1337                 char    *buffer,
1338                 int     limit)
1339                 { return(*(int *)0); }
1340
1341 #undef _nc_read_file_entry
1342 int     _nc_read_file_entry(
1343                 const char *const filename,
1344                 TERMTYPE *ptr)
1345                 { return(*(int *)0); }
1346
1347 #undef _nc_read_entry
1348 int     _nc_read_entry(
1349                 const char *const name,
1350                 char    *const filename,
1351                 TERMTYPE *const tp)
1352                 { return(*(int *)0); }
1353
1354 /* ./tinfo/read_termcap.c */
1355
1356 #undef _nc_read_termcap
1357 void    _nc_read_termcap(void)
1358                 { /* void */ }
1359
1360 /* ./tinfo/strings.c */
1361
1362 #undef _nc_str_init
1363 string_desc *_nc_str_init(
1364                 string_desc *dst,
1365                 char    *src,
1366                 size_t  len)
1367                 { return(*(string_desc **)0); }
1368
1369 #undef _nc_str_null
1370 string_desc *_nc_str_null(
1371                 string_desc *dst,
1372                 size_t  len)
1373                 { return(*(string_desc **)0); }
1374
1375 #undef _nc_str_copy
1376 string_desc *_nc_str_copy(
1377                 string_desc *dst,
1378                 string_desc *src)
1379                 { return(*(string_desc **)0); }
1380
1381 #undef _nc_safe_strcat
1382 NCURSES_BOOL _nc_safe_strcat(
1383                 string_desc *dst,
1384                 const char *src)
1385                 { return(*(NCURSES_BOOL *)0); }
1386
1387 #undef _nc_safe_strcpy
1388 NCURSES_BOOL _nc_safe_strcpy(
1389                 string_desc *dst,
1390                 const char *src)
1391                 { return(*(NCURSES_BOOL *)0); }
1392
1393 /* ./trace/trace_buf.c */
1394
1395 #undef _nc_trace_buf
1396 char    *_nc_trace_buf(
1397                 int     bufnum,
1398                 size_t  want)
1399                 { return(*(char **)0); }
1400
1401 #undef _nc_trace_bufcat
1402 char    *_nc_trace_bufcat(
1403                 int     bufnum,
1404                 const char *value)
1405                 { return(*(char **)0); }
1406
1407 /* ./trace/trace_tries.c */
1408
1409 #undef _nc_trace_tries
1410 void    _nc_trace_tries(
1411                 TRIES   *tree)
1412                 { /* void */ }
1413
1414 /* ./base/tries.c */
1415
1416 #undef _nc_expand_try
1417 char    *_nc_expand_try(
1418                 TRIES   *tree,
1419                 unsigned code,
1420                 int     *count,
1421                 size_t  len)
1422                 { return(*(char **)0); }
1423
1424 #undef _nc_remove_key
1425 int     _nc_remove_key(
1426                 TRIES   **tree,
1427                 unsigned code)
1428                 { return(*(int *)0); }
1429
1430 #undef _nc_remove_string
1431 int     _nc_remove_string(
1432                 TRIES   **tree,
1433                 const char *string)
1434                 { return(*(int *)0); }
1435
1436 /* ./tinfo/trim_sgr0.c */
1437
1438 #undef _nc_trim_sgr0
1439 char    *_nc_trim_sgr0(
1440                 TERMTYPE *tp)
1441                 { return(*(char **)0); }
1442
1443 /* ./unctrl.c */
1444
1445 #undef unctrl_sp
1446 const char *unctrl_sp(
1447                 SCREEN  *sp,
1448                 chtype  ch)
1449                 { return(*(const char **)0); }
1450
1451 #undef unctrl
1452 const char *unctrl(
1453                 chtype  ch)
1454                 { return(*(const char **)0); }
1455
1456 /* ./trace/visbuf.c */
1457
1458 #undef _nc_visbuf2
1459 const char *_nc_visbuf2(
1460                 int     bufnum,
1461                 const char *buf)
1462                 { return(*(const char **)0); }
1463
1464 #undef _nc_visbuf
1465 const char *_nc_visbuf(
1466                 const char *buf)
1467                 { return(*(const char **)0); }
1468
1469 #undef _nc_visbufn
1470 const char *_nc_visbufn(
1471                 const char *buf,
1472                 int     len)
1473                 { return(*(const char **)0); }
1474
1475 #undef _nc_viscbuf2
1476 const char *_nc_viscbuf2(
1477                 int     bufnum,
1478                 const chtype *buf,
1479                 int     len)
1480                 { return(*(const char **)0); }
1481
1482 #undef _nc_viscbuf
1483 const char *_nc_viscbuf(
1484                 const chtype *buf,
1485                 int     len)
1486                 { return(*(const char **)0); }
1487
1488 /* ./base/define_key.c */
1489
1490 #undef define_key_sp
1491 int     define_key_sp(
1492                 SCREEN  *sp,
1493                 const char *str,
1494                 int     keycode)
1495                 { return(*(int *)0); }
1496
1497 #undef define_key
1498 int     define_key(
1499                 const char *str,
1500                 int     keycode)
1501                 { return(*(int *)0); }
1502
1503 /* ./tinfo/hashed_db.c */
1504
1505 #undef _nc_hashed_db
1506 void    _nc_hashed_db(void)
1507                 { /* void */ }
1508
1509 /* ./base/key_defined.c */
1510
1511 #undef key_defined_sp
1512 int     key_defined_sp(
1513                 SCREEN  *sp,
1514                 const char *str)
1515                 { return(*(int *)0); }
1516
1517 #undef key_defined
1518 int     key_defined(
1519                 const char *str)
1520                 { return(*(int *)0); }
1521
1522 /* ./base/keybound.c */
1523
1524 #undef keybound_sp
1525 char    *keybound_sp(
1526                 SCREEN  *sp,
1527                 int     code,
1528                 int     count)
1529                 { return(*(char **)0); }
1530
1531 #undef keybound
1532 char    *keybound(
1533                 int     code,
1534                 int     count)
1535                 { return(*(char **)0); }
1536
1537 /* ./base/keyok.c */
1538
1539 #undef keyok_sp
1540 int     keyok_sp(
1541                 SCREEN  *sp,
1542                 int     c,
1543                 NCURSES_BOOL flag)
1544                 { return(*(int *)0); }
1545
1546 #undef keyok
1547 int     keyok(
1548                 int     c,
1549                 NCURSES_BOOL flag)
1550                 { return(*(int *)0); }
1551
1552 /* ./base/version.c */
1553
1554 #undef curses_version
1555 const char *curses_version(void)
1556                 { return(*(const char **)0); }