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