]> ncurses.scripts.mit.edu Git - ncurses.git/blob - ncurses/llib-ltinfow
ncurses 6.4 - patch 20230424
[ncurses.git] / ncurses / llib-ltinfow
1 /****************************************************************************
2  * Copyright 2018-2022,2023 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 tiparm_s
953 char    *tiparm_s(
954                 int     num_expected,
955                 int     tparm_type,
956                 const char *string,
957                 ...)
958                 { return(*(char **)0); }
959
960 #undef tiscan_s
961 int     tiscan_s(
962                 int     *num_expected,
963                 int     *tparm_type,
964                 const char *string)
965                 { return(*(int *)0); }
966
967 #undef _nc_tiparm
968 char    *_nc_tiparm(
969                 int     expected,
970                 const char *string,
971                 ...)
972                 { return(*(char **)0); }
973
974 #undef _nc_reset_tparm
975 void    _nc_reset_tparm(
976                 TERMINAL *term)
977                 { /* void */ }
978
979 /* ./tinfo/lib_tputs.c */
980
981 #undef PC
982 char    PC;
983 #undef ospeed
984 short   ospeed;
985 #undef _nc_nulls_sent
986 int     _nc_nulls_sent;
987
988 #undef _nc_set_no_padding
989 void    _nc_set_no_padding(
990                 SCREEN  *sp)
991                 { /* void */ }
992
993 #undef delay_output_sp
994 int     delay_output_sp(
995                 SCREEN  *sp,
996                 int     ms)
997                 { return(*(int *)0); }
998
999 #undef delay_output
1000 int     delay_output(
1001                 int     ms)
1002                 { return(*(int *)0); }
1003
1004 #undef _nc_flush_sp
1005 void    _nc_flush_sp(
1006                 SCREEN  *sp)
1007                 { /* void */ }
1008
1009 #undef _nc_flush
1010 void    _nc_flush(void)
1011                 { /* void */ }
1012
1013 #undef _nc_outch_sp
1014 int     _nc_outch_sp(
1015                 SCREEN  *sp,
1016                 int     ch)
1017                 { return(*(int *)0); }
1018
1019 #undef _nc_outch
1020 int     _nc_outch(
1021                 int     ch)
1022                 { return(*(int *)0); }
1023
1024 #undef _nc_putchar_sp
1025 int     _nc_putchar_sp(
1026                 SCREEN  *sp,
1027                 int     ch)
1028                 { return(*(int *)0); }
1029
1030 #undef _nc_putchar
1031 int     _nc_putchar(
1032                 int     ch)
1033                 { return(*(int *)0); }
1034
1035 #undef putp_sp
1036 int     putp_sp(
1037                 SCREEN  *sp,
1038                 const char *string)
1039                 { return(*(int *)0); }
1040
1041 #undef putp
1042 int     putp(
1043                 const char *string)
1044                 { return(*(int *)0); }
1045
1046 #undef _nc_putp_sp
1047 int     _nc_putp_sp(
1048                 SCREEN  *sp,
1049                 const char *name,
1050                 const char *string)
1051                 { return(*(int *)0); }
1052
1053 #undef _nc_putp
1054 int     _nc_putp(
1055                 const char *name,
1056                 const char *string)
1057                 { return(*(int *)0); }
1058
1059 #undef tputs_sp
1060 int     tputs_sp(
1061                 SCREEN  *sp,
1062                 const char *string,
1063                 int     affcnt,
1064                 NCURSES_OUTC_sp outc)
1065                 { return(*(int *)0); }
1066
1067 #undef _nc_outc_wrapper
1068 int     _nc_outc_wrapper(
1069                 SCREEN  *sp,
1070                 int     c)
1071                 { return(*(int *)0); }
1072
1073 #undef tputs
1074 int     tputs(
1075                 const char *string,
1076                 int     affcnt,
1077                 int     (*outc)(
1078                 int     p1))
1079                 { return(*(int *)0); }
1080
1081 /* ./trace/lib_trace.c */
1082
1083 #undef _nc_tracing
1084 unsigned _nc_tracing;
1085 #undef _nc_tputs_trace
1086 const char *_nc_tputs_trace = {0};
1087 #undef _nc_outchars
1088 long    _nc_outchars;
1089
1090 #undef curses_trace
1091 unsigned curses_trace(
1092                 unsigned tracelevel)
1093                 { return(*(unsigned *)0); }
1094
1095 #undef trace
1096 void    trace(
1097                 const unsigned int tracelevel)
1098                 { /* void */ }
1099
1100 #undef _tracef
1101 void    _tracef(
1102                 const char *fmt,
1103                 ...)
1104                 { /* void */ }
1105
1106 #undef _nc_retrace_bool
1107 NCURSES_BOOL _nc_retrace_bool(
1108                 int     code)
1109                 { return(*(NCURSES_BOOL *)0); }
1110
1111 #undef _nc_retrace_char
1112 char    _nc_retrace_char(
1113                 int     code)
1114                 { return(*(char *)0); }
1115
1116 #undef _nc_retrace_int
1117 int     _nc_retrace_int(
1118                 int     code)
1119                 { return(*(int *)0); }
1120
1121 #undef _nc_retrace_unsigned
1122 unsigned _nc_retrace_unsigned(
1123                 unsigned code)
1124                 { return(*(unsigned *)0); }
1125
1126 #undef _nc_retrace_ptr
1127 char    *_nc_retrace_ptr(
1128                 char    *code)
1129                 { return(*(char **)0); }
1130
1131 #undef _nc_retrace_cptr
1132 const char *_nc_retrace_cptr(
1133                 const char *code)
1134                 { return(*(const char **)0); }
1135
1136 #undef _nc_retrace_cvoid_ptr
1137 const void *_nc_retrace_cvoid_ptr(
1138                 const void *code)
1139                 { return(*(const void **)0); }
1140
1141 #undef _nc_retrace_void_ptr
1142 void    *_nc_retrace_void_ptr(
1143                 void    *code)
1144                 { return(*(void **)0); }
1145
1146 #undef _nc_retrace_sp
1147 SCREEN  *_nc_retrace_sp(
1148                 SCREEN  *code)
1149                 { return(*(SCREEN **)0); }
1150
1151 #undef _nc_retrace_win
1152 WINDOW  *_nc_retrace_win(
1153                 WINDOW  *code)
1154                 { return(*(WINDOW **)0); }
1155
1156 #undef _nc_fmt_funcptr
1157 char    *_nc_fmt_funcptr(
1158                 char    *target,
1159                 const char *source,
1160                 size_t  size)
1161                 { return(*(char **)0); }
1162
1163 /* ./trace/lib_traceatr.c */
1164
1165 #undef _traceattr2
1166 char    *_traceattr2(
1167                 int     bufnum,
1168                 chtype  newmode)
1169                 { return(*(char **)0); }
1170
1171 #undef _traceattr
1172 char    *_traceattr(
1173                 attr_t  newmode)
1174                 { return(*(char **)0); }
1175
1176 #undef _nc_retrace_int_attr_t
1177 int     _nc_retrace_int_attr_t(
1178                 attr_t  code)
1179                 { return(*(int *)0); }
1180
1181 #undef _nc_retrace_attr_t
1182 attr_t  _nc_retrace_attr_t(
1183                 attr_t  code)
1184                 { return(*(attr_t *)0); }
1185
1186 #undef _nc_altcharset_name
1187 const char *_nc_altcharset_name(
1188                 attr_t  attr,
1189                 chtype  ch)
1190                 { return(*(const char **)0); }
1191
1192 #undef _tracechtype2
1193 char    *_tracechtype2(
1194                 int     bufnum,
1195                 chtype  ch)
1196                 { return(*(char **)0); }
1197
1198 #undef _tracechtype
1199 char    *_tracechtype(
1200                 chtype  ch)
1201                 { return(*(char **)0); }
1202
1203 #undef _nc_retrace_chtype
1204 chtype  _nc_retrace_chtype(
1205                 chtype  code)
1206                 { return(*(chtype *)0); }
1207
1208 #undef _tracecchar_t2
1209 char    *_tracecchar_t2(
1210                 int     bufnum,
1211                 const cchar_t *ch)
1212                 { return(*(char **)0); }
1213
1214 #undef _tracecchar_t
1215 char    *_tracecchar_t(
1216                 const cchar_t *ch)
1217                 { return(*(char **)0); }
1218
1219 /* ./trace/lib_tracebits.c */
1220
1221 #undef _nc_trace_ttymode
1222 char    *_nc_trace_ttymode(
1223                 const struct termios *tty)
1224                 { return(*(char **)0); }
1225
1226 #undef _nc_tracebits
1227 char    *_nc_tracebits(void)
1228                 { return(*(char **)0); }
1229
1230 /* ./trace/lib_tracechr.c */
1231
1232 #undef _nc_tracechar
1233 char    *_nc_tracechar(
1234                 SCREEN  *sp,
1235                 int     ch)
1236                 { return(*(char **)0); }
1237
1238 #undef _tracechar
1239 char    *_tracechar(
1240                 int     ch)
1241                 { return(*(char **)0); }
1242
1243 /* ./tinfo/lib_ttyflags.c */
1244
1245 #undef _nc_get_tty_mode_sp
1246 int     _nc_get_tty_mode_sp(
1247                 SCREEN  *sp,
1248                 struct termios *buf)
1249                 { return(*(int *)0); }
1250
1251 #undef _nc_get_tty_mode
1252 int     _nc_get_tty_mode(
1253                 struct termios *buf)
1254                 { return(*(int *)0); }
1255
1256 #undef _nc_set_tty_mode_sp
1257 int     _nc_set_tty_mode_sp(
1258                 SCREEN  *sp,
1259                 struct termios *buf)
1260                 { return(*(int *)0); }
1261
1262 #undef _nc_set_tty_mode
1263 int     _nc_set_tty_mode(
1264                 struct termios *buf)
1265                 { return(*(int *)0); }
1266
1267 #undef def_shell_mode_sp
1268 int     def_shell_mode_sp(
1269                 SCREEN  *sp)
1270                 { return(*(int *)0); }
1271
1272 #undef def_shell_mode
1273 int     def_shell_mode(void)
1274                 { return(*(int *)0); }
1275
1276 #undef def_prog_mode_sp
1277 int     def_prog_mode_sp(
1278                 SCREEN  *sp)
1279                 { return(*(int *)0); }
1280
1281 #undef def_prog_mode
1282 int     def_prog_mode(void)
1283                 { return(*(int *)0); }
1284
1285 #undef reset_prog_mode_sp
1286 int     reset_prog_mode_sp(
1287                 SCREEN  *sp)
1288                 { return(*(int *)0); }
1289
1290 #undef reset_prog_mode
1291 int     reset_prog_mode(void)
1292                 { return(*(int *)0); }
1293
1294 #undef reset_shell_mode_sp
1295 int     reset_shell_mode_sp(
1296                 SCREEN  *sp)
1297                 { return(*(int *)0); }
1298
1299 #undef reset_shell_mode
1300 int     reset_shell_mode(void)
1301                 { return(*(int *)0); }
1302
1303 #undef savetty_sp
1304 int     savetty_sp(
1305                 SCREEN  *sp)
1306                 { return(*(int *)0); }
1307
1308 #undef savetty
1309 int     savetty(void)
1310                 { return(*(int *)0); }
1311
1312 #undef resetty_sp
1313 int     resetty_sp(
1314                 SCREEN  *sp)
1315                 { return(*(int *)0); }
1316
1317 #undef resetty
1318 int     resetty(void)
1319                 { return(*(int *)0); }
1320
1321 /* ./tty/lib_twait.c */
1322
1323 #undef _nc_timed_wait
1324 int     _nc_timed_wait(
1325                 SCREEN  *sp,
1326                 int     mode,
1327                 int     milliseconds,
1328                 int     *timeleft)
1329                 { return(*(int *)0); }
1330
1331 /* ./tinfo/name_match.c */
1332
1333 #undef _nc_first_name
1334 char    *_nc_first_name(
1335                 const char *const sp)
1336                 { return(*(char **)0); }
1337
1338 #undef _nc_name_match
1339 int     _nc_name_match(
1340                 const char *const namelst,
1341                 const char *const name,
1342                 const char *const delim)
1343                 { return(*(int *)0); }
1344
1345 /* ./names.c */
1346
1347 #undef boolnames
1348 const char *const boolnames[] = {0};
1349 #undef boolfnames
1350 const char *const boolfnames[] = {0};
1351 #undef numnames
1352 const char *const numnames[] = {0};
1353 #undef numfnames
1354 const char *const numfnames[] = {0};
1355 #undef strnames
1356 const char *const strnames[] = {0};
1357 #undef strfnames
1358 const char *const strfnames[] = {0};
1359
1360 /* ./tinfo/obsolete.c */
1361
1362 #undef _nc_set_buffer_sp
1363 void    _nc_set_buffer_sp(
1364                 SCREEN  *sp,
1365                 FILE    *ofp,
1366                 int     buffered)
1367                 { /* void */ }
1368
1369 #undef _nc_set_buffer
1370 void    _nc_set_buffer(
1371                 FILE    *ofp,
1372                 int     buffered)
1373                 { /* void */ }
1374
1375 /* ./tinfo/read_entry.c */
1376
1377 #undef _nc_init_termtype
1378 void    _nc_init_termtype(
1379                 TERMTYPE2 *const tp)
1380                 { /* void */ }
1381
1382 #undef _nc_read_termtype
1383 int     _nc_read_termtype(
1384                 TERMTYPE2 *ptr,
1385                 char    *buffer,
1386                 int     limit)
1387                 { return(*(int *)0); }
1388
1389 #undef _nc_read_file_entry
1390 int     _nc_read_file_entry(
1391                 const char *const filename,
1392                 TERMTYPE2 *ptr)
1393                 { return(*(int *)0); }
1394
1395 #undef _nc_read_entry2
1396 int     _nc_read_entry2(
1397                 const char *const name,
1398                 char    *const filename,
1399                 TERMTYPE2 *const tp)
1400                 { return(*(int *)0); }
1401
1402 #undef _nc_read_entry
1403 int     _nc_read_entry(
1404                 const char *const name,
1405                 char    *const filename,
1406                 TERMTYPE *const tp)
1407                 { return(*(int *)0); }
1408
1409 /* ./tinfo/read_termcap.c */
1410
1411 #undef _nc_read_termcap
1412 void    _nc_read_termcap(void)
1413                 { /* void */ }
1414
1415 /* ./tinfo/strings.c */
1416
1417 #undef _nc_str_init
1418 string_desc *_nc_str_init(
1419                 string_desc *dst,
1420                 char    *src,
1421                 size_t  len)
1422                 { return(*(string_desc **)0); }
1423
1424 #undef _nc_str_null
1425 string_desc *_nc_str_null(
1426                 string_desc *dst,
1427                 size_t  len)
1428                 { return(*(string_desc **)0); }
1429
1430 #undef _nc_str_copy
1431 string_desc *_nc_str_copy(
1432                 string_desc *dst,
1433                 string_desc *src)
1434                 { return(*(string_desc **)0); }
1435
1436 #undef _nc_safe_strcat
1437 NCURSES_BOOL _nc_safe_strcat(
1438                 string_desc *dst,
1439                 const char *src)
1440                 { return(*(NCURSES_BOOL *)0); }
1441
1442 #undef _nc_safe_strcpy
1443 NCURSES_BOOL _nc_safe_strcpy(
1444                 string_desc *dst,
1445                 const char *src)
1446                 { return(*(NCURSES_BOOL *)0); }
1447
1448 /* ./trace/trace_buf.c */
1449
1450 #undef _nc_trace_buf
1451 char    *_nc_trace_buf(
1452                 int     bufnum,
1453                 size_t  want)
1454                 { return(*(char **)0); }
1455
1456 #undef _nc_trace_bufcat
1457 char    *_nc_trace_bufcat(
1458                 int     bufnum,
1459                 const char *value)
1460                 { return(*(char **)0); }
1461
1462 /* ./trace/trace_tries.c */
1463
1464 #undef _nc_trace_tries
1465 void    _nc_trace_tries(
1466                 TRIES   *tree)
1467                 { /* void */ }
1468
1469 /* ./base/tries.c */
1470
1471 #undef _nc_expand_try
1472 char    *_nc_expand_try(
1473                 TRIES   *tree,
1474                 unsigned code,
1475                 int     *count,
1476                 size_t  len)
1477                 { return(*(char **)0); }
1478
1479 #undef _nc_remove_key
1480 int     _nc_remove_key(
1481                 TRIES   **tree,
1482                 unsigned code)
1483                 { return(*(int *)0); }
1484
1485 #undef _nc_remove_string
1486 int     _nc_remove_string(
1487                 TRIES   **tree,
1488                 const char *string)
1489                 { return(*(int *)0); }
1490
1491 /* ./tinfo/trim_sgr0.c */
1492
1493 #undef _nc_trim_sgr0
1494 char    *_nc_trim_sgr0(
1495                 TERMTYPE2 *tp)
1496                 { return(*(char **)0); }
1497
1498 /* ./unctrl.c */
1499
1500 #undef unctrl_sp
1501 const char *unctrl_sp(
1502                 SCREEN  *sp,
1503                 chtype  ch)
1504                 { return(*(const char **)0); }
1505
1506 #undef unctrl
1507 const char *unctrl(
1508                 chtype  ch)
1509                 { return(*(const char **)0); }
1510
1511 /* ./trace/visbuf.c */
1512
1513 #undef _nc_visbuf2
1514 const char *_nc_visbuf2(
1515                 int     bufnum,
1516                 const char *buf)
1517                 { return(*(const char **)0); }
1518
1519 #undef _nc_visbuf
1520 const char *_nc_visbuf(
1521                 const char *buf)
1522                 { return(*(const char **)0); }
1523
1524 #undef _nc_visbufn
1525 const char *_nc_visbufn(
1526                 const char *buf,
1527                 int     len)
1528                 { return(*(const char **)0); }
1529
1530 #undef _nc_viswbuf2
1531 const char *_nc_viswbuf2(
1532                 int     bufnum,
1533                 const wchar_t *buf)
1534                 { return(*(const char **)0); }
1535
1536 #undef _nc_viswbuf
1537 const char *_nc_viswbuf(
1538                 const wchar_t *buf)
1539                 { return(*(const char **)0); }
1540
1541 #undef _nc_viswbufn
1542 const char *_nc_viswbufn(
1543                 const wchar_t *buf,
1544                 int     len)
1545                 { return(*(const char **)0); }
1546
1547 #undef _nc_viswibuf
1548 const char *_nc_viswibuf(
1549                 const wint_t *buf)
1550                 { return(*(const char **)0); }
1551
1552 #undef _nc_viscbuf2
1553 const char *_nc_viscbuf2(
1554                 int     bufnum,
1555                 const cchar_t *buf,
1556                 int     len)
1557                 { return(*(const char **)0); }
1558
1559 #undef _nc_viscbuf
1560 const char *_nc_viscbuf(
1561                 const cchar_t *buf,
1562                 int     len)
1563                 { return(*(const char **)0); }
1564
1565 /* ./base/define_key.c */
1566
1567 #undef define_key_sp
1568 int     define_key_sp(
1569                 SCREEN  *sp,
1570                 const char *str,
1571                 int     keycode)
1572                 { return(*(int *)0); }
1573
1574 #undef define_key
1575 int     define_key(
1576                 const char *str,
1577                 int     keycode)
1578                 { return(*(int *)0); }
1579
1580 /* ./tinfo/hashed_db.c */
1581
1582 #undef _nc_hashed_db
1583 void    _nc_hashed_db(void)
1584                 { /* void */ }
1585
1586 /* ./base/key_defined.c */
1587
1588 #undef key_defined_sp
1589 int     key_defined_sp(
1590                 SCREEN  *sp,
1591                 const char *str)
1592                 { return(*(int *)0); }
1593
1594 #undef key_defined
1595 int     key_defined(
1596                 const char *str)
1597                 { return(*(int *)0); }
1598
1599 /* ./base/keybound.c */
1600
1601 #undef keybound_sp
1602 char    *keybound_sp(
1603                 SCREEN  *sp,
1604                 int     code,
1605                 int     count)
1606                 { return(*(char **)0); }
1607
1608 #undef keybound
1609 char    *keybound(
1610                 int     code,
1611                 int     count)
1612                 { return(*(char **)0); }
1613
1614 /* ./base/keyok.c */
1615
1616 #undef keyok_sp
1617 int     keyok_sp(
1618                 SCREEN  *sp,
1619                 int     c,
1620                 NCURSES_BOOL flag)
1621                 { return(*(int *)0); }
1622
1623 #undef keyok
1624 int     keyok(
1625                 int     c,
1626                 NCURSES_BOOL flag)
1627                 { return(*(int *)0); }
1628
1629 /* ./base/version.c */
1630
1631 #undef curses_version
1632 const char *curses_version(void)
1633                 { return(*(const char **)0); }