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