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