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