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