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