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