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