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