]> ncurses.scripts.mit.edu Git - ncurses.git/blob - ncurses/llib-ltinfotw
83b025d25ea2429f8e756292c347405bab735557
[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 _nc_find_prescr
837 SCREEN  *_nc_find_prescr(void)
838                 { return(*(SCREEN **)0); }
839
840 #undef _nc_forget_prescr
841 void    _nc_forget_prescr(void)
842                 { /* void */ }
843
844 #undef new_prescr
845 SCREEN  *new_prescr(void)
846                 { return(*(SCREEN **)0); }
847
848 #undef setupterm
849 int     setupterm(
850                 const char *tname, 
851                 int     Filedes, 
852                 int     *errret)
853                 { return(*(int *)0); }
854
855 /* ./tinfo/lib_termcap.c */
856
857 #undef UP
858 char    *UP;
859 #undef BC
860 char    *BC;
861
862 #undef tgetent_sp
863 int     tgetent_sp(
864                 SCREEN  *sp, 
865                 char    *bufp, 
866                 const char *name)
867                 { return(*(int *)0); }
868
869 #undef tgetent
870 int     tgetent(
871                 char    *bufp, 
872                 const char *name)
873                 { return(*(int *)0); }
874
875 #undef tgetflag_sp
876 int     tgetflag_sp(
877                 SCREEN  *sp, 
878                 const char *id)
879                 { return(*(int *)0); }
880
881 #undef tgetflag
882 int     tgetflag(
883                 const char *id)
884                 { return(*(int *)0); }
885
886 #undef tgetnum_sp
887 int     tgetnum_sp(
888                 SCREEN  *sp, 
889                 const char *id)
890                 { return(*(int *)0); }
891
892 #undef tgetnum
893 int     tgetnum(
894                 const char *id)
895                 { return(*(int *)0); }
896
897 #undef tgetstr_sp
898 char    *tgetstr_sp(
899                 SCREEN  *sp, 
900                 const char *id, 
901                 char    **area)
902                 { return(*(char **)0); }
903
904 #undef tgetstr
905 char    *tgetstr(
906                 const char *id, 
907                 char    **area)
908                 { return(*(char **)0); }
909
910 /* ./tinfo/lib_termname.c */
911
912 #undef termname_sp
913 char    *termname_sp(
914                 SCREEN  *sp)
915                 { return(*(char **)0); }
916
917 #undef termname
918 char    *termname(void)
919                 { return(*(char **)0); }
920
921 /* ./tinfo/lib_tgoto.c */
922
923 #undef tgoto
924 char    *tgoto(
925                 const char *string, 
926                 int     x, 
927                 int     y)
928                 { return(*(char **)0); }
929
930 /* ./tinfo/lib_ti.c */
931
932 #undef tigetflag_sp
933 int     tigetflag_sp(
934                 SCREEN  *sp, 
935                 const char *str)
936                 { return(*(int *)0); }
937
938 #undef tigetflag
939 int     tigetflag(
940                 const char *str)
941                 { return(*(int *)0); }
942
943 #undef tigetnum_sp
944 int     tigetnum_sp(
945                 SCREEN  *sp, 
946                 const char *str)
947                 { return(*(int *)0); }
948
949 #undef tigetnum
950 int     tigetnum(
951                 const char *str)
952                 { return(*(int *)0); }
953
954 #undef tigetstr_sp
955 char    *tigetstr_sp(
956                 SCREEN  *sp, 
957                 const char *str)
958                 { return(*(char **)0); }
959
960 #undef tigetstr
961 char    *tigetstr(
962                 const char *str)
963                 { return(*(char **)0); }
964
965 /* ./tinfo/lib_tparm.c */
966
967 #undef _nc_tparm_err
968 int     _nc_tparm_err;
969
970 #undef _nc_tparm_analyze
971 int     _nc_tparm_analyze(
972                 const char *string, 
973                 char    *p_is_s[9], 
974                 int     *_nc_popcount)
975                 { return(*(int *)0); }
976
977 #undef tparm
978 char    *tparm(
979                 const char *string, 
980                 ...)
981                 { return(*(char **)0); }
982
983 #undef tiparm
984 char    *tiparm(
985                 const char *string, 
986                 ...)
987                 { return(*(char **)0); }
988
989 /* ./tinfo/lib_tputs.c */
990
991 #undef PC
992 char    PC;
993 #undef ospeed
994 short   ospeed;
995 #undef _nc_nulls_sent
996 int     _nc_nulls_sent;
997
998 #undef _nc_set_no_padding
999 void    _nc_set_no_padding(
1000                 SCREEN  *sp)
1001                 { /* void */ }
1002
1003 #undef delay_output_sp
1004 int     delay_output_sp(
1005                 SCREEN  *sp, 
1006                 int     ms)
1007                 { return(*(int *)0); }
1008
1009 #undef delay_output
1010 int     delay_output(
1011                 int     ms)
1012                 { return(*(int *)0); }
1013
1014 #undef _nc_flush_sp
1015 void    _nc_flush_sp(
1016                 SCREEN  *sp)
1017                 { /* void */ }
1018
1019 #undef _nc_flush
1020 void    _nc_flush(void)
1021                 { /* void */ }
1022
1023 #undef _nc_outch_sp
1024 int     _nc_outch_sp(
1025                 SCREEN  *sp, 
1026                 int     ch)
1027                 { return(*(int *)0); }
1028
1029 #undef _nc_outch
1030 int     _nc_outch(
1031                 int     ch)
1032                 { return(*(int *)0); }
1033
1034 #undef _nc_putchar_sp
1035 int     _nc_putchar_sp(
1036                 SCREEN  *sp, 
1037                 int     ch)
1038                 { return(*(int *)0); }
1039
1040 #undef _nc_putchar
1041 int     _nc_putchar(
1042                 int     ch)
1043                 { return(*(int *)0); }
1044
1045 #undef putp_sp
1046 int     putp_sp(
1047                 SCREEN  *sp, 
1048                 const char *string)
1049                 { return(*(int *)0); }
1050
1051 #undef putp
1052 int     putp(
1053                 const char *string)
1054                 { return(*(int *)0); }
1055
1056 #undef _nc_putp_sp
1057 int     _nc_putp_sp(
1058                 SCREEN  *sp, 
1059                 const char *name, 
1060                 const char *string)
1061                 { return(*(int *)0); }
1062
1063 #undef _nc_putp
1064 int     _nc_putp(
1065                 const char *name, 
1066                 const char *string)
1067                 { return(*(int *)0); }
1068
1069 #undef tputs_sp
1070 int     tputs_sp(
1071                 SCREEN  *sp, 
1072                 const char *string, 
1073                 int     affcnt, 
1074                 NCURSES_OUTC_sp outc)
1075                 { return(*(int *)0); }
1076
1077 #undef _nc_outc_wrapper
1078 int     _nc_outc_wrapper(
1079                 SCREEN  *sp, 
1080                 int     c)
1081                 { return(*(int *)0); }
1082
1083 #undef tputs
1084 int     tputs(
1085                 const char *string, 
1086                 int     affcnt, 
1087                 int     (*outc)(
1088                 int     p1))
1089                 { return(*(int *)0); }
1090
1091 /* ./trace/lib_trace.c */
1092
1093 #undef _nc_tracing
1094 unsigned _nc_tracing;
1095
1096 #undef _nc__nc_tputs_trace
1097 const char *_nc__nc_tputs_trace(void)
1098                 { return(*(const char **)0); }
1099
1100 #undef _nc__nc_outchars
1101 long    _nc__nc_outchars(void)
1102                 { return(*(long *)0); }
1103
1104 #undef _nc_set_tputs_trace
1105 void    _nc_set_tputs_trace(
1106                 const char *s)
1107                 { /* void */ }
1108
1109 #undef _nc_count_outchars
1110 void    _nc_count_outchars(
1111                 long    increment)
1112                 { /* void */ }
1113
1114 #undef trace
1115 void    trace(
1116                 const unsigned int tracelevel)
1117                 { /* void */ }
1118
1119 #undef _tracef
1120 void    _tracef(
1121                 const char *fmt, 
1122                 ...)
1123                 { /* void */ }
1124
1125 #undef _nc_retrace_bool
1126 NCURSES_BOOL _nc_retrace_bool(
1127                 int     code)
1128                 { return(*(NCURSES_BOOL *)0); }
1129
1130 #undef _nc_retrace_char
1131 char    _nc_retrace_char(
1132                 int     code)
1133                 { return(*(char *)0); }
1134
1135 #undef _nc_retrace_int
1136 int     _nc_retrace_int(
1137                 int     code)
1138                 { return(*(int *)0); }
1139
1140 #undef _nc_retrace_unsigned
1141 unsigned _nc_retrace_unsigned(
1142                 unsigned code)
1143                 { return(*(unsigned *)0); }
1144
1145 #undef _nc_retrace_ptr
1146 char    *_nc_retrace_ptr(
1147                 char    *code)
1148                 { return(*(char **)0); }
1149
1150 #undef _nc_retrace_cptr
1151 const char *_nc_retrace_cptr(
1152                 const char *code)
1153                 { return(*(const char **)0); }
1154
1155 #undef _nc_retrace_cvoid_ptr
1156 const void *_nc_retrace_cvoid_ptr(
1157                 const void *code)
1158                 { return(*(const void **)0); }
1159
1160 #undef _nc_retrace_void_ptr
1161 void    *_nc_retrace_void_ptr(
1162                 void    *code)
1163                 { return(*(void **)0); }
1164
1165 #undef _nc_retrace_sp
1166 SCREEN  *_nc_retrace_sp(
1167                 SCREEN  *code)
1168                 { return(*(SCREEN **)0); }
1169
1170 #undef _nc_retrace_win
1171 WINDOW  *_nc_retrace_win(
1172                 WINDOW  *code)
1173                 { return(*(WINDOW **)0); }
1174
1175 #undef _nc_use_tracef
1176 int     _nc_use_tracef(
1177                 unsigned mask)
1178                 { return(*(int *)0); }
1179
1180 #undef _nc_locked_tracef
1181 void    _nc_locked_tracef(
1182                 const char *fmt, 
1183                 ...)
1184                 { /* void */ }
1185
1186 /* ./trace/lib_traceatr.c */
1187
1188 #undef _traceattr2
1189 char    *_traceattr2(
1190                 int     bufnum, 
1191                 chtype  newmode)
1192                 { return(*(char **)0); }
1193
1194 #undef _traceattr
1195 char    *_traceattr(
1196                 attr_t  newmode)
1197                 { return(*(char **)0); }
1198
1199 #undef _nc_retrace_int_attr_t
1200 int     _nc_retrace_int_attr_t(
1201                 attr_t  code)
1202                 { return(*(int *)0); }
1203
1204 #undef _nc_retrace_attr_t
1205 attr_t  _nc_retrace_attr_t(
1206                 attr_t  code)
1207                 { return(*(attr_t *)0); }
1208
1209 #undef _nc_altcharset_name
1210 const char *_nc_altcharset_name(
1211                 attr_t  attr, 
1212                 chtype  ch)
1213                 { return(*(const char **)0); }
1214
1215 #undef _tracechtype2
1216 char    *_tracechtype2(
1217                 int     bufnum, 
1218                 chtype  ch)
1219                 { return(*(char **)0); }
1220
1221 #undef _tracechtype
1222 char    *_tracechtype(
1223                 chtype  ch)
1224                 { return(*(char **)0); }
1225
1226 #undef _nc_retrace_chtype
1227 chtype  _nc_retrace_chtype(
1228                 chtype  code)
1229                 { return(*(chtype *)0); }
1230
1231 #undef _tracecchar_t2
1232 char    *_tracecchar_t2(
1233                 int     bufnum, 
1234                 const cchar_t *ch)
1235                 { return(*(char **)0); }
1236
1237 #undef _tracecchar_t
1238 char    *_tracecchar_t(
1239                 const cchar_t *ch)
1240                 { return(*(char **)0); }
1241
1242 /* ./trace/lib_tracebits.c */
1243
1244 #undef _nc_trace_ttymode
1245 char    *_nc_trace_ttymode(
1246                 struct termios *tty)
1247                 { return(*(char **)0); }
1248
1249 #undef _nc_tracebits
1250 char    *_nc_tracebits(void)
1251                 { return(*(char **)0); }
1252
1253 /* ./trace/lib_tracechr.c */
1254
1255 #undef _nc_tracechar
1256 char    *_nc_tracechar(
1257                 SCREEN  *sp, 
1258                 int     ch)
1259                 { return(*(char **)0); }
1260
1261 #undef _tracechar
1262 char    *_tracechar(
1263                 int     ch)
1264                 { return(*(char **)0); }
1265
1266 /* ./tinfo/lib_ttyflags.c */
1267
1268 #undef _nc_get_tty_mode_sp
1269 int     _nc_get_tty_mode_sp(
1270                 SCREEN  *sp, 
1271                 struct termios *buf)
1272                 { return(*(int *)0); }
1273
1274 #undef _nc_get_tty_mode
1275 int     _nc_get_tty_mode(
1276                 struct termios *buf)
1277                 { return(*(int *)0); }
1278
1279 #undef _nc_set_tty_mode_sp
1280 int     _nc_set_tty_mode_sp(
1281                 SCREEN  *sp, 
1282                 struct termios *buf)
1283                 { return(*(int *)0); }
1284
1285 #undef _nc_set_tty_mode
1286 int     _nc_set_tty_mode(
1287                 struct termios *buf)
1288                 { return(*(int *)0); }
1289
1290 #undef def_shell_mode_sp
1291 int     def_shell_mode_sp(
1292                 SCREEN  *sp)
1293                 { return(*(int *)0); }
1294
1295 #undef def_shell_mode
1296 int     def_shell_mode(void)
1297                 { return(*(int *)0); }
1298
1299 #undef def_prog_mode_sp
1300 int     def_prog_mode_sp(
1301                 SCREEN  *sp)
1302                 { return(*(int *)0); }
1303
1304 #undef def_prog_mode
1305 int     def_prog_mode(void)
1306                 { return(*(int *)0); }
1307
1308 #undef reset_prog_mode_sp
1309 int     reset_prog_mode_sp(
1310                 SCREEN  *sp)
1311                 { return(*(int *)0); }
1312
1313 #undef reset_prog_mode
1314 int     reset_prog_mode(void)
1315                 { return(*(int *)0); }
1316
1317 #undef reset_shell_mode_sp
1318 int     reset_shell_mode_sp(
1319                 SCREEN  *sp)
1320                 { return(*(int *)0); }
1321
1322 #undef reset_shell_mode
1323 int     reset_shell_mode(void)
1324                 { return(*(int *)0); }
1325
1326 #undef savetty_sp
1327 int     savetty_sp(
1328                 SCREEN  *sp)
1329                 { return(*(int *)0); }
1330
1331 #undef savetty
1332 int     savetty(void)
1333                 { return(*(int *)0); }
1334
1335 #undef resetty_sp
1336 int     resetty_sp(
1337                 SCREEN  *sp)
1338                 { return(*(int *)0); }
1339
1340 #undef resetty
1341 int     resetty(void)
1342                 { return(*(int *)0); }
1343
1344 /* ./tty/lib_twait.c */
1345
1346 #undef _nc_timed_wait
1347 int     _nc_timed_wait(
1348                 SCREEN  *sp, 
1349                 int     mode, 
1350                 int     milliseconds, 
1351                 int     *timeleft)
1352                 { return(*(int *)0); }
1353
1354 /* ./tinfo/name_match.c */
1355
1356 #undef _nc_first_name
1357 char    *_nc_first_name(
1358                 const char *const sp)
1359                 { return(*(char **)0); }
1360
1361 #undef _nc_name_match
1362 int     _nc_name_match(
1363                 const char *const namelst, 
1364                 const char *const name, 
1365                 const char *const delim)
1366                 { return(*(int *)0); }
1367
1368 /* ./names.c */
1369
1370 #undef _nc_boolnames
1371 const char *const *_nc_boolnames(void)
1372                 { return(*(const char **)0); }
1373
1374 #undef _nc_boolfnames
1375 const char *const *_nc_boolfnames(void)
1376                 { return(*(const char **)0); }
1377
1378 #undef _nc_numnames
1379 const char *const *_nc_numnames(void)
1380                 { return(*(const char **)0); }
1381
1382 #undef _nc_numfnames
1383 const char *const *_nc_numfnames(void)
1384                 { return(*(const char **)0); }
1385
1386 #undef _nc_strnames
1387 const char *const *_nc_strnames(void)
1388                 { return(*(const char **)0); }
1389
1390 #undef _nc_strfnames
1391 const char *const *_nc_strfnames(void)
1392                 { return(*(const char **)0); }
1393
1394 /* ./tinfo/obsolete.c */
1395
1396 #undef _nc_set_buffer_sp
1397 void    _nc_set_buffer_sp(
1398                 SCREEN  *sp, 
1399                 FILE    *ofp, 
1400                 int     buffered)
1401                 { /* void */ }
1402
1403 #undef _nc_set_buffer
1404 void    _nc_set_buffer(
1405                 FILE    *ofp, 
1406                 int     buffered)
1407                 { /* void */ }
1408
1409 /* ./tinfo/read_entry.c */
1410
1411 #undef _nc_init_termtype
1412 void    _nc_init_termtype(
1413                 TERMTYPE2 *const tp)
1414                 { /* void */ }
1415
1416 #undef _nc_read_termtype
1417 int     _nc_read_termtype(
1418                 TERMTYPE2 *ptr, 
1419                 char    *buffer, 
1420                 int     limit)
1421                 { return(*(int *)0); }
1422
1423 #undef _nc_read_file_entry
1424 int     _nc_read_file_entry(
1425                 const char *const filename, 
1426                 TERMTYPE2 *ptr)
1427                 { return(*(int *)0); }
1428
1429 #undef _nc_read_entry2
1430 int     _nc_read_entry2(
1431                 const char *const name, 
1432                 char    *const filename, 
1433                 TERMTYPE2 *const tp)
1434                 { return(*(int *)0); }
1435
1436 #undef _nc_read_entry
1437 int     _nc_read_entry(
1438                 const char *const name, 
1439                 char    *const filename, 
1440                 TERMTYPE *const tp)
1441                 { return(*(int *)0); }
1442
1443 /* ./tinfo/read_termcap.c */
1444
1445 #undef _nc_read_termcap
1446 void    _nc_read_termcap(void)
1447                 { /* void */ }
1448
1449 /* ./tinfo/strings.c */
1450
1451 #undef _nc_str_init
1452 string_desc *_nc_str_init(
1453                 string_desc *dst, 
1454                 char    *src, 
1455                 size_t  len)
1456                 { return(*(string_desc **)0); }
1457
1458 #undef _nc_str_null
1459 string_desc *_nc_str_null(
1460                 string_desc *dst, 
1461                 size_t  len)
1462                 { return(*(string_desc **)0); }
1463
1464 #undef _nc_str_copy
1465 string_desc *_nc_str_copy(
1466                 string_desc *dst, 
1467                 string_desc *src)
1468                 { return(*(string_desc **)0); }
1469
1470 #undef _nc_safe_strcat
1471 NCURSES_BOOL _nc_safe_strcat(
1472                 string_desc *dst, 
1473                 const char *src)
1474                 { return(*(NCURSES_BOOL *)0); }
1475
1476 #undef _nc_safe_strcpy
1477 NCURSES_BOOL _nc_safe_strcpy(
1478                 string_desc *dst, 
1479                 const char *src)
1480                 { return(*(NCURSES_BOOL *)0); }
1481
1482 /* ./trace/trace_buf.c */
1483
1484 #undef _nc_trace_buf
1485 char    *_nc_trace_buf(
1486                 int     bufnum, 
1487                 size_t  want)
1488                 { return(*(char **)0); }
1489
1490 #undef _nc_trace_bufcat
1491 char    *_nc_trace_bufcat(
1492                 int     bufnum, 
1493                 const char *value)
1494                 { return(*(char **)0); }
1495
1496 /* ./trace/trace_tries.c */
1497
1498 #undef _nc_trace_tries
1499 void    _nc_trace_tries(
1500                 TRIES   *tree)
1501                 { /* void */ }
1502
1503 /* ./base/tries.c */
1504
1505 #undef _nc_expand_try
1506 char    *_nc_expand_try(
1507                 TRIES   *tree, 
1508                 unsigned code, 
1509                 int     *count, 
1510                 size_t  len)
1511                 { return(*(char **)0); }
1512
1513 #undef _nc_remove_key
1514 int     _nc_remove_key(
1515                 TRIES   **tree, 
1516                 unsigned code)
1517                 { return(*(int *)0); }
1518
1519 #undef _nc_remove_string
1520 int     _nc_remove_string(
1521                 TRIES   **tree, 
1522                 const char *string)
1523                 { return(*(int *)0); }
1524
1525 /* ./tinfo/trim_sgr0.c */
1526
1527 #undef _nc_trim_sgr0
1528 char    *_nc_trim_sgr0(
1529                 TERMTYPE2 *tp)
1530                 { return(*(char **)0); }
1531
1532 /* ./unctrl.c */
1533
1534 #undef unctrl_sp
1535 const char *unctrl_sp(
1536                 SCREEN  *sp, 
1537                 chtype  ch)
1538                 { return(*(const char **)0); }
1539
1540 #undef unctrl
1541 const char *unctrl(
1542                 chtype  ch)
1543                 { return(*(const char **)0); }
1544
1545 /* ./trace/visbuf.c */
1546
1547 #undef _nc_visbuf2
1548 const char *_nc_visbuf2(
1549                 int     bufnum, 
1550                 const char *buf)
1551                 { return(*(const char **)0); }
1552
1553 #undef _nc_visbuf
1554 const char *_nc_visbuf(
1555                 const char *buf)
1556                 { return(*(const char **)0); }
1557
1558 #undef _nc_visbufn
1559 const char *_nc_visbufn(
1560                 const char *buf, 
1561                 int     len)
1562                 { return(*(const char **)0); }
1563
1564 #undef _nc_viswbuf2
1565 const char *_nc_viswbuf2(
1566                 int     bufnum, 
1567                 const wchar_t *buf)
1568                 { return(*(const char **)0); }
1569
1570 #undef _nc_viswbuf
1571 const char *_nc_viswbuf(
1572                 const wchar_t *buf)
1573                 { return(*(const char **)0); }
1574
1575 #undef _nc_viswbufn
1576 const char *_nc_viswbufn(
1577                 const wchar_t *buf, 
1578                 int     len)
1579                 { return(*(const char **)0); }
1580
1581 #undef _nc_viswibuf
1582 const char *_nc_viswibuf(
1583                 const wint_t *buf)
1584                 { return(*(const char **)0); }
1585
1586 #undef _nc_viscbuf2
1587 const char *_nc_viscbuf2(
1588                 int     bufnum, 
1589                 const cchar_t *buf, 
1590                 int     len)
1591                 { return(*(const char **)0); }
1592
1593 #undef _nc_viscbuf
1594 const char *_nc_viscbuf(
1595                 const cchar_t *buf, 
1596                 int     len)
1597                 { return(*(const char **)0); }
1598
1599 /* ./base/define_key.c */
1600
1601 #undef define_key_sp
1602 int     define_key_sp(
1603                 SCREEN  *sp, 
1604                 const char *str, 
1605                 int     keycode)
1606                 { return(*(int *)0); }
1607
1608 #undef define_key
1609 int     define_key(
1610                 const char *str, 
1611                 int     keycode)
1612                 { return(*(int *)0); }
1613
1614 /* ./tinfo/hashed_db.c */
1615
1616 #undef _nc_hashed_db
1617 void    _nc_hashed_db(void)
1618                 { /* void */ }
1619
1620 /* ./base/key_defined.c */
1621
1622 #undef key_defined_sp
1623 int     key_defined_sp(
1624                 SCREEN  *sp, 
1625                 const char *str)
1626                 { return(*(int *)0); }
1627
1628 #undef key_defined
1629 int     key_defined(
1630                 const char *str)
1631                 { return(*(int *)0); }
1632
1633 /* ./base/keybound.c */
1634
1635 #undef keybound_sp
1636 char    *keybound_sp(
1637                 SCREEN  *sp, 
1638                 int     code, 
1639                 int     count)
1640                 { return(*(char **)0); }
1641
1642 #undef keybound
1643 char    *keybound(
1644                 int     code, 
1645                 int     count)
1646                 { return(*(char **)0); }
1647
1648 /* ./base/keyok.c */
1649
1650 #undef keyok_sp
1651 int     keyok_sp(
1652                 SCREEN  *sp, 
1653                 int     c, 
1654                 NCURSES_BOOL flag)
1655                 { return(*(int *)0); }
1656
1657 #undef keyok
1658 int     keyok(
1659                 int     c, 
1660                 NCURSES_BOOL flag)
1661                 { return(*(int *)0); }
1662
1663 /* ./base/version.c */
1664
1665 #undef curses_version
1666 const char *curses_version(void)
1667                 { return(*(const char **)0); }