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