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