]> ncurses.scripts.mit.edu Git - ncurses.git/blob - ncurses/llib-ltinfo
ncurses 5.9 - patch 20120902
[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 use_tioctl_sp
703 void    use_tioctl_sp(
704                 SCREEN  *sp, 
705                 NCURSES_BOOL f)
706                 { /* void */ }
707
708 #undef use_tioctl
709 void    use_tioctl(
710                 NCURSES_BOOL f)
711                 { /* void */ }
712
713 #undef _nc_get_screensize
714 void    _nc_get_screensize(
715                 SCREEN  *sp, 
716                 int     *linep, 
717                 int     *colp)
718                 { /* void */ }
719
720 #undef _nc_update_screensize
721 void    _nc_update_screensize(
722                 SCREEN  *sp)
723                 { /* void */ }
724
725 #undef _nc_setup_tinfo
726 int     _nc_setup_tinfo(
727                 const char *const tn, 
728                 TERMTYPE *const tp)
729                 { return(*(int *)0); }
730
731 #undef _nc_tinfo_cmdch
732 void    _nc_tinfo_cmdch(
733                 TERMINAL *termp, 
734                 int     proto)
735                 { /* void */ }
736
737 #undef _nc_get_locale
738 char    *_nc_get_locale(void)
739                 { return(*(char **)0); }
740
741 #undef _nc_unicode_locale
742 int     _nc_unicode_locale(void)
743                 { return(*(int *)0); }
744
745 #undef _nc_locale_breaks_acs
746 int     _nc_locale_breaks_acs(
747                 TERMINAL *termp)
748                 { return(*(int *)0); }
749
750 #undef _nc_setupterm
751 int     _nc_setupterm(
752                 char    *tname, 
753                 int     Filedes, 
754                 int     *errret, 
755                 int     reuse)
756                 { return(*(int *)0); }
757
758 #undef new_prescr
759 SCREEN  *new_prescr(void)
760                 { return(*(SCREEN **)0); }
761
762 #undef setupterm
763 int     setupterm(
764                 char    *tname, 
765                 int     Filedes, 
766                 int     *errret)
767                 { return(*(int *)0); }
768
769 /* ./tinfo/lib_termcap.c */
770
771 #undef UP
772 char    *UP;
773 #undef BC
774 char    *BC;
775
776 #undef tgetent_sp
777 int     tgetent_sp(
778                 SCREEN  *sp, 
779                 char    *bufp, 
780                 const char *name)
781                 { return(*(int *)0); }
782
783 #if 0
784
785 #include <capdefaults.c>
786
787 #endif
788
789 #undef tgetent
790 int     tgetent(
791                 char    *bufp, 
792                 const char *name)
793                 { return(*(int *)0); }
794
795 #undef tgetflag_sp
796 int     tgetflag_sp(
797                 SCREEN  *sp, 
798                 char    *id)
799                 { return(*(int *)0); }
800
801 #undef tgetflag
802 int     tgetflag(
803                 char    *id)
804                 { return(*(int *)0); }
805
806 #undef tgetnum_sp
807 int     tgetnum_sp(
808                 SCREEN  *sp, 
809                 char    *id)
810                 { return(*(int *)0); }
811
812 #undef tgetnum
813 int     tgetnum(
814                 char    *id)
815                 { return(*(int *)0); }
816
817 #undef tgetstr_sp
818 char    *tgetstr_sp(
819                 SCREEN  *sp, 
820                 char    *id, 
821                 char    **area)
822                 { return(*(char **)0); }
823
824 #undef tgetstr
825 char    *tgetstr(
826                 char    *id, 
827                 char    **area)
828                 { return(*(char **)0); }
829
830 /* ./tinfo/lib_termname.c */
831
832 #undef termname_sp
833 char    *termname_sp(
834                 SCREEN  *sp)
835                 { return(*(char **)0); }
836
837 #undef termname
838 char    *termname(void)
839                 { return(*(char **)0); }
840
841 /* ./tinfo/lib_tgoto.c */
842
843 #undef tgoto
844 char    *tgoto(
845                 const char *string, 
846                 int     x, 
847                 int     y)
848                 { return(*(char **)0); }
849
850 /* ./tinfo/lib_ti.c */
851
852 #undef tigetflag_sp
853 int     tigetflag_sp(
854                 SCREEN  *sp, 
855                 char    *str)
856                 { return(*(int *)0); }
857
858 #undef tigetflag
859 int     tigetflag(
860                 char    *str)
861                 { return(*(int *)0); }
862
863 #undef tigetnum_sp
864 int     tigetnum_sp(
865                 SCREEN  *sp, 
866                 char    *str)
867                 { return(*(int *)0); }
868
869 #undef tigetnum
870 int     tigetnum(
871                 char    *str)
872                 { return(*(int *)0); }
873
874 #undef tigetstr_sp
875 char    *tigetstr_sp(
876                 SCREEN  *sp, 
877                 char    *str)
878                 { return(*(char **)0); }
879
880 #undef tigetstr
881 char    *tigetstr(
882                 char    *str)
883                 { return(*(char **)0); }
884
885 /* ./tinfo/lib_tparm.c */
886
887 #undef _nc_tparm_err
888 int     _nc_tparm_err;
889
890 #undef _nc_tparm_analyze
891 int     _nc_tparm_analyze(
892                 const char *string, 
893                 char    *p_is_s[9], 
894                 int     *popcount)
895                 { return(*(int *)0); }
896
897 #undef tparm
898 char    *tparm(
899                 char    *string, 
900                 ...)
901                 { return(*(char **)0); }
902
903 #undef tiparm
904 char    *tiparm(
905                 const char *string, 
906                 ...)
907                 { return(*(char **)0); }
908
909 /* ./tinfo/lib_tputs.c */
910
911 #undef PC
912 char    PC;
913 #undef ospeed
914 short   ospeed;
915 #undef _nc_nulls_sent
916 int     _nc_nulls_sent;
917
918 #undef _nc_set_no_padding
919 void    _nc_set_no_padding(
920                 SCREEN  *sp)
921                 { /* void */ }
922
923 #undef delay_output_sp
924 int     delay_output_sp(
925                 SCREEN  *sp, 
926                 int     ms)
927                 { return(*(int *)0); }
928
929 #undef delay_output
930 int     delay_output(
931                 int     ms)
932                 { return(*(int *)0); }
933
934 #undef _nc_flush_sp
935 void    _nc_flush_sp(
936                 SCREEN  *sp)
937                 { /* void */ }
938
939 #undef _nc_flush
940 void    _nc_flush(void)
941                 { /* void */ }
942
943 #undef _nc_outch_sp
944 int     _nc_outch_sp(
945                 SCREEN  *sp, 
946                 int     ch)
947                 { return(*(int *)0); }
948
949 #undef _nc_outch
950 int     _nc_outch(
951                 int     ch)
952                 { return(*(int *)0); }
953
954 #undef putp_sp
955 int     putp_sp(
956                 SCREEN  *sp, 
957                 const char *string)
958                 { return(*(int *)0); }
959
960 #undef _nc_putp_sp
961 int     _nc_putp_sp(
962                 SCREEN  *sp, 
963                 const char *name, 
964                 const char *string)
965                 { return(*(int *)0); }
966
967 #undef putp
968 int     putp(
969                 const char *string)
970                 { return(*(int *)0); }
971
972 #undef _nc_putp
973 int     _nc_putp(
974                 const char *name, 
975                 const char *string)
976                 { return(*(int *)0); }
977
978 #undef tputs_sp
979 int     tputs_sp(
980                 SCREEN  *sp, 
981                 const char *string, 
982                 int     affcnt, 
983                 NCURSES_OUTC_sp outc)
984                 { return(*(int *)0); }
985
986 #undef _nc_outc_wrapper
987 int     _nc_outc_wrapper(
988                 SCREEN  *sp, 
989                 int     c)
990                 { return(*(int *)0); }
991
992 #undef tputs
993 int     tputs(
994                 const char *string, 
995                 int     affcnt, 
996                 int     (*outc)(
997                 int     p1))
998                 { return(*(int *)0); }
999
1000 /* ./trace/lib_trace.c */
1001
1002 #undef _nc_tracing
1003 unsigned _nc_tracing;
1004 #undef _nc_tputs_trace
1005 const char *_nc_tputs_trace = {0};
1006 #undef _nc_outchars
1007 long    _nc_outchars;
1008
1009 #undef trace
1010 void    trace(
1011                 const unsigned int tracelevel)
1012                 { /* void */ }
1013
1014 #undef _tracef
1015 void    _tracef(
1016                 const char *fmt, 
1017                 ...)
1018                 { /* void */ }
1019
1020 #undef _nc_retrace_bool
1021 NCURSES_BOOL _nc_retrace_bool(
1022                 int     code)
1023                 { return(*(NCURSES_BOOL *)0); }
1024
1025 #undef _nc_retrace_char
1026 char    _nc_retrace_char(
1027                 int     code)
1028                 { return(*(char *)0); }
1029
1030 #undef _nc_retrace_int
1031 int     _nc_retrace_int(
1032                 int     code)
1033                 { return(*(int *)0); }
1034
1035 #undef _nc_retrace_unsigned
1036 unsigned _nc_retrace_unsigned(
1037                 unsigned code)
1038                 { return(*(unsigned *)0); }
1039
1040 #undef _nc_retrace_ptr
1041 char    *_nc_retrace_ptr(
1042                 char    *code)
1043                 { return(*(char **)0); }
1044
1045 #undef _nc_retrace_cptr
1046 const char *_nc_retrace_cptr(
1047                 const char *code)
1048                 { return(*(const char **)0); }
1049
1050 #undef _nc_retrace_cvoid_ptr
1051 void    *_nc_retrace_cvoid_ptr(
1052                 void    *code)
1053                 { return(*(void **)0); }
1054
1055 #undef _nc_retrace_void_ptr
1056 void    *_nc_retrace_void_ptr(
1057                 void    *code)
1058                 { return(*(void **)0); }
1059
1060 #undef _nc_retrace_sp
1061 SCREEN  *_nc_retrace_sp(
1062                 SCREEN  *code)
1063                 { return(*(SCREEN **)0); }
1064
1065 #undef _nc_retrace_win
1066 WINDOW  *_nc_retrace_win(
1067                 WINDOW  *code)
1068                 { return(*(WINDOW **)0); }
1069
1070 /* ./trace/lib_traceatr.c */
1071
1072 #undef _traceattr2
1073 char    *_traceattr2(
1074                 int     bufnum, 
1075                 chtype  newmode)
1076                 { return(*(char **)0); }
1077
1078 #undef _traceattr
1079 char    *_traceattr(
1080                 attr_t  newmode)
1081                 { return(*(char **)0); }
1082
1083 #undef _nc_retrace_int_attr_t
1084 int     _nc_retrace_int_attr_t(
1085                 attr_t  code)
1086                 { return(*(int *)0); }
1087
1088 #undef _nc_retrace_attr_t
1089 attr_t  _nc_retrace_attr_t(
1090                 attr_t  code)
1091                 { return(*(attr_t *)0); }
1092
1093 #undef _nc_altcharset_name
1094 const char *_nc_altcharset_name(
1095                 attr_t  attr, 
1096                 chtype  ch)
1097                 { return(*(const char **)0); }
1098
1099 #undef _tracechtype2
1100 char    *_tracechtype2(
1101                 int     bufnum, 
1102                 chtype  ch)
1103                 { return(*(char **)0); }
1104
1105 #undef _tracechtype
1106 char    *_tracechtype(
1107                 chtype  ch)
1108                 { return(*(char **)0); }
1109
1110 #undef _nc_retrace_chtype
1111 chtype  _nc_retrace_chtype(
1112                 chtype  code)
1113                 { return(*(chtype *)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_viscbuf2
1424 const char *_nc_viscbuf2(
1425                 int     bufnum, 
1426                 const chtype *buf, 
1427                 int     len)
1428                 { return(*(const char **)0); }
1429
1430 #undef _nc_viscbuf
1431 const char *_nc_viscbuf(
1432                 const chtype *buf, 
1433                 int     len)
1434                 { return(*(const char **)0); }
1435
1436 /* ./base/define_key.c */
1437
1438 #undef define_key_sp
1439 int     define_key_sp(
1440                 SCREEN  *sp, 
1441                 const char *str, 
1442                 int     keycode)
1443                 { return(*(int *)0); }
1444
1445 #undef define_key
1446 int     define_key(
1447                 const char *str, 
1448                 int     keycode)
1449                 { return(*(int *)0); }
1450
1451 /* ./tinfo/hashed_db.c */
1452
1453 #undef _nc_hashed_db
1454 void    _nc_hashed_db(void)
1455                 { /* void */ }
1456
1457 /* ./base/key_defined.c */
1458
1459 #undef key_defined_sp
1460 int     key_defined_sp(
1461                 SCREEN  *sp, 
1462                 const char *str)
1463                 { return(*(int *)0); }
1464
1465 #undef key_defined
1466 int     key_defined(
1467                 const char *str)
1468                 { return(*(int *)0); }
1469
1470 /* ./base/keybound.c */
1471
1472 #undef keybound_sp
1473 char    *keybound_sp(
1474                 SCREEN  *sp, 
1475                 int     code, 
1476                 int     count)
1477                 { return(*(char **)0); }
1478
1479 #undef keybound
1480 char    *keybound(
1481                 int     code, 
1482                 int     count)
1483                 { return(*(char **)0); }
1484
1485 /* ./base/keyok.c */
1486
1487 #undef keyok_sp
1488 int     keyok_sp(
1489                 SCREEN  *sp, 
1490                 int     c, 
1491                 NCURSES_BOOL flag)
1492                 { return(*(int *)0); }
1493
1494 #undef keyok
1495 int     keyok(
1496                 int     c, 
1497                 NCURSES_BOOL flag)
1498                 { return(*(int *)0); }
1499
1500 /* ./base/version.c */
1501
1502 #undef curses_version
1503 const char *curses_version(void)
1504                 { return(*(const char **)0); }