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