]> ncurses.scripts.mit.edu Git - ncurses.git/blob - ncurses/llib-ltinfo
ncurses 6.4 - patch 20230424
[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 /* ./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 tiparm_s
931 char    *tiparm_s(
932                 int     num_expected,
933                 int     tparm_type,
934                 const char *string,
935                 ...)
936                 { return(*(char **)0); }
937
938 #undef tiscan_s
939 int     tiscan_s(
940                 int     *num_expected,
941                 int     *tparm_type,
942                 const char *string)
943                 { return(*(int *)0); }
944
945 #undef _nc_tiparm
946 char    *_nc_tiparm(
947                 int     expected,
948                 const char *string,
949                 ...)
950                 { return(*(char **)0); }
951
952 #undef _nc_reset_tparm
953 void    _nc_reset_tparm(
954                 TERMINAL *term)
955                 { /* void */ }
956
957 /* ./tinfo/lib_tputs.c */
958
959 #undef PC
960 char    PC;
961 #undef ospeed
962 short   ospeed;
963 #undef _nc_nulls_sent
964 int     _nc_nulls_sent;
965
966 #undef _nc_set_no_padding
967 void    _nc_set_no_padding(
968                 SCREEN  *sp)
969                 { /* void */ }
970
971 #undef delay_output_sp
972 int     delay_output_sp(
973                 SCREEN  *sp,
974                 int     ms)
975                 { return(*(int *)0); }
976
977 #undef delay_output
978 int     delay_output(
979                 int     ms)
980                 { return(*(int *)0); }
981
982 #undef _nc_flush_sp
983 void    _nc_flush_sp(
984                 SCREEN  *sp)
985                 { /* void */ }
986
987 #undef _nc_flush
988 void    _nc_flush(void)
989                 { /* void */ }
990
991 #undef _nc_outch_sp
992 int     _nc_outch_sp(
993                 SCREEN  *sp,
994                 int     ch)
995                 { return(*(int *)0); }
996
997 #undef _nc_outch
998 int     _nc_outch(
999                 int     ch)
1000                 { return(*(int *)0); }
1001
1002 #undef _nc_putchar_sp
1003 int     _nc_putchar_sp(
1004                 SCREEN  *sp,
1005                 int     ch)
1006                 { return(*(int *)0); }
1007
1008 #undef _nc_putchar
1009 int     _nc_putchar(
1010                 int     ch)
1011                 { return(*(int *)0); }
1012
1013 #undef putp_sp
1014 int     putp_sp(
1015                 SCREEN  *sp,
1016                 const char *string)
1017                 { return(*(int *)0); }
1018
1019 #undef putp
1020 int     putp(
1021                 const char *string)
1022                 { return(*(int *)0); }
1023
1024 #undef _nc_putp_sp
1025 int     _nc_putp_sp(
1026                 SCREEN  *sp,
1027                 const char *name,
1028                 const char *string)
1029                 { return(*(int *)0); }
1030
1031 #undef _nc_putp
1032 int     _nc_putp(
1033                 const char *name,
1034                 const char *string)
1035                 { return(*(int *)0); }
1036
1037 #undef tputs_sp
1038 int     tputs_sp(
1039                 SCREEN  *sp,
1040                 const char *string,
1041                 int     affcnt,
1042                 NCURSES_OUTC_sp outc)
1043                 { return(*(int *)0); }
1044
1045 #undef _nc_outc_wrapper
1046 int     _nc_outc_wrapper(
1047                 SCREEN  *sp,
1048                 int     c)
1049                 { return(*(int *)0); }
1050
1051 #undef tputs
1052 int     tputs(
1053                 const char *string,
1054                 int     affcnt,
1055                 int     (*outc)(
1056                 int     p1))
1057                 { return(*(int *)0); }
1058
1059 /* ./trace/lib_trace.c */
1060
1061 #undef _nc_tracing
1062 unsigned _nc_tracing;
1063 #undef _nc_tputs_trace
1064 const char *_nc_tputs_trace = {0};
1065 #undef _nc_outchars
1066 long    _nc_outchars;
1067
1068 #undef curses_trace
1069 unsigned curses_trace(
1070                 unsigned tracelevel)
1071                 { return(*(unsigned *)0); }
1072
1073 #undef trace
1074 void    trace(
1075                 const unsigned int tracelevel)
1076                 { /* void */ }
1077
1078 #undef _tracef
1079 void    _tracef(
1080                 const char *fmt,
1081                 ...)
1082                 { /* void */ }
1083
1084 #undef _nc_retrace_bool
1085 NCURSES_BOOL _nc_retrace_bool(
1086                 int     code)
1087                 { return(*(NCURSES_BOOL *)0); }
1088
1089 #undef _nc_retrace_char
1090 char    _nc_retrace_char(
1091                 int     code)
1092                 { return(*(char *)0); }
1093
1094 #undef _nc_retrace_int
1095 int     _nc_retrace_int(
1096                 int     code)
1097                 { return(*(int *)0); }
1098
1099 #undef _nc_retrace_unsigned
1100 unsigned _nc_retrace_unsigned(
1101                 unsigned code)
1102                 { return(*(unsigned *)0); }
1103
1104 #undef _nc_retrace_ptr
1105 char    *_nc_retrace_ptr(
1106                 char    *code)
1107                 { return(*(char **)0); }
1108
1109 #undef _nc_retrace_cptr
1110 const char *_nc_retrace_cptr(
1111                 const char *code)
1112                 { return(*(const char **)0); }
1113
1114 #undef _nc_retrace_cvoid_ptr
1115 const void *_nc_retrace_cvoid_ptr(
1116                 const void *code)
1117                 { return(*(const void **)0); }
1118
1119 #undef _nc_retrace_void_ptr
1120 void    *_nc_retrace_void_ptr(
1121                 void    *code)
1122                 { return(*(void **)0); }
1123
1124 #undef _nc_retrace_sp
1125 SCREEN  *_nc_retrace_sp(
1126                 SCREEN  *code)
1127                 { return(*(SCREEN **)0); }
1128
1129 #undef _nc_retrace_win
1130 WINDOW  *_nc_retrace_win(
1131                 WINDOW  *code)
1132                 { return(*(WINDOW **)0); }
1133
1134 #undef _nc_fmt_funcptr
1135 char    *_nc_fmt_funcptr(
1136                 char    *target,
1137                 const char *source,
1138                 size_t  size)
1139                 { return(*(char **)0); }
1140
1141 /* ./trace/lib_traceatr.c */
1142
1143 #undef _traceattr2
1144 char    *_traceattr2(
1145                 int     bufnum,
1146                 chtype  newmode)
1147                 { return(*(char **)0); }
1148
1149 #undef _traceattr
1150 char    *_traceattr(
1151                 attr_t  newmode)
1152                 { return(*(char **)0); }
1153
1154 #undef _nc_retrace_int_attr_t
1155 int     _nc_retrace_int_attr_t(
1156                 attr_t  code)
1157                 { return(*(int *)0); }
1158
1159 #undef _nc_retrace_attr_t
1160 attr_t  _nc_retrace_attr_t(
1161                 attr_t  code)
1162                 { return(*(attr_t *)0); }
1163
1164 #undef _nc_altcharset_name
1165 const char *_nc_altcharset_name(
1166                 attr_t  attr,
1167                 chtype  ch)
1168                 { return(*(const char **)0); }
1169
1170 #undef _tracechtype2
1171 char    *_tracechtype2(
1172                 int     bufnum,
1173                 chtype  ch)
1174                 { return(*(char **)0); }
1175
1176 #undef _tracechtype
1177 char    *_tracechtype(
1178                 chtype  ch)
1179                 { return(*(char **)0); }
1180
1181 #undef _nc_retrace_chtype
1182 chtype  _nc_retrace_chtype(
1183                 chtype  code)
1184                 { return(*(chtype *)0); }
1185
1186 /* ./trace/lib_tracebits.c */
1187
1188 #undef _nc_trace_ttymode
1189 char    *_nc_trace_ttymode(
1190                 const struct termios *tty)
1191                 { return(*(char **)0); }
1192
1193 #undef _nc_tracebits
1194 char    *_nc_tracebits(void)
1195                 { return(*(char **)0); }
1196
1197 /* ./trace/lib_tracechr.c */
1198
1199 #undef _nc_tracechar
1200 char    *_nc_tracechar(
1201                 SCREEN  *sp,
1202                 int     ch)
1203                 { return(*(char **)0); }
1204
1205 #undef _tracechar
1206 char    *_tracechar(
1207                 int     ch)
1208                 { return(*(char **)0); }
1209
1210 /* ./tinfo/lib_ttyflags.c */
1211
1212 #undef _nc_get_tty_mode_sp
1213 int     _nc_get_tty_mode_sp(
1214                 SCREEN  *sp,
1215                 struct termios *buf)
1216                 { return(*(int *)0); }
1217
1218 #undef _nc_get_tty_mode
1219 int     _nc_get_tty_mode(
1220                 struct termios *buf)
1221                 { return(*(int *)0); }
1222
1223 #undef _nc_set_tty_mode_sp
1224 int     _nc_set_tty_mode_sp(
1225                 SCREEN  *sp,
1226                 struct termios *buf)
1227                 { return(*(int *)0); }
1228
1229 #undef _nc_set_tty_mode
1230 int     _nc_set_tty_mode(
1231                 struct termios *buf)
1232                 { return(*(int *)0); }
1233
1234 #undef def_shell_mode_sp
1235 int     def_shell_mode_sp(
1236                 SCREEN  *sp)
1237                 { return(*(int *)0); }
1238
1239 #undef def_shell_mode
1240 int     def_shell_mode(void)
1241                 { return(*(int *)0); }
1242
1243 #undef def_prog_mode_sp
1244 int     def_prog_mode_sp(
1245                 SCREEN  *sp)
1246                 { return(*(int *)0); }
1247
1248 #undef def_prog_mode
1249 int     def_prog_mode(void)
1250                 { return(*(int *)0); }
1251
1252 #undef reset_prog_mode_sp
1253 int     reset_prog_mode_sp(
1254                 SCREEN  *sp)
1255                 { return(*(int *)0); }
1256
1257 #undef reset_prog_mode
1258 int     reset_prog_mode(void)
1259                 { return(*(int *)0); }
1260
1261 #undef reset_shell_mode_sp
1262 int     reset_shell_mode_sp(
1263                 SCREEN  *sp)
1264                 { return(*(int *)0); }
1265
1266 #undef reset_shell_mode
1267 int     reset_shell_mode(void)
1268                 { return(*(int *)0); }
1269
1270 #undef savetty_sp
1271 int     savetty_sp(
1272                 SCREEN  *sp)
1273                 { return(*(int *)0); }
1274
1275 #undef savetty
1276 int     savetty(void)
1277                 { return(*(int *)0); }
1278
1279 #undef resetty_sp
1280 int     resetty_sp(
1281                 SCREEN  *sp)
1282                 { return(*(int *)0); }
1283
1284 #undef resetty
1285 int     resetty(void)
1286                 { return(*(int *)0); }
1287
1288 /* ./tty/lib_twait.c */
1289
1290 #undef _nc_timed_wait
1291 int     _nc_timed_wait(
1292                 SCREEN  *sp,
1293                 int     mode,
1294                 int     milliseconds,
1295                 int     *timeleft)
1296                 { return(*(int *)0); }
1297
1298 /* ./tinfo/name_match.c */
1299
1300 #undef _nc_first_name
1301 char    *_nc_first_name(
1302                 const char *const sp)
1303                 { return(*(char **)0); }
1304
1305 #undef _nc_name_match
1306 int     _nc_name_match(
1307                 const char *const namelst,
1308                 const char *const name,
1309                 const char *const delim)
1310                 { return(*(int *)0); }
1311
1312 /* ./names.c */
1313
1314 #undef boolnames
1315 const char *const boolnames[] = {0};
1316 #undef boolfnames
1317 const char *const boolfnames[] = {0};
1318 #undef numnames
1319 const char *const numnames[] = {0};
1320 #undef numfnames
1321 const char *const numfnames[] = {0};
1322 #undef strnames
1323 const char *const strnames[] = {0};
1324 #undef strfnames
1325 const char *const strfnames[] = {0};
1326
1327 /* ./tinfo/obsolete.c */
1328
1329 #undef _nc_set_buffer_sp
1330 void    _nc_set_buffer_sp(
1331                 SCREEN  *sp,
1332                 FILE    *ofp,
1333                 int     buffered)
1334                 { /* void */ }
1335
1336 #undef _nc_set_buffer
1337 void    _nc_set_buffer(
1338                 FILE    *ofp,
1339                 int     buffered)
1340                 { /* void */ }
1341
1342 /* ./tinfo/read_entry.c */
1343
1344 #undef _nc_init_termtype
1345 void    _nc_init_termtype(
1346                 TERMTYPE *const tp)
1347                 { /* void */ }
1348
1349 #undef _nc_read_termtype
1350 int     _nc_read_termtype(
1351                 TERMTYPE *ptr,
1352                 char    *buffer,
1353                 int     limit)
1354                 { return(*(int *)0); }
1355
1356 #undef _nc_read_file_entry
1357 int     _nc_read_file_entry(
1358                 const char *const filename,
1359                 TERMTYPE *ptr)
1360                 { return(*(int *)0); }
1361
1362 #undef _nc_read_entry
1363 int     _nc_read_entry(
1364                 const char *const name,
1365                 char    *const filename,
1366                 TERMTYPE *const tp)
1367                 { return(*(int *)0); }
1368
1369 /* ./tinfo/read_termcap.c */
1370
1371 #undef _nc_read_termcap
1372 void    _nc_read_termcap(void)
1373                 { /* void */ }
1374
1375 /* ./tinfo/strings.c */
1376
1377 #undef _nc_str_init
1378 string_desc *_nc_str_init(
1379                 string_desc *dst,
1380                 char    *src,
1381                 size_t  len)
1382                 { return(*(string_desc **)0); }
1383
1384 #undef _nc_str_null
1385 string_desc *_nc_str_null(
1386                 string_desc *dst,
1387                 size_t  len)
1388                 { return(*(string_desc **)0); }
1389
1390 #undef _nc_str_copy
1391 string_desc *_nc_str_copy(
1392                 string_desc *dst,
1393                 string_desc *src)
1394                 { return(*(string_desc **)0); }
1395
1396 #undef _nc_safe_strcat
1397 NCURSES_BOOL _nc_safe_strcat(
1398                 string_desc *dst,
1399                 const char *src)
1400                 { return(*(NCURSES_BOOL *)0); }
1401
1402 #undef _nc_safe_strcpy
1403 NCURSES_BOOL _nc_safe_strcpy(
1404                 string_desc *dst,
1405                 const char *src)
1406                 { return(*(NCURSES_BOOL *)0); }
1407
1408 /* ./trace/trace_buf.c */
1409
1410 #undef _nc_trace_buf
1411 char    *_nc_trace_buf(
1412                 int     bufnum,
1413                 size_t  want)
1414                 { return(*(char **)0); }
1415
1416 #undef _nc_trace_bufcat
1417 char    *_nc_trace_bufcat(
1418                 int     bufnum,
1419                 const char *value)
1420                 { return(*(char **)0); }
1421
1422 /* ./trace/trace_tries.c */
1423
1424 #undef _nc_trace_tries
1425 void    _nc_trace_tries(
1426                 TRIES   *tree)
1427                 { /* void */ }
1428
1429 /* ./base/tries.c */
1430
1431 #undef _nc_expand_try
1432 char    *_nc_expand_try(
1433                 TRIES   *tree,
1434                 unsigned code,
1435                 int     *count,
1436                 size_t  len)
1437                 { return(*(char **)0); }
1438
1439 #undef _nc_remove_key
1440 int     _nc_remove_key(
1441                 TRIES   **tree,
1442                 unsigned code)
1443                 { return(*(int *)0); }
1444
1445 #undef _nc_remove_string
1446 int     _nc_remove_string(
1447                 TRIES   **tree,
1448                 const char *string)
1449                 { return(*(int *)0); }
1450
1451 /* ./tinfo/trim_sgr0.c */
1452
1453 #undef _nc_trim_sgr0
1454 char    *_nc_trim_sgr0(
1455                 TERMTYPE *tp)
1456                 { return(*(char **)0); }
1457
1458 /* ./unctrl.c */
1459
1460 #undef unctrl_sp
1461 const char *unctrl_sp(
1462                 SCREEN  *sp,
1463                 chtype  ch)
1464                 { return(*(const char **)0); }
1465
1466 #undef unctrl
1467 const char *unctrl(
1468                 chtype  ch)
1469                 { return(*(const char **)0); }
1470
1471 /* ./trace/visbuf.c */
1472
1473 #undef _nc_visbuf2
1474 const char *_nc_visbuf2(
1475                 int     bufnum,
1476                 const char *buf)
1477                 { return(*(const char **)0); }
1478
1479 #undef _nc_visbuf
1480 const char *_nc_visbuf(
1481                 const char *buf)
1482                 { return(*(const char **)0); }
1483
1484 #undef _nc_visbufn
1485 const char *_nc_visbufn(
1486                 const char *buf,
1487                 int     len)
1488                 { return(*(const char **)0); }
1489
1490 #undef _nc_viscbuf2
1491 const char *_nc_viscbuf2(
1492                 int     bufnum,
1493                 const chtype *buf,
1494                 int     len)
1495                 { return(*(const char **)0); }
1496
1497 #undef _nc_viscbuf
1498 const char *_nc_viscbuf(
1499                 const chtype *buf,
1500                 int     len)
1501                 { return(*(const char **)0); }
1502
1503 /* ./base/define_key.c */
1504
1505 #undef define_key_sp
1506 int     define_key_sp(
1507                 SCREEN  *sp,
1508                 const char *str,
1509                 int     keycode)
1510                 { return(*(int *)0); }
1511
1512 #undef define_key
1513 int     define_key(
1514                 const char *str,
1515                 int     keycode)
1516                 { return(*(int *)0); }
1517
1518 /* ./tinfo/hashed_db.c */
1519
1520 #undef _nc_hashed_db
1521 void    _nc_hashed_db(void)
1522                 { /* void */ }
1523
1524 /* ./base/key_defined.c */
1525
1526 #undef key_defined_sp
1527 int     key_defined_sp(
1528                 SCREEN  *sp,
1529                 const char *str)
1530                 { return(*(int *)0); }
1531
1532 #undef key_defined
1533 int     key_defined(
1534                 const char *str)
1535                 { return(*(int *)0); }
1536
1537 /* ./base/keybound.c */
1538
1539 #undef keybound_sp
1540 char    *keybound_sp(
1541                 SCREEN  *sp,
1542                 int     code,
1543                 int     count)
1544                 { return(*(char **)0); }
1545
1546 #undef keybound
1547 char    *keybound(
1548                 int     code,
1549                 int     count)
1550                 { return(*(char **)0); }
1551
1552 /* ./base/keyok.c */
1553
1554 #undef keyok_sp
1555 int     keyok_sp(
1556                 SCREEN  *sp,
1557                 int     c,
1558                 NCURSES_BOOL flag)
1559                 { return(*(int *)0); }
1560
1561 #undef keyok
1562 int     keyok(
1563                 int     c,
1564                 NCURSES_BOOL flag)
1565                 { return(*(int *)0); }
1566
1567 /* ./base/version.c */
1568
1569 #undef curses_version
1570 const char *curses_version(void)
1571                 { return(*(const char **)0); }