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