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