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