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