]> ncurses.scripts.mit.edu Git - ncurses.git/blob - ncurses/llib-ltinfo
c050dc7d16497895598bab3ad94b8dbe5ad91a64
[ncurses.git] / ncurses / llib-ltinfo
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 /* ./trace/lib_tracebits.c */
1105
1106 typedef struct {
1107     unsigned int val;
1108     const char *name;
1109 } BITNAMES;
1110
1111 #undef _nc_trace_ttymode
1112 char    *_nc_trace_ttymode(
1113                 struct termios *tty)
1114                 { return(*(char **)0); }
1115
1116 #undef _nc_tracebits
1117 char    *_nc_tracebits(void)
1118                 { return(*(char **)0); }
1119
1120 /* ./trace/lib_tracechr.c */
1121
1122 #undef _nc_tracechar
1123 char    *_nc_tracechar(
1124                 SCREEN  *sp, 
1125                 int     ch)
1126                 { return(*(char **)0); }
1127
1128 #undef _tracechar
1129 char    *_tracechar(
1130                 int     ch)
1131                 { return(*(char **)0); }
1132
1133 /* ./tinfo/lib_ttyflags.c */
1134
1135 #undef _nc_get_tty_mode_sp
1136 int     _nc_get_tty_mode_sp(
1137                 SCREEN  *sp, 
1138                 struct termios *buf)
1139                 { return(*(int *)0); }
1140
1141 #undef _nc_get_tty_mode
1142 int     _nc_get_tty_mode(
1143                 struct termios *buf)
1144                 { return(*(int *)0); }
1145
1146 #undef _nc_set_tty_mode_sp
1147 int     _nc_set_tty_mode_sp(
1148                 SCREEN  *sp, 
1149                 struct termios *buf)
1150                 { return(*(int *)0); }
1151
1152 #undef _nc_set_tty_mode
1153 int     _nc_set_tty_mode(
1154                 struct termios *buf)
1155                 { return(*(int *)0); }
1156
1157 #undef def_shell_mode_sp
1158 int     def_shell_mode_sp(
1159                 SCREEN  *sp)
1160                 { return(*(int *)0); }
1161
1162 #undef def_shell_mode
1163 int     def_shell_mode(void)
1164                 { return(*(int *)0); }
1165
1166 #undef def_prog_mode_sp
1167 int     def_prog_mode_sp(
1168                 SCREEN  *sp)
1169                 { return(*(int *)0); }
1170
1171 #undef def_prog_mode
1172 int     def_prog_mode(void)
1173                 { return(*(int *)0); }
1174
1175 #undef reset_prog_mode_sp
1176 int     reset_prog_mode_sp(
1177                 SCREEN  *sp)
1178                 { return(*(int *)0); }
1179
1180 #undef reset_prog_mode
1181 int     reset_prog_mode(void)
1182                 { return(*(int *)0); }
1183
1184 #undef reset_shell_mode_sp
1185 int     reset_shell_mode_sp(
1186                 SCREEN  *sp)
1187                 { return(*(int *)0); }
1188
1189 #undef reset_shell_mode
1190 int     reset_shell_mode(void)
1191                 { return(*(int *)0); }
1192
1193 #undef savetty_sp
1194 int     savetty_sp(
1195                 SCREEN  *sp)
1196                 { return(*(int *)0); }
1197
1198 #undef savetty
1199 int     savetty(void)
1200                 { return(*(int *)0); }
1201
1202 #undef resetty_sp
1203 int     resetty_sp(
1204                 SCREEN  *sp)
1205                 { return(*(int *)0); }
1206
1207 #undef resetty
1208 int     resetty(void)
1209                 { return(*(int *)0); }
1210
1211 /* ./tty/lib_twait.c */
1212
1213 #undef _nc_timed_wait
1214 int     _nc_timed_wait(
1215                 SCREEN  *sp, 
1216                 int     mode, 
1217                 int     milliseconds, 
1218                 int     *timeleft)
1219                 { return(*(int *)0); }
1220
1221 /* ./tinfo/name_match.c */
1222
1223 #undef _nc_first_name
1224 char    *_nc_first_name(
1225                 const char *const sp)
1226                 { return(*(char **)0); }
1227
1228 #undef _nc_name_match
1229 int     _nc_name_match(
1230                 const char *const namelst, 
1231                 const char *const name, 
1232                 const char *const delim)
1233                 { return(*(int *)0); }
1234
1235 /* ./names.c */
1236
1237 #undef boolnames
1238 char    *const boolnames[] = {0};
1239 #undef boolfnames
1240 char    *const boolfnames[] = {0};
1241 #undef numnames
1242 char    *const numnames[] = {0};
1243 #undef numfnames
1244 char    *const numfnames[] = {0};
1245 #undef strnames
1246 char    *const strnames[] = {0};
1247 #undef strfnames
1248 char    *const strfnames[] = {0};
1249
1250 /* ./tinfo/read_entry.c */
1251
1252 #include <hashed_db.h>
1253
1254 #undef _nc_read_termtype
1255 int     _nc_read_termtype(
1256                 TERMTYPE *ptr, 
1257                 char    *buffer, 
1258                 int     limit)
1259                 { return(*(int *)0); }
1260
1261 #undef _nc_read_file_entry
1262 int     _nc_read_file_entry(
1263                 const char *const filename, 
1264                 TERMTYPE *ptr)
1265                 { return(*(int *)0); }
1266
1267 #undef _nc_read_entry
1268 int     _nc_read_entry(
1269                 const char *const name, 
1270                 char    *const filename, 
1271                 TERMTYPE *const tp)
1272                 { return(*(int *)0); }
1273
1274 /* ./tinfo/read_termcap.c */
1275
1276 #include <sys/types.h>
1277
1278 #undef _nc_read_termcap
1279 void    _nc_read_termcap(void)
1280                 { /* void */ }
1281
1282 /* ./tinfo/setbuf.c */
1283
1284 #undef _nc_set_buffer_sp
1285 void    _nc_set_buffer_sp(
1286                 SCREEN  *sp, 
1287                 FILE    *ofp, 
1288                 int     buffered)
1289                 { /* void */ }
1290
1291 #undef _nc_set_buffer
1292 void    _nc_set_buffer(
1293                 FILE    *ofp, 
1294                 int     buffered)
1295                 { /* void */ }
1296
1297 /* ./tinfo/strings.c */
1298
1299 #undef _nc_str_init
1300 string_desc *_nc_str_init(
1301                 string_desc *dst, 
1302                 char    *src, 
1303                 size_t  len)
1304                 { return(*(string_desc **)0); }
1305
1306 #undef _nc_str_null
1307 string_desc *_nc_str_null(
1308                 string_desc *dst, 
1309                 size_t  len)
1310                 { return(*(string_desc **)0); }
1311
1312 #undef _nc_str_copy
1313 string_desc *_nc_str_copy(
1314                 string_desc *dst, 
1315                 string_desc *src)
1316                 { return(*(string_desc **)0); }
1317
1318 #undef _nc_safe_strcat
1319 NCURSES_BOOL _nc_safe_strcat(
1320                 string_desc *dst, 
1321                 const char *src)
1322                 { return(*(NCURSES_BOOL *)0); }
1323
1324 #undef _nc_safe_strcpy
1325 NCURSES_BOOL _nc_safe_strcpy(
1326                 string_desc *dst, 
1327                 const char *src)
1328                 { return(*(NCURSES_BOOL *)0); }
1329
1330 /* ./trace/trace_buf.c */
1331
1332 #undef _nc_trace_buf
1333 char    *_nc_trace_buf(
1334                 int     bufnum, 
1335                 size_t  want)
1336                 { return(*(char **)0); }
1337
1338 #undef _nc_trace_bufcat
1339 char    *_nc_trace_bufcat(
1340                 int     bufnum, 
1341                 const char *value)
1342                 { return(*(char **)0); }
1343
1344 /* ./trace/trace_tries.c */
1345
1346 #undef _nc_trace_tries
1347 void    _nc_trace_tries(
1348                 TRIES   *tree)
1349                 { /* void */ }
1350
1351 /* ./base/tries.c */
1352
1353 #undef _nc_expand_try
1354 char    *_nc_expand_try(
1355                 TRIES   *tree, 
1356                 unsigned code, 
1357                 int     *count, 
1358                 size_t  len)
1359                 { return(*(char **)0); }
1360
1361 #undef _nc_remove_key
1362 int     _nc_remove_key(
1363                 TRIES   **tree, 
1364                 unsigned code)
1365                 { return(*(int *)0); }
1366
1367 #undef _nc_remove_string
1368 int     _nc_remove_string(
1369                 TRIES   **tree, 
1370                 const char *string)
1371                 { return(*(int *)0); }
1372
1373 /* ./tinfo/trim_sgr0.c */
1374
1375 #undef _nc_trim_sgr0
1376 char    *_nc_trim_sgr0(
1377                 TERMTYPE *tp)
1378                 { return(*(char **)0); }
1379
1380 /* ./unctrl.c */
1381
1382 #undef unctrl_sp
1383 char    *unctrl_sp(
1384                 SCREEN  *sp, 
1385                 chtype  ch)
1386                 { return(*(char **)0); }
1387
1388 #undef unctrl
1389 char    *unctrl(
1390                 chtype  ch)
1391                 { return(*(char **)0); }
1392
1393 /* ./trace/visbuf.c */
1394
1395 #undef _nc_visbuf2
1396 const char *_nc_visbuf2(
1397                 int     bufnum, 
1398                 const char *buf)
1399                 { return(*(const char **)0); }
1400
1401 #undef _nc_visbuf
1402 const char *_nc_visbuf(
1403                 const char *buf)
1404                 { return(*(const char **)0); }
1405
1406 #undef _nc_visbufn
1407 const char *_nc_visbufn(
1408                 const char *buf, 
1409                 int     len)
1410                 { return(*(const char **)0); }
1411
1412 #undef _nc_viscbuf2
1413 const char *_nc_viscbuf2(
1414                 int     bufnum, 
1415                 const chtype *buf, 
1416                 int     len)
1417                 { return(*(const char **)0); }
1418
1419 #undef _nc_viscbuf
1420 const char *_nc_viscbuf(
1421                 const chtype *buf, 
1422                 int     len)
1423                 { return(*(const char **)0); }
1424
1425 /* ./base/define_key.c */
1426
1427 #undef define_key_sp
1428 int     define_key_sp(
1429                 SCREEN  *sp, 
1430                 const char *str, 
1431                 int     keycode)
1432                 { return(*(int *)0); }
1433
1434 #undef define_key
1435 int     define_key(
1436                 const char *str, 
1437                 int     keycode)
1438                 { return(*(int *)0); }
1439
1440 /* ./tinfo/hashed_db.c */
1441
1442 #undef _nc_hashed_db
1443 void    _nc_hashed_db(void)
1444                 { /* void */ }
1445
1446 /* ./base/key_defined.c */
1447
1448 #undef key_defined_sp
1449 int     key_defined_sp(
1450                 SCREEN  *sp, 
1451                 const char *str)
1452                 { return(*(int *)0); }
1453
1454 #undef key_defined
1455 int     key_defined(
1456                 const char *str)
1457                 { return(*(int *)0); }
1458
1459 /* ./base/keybound.c */
1460
1461 #undef keybound_sp
1462 char    *keybound_sp(
1463                 SCREEN  *sp, 
1464                 int     code, 
1465                 int     count)
1466                 { return(*(char **)0); }
1467
1468 #undef keybound
1469 char    *keybound(
1470                 int     code, 
1471                 int     count)
1472                 { return(*(char **)0); }
1473
1474 /* ./base/keyok.c */
1475
1476 #undef keyok_sp
1477 int     keyok_sp(
1478                 SCREEN  *sp, 
1479                 int     c, 
1480                 NCURSES_BOOL flag)
1481                 { return(*(int *)0); }
1482
1483 #undef keyok
1484 int     keyok(
1485                 int     c, 
1486                 NCURSES_BOOL flag)
1487                 { return(*(int *)0); }
1488
1489 /* ./base/version.c */
1490
1491 #undef curses_version
1492 const char *curses_version(void)
1493                 { return(*(const char **)0); }