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