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