llib-lncurses revision 76726
1/**************************************************************************** 2 * Copyright (c) 1998,1999,2000 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 <dickey@clark.net> 1996-2000 * 31 ****************************************************************************/ 32/* LINTLIBRARY */ 33 34/* ./tty/hardscroll.c */ 35 36#include <curses.priv.h> 37 38#undef _nc_oldnums 39int *_nc_oldnums; 40 41#undef _nc_scroll_optimize 42void _nc_scroll_optimize(void) 43 { /* void */ } 44 45#undef _nc_linedump 46void _nc_linedump(void) 47 { /* void */ } 48 49/* ./tty/hashmap.c */ 50 51#include <term.h> 52 53typedef struct { 54 unsigned long hashval; 55 int oldcount, newcount; 56 int oldindex, newindex; 57} sym; 58 59#undef _nc_hash_map 60void _nc_hash_map(void) 61 { /* void */ } 62 63#undef _nc_make_oldhash 64void _nc_make_oldhash( 65 int i) 66 { /* void */ } 67 68#undef _nc_scroll_oldhash 69void _nc_scroll_oldhash( 70 int n, 71 int top, 72 int bot) 73 { /* void */ } 74 75/* ./base/lib_addch.c */ 76 77#include <ctype.h> 78 79#undef _nc_background 80chtype _nc_background( 81 WINDOW *win) 82 { return(*(chtype *)0); } 83 84#undef _nc_render 85chtype _nc_render( 86 WINDOW *win, 87 chtype ch) 88 { return(*(chtype *)0); } 89 90#undef _nc_waddch_nosync 91int _nc_waddch_nosync( 92 WINDOW *win, 93 const chtype c) 94 { return(*(int *)0); } 95 96#undef waddch 97int waddch( 98 WINDOW *win, 99 const chtype ch) 100 { return(*(int *)0); } 101 102#undef wechochar 103int wechochar( 104 WINDOW *win, 105 const chtype ch) 106 { return(*(int *)0); } 107 108/* ./base/lib_addstr.c */ 109 110#undef waddnstr 111int waddnstr( 112 WINDOW *win, 113 const char *const astr, 114 int n) 115 { return(*(int *)0); } 116 117#undef waddchnstr 118int waddchnstr( 119 WINDOW *win, 120 const chtype *const astr, 121 int n) 122 { return(*(int *)0); } 123 124/* ./base/lib_beep.c */ 125 126#undef beep 127int beep(void) 128 { return(*(int *)0); } 129 130/* ./base/lib_bkgd.c */ 131 132#undef wbkgdset 133void wbkgdset( 134 WINDOW *win, 135 chtype ch) 136 { /* void */ } 137 138#undef wbkgd 139int wbkgd( 140 WINDOW *win, 141 const chtype ch) 142 { return(*(int *)0); } 143 144/* ./base/lib_box.c */ 145 146#undef wborder 147int wborder( 148 WINDOW *win, 149 chtype ls, 150 chtype rs, 151 chtype ts, 152 chtype bs, 153 chtype tl, 154 chtype tr, 155 chtype bl, 156 chtype br) 157 { return(*(int *)0); } 158 159/* ./base/lib_chgat.c */ 160 161#undef wchgat 162int wchgat( 163 WINDOW *win, 164 int n, 165 attr_t attr, 166 short color, 167 const void *opts) 168 { return(*(int *)0); } 169 170/* ./base/lib_clear.c */ 171 172#undef wclear 173int wclear( 174 WINDOW *win) 175 { return(*(int *)0); } 176 177/* ./base/lib_clearok.c */ 178 179#undef clearok 180int clearok( 181 WINDOW *win, 182 bool flag) 183 { return(*(int *)0); } 184 185/* ./base/lib_clrbot.c */ 186 187#undef wclrtobot 188int wclrtobot( 189 WINDOW *win) 190 { return(*(int *)0); } 191 192/* ./base/lib_clreol.c */ 193 194#undef wclrtoeol 195int wclrtoeol( 196 WINDOW *win) 197 { return(*(int *)0); } 198 199/* ./base/lib_color.c */ 200 201#include <tic.h> 202 203#undef COLOR_PAIRS 204int COLOR_PAIRS; 205#undef COLORS 206int COLORS; 207 208#undef start_color 209int start_color(void) 210 { return(*(int *)0); } 211 212#undef init_pair 213int init_pair( 214 short pair, 215 short f, 216 short b) 217 { return(*(int *)0); } 218 219#undef init_color 220int init_color( 221 short color, 222 short r, 223 short g, 224 short b) 225 { return(*(int *)0); } 226 227#undef can_change_color 228bool can_change_color(void) 229 { return(*(bool *)0); } 230 231#undef has_colors 232bool has_colors(void) 233 { return(*(bool *)0); } 234 235#undef color_content 236int color_content( 237 short color, 238 short *r, 239 short *g, 240 short *b) 241 { return(*(int *)0); } 242 243#undef pair_content 244int pair_content( 245 short pair, 246 short *f, 247 short *b) 248 { return(*(int *)0); } 249 250#undef _nc_do_color 251void _nc_do_color( 252 int old_pair, 253 int pair, 254 bool reverse, 255 int (*outc)( 256 int p1)) 257 { /* void */ } 258 259/* ./base/lib_colorset.c */ 260 261#undef wcolor_set 262int wcolor_set( 263 WINDOW *win, 264 short color_pair_number, 265 void *opts) 266 { return(*(int *)0); } 267 268/* ./base/lib_delch.c */ 269 270#undef wdelch 271int wdelch( 272 WINDOW *win) 273 { return(*(int *)0); } 274 275/* ./base/lib_delwin.c */ 276 277#undef delwin 278int delwin( 279 WINDOW *win) 280 { return(*(int *)0); } 281 282/* ./base/lib_echo.c */ 283 284#undef echo 285int echo(void) 286 { return(*(int *)0); } 287 288#undef noecho 289int noecho(void) 290 { return(*(int *)0); } 291 292/* ./base/lib_endwin.c */ 293 294#undef endwin 295int endwin(void) 296 { return(*(int *)0); } 297 298/* ./base/lib_erase.c */ 299 300#undef werase 301int werase( 302 WINDOW *win) 303 { return(*(int *)0); } 304 305/* ./base/lib_flash.c */ 306 307#undef flash 308int flash(void) 309 { return(*(int *)0); } 310 311/* ./lib_gen.c */ 312 313#undef addch 314int addch( 315 const chtype z) 316 { return(*(int *)0); } 317 318#undef addchnstr 319int addchnstr( 320 const chtype *a1, 321 int z) 322 { return(*(int *)0); } 323 324#undef addchstr 325int addchstr( 326 const chtype *z) 327 { return(*(int *)0); } 328 329#undef addnstr 330int addnstr( 331 const char *a1, 332 int z) 333 { return(*(int *)0); } 334 335#undef addstr 336int addstr( 337 const char *z) 338 { return(*(int *)0); } 339 340#undef attroff 341int attroff( 342 NCURSES_ATTR_T z) 343 { return(*(int *)0); } 344 345#undef attron 346int attron( 347 NCURSES_ATTR_T z) 348 { return(*(int *)0); } 349 350#undef attrset 351int attrset( 352 NCURSES_ATTR_T z) 353 { return(*(int *)0); } 354 355#undef attr_get 356int attr_get( 357 attr_t *a1, 358 short *a2, 359 void *z) 360 { return(*(int *)0); } 361 362#undef attr_off 363int attr_off( 364 attr_t a1, 365 void *z) 366 { return(*(int *)0); } 367 368#undef attr_on 369int attr_on( 370 attr_t a1, 371 void *z) 372 { return(*(int *)0); } 373 374#undef attr_set 375int attr_set( 376 attr_t a1, 377 short a2, 378 void *z) 379 { return(*(int *)0); } 380 381#undef bkgd 382int bkgd( 383 chtype z) 384 { return(*(int *)0); } 385 386#undef bkgdset 387void bkgdset( 388 chtype z) 389 { /* void */ } 390 391#undef border 392int border( 393 chtype a1, 394 chtype a2, 395 chtype a3, 396 chtype a4, 397 chtype a5, 398 chtype a6, 399 chtype a7, 400 chtype z) 401 { return(*(int *)0); } 402 403#undef box 404int box( 405 WINDOW *a1, 406 chtype a2, 407 chtype z) 408 { return(*(int *)0); } 409 410#undef chgat 411int chgat( 412 int a1, 413 attr_t a2, 414 short a3, 415 const void *z) 416 { return(*(int *)0); } 417 418#undef clear 419int clear(void) 420 { return(*(int *)0); } 421 422#undef clrtobot 423int clrtobot(void) 424 { return(*(int *)0); } 425 426#undef clrtoeol 427int clrtoeol(void) 428 { return(*(int *)0); } 429 430#undef color_set 431int color_set( 432 short a1, 433 void *z) 434 { return(*(int *)0); } 435 436#undef COLOR_PAIR 437int COLOR_PAIR( 438 int z) 439 { return(*(int *)0); } 440 441#undef delch 442int delch(void) 443 { return(*(int *)0); } 444 445#undef deleteln 446int deleteln(void) 447 { return(*(int *)0); } 448 449#undef echochar 450int echochar( 451 const chtype z) 452 { return(*(int *)0); } 453 454#undef erase 455int erase(void) 456 { return(*(int *)0); } 457 458#undef getbkgd 459chtype getbkgd( 460 WINDOW *z) 461 { return(*(chtype *)0); } 462 463#undef getch 464int getch(void) 465 { return(*(int *)0); } 466 467#undef getnstr 468int getnstr( 469 char *a1, 470 int z) 471 { return(*(int *)0); } 472 473#undef getstr 474int getstr( 475 char *z) 476 { return(*(int *)0); } 477 478#undef hline 479int hline( 480 chtype a1, 481 int z) 482 { return(*(int *)0); } 483 484#undef inch 485chtype inch(void) 486 { return(*(chtype *)0); } 487 488#undef inchnstr 489int inchnstr( 490 chtype *a1, 491 int z) 492 { return(*(int *)0); } 493 494#undef inchstr 495int inchstr( 496 chtype *z) 497 { return(*(int *)0); } 498 499#undef innstr 500int innstr( 501 char *a1, 502 int z) 503 { return(*(int *)0); } 504 505#undef insch 506int insch( 507 chtype z) 508 { return(*(int *)0); } 509 510#undef insdelln 511int insdelln( 512 int z) 513 { return(*(int *)0); } 514 515#undef insertln 516int insertln(void) 517 { return(*(int *)0); } 518 519#undef insnstr 520int insnstr( 521 const char *a1, 522 int z) 523 { return(*(int *)0); } 524 525#undef insstr 526int insstr( 527 const char *z) 528 { return(*(int *)0); } 529 530#undef instr 531int instr( 532 char *z) 533 { return(*(int *)0); } 534 535#undef move 536int move( 537 int a1, 538 int z) 539 { return(*(int *)0); } 540 541#undef mvaddch 542int mvaddch( 543 int a1, 544 int a2, 545 const chtype z) 546 { return(*(int *)0); } 547 548#undef mvaddchnstr 549int mvaddchnstr( 550 int a1, 551 int a2, 552 const chtype *a3, 553 int z) 554 { return(*(int *)0); } 555 556#undef mvaddchstr 557int mvaddchstr( 558 int a1, 559 int a2, 560 const chtype *z) 561 { return(*(int *)0); } 562 563#undef mvaddnstr 564int mvaddnstr( 565 int a1, 566 int a2, 567 const char *a3, 568 int z) 569 { return(*(int *)0); } 570 571#undef mvaddstr 572int mvaddstr( 573 int a1, 574 int a2, 575 const char *z) 576 { return(*(int *)0); } 577 578#undef mvchgat 579int mvchgat( 580 int a1, 581 int a2, 582 int a3, 583 attr_t a4, 584 short a5, 585 const void *z) 586 { return(*(int *)0); } 587 588#undef mvdelch 589int mvdelch( 590 int a1, 591 int z) 592 { return(*(int *)0); } 593 594#undef mvgetch 595int mvgetch( 596 int a1, 597 int z) 598 { return(*(int *)0); } 599 600#undef mvgetnstr 601int mvgetnstr( 602 int a1, 603 int a2, 604 char *a3, 605 int z) 606 { return(*(int *)0); } 607 608#undef mvgetstr 609int mvgetstr( 610 int a1, 611 int a2, 612 char *z) 613 { return(*(int *)0); } 614 615#undef mvhline 616int mvhline( 617 int a1, 618 int a2, 619 chtype a3, 620 int z) 621 { return(*(int *)0); } 622 623#undef mvinch 624chtype mvinch( 625 int a1, 626 int z) 627 { return(*(chtype *)0); } 628 629#undef mvinchnstr 630int mvinchnstr( 631 int a1, 632 int a2, 633 chtype *a3, 634 int z) 635 { return(*(int *)0); } 636 637#undef mvinchstr 638int mvinchstr( 639 int a1, 640 int a2, 641 chtype *z) 642 { return(*(int *)0); } 643 644#undef mvinnstr 645int mvinnstr( 646 int a1, 647 int a2, 648 char *a3, 649 int z) 650 { return(*(int *)0); } 651 652#undef mvinsch 653int mvinsch( 654 int a1, 655 int a2, 656 chtype z) 657 { return(*(int *)0); } 658 659#undef mvinsnstr 660int mvinsnstr( 661 int a1, 662 int a2, 663 const char *a3, 664 int z) 665 { return(*(int *)0); } 666 667#undef mvinsstr 668int mvinsstr( 669 int a1, 670 int a2, 671 const char *z) 672 { return(*(int *)0); } 673 674#undef mvinstr 675int mvinstr( 676 int a1, 677 int a2, 678 char *z) 679 { return(*(int *)0); } 680 681#undef mvvline 682int mvvline( 683 int a1, 684 int a2, 685 chtype a3, 686 int z) 687 { return(*(int *)0); } 688 689#undef mvwaddch 690int mvwaddch( 691 WINDOW *a1, 692 int a2, 693 int a3, 694 const chtype z) 695 { return(*(int *)0); } 696 697#undef mvwaddchnstr 698int mvwaddchnstr( 699 WINDOW *a1, 700 int a2, 701 int a3, 702 const chtype *a4, 703 int z) 704 { return(*(int *)0); } 705 706#undef mvwaddchstr 707int mvwaddchstr( 708 WINDOW *a1, 709 int a2, 710 int a3, 711 const chtype *z) 712 { return(*(int *)0); } 713 714#undef mvwaddnstr 715int mvwaddnstr( 716 WINDOW *a1, 717 int a2, 718 int a3, 719 const char *a4, 720 int z) 721 { return(*(int *)0); } 722 723#undef mvwaddstr 724int mvwaddstr( 725 WINDOW *a1, 726 int a2, 727 int a3, 728 const char *z) 729 { return(*(int *)0); } 730 731#undef mvwchgat 732int mvwchgat( 733 WINDOW *a1, 734 int a2, 735 int a3, 736 int a4, 737 attr_t a5, 738 short a6, 739 const void *z) 740 { return(*(int *)0); } 741 742#undef mvwdelch 743int mvwdelch( 744 WINDOW *a1, 745 int a2, 746 int z) 747 { return(*(int *)0); } 748 749#undef mvwgetch 750int mvwgetch( 751 WINDOW *a1, 752 int a2, 753 int z) 754 { return(*(int *)0); } 755 756#undef mvwgetnstr 757int mvwgetnstr( 758 WINDOW *a1, 759 int a2, 760 int a3, 761 char *a4, 762 int z) 763 { return(*(int *)0); } 764 765#undef mvwgetstr 766int mvwgetstr( 767 WINDOW *a1, 768 int a2, 769 int a3, 770 char *z) 771 { return(*(int *)0); } 772 773#undef mvwhline 774int mvwhline( 775 WINDOW *a1, 776 int a2, 777 int a3, 778 chtype a4, 779 int z) 780 { return(*(int *)0); } 781 782#undef mvwinch 783chtype mvwinch( 784 WINDOW *a1, 785 int a2, 786 int z) 787 { return(*(chtype *)0); } 788 789#undef mvwinchnstr 790int mvwinchnstr( 791 WINDOW *a1, 792 int a2, 793 int a3, 794 chtype *a4, 795 int z) 796 { return(*(int *)0); } 797 798#undef mvwinchstr 799int mvwinchstr( 800 WINDOW *a1, 801 int a2, 802 int a3, 803 chtype *z) 804 { return(*(int *)0); } 805 806#undef mvwinnstr 807int mvwinnstr( 808 WINDOW *a1, 809 int a2, 810 int a3, 811 char *a4, 812 int z) 813 { return(*(int *)0); } 814 815#undef mvwinsch 816int mvwinsch( 817 WINDOW *a1, 818 int a2, 819 int a3, 820 chtype z) 821 { return(*(int *)0); } 822 823#undef mvwinsnstr 824int mvwinsnstr( 825 WINDOW *a1, 826 int a2, 827 int a3, 828 const char *a4, 829 int z) 830 { return(*(int *)0); } 831 832#undef mvwinsstr 833int mvwinsstr( 834 WINDOW *a1, 835 int a2, 836 int a3, 837 const char *z) 838 { return(*(int *)0); } 839 840#undef mvwinstr 841int mvwinstr( 842 WINDOW *a1, 843 int a2, 844 int a3, 845 char *z) 846 { return(*(int *)0); } 847 848#undef mvwvline 849int mvwvline( 850 WINDOW *a1, 851 int a2, 852 int a3, 853 chtype a4, 854 int z) 855 { return(*(int *)0); } 856 857#undef PAIR_NUMBER 858int PAIR_NUMBER( 859 int z) 860 { return(*(int *)0); } 861 862#undef redrawwin 863int redrawwin( 864 WINDOW *z) 865 { return(*(int *)0); } 866 867#undef refresh 868int refresh(void) 869 { return(*(int *)0); } 870 871#undef scrl 872int scrl( 873 int z) 874 { return(*(int *)0); } 875 876#undef scroll 877int scroll( 878 WINDOW *z) 879 { return(*(int *)0); } 880 881#undef setscrreg 882int setscrreg( 883 int a1, 884 int z) 885 { return(*(int *)0); } 886 887#undef standout 888int standout(void) 889 { return(*(int *)0); } 890 891#undef standend 892int standend(void) 893 { return(*(int *)0); } 894 895#undef timeout 896void timeout( 897 int z) 898 { /* void */ } 899 900#undef touchline 901int touchline( 902 WINDOW *a1, 903 int a2, 904 int z) 905 { return(*(int *)0); } 906 907#undef touchwin 908int touchwin( 909 WINDOW *z) 910 { return(*(int *)0); } 911 912#undef untouchwin 913int untouchwin( 914 WINDOW *z) 915 { return(*(int *)0); } 916 917#undef vline 918int vline( 919 chtype a1, 920 int z) 921 { return(*(int *)0); } 922 923#undef vw_printw 924int vw_printw( 925 WINDOW *a1, 926 char *a2, 927 va_list z) 928 { return(*(int *)0); } 929 930#undef vw_scanw 931int vw_scanw( 932 WINDOW *a1, 933 char *a2, 934 va_list z) 935 { return(*(int *)0); } 936 937#undef waddchstr 938int waddchstr( 939 WINDOW *a1, 940 const chtype *z) 941 { return(*(int *)0); } 942 943#undef waddstr 944int waddstr( 945 WINDOW *a1, 946 const char *z) 947 { return(*(int *)0); } 948 949#undef wattron 950int wattron( 951 WINDOW *a1, 952 int z) 953 { return(*(int *)0); } 954 955#undef wattroff 956int wattroff( 957 WINDOW *a1, 958 int z) 959 { return(*(int *)0); } 960 961#undef wattrset 962int wattrset( 963 WINDOW *a1, 964 int z) 965 { return(*(int *)0); } 966 967#undef wattr_get 968int wattr_get( 969 WINDOW *a1, 970 attr_t *a2, 971 short *a3, 972 void *z) 973 { return(*(int *)0); } 974 975#undef wattr_set 976int wattr_set( 977 WINDOW *a1, 978 attr_t a2, 979 short a3, 980 void *z) 981 { return(*(int *)0); } 982 983#undef wdeleteln 984int wdeleteln( 985 WINDOW *z) 986 { return(*(int *)0); } 987 988#undef wgetstr 989int wgetstr( 990 WINDOW *a1, 991 char *z) 992 { return(*(int *)0); } 993 994#undef winchstr 995int winchstr( 996 WINDOW *a1, 997 chtype *z) 998 { return(*(int *)0); } 999 1000#undef winsertln 1001int winsertln( 1002 WINDOW *z) 1003 { return(*(int *)0); } 1004 1005#undef winsstr 1006int winsstr( 1007 WINDOW *a1, 1008 const char *z) 1009 { return(*(int *)0); } 1010 1011#undef winstr 1012int winstr( 1013 WINDOW *a1, 1014 char *z) 1015 { return(*(int *)0); } 1016 1017#undef wstandout 1018int wstandout( 1019 WINDOW *z) 1020 { return(*(int *)0); } 1021 1022#undef wstandend 1023int wstandend( 1024 WINDOW *z) 1025 { return(*(int *)0); } 1026 1027#undef mouse_trafo 1028bool mouse_trafo( 1029 int *a1, 1030 int *a2, 1031 bool z) 1032 { return(*(bool *)0); } 1033 1034/* ./base/lib_getch.c */ 1035 1036#include <fifo_defs.h> 1037 1038#undef ESCDELAY 1039int ESCDELAY; 1040 1041#undef wgetch 1042int wgetch( 1043 WINDOW *win) 1044 { return(*(int *)0); } 1045 1046/* ./base/lib_getstr.c */ 1047 1048#undef wgetnstr 1049int wgetnstr( 1050 WINDOW *win, 1051 char *str, 1052 int maxlen) 1053 { return(*(int *)0); } 1054 1055/* ./base/lib_hline.c */ 1056 1057#undef whline 1058int whline( 1059 WINDOW *win, 1060 chtype ch, 1061 int n) 1062 { return(*(int *)0); } 1063 1064/* ./base/lib_immedok.c */ 1065 1066#undef immedok 1067void immedok( 1068 WINDOW *win, 1069 bool flag) 1070 { /* void */ } 1071 1072/* ./base/lib_inchstr.c */ 1073 1074#undef winchnstr 1075int winchnstr( 1076 WINDOW *win, 1077 chtype *str, 1078 int n) 1079 { return(*(int *)0); } 1080 1081/* ./base/lib_initscr.c */ 1082 1083#undef initscr 1084WINDOW *initscr(void) 1085 { return(*(WINDOW **)0); } 1086 1087/* ./base/lib_insch.c */ 1088 1089#undef winsch 1090int winsch( 1091 WINDOW *win, 1092 chtype c) 1093 { return(*(int *)0); } 1094 1095/* ./base/lib_insdel.c */ 1096 1097#undef winsdelln 1098int winsdelln( 1099 WINDOW *win, 1100 int n) 1101 { return(*(int *)0); } 1102 1103/* ./base/lib_insstr.c */ 1104 1105#undef winsnstr 1106int winsnstr( 1107 WINDOW *win, 1108 const char *s, 1109 int n) 1110 { return(*(int *)0); } 1111 1112/* ./base/lib_instr.c */ 1113 1114#undef winnstr 1115int winnstr( 1116 WINDOW *win, 1117 char *str, 1118 int n) 1119 { return(*(int *)0); } 1120 1121/* ./base/lib_isendwin.c */ 1122 1123#undef isendwin 1124bool isendwin(void) 1125 { return(*(bool *)0); } 1126 1127/* ./base/lib_leaveok.c */ 1128 1129#undef leaveok 1130int leaveok( 1131 WINDOW *win, 1132 bool flag) 1133 { return(*(int *)0); } 1134 1135/* ./base/lib_mouse.c */ 1136 1137#undef getmouse 1138int getmouse( 1139 MEVENT *aevent) 1140 { return(*(int *)0); } 1141 1142#undef ungetmouse 1143int ungetmouse( 1144 MEVENT *aevent) 1145 { return(*(int *)0); } 1146 1147#undef mousemask 1148mmask_t mousemask( 1149 mmask_t newmask, 1150 mmask_t *oldmask) 1151 { return(*(mmask_t *)0); } 1152 1153#undef wenclose 1154bool wenclose( 1155 const WINDOW *win, 1156 int y, 1157 int x) 1158 { return(*(bool *)0); } 1159 1160#undef mouseinterval 1161int mouseinterval( 1162 int maxclick) 1163 { return(*(int *)0); } 1164 1165#undef _nc_has_mouse 1166int _nc_has_mouse(void) 1167 { return(*(int *)0); } 1168 1169#undef wmouse_trafo 1170bool wmouse_trafo( 1171 const WINDOW *win, 1172 int *pY, 1173 int *pX, 1174 bool to_screen) 1175 { return(*(bool *)0); } 1176 1177/* ./base/lib_move.c */ 1178 1179#undef wmove 1180int wmove( 1181 WINDOW *win, 1182 int y, 1183 int x) 1184 { return(*(int *)0); } 1185 1186/* ./tty/lib_mvcur.c */ 1187 1188#undef _nc_msec_cost 1189int _nc_msec_cost( 1190 const char *const cap, 1191 int affcnt) 1192 { return(*(int *)0); } 1193 1194#undef _nc_mvcur_resume 1195void _nc_mvcur_resume(void) 1196 { /* void */ } 1197 1198#undef _nc_mvcur_init 1199void _nc_mvcur_init(void) 1200 { /* void */ } 1201 1202#undef _nc_mvcur_wrap 1203void _nc_mvcur_wrap(void) 1204 { /* void */ } 1205 1206#undef mvcur 1207int mvcur( 1208 int yold, 1209 int xold, 1210 int ynew, 1211 int xnew) 1212 { return(*(int *)0); } 1213 1214#undef _nc_optimize_enable 1215int _nc_optimize_enable; 1216 1217/* ./base/lib_mvwin.c */ 1218 1219#undef mvwin 1220int mvwin( 1221 WINDOW *win, 1222 int by, 1223 int bx) 1224 { return(*(int *)0); } 1225 1226/* ./base/lib_newterm.c */ 1227 1228#undef filter 1229void filter(void) 1230 { /* void */ } 1231 1232#undef newterm 1233SCREEN *newterm( 1234 char *name, 1235 FILE *ofp, 1236 FILE *ifp) 1237 { return(*(SCREEN **)0); } 1238 1239/* ./base/lib_newwin.c */ 1240 1241#undef _nc_freewin 1242int _nc_freewin( 1243 WINDOW *win) 1244 { return(*(int *)0); } 1245 1246#undef newwin 1247WINDOW *newwin( 1248 int num_lines, 1249 int num_columns, 1250 int begy, 1251 int begx) 1252 { return(*(WINDOW **)0); } 1253 1254#undef derwin 1255WINDOW *derwin( 1256 WINDOW *orig, 1257 int num_lines, 1258 int num_columns, 1259 int begy, 1260 int begx) 1261 { return(*(WINDOW **)0); } 1262 1263#undef subwin 1264WINDOW *subwin( 1265 WINDOW *w, 1266 int l, 1267 int c, 1268 int y, 1269 int x) 1270 { return(*(WINDOW **)0); } 1271 1272#undef _nc_makenew 1273WINDOW *_nc_makenew( 1274 int num_lines, 1275 int num_columns, 1276 int begy, 1277 int begx, 1278 int flags) 1279 { return(*(WINDOW **)0); } 1280 1281/* ./base/lib_nl.c */ 1282 1283#undef nl 1284int nl(void) 1285 { return(*(int *)0); } 1286 1287#undef nonl 1288int nonl(void) 1289 { return(*(int *)0); } 1290 1291/* ./base/lib_overlay.c */ 1292 1293#undef overlay 1294int overlay( 1295 const WINDOW *win1, 1296 WINDOW *win2) 1297 { return(*(int *)0); } 1298 1299#undef overwrite 1300int overwrite( 1301 const WINDOW *win1, 1302 WINDOW *win2) 1303 { return(*(int *)0); } 1304 1305#undef copywin 1306int copywin( 1307 const WINDOW *src, 1308 WINDOW *dst, 1309 int sminrow, 1310 int smincol, 1311 int dminrow, 1312 int dmincol, 1313 int dmaxrow, 1314 int dmaxcol, 1315 int over) 1316 { return(*(int *)0); } 1317 1318/* ./base/lib_pad.c */ 1319 1320#undef newpad 1321WINDOW *newpad( 1322 int l, 1323 int c) 1324 { return(*(WINDOW **)0); } 1325 1326#undef subpad 1327WINDOW *subpad( 1328 WINDOW *orig, 1329 int l, 1330 int c, 1331 int begy, 1332 int begx) 1333 { return(*(WINDOW **)0); } 1334 1335#undef prefresh 1336int prefresh( 1337 WINDOW *win, 1338 int pminrow, 1339 int pmincol, 1340 int sminrow, 1341 int smincol, 1342 int smaxrow, 1343 int smaxcol) 1344 { return(*(int *)0); } 1345 1346#undef pnoutrefresh 1347int pnoutrefresh( 1348 WINDOW *win, 1349 int pminrow, 1350 int pmincol, 1351 int sminrow, 1352 int smincol, 1353 int smaxrow, 1354 int smaxcol) 1355 { return(*(int *)0); } 1356 1357#undef pechochar 1358int pechochar( 1359 WINDOW *pad, 1360 const chtype ch) 1361 { return(*(int *)0); } 1362 1363/* ./base/lib_printw.c */ 1364 1365#undef printw 1366int printw( 1367 char *fmt, 1368 ...) 1369 { return(*(int *)0); } 1370 1371#undef wprintw 1372int wprintw( 1373 WINDOW *win, 1374 char *fmt, 1375 ...) 1376 { return(*(int *)0); } 1377 1378#undef mvprintw 1379int mvprintw( 1380 int y, 1381 int x, 1382 char *fmt, 1383 ...) 1384 { return(*(int *)0); } 1385 1386#undef mvwprintw 1387int mvwprintw( 1388 WINDOW *win, 1389 int y, 1390 int x, 1391 char *fmt, 1392 ...) 1393 { return(*(int *)0); } 1394 1395#undef vwprintw 1396int vwprintw( 1397 WINDOW *win, 1398 char *fmt, 1399 va_list argp) 1400 { return(*(int *)0); } 1401 1402/* ./base/lib_redrawln.c */ 1403 1404#undef wredrawln 1405int wredrawln( 1406 WINDOW *win, 1407 int beg, 1408 int num) 1409 { return(*(int *)0); } 1410 1411/* ./base/lib_refresh.c */ 1412 1413#undef wrefresh 1414int wrefresh( 1415 WINDOW *win) 1416 { return(*(int *)0); } 1417 1418#undef wnoutrefresh 1419int wnoutrefresh( 1420 WINDOW *win) 1421 { return(*(int *)0); } 1422 1423/* ./base/lib_restart.c */ 1424 1425#undef restartterm 1426int restartterm( 1427 char *termp, 1428 int filenum, 1429 int *errret) 1430 { return(*(int *)0); } 1431 1432/* ./base/lib_scanw.c */ 1433 1434#undef vwscanw 1435int vwscanw( 1436 WINDOW *win, 1437 char *fmt, 1438 va_list argp) 1439 { return(*(int *)0); } 1440 1441#undef scanw 1442int scanw( 1443 char *fmt, 1444 ...) 1445 { return(*(int *)0); } 1446 1447#undef wscanw 1448int wscanw( 1449 WINDOW *win, 1450 char *fmt, 1451 ...) 1452 { return(*(int *)0); } 1453 1454#undef mvscanw 1455int mvscanw( 1456 int y, 1457 int x, 1458 char *fmt, 1459 ...) 1460 { return(*(int *)0); } 1461 1462#undef mvwscanw 1463int mvwscanw( 1464 WINDOW *win, 1465 int y, 1466 int x, 1467 char *fmt, 1468 ...) 1469 { return(*(int *)0); } 1470 1471/* ./base/lib_screen.c */ 1472 1473#include <sys/stat.h> 1474#include <time.h> 1475 1476#undef getwin 1477WINDOW *getwin( 1478 FILE *filep) 1479 { return(*(WINDOW **)0); } 1480 1481#undef putwin 1482int putwin( 1483 WINDOW *win, 1484 FILE *filep) 1485 { return(*(int *)0); } 1486 1487#undef scr_restore 1488int scr_restore( 1489 const char *file) 1490 { return(*(int *)0); } 1491 1492#undef scr_dump 1493int scr_dump( 1494 const char *file) 1495 { return(*(int *)0); } 1496 1497#undef scr_init 1498int scr_init( 1499 const char *file) 1500 { return(*(int *)0); } 1501 1502#undef scr_set 1503int scr_set( 1504 const char *file) 1505 { return(*(int *)0); } 1506 1507/* ./base/lib_scroll.c */ 1508 1509#undef _nc_scroll_window 1510void _nc_scroll_window( 1511 WINDOW *win, 1512 int const n, 1513 short const top, 1514 short const bottom, 1515 chtype blank) 1516 { /* void */ } 1517 1518#undef wscrl 1519int wscrl( 1520 WINDOW *win, 1521 int n) 1522 { return(*(int *)0); } 1523 1524/* ./base/lib_scrollok.c */ 1525 1526#undef scrollok 1527int scrollok( 1528 WINDOW *win, 1529 bool flag) 1530 { return(*(int *)0); } 1531 1532/* ./base/lib_scrreg.c */ 1533 1534#undef wsetscrreg 1535int wsetscrreg( 1536 WINDOW *win, 1537 int top, 1538 int bottom) 1539 { return(*(int *)0); } 1540 1541/* ./base/lib_set_term.c */ 1542 1543#undef set_term 1544SCREEN *set_term( 1545 SCREEN *screenp) 1546 { return(*(SCREEN **)0); } 1547 1548#undef delscreen 1549void delscreen( 1550 SCREEN *sp) 1551 { /* void */ } 1552 1553#undef _nc_setupscreen 1554int _nc_setupscreen( 1555 short slines, 1556 short const scolumns, 1557 FILE *output) 1558 { return(*(int *)0); } 1559 1560#undef _nc_ripoffline 1561int _nc_ripoffline( 1562 int line, 1563 int (*init)( 1564 WINDOW *p1, 1565 int p2)) 1566 { return(*(int *)0); } 1567 1568#undef ripoffline 1569int ripoffline( 1570 int line, 1571 int (*init)( 1572 WINDOW *p1, 1573 int p2)) 1574 { return(*(int *)0); } 1575 1576/* ./base/lib_slk.c */ 1577 1578#undef _nc_slk_format 1579int _nc_slk_format; 1580 1581#undef _nc_slk_initialize 1582int _nc_slk_initialize( 1583 WINDOW *stwin, 1584 int cols) 1585 { return(*(int *)0); } 1586 1587#undef slk_restore 1588int slk_restore(void) 1589 { return(*(int *)0); } 1590 1591/* ./base/lib_slkatr_set.c */ 1592 1593#undef slk_attr_set 1594int slk_attr_set( 1595 const attr_t attr, 1596 short color_pair_number, 1597 void *opts) 1598 { return(*(int *)0); } 1599 1600/* ./base/lib_slkatrof.c */ 1601 1602#undef slk_attroff 1603int slk_attroff( 1604 const chtype attr) 1605 { return(*(int *)0); } 1606 1607/* ./base/lib_slkatron.c */ 1608 1609#undef slk_attron 1610int slk_attron( 1611 const chtype attr) 1612 { return(*(int *)0); } 1613 1614/* ./base/lib_slkatrset.c */ 1615 1616#undef slk_attrset 1617int slk_attrset( 1618 const chtype attr) 1619 { return(*(int *)0); } 1620 1621/* ./base/lib_slkattr.c */ 1622 1623#undef slk_attr 1624attr_t slk_attr(void) 1625 { return(*(attr_t *)0); } 1626 1627/* ./base/lib_slkclear.c */ 1628 1629#undef slk_clear 1630int slk_clear(void) 1631 { return(*(int *)0); } 1632 1633/* ./base/lib_slkcolor.c */ 1634 1635#undef slk_color 1636int slk_color( 1637 short color_pair_number) 1638 { return(*(int *)0); } 1639 1640/* ./base/lib_slkinit.c */ 1641 1642#undef slk_init 1643int slk_init( 1644 int format) 1645 { return(*(int *)0); } 1646 1647/* ./base/lib_slklab.c */ 1648 1649#undef slk_label 1650char *slk_label( 1651 int n) 1652 { return(*(char **)0); } 1653 1654/* ./base/lib_slkrefr.c */ 1655 1656#undef slk_noutrefresh 1657int slk_noutrefresh(void) 1658 { return(*(int *)0); } 1659 1660#undef slk_refresh 1661int slk_refresh(void) 1662 { return(*(int *)0); } 1663 1664/* ./base/lib_slkset.c */ 1665 1666#undef slk_set 1667int slk_set( 1668 int i, 1669 const char *astr, 1670 int format) 1671 { return(*(int *)0); } 1672 1673/* ./base/lib_slktouch.c */ 1674 1675#undef slk_touch 1676int slk_touch(void) 1677 { return(*(int *)0); } 1678 1679/* ./base/lib_touch.c */ 1680 1681#undef is_linetouched 1682bool is_linetouched( 1683 WINDOW *win, 1684 int line) 1685 { return(*(bool *)0); } 1686 1687#undef is_wintouched 1688bool is_wintouched( 1689 WINDOW *win) 1690 { return(*(bool *)0); } 1691 1692#undef wtouchln 1693int wtouchln( 1694 WINDOW *win, 1695 int y, 1696 int n, 1697 int changed) 1698 { return(*(int *)0); } 1699 1700/* ./trace/lib_traceatr.c */ 1701 1702#undef _traceattr2 1703char *_traceattr2( 1704 int bufnum, 1705 attr_t newmode) 1706 { return(*(char **)0); } 1707 1708#undef _traceattr 1709char *_traceattr( 1710 attr_t newmode) 1711 { return(*(char **)0); } 1712 1713#undef _nc_retrace_attr_t 1714attr_t _nc_retrace_attr_t( 1715 attr_t code) 1716 { return(*(attr_t *)0); } 1717 1718#undef _tracechtype2 1719char *_tracechtype2( 1720 int bufnum, 1721 chtype ch) 1722 { return(*(char **)0); } 1723 1724#undef _tracechtype 1725char *_tracechtype( 1726 chtype ch) 1727 { return(*(char **)0); } 1728 1729#undef _nc_retrace_chtype 1730attr_t _nc_retrace_chtype( 1731 attr_t code) 1732 { return(*(attr_t *)0); } 1733 1734/* ./trace/lib_tracedmp.c */ 1735 1736#undef _tracedump 1737void _tracedump( 1738 const char *name, 1739 WINDOW *win) 1740 { /* void */ } 1741 1742/* ./trace/lib_tracemse.c */ 1743 1744#undef _tracemouse 1745char *_tracemouse( 1746 MEVENT const *ep) 1747 { return(*(char **)0); } 1748 1749/* ./tty/lib_tstp.c */ 1750 1751#include <signal.h> 1752#include <SigAction.h> 1753 1754#undef _nc_signal_handler 1755void _nc_signal_handler( 1756 bool enable) 1757 { /* void */ } 1758 1759/* ./base/lib_ungetch.c */ 1760 1761#undef _nc_fifo_dump 1762void _nc_fifo_dump(void) 1763 { /* void */ } 1764 1765#undef ungetch 1766int ungetch( 1767 int ch) 1768 { return(*(int *)0); } 1769 1770/* ./tty/lib_vidattr.c */ 1771 1772#undef vidputs 1773int vidputs( 1774 attr_t newmode, 1775 int (*outc)( 1776 int p1)) 1777 { return(*(int *)0); } 1778 1779#undef vidattr 1780int vidattr( 1781 attr_t newmode) 1782 { return(*(int *)0); } 1783 1784#undef termattrs 1785chtype termattrs(void) 1786 { return(*(chtype *)0); } 1787 1788/* ./base/lib_vline.c */ 1789 1790#undef wvline 1791int wvline( 1792 WINDOW *win, 1793 chtype ch, 1794 int n) 1795 { return(*(int *)0); } 1796 1797/* ./base/lib_wattroff.c */ 1798 1799#undef wattr_off 1800int wattr_off( 1801 WINDOW *win, 1802 attr_t at, 1803 void *opts) 1804 { return(*(int *)0); } 1805 1806/* ./base/lib_wattron.c */ 1807 1808#undef wattr_on 1809int wattr_on( 1810 WINDOW *win, 1811 attr_t at, 1812 void *opts) 1813 { return(*(int *)0); } 1814 1815/* ./base/lib_winch.c */ 1816 1817#undef winch 1818chtype winch( 1819 WINDOW *win) 1820 { return(*(chtype *)0); } 1821 1822/* ./base/lib_window.c */ 1823 1824#undef _nc_synchook 1825void _nc_synchook( 1826 WINDOW *win) 1827 { /* void */ } 1828 1829#undef mvderwin 1830int mvderwin( 1831 WINDOW *win, 1832 int y, 1833 int x) 1834 { return(*(int *)0); } 1835 1836#undef syncok 1837int syncok( 1838 WINDOW *win, 1839 bool bf) 1840 { return(*(int *)0); } 1841 1842#undef wsyncup 1843void wsyncup( 1844 WINDOW *win) 1845 { /* void */ } 1846 1847#undef wsyncdown 1848void wsyncdown( 1849 WINDOW *win) 1850 { /* void */ } 1851 1852#undef wcursyncup 1853void wcursyncup( 1854 WINDOW *win) 1855 { /* void */ } 1856 1857#undef dupwin 1858WINDOW *dupwin( 1859 WINDOW *win) 1860 { return(*(WINDOW **)0); } 1861 1862/* ./base/nc_panel.c */ 1863 1864#undef _nc_panelhook 1865struct panelhook *_nc_panelhook(void) 1866 { return(*(struct panelhook **)0); } 1867 1868/* ./base/safe_sprintf.c */ 1869 1870#undef _nc_printf_string 1871char *_nc_printf_string( 1872 const char *fmt, 1873 va_list ap) 1874 { return(*(char **)0); } 1875 1876/* ./tty/tty_update.c */ 1877 1878#include <sys/time.h> 1879#include <sys/times.h> 1880 1881#undef doupdate 1882int doupdate(void) 1883 { return(*(int *)0); } 1884 1885#undef _nc_outstr 1886void _nc_outstr( 1887 const char *str) 1888 { /* void */ } 1889 1890#undef _nc_scrolln 1891int _nc_scrolln( 1892 int n, 1893 int top, 1894 int bot, 1895 int maxy) 1896 { return(*(int *)0); } 1897 1898#undef _nc_screen_resume 1899void _nc_screen_resume(void) 1900 { /* void */ } 1901 1902#undef _nc_screen_init 1903void _nc_screen_init(void) 1904 { /* void */ } 1905 1906#undef _nc_screen_wrap 1907void _nc_screen_wrap(void) 1908 { /* void */ } 1909 1910#undef _nc_do_xmc_glitch 1911void _nc_do_xmc_glitch( 1912 attr_t previous) 1913 { /* void */ } 1914 1915/* ./base/memmove.c */ 1916 1917#undef _nc_memmove 1918void _nc_memmove(void) 1919 { /* void */ } 1920 1921/* ./base/sigaction.c */ 1922 1923#undef _nc_sigaction 1924void _nc_sigaction(void) 1925 { /* void */ } 1926 1927/* ./base/vsscanf.c */ 1928 1929#undef _nc_vsscanf 1930void _nc_vsscanf(void) 1931 { /* void */ } 1932 1933/* ./base/define_key.c */ 1934 1935#undef define_key 1936int define_key( 1937 char *str, 1938 int keycode) 1939 { return(*(int *)0); } 1940 1941/* ./expanded.c */ 1942 1943#undef _nc_toggle_attr_on 1944void _nc_toggle_attr_on( 1945 attr_t *S, 1946 attr_t at) 1947 { /* void */ } 1948 1949#undef _nc_toggle_attr_off 1950void _nc_toggle_attr_off( 1951 attr_t *S, 1952 attr_t at) 1953 { /* void */ } 1954 1955#undef _nc_DelCharCost 1956int _nc_DelCharCost( 1957 int count) 1958 { return(*(int *)0); } 1959 1960#undef _nc_InsCharCost 1961int _nc_InsCharCost( 1962 int count) 1963 { return(*(int *)0); } 1964 1965#undef _nc_UpdateAttrs 1966void _nc_UpdateAttrs( 1967 chtype c) 1968 { /* void */ } 1969 1970/* ./base/keybound.c */ 1971 1972#undef keybound 1973char *keybound( 1974 int code, 1975 int count) 1976 { return(*(char **)0); } 1977 1978/* ./base/keyok.c */ 1979 1980#undef keyok 1981int keyok( 1982 int c, 1983 bool flag) 1984 { return(*(int *)0); } 1985 1986/* ./base/lib_dft_fgbg.c */ 1987 1988#undef use_default_colors 1989int use_default_colors(void) 1990 { return(*(int *)0); } 1991 1992#undef assume_default_colors 1993int assume_default_colors( 1994 int fg, 1995 int bg) 1996 { return(*(int *)0); } 1997 1998/* ./base/lib_freeall.c */ 1999 2000#include <term_entry.h> 2001 2002#undef _nc_freeall 2003void _nc_freeall(void) 2004 { /* void */ } 2005 2006/* ./tinfo/lib_print.c */ 2007 2008#undef mcprint 2009int mcprint( 2010 char *data, 2011 int len) 2012 { return(*(int *)0); } 2013 2014/* ./base/resizeterm.c */ 2015 2016#undef resizeterm 2017int resizeterm( 2018 int ToLines, 2019 int ToCols) 2020 { return(*(int *)0); } 2021 2022/* ./trace/trace_xnames.c */ 2023 2024#undef _nc_trace_xnames 2025void _nc_trace_xnames( 2026 TERMTYPE *tp) 2027 { /* void */ } 2028 2029/* ./base/tries.c */ 2030 2031#undef _nc_expand_try 2032char *_nc_expand_try( 2033 struct tries *tree, 2034 unsigned short code, 2035 int *count, 2036 size_t len) 2037 { return(*(char **)0); } 2038 2039#undef _nc_remove_key 2040int _nc_remove_key( 2041 struct tries **tree, 2042 unsigned short code) 2043 { return(*(int *)0); } 2044 2045#undef _nc_remove_string 2046int _nc_remove_string( 2047 struct tries **tree, 2048 char *string) 2049 { return(*(int *)0); } 2050 2051/* ./base/version.c */ 2052 2053#undef curses_version 2054const char *curses_version(void) 2055 { return(*(const char **)0); } 2056 2057/* ./base/wresize.c */ 2058 2059#undef wresize 2060int wresize( 2061 WINDOW *win, 2062 int ToLines, 2063 int ToCols) 2064 { return(*(int *)0); } 2065 2066/* ./tinfo/access.c */ 2067 2068#undef _nc_basename 2069char *_nc_basename( 2070 char *path) 2071 { return(*(char **)0); } 2072 2073#undef _nc_access 2074int _nc_access( 2075 const char *path, 2076 int mode) 2077 { return(*(int *)0); } 2078 2079#undef _nc_env_access 2080int _nc_env_access(void) 2081 { return(*(int *)0); } 2082 2083/* ./tinfo/add_tries.c */ 2084 2085#undef _nc_add_to_try 2086void _nc_add_to_try( 2087 struct tries **tree, 2088 const char *str, 2089 unsigned short code) 2090 { /* void */ } 2091 2092/* ./tinfo/alloc_entry.c */ 2093 2094#undef _nc_init_entry 2095void _nc_init_entry( 2096 TERMTYPE *const tp) 2097 { /* void */ } 2098 2099#undef _nc_copy_entry 2100ENTRY *_nc_copy_entry( 2101 ENTRY *oldp) 2102 { return(*(ENTRY **)0); } 2103 2104#undef _nc_save_str 2105char *_nc_save_str( 2106 const char *const string) 2107 { return(*(char **)0); } 2108 2109#undef _nc_wrap_entry 2110void _nc_wrap_entry( 2111 ENTRY *const ep, 2112 bool copy_strings) 2113 { /* void */ } 2114 2115#undef _nc_merge_entry 2116void _nc_merge_entry( 2117 TERMTYPE *const to, 2118 TERMTYPE *const from) 2119 { /* void */ } 2120 2121/* ./tinfo/alloc_ttype.c */ 2122 2123#undef _nc_align_termtype 2124void _nc_align_termtype( 2125 TERMTYPE *to, 2126 TERMTYPE *from) 2127 { /* void */ } 2128 2129#undef _nc_copy_termtype 2130void _nc_copy_termtype( 2131 TERMTYPE *dst, 2132 TERMTYPE *src) 2133 { /* void */ } 2134 2135/* ./tinfo/captoinfo.c */ 2136 2137#undef _nc_captoinfo 2138char *_nc_captoinfo( 2139 const char *cap, 2140 const char *s, 2141 int const parametrized) 2142 { return(*(char **)0); } 2143 2144#undef _nc_infotocap 2145char *_nc_infotocap( 2146 const char *cap, 2147 const char *str, 2148 int const parametrized) 2149 { return(*(char **)0); } 2150 2151/* ./codes.c */ 2152 2153#undef boolcodes 2154char *const boolcodes[] = {0}; 2155#undef numcodes 2156char *const numcodes[] = {0}; 2157#undef strcodes 2158char *const strcodes[] = {0}; 2159 2160/* ./comp_captab.c */ 2161 2162#include <ncurses_cfg.h> 2163 2164#undef _nc_info_hash_table 2165const struct name_table_entry *const _nc_info_hash_table[995] = {0}; 2166#undef _nc_cap_hash_table 2167const struct name_table_entry *const _nc_cap_hash_table[995] = {0}; 2168#undef _nc_capalias_table 2169const struct alias _nc_capalias_table[] = {0}; 2170#undef _nc_infoalias_table 2171const struct alias _nc_infoalias_table[] = {0}; 2172 2173#undef _nc_get_table 2174const struct name_table_entry *_nc_get_table( 2175 bool termcap) 2176 { return(*(const struct name_table_entry **)0); } 2177 2178#undef _nc_get_hash_table 2179const struct name_table_entry *const *_nc_get_hash_table( 2180 bool termcap) 2181 { return(*(const struct name_table_entry **)0); } 2182 2183/* ./tinfo/comp_error.c */ 2184 2185#undef _nc_suppress_warnings 2186bool _nc_suppress_warnings; 2187#undef _nc_curr_line 2188int _nc_curr_line; 2189#undef _nc_curr_col 2190int _nc_curr_col; 2191 2192#undef _nc_set_source 2193void _nc_set_source( 2194 const char *const name) 2195 { /* void */ } 2196 2197#undef _nc_set_type 2198void _nc_set_type( 2199 const char *const name) 2200 { /* void */ } 2201 2202#undef _nc_get_type 2203void _nc_get_type( 2204 char *name) 2205 { /* void */ } 2206 2207#undef _nc_warning 2208void _nc_warning( 2209 const char *const fmt, 2210 ...) 2211 { /* void */ } 2212 2213#undef _nc_err_abort 2214void _nc_err_abort( 2215 const char *const fmt, 2216 ...) 2217 { /* void */ } 2218 2219#undef _nc_syserr_abort 2220void _nc_syserr_abort( 2221 const char *const fmt, 2222 ...) 2223 { /* void */ } 2224 2225/* ./tinfo/comp_expand.c */ 2226 2227#undef _nc_tic_expand 2228char *_nc_tic_expand( 2229 const char *srcp, 2230 bool tic_format, 2231 int numbers) 2232 { return(*(char **)0); } 2233 2234/* ./tinfo/comp_hash.c */ 2235 2236#include <hashsize.h> 2237 2238#undef _nc_find_entry 2239struct name_table_entry const *_nc_find_entry( 2240 const char *string, 2241 const struct name_table_entry *const *hash_table) 2242 { return(*(struct name_table_entry const **)0); } 2243 2244#undef _nc_find_type_entry 2245struct name_table_entry const *_nc_find_type_entry( 2246 const char *string, 2247 int type, 2248 const struct name_table_entry *table) 2249 { return(*(struct name_table_entry const **)0); } 2250 2251/* ./tinfo/comp_parse.c */ 2252 2253#undef _nc_check_termtype 2254void (*_nc_check_termtype)( 2255 TERMTYPE *p1); 2256#undef _nc_head 2257ENTRY *_nc_head; 2258#undef _nc_tail 2259ENTRY *_nc_tail; 2260 2261#undef _nc_free_entries 2262void _nc_free_entries( 2263 ENTRY *headp) 2264 { /* void */ } 2265 2266#undef _nc_entry_match 2267bool _nc_entry_match( 2268 char *n1, 2269 char *n2) 2270 { return(*(bool *)0); } 2271 2272#undef _nc_read_entry_source 2273void _nc_read_entry_source( 2274 FILE *fp, 2275 char *buf, 2276 int literal, 2277 bool silent, 2278 bool (*hook)( 2279 ENTRY *p1)) 2280 { /* void */ } 2281 2282#undef _nc_resolve_uses 2283int _nc_resolve_uses( 2284 bool fullresolve) 2285 { return(*(int *)0); } 2286 2287/* ./tinfo/comp_scan.c */ 2288 2289#undef _nc_syntax 2290int _nc_syntax; 2291#undef _nc_curr_file_pos 2292long _nc_curr_file_pos; 2293#undef _nc_comment_start 2294long _nc_comment_start; 2295#undef _nc_comment_end 2296long _nc_comment_end; 2297#undef _nc_start_line 2298long _nc_start_line; 2299#undef _nc_curr_token 2300struct token _nc_curr_token; 2301#undef _nc_disable_period 2302bool _nc_disable_period; 2303 2304#undef _nc_get_token 2305int _nc_get_token( 2306 bool silent) 2307 { return(*(int *)0); } 2308 2309#undef _nc_trans_string 2310char _nc_trans_string( 2311 char *ptr, 2312 char *last) 2313 { return(*(char *)0); } 2314 2315#undef _nc_push_token 2316void _nc_push_token( 2317 int tokclass) 2318 { /* void */ } 2319 2320#undef _nc_panic_mode 2321void _nc_panic_mode( 2322 char ch) 2323 { /* void */ } 2324 2325#undef _nc_reset_input 2326void _nc_reset_input( 2327 FILE *fp, 2328 char *buf) 2329 { /* void */ } 2330 2331/* ./tinfo/doalloc.c */ 2332 2333#undef _nc_doalloc 2334void *_nc_doalloc( 2335 void *oldp, 2336 size_t amount) 2337 { return(*(void **)0); } 2338 2339/* ./fallback.c */ 2340 2341#undef _nc_fallback 2342const TERMTYPE *_nc_fallback( 2343 const char *name) 2344 { return(*(const TERMTYPE **)0); } 2345 2346/* ./tinfo/free_ttype.c */ 2347 2348#undef _nc_free_termtype 2349void _nc_free_termtype( 2350 TERMTYPE *ptr) 2351 { /* void */ } 2352 2353#undef _nc_user_definable 2354bool _nc_user_definable; 2355 2356#undef use_extended_names 2357int use_extended_names( 2358 bool flag) 2359 { return(*(int *)0); } 2360 2361/* ./tinfo/getenv_num.c */ 2362 2363#undef _nc_getenv_num 2364int _nc_getenv_num( 2365 const char *name) 2366 { return(*(int *)0); } 2367 2368/* ./tinfo/home_terminfo.c */ 2369 2370#undef _nc_home_terminfo 2371char *_nc_home_terminfo(void) 2372 { return(*(char **)0); } 2373 2374/* ./tinfo/init_keytry.c */ 2375 2376#if 0 2377 2378#include <init_keytry.h> 2379 2380#undef _nc_tinfo_fkeys 2381struct tinfo_fkeys _nc_tinfo_fkeys[]; 2382 2383#endif 2384 2385#undef _nc_init_keytry 2386void _nc_init_keytry(void) 2387 { /* void */ } 2388 2389/* ./tinfo/lib_acs.c */ 2390 2391#undef acs_map 2392chtype acs_map[128 ]; 2393 2394#undef _nc_init_acs 2395void _nc_init_acs(void) 2396 { /* void */ } 2397 2398/* ./tinfo/lib_baudrate.c */ 2399 2400#include <termcap.h> 2401 2402struct speed { 2403 int s; 2404 int sp; 2405}; 2406 2407#undef _nc_baudrate 2408int _nc_baudrate( 2409 int OSpeed) 2410 { return(*(int *)0); } 2411 2412#undef _nc_ospeed 2413int _nc_ospeed( 2414 int BaudRate) 2415 { return(*(int *)0); } 2416 2417#undef baudrate 2418int baudrate(void) 2419 { return(*(int *)0); } 2420 2421/* ./tinfo/lib_cur_term.c */ 2422 2423#undef cur_term 2424TERMINAL *cur_term; 2425 2426#undef set_curterm 2427TERMINAL *set_curterm( 2428 TERMINAL *termp) 2429 { return(*(TERMINAL **)0); } 2430 2431#undef del_curterm 2432int del_curterm( 2433 TERMINAL *termp) 2434 { return(*(int *)0); } 2435 2436/* ./tinfo/lib_data.c */ 2437 2438#undef stdscr 2439WINDOW *stdscr; 2440#undef curscr 2441WINDOW *curscr; 2442#undef newscr 2443WINDOW *newscr; 2444#undef _nc_screen_chain 2445SCREEN *_nc_screen_chain; 2446#undef SP 2447SCREEN *SP; 2448 2449/* ./tinfo/lib_has_cap.c */ 2450 2451#undef has_ic 2452bool has_ic(void) 2453 { return(*(bool *)0); } 2454 2455#undef has_il 2456bool has_il(void) 2457 { return(*(bool *)0); } 2458 2459/* ./tinfo/lib_kernel.c */ 2460 2461#undef erasechar 2462char erasechar(void) 2463 { return(*(char *)0); } 2464 2465#undef killchar 2466char killchar(void) 2467 { return(*(char *)0); } 2468 2469#undef flushinp 2470int flushinp(void) 2471 { return(*(int *)0); } 2472 2473/* ./lib_keyname.c */ 2474 2475#include <stdlib.h> 2476#include <string.h> 2477#include <curses.h> 2478 2479#undef _nc_key_names 2480const struct kn _nc_key_names[] = {0}; 2481 2482#undef keyname 2483char *keyname( 2484 int c) 2485 { return(*(char **)0); } 2486 2487/* ./tinfo/lib_longname.c */ 2488 2489#undef longname 2490char *longname(void) 2491 { return(*(char **)0); } 2492 2493/* ./tinfo/lib_napms.c */ 2494 2495#undef napms 2496int napms( 2497 int ms) 2498 { return(*(int *)0); } 2499 2500/* ./tinfo/lib_options.c */ 2501 2502#undef idlok 2503int idlok( 2504 WINDOW *win, 2505 bool flag) 2506 { return(*(int *)0); } 2507 2508#undef idcok 2509void idcok( 2510 WINDOW *win, 2511 bool flag) 2512 { /* void */ } 2513 2514#undef halfdelay 2515int halfdelay( 2516 int t) 2517 { return(*(int *)0); } 2518 2519#undef nodelay 2520int nodelay( 2521 WINDOW *win, 2522 bool flag) 2523 { return(*(int *)0); } 2524 2525#undef notimeout 2526int notimeout( 2527 WINDOW *win, 2528 bool f) 2529 { return(*(int *)0); } 2530 2531#undef wtimeout 2532void wtimeout( 2533 WINDOW *win, 2534 int delay) 2535 { /* void */ } 2536 2537#undef keypad 2538int keypad( 2539 WINDOW *win, 2540 bool flag) 2541 { return(*(int *)0); } 2542 2543#undef meta 2544int meta( 2545 WINDOW *win, 2546 bool flag) 2547 { return(*(int *)0); } 2548 2549#undef curs_set 2550int curs_set( 2551 int vis) 2552 { return(*(int *)0); } 2553 2554#undef typeahead 2555int typeahead( 2556 int fd) 2557 { return(*(int *)0); } 2558 2559#undef has_key 2560int has_key( 2561 int keycode) 2562 { return(*(int *)0); } 2563 2564#undef _nc_keypad 2565int _nc_keypad( 2566 bool flag) 2567 { return(*(int *)0); } 2568 2569/* ./tinfo/lib_raw.c */ 2570 2571#undef raw 2572int raw(void) 2573 { return(*(int *)0); } 2574 2575#undef cbreak 2576int cbreak(void) 2577 { return(*(int *)0); } 2578 2579#undef qiflush 2580void qiflush(void) 2581 { /* void */ } 2582 2583#undef noraw 2584int noraw(void) 2585 { return(*(int *)0); } 2586 2587#undef nocbreak 2588int nocbreak(void) 2589 { return(*(int *)0); } 2590 2591#undef noqiflush 2592void noqiflush(void) 2593 { /* void */ } 2594 2595#undef intrflush 2596int intrflush( 2597 WINDOW *win, 2598 bool flag) 2599 { return(*(int *)0); } 2600 2601/* ./tinfo/lib_setup.c */ 2602 2603#include <sys/ioctl.h> 2604 2605#undef use_env 2606void use_env( 2607 bool f) 2608 { /* void */ } 2609 2610#undef LINES 2611int LINES; 2612#undef COLS 2613int COLS; 2614#undef TABSIZE 2615int TABSIZE; 2616 2617#undef _nc_update_screensize 2618void _nc_update_screensize(void) 2619 { /* void */ } 2620 2621#undef ttytype 2622char ttytype[256 ]; 2623 2624#undef setupterm 2625int setupterm( 2626 char *tname, 2627 int Filedes, 2628 int *errret) 2629 { return(*(int *)0); } 2630 2631/* ./tinfo/lib_termcap.c */ 2632 2633#undef UP 2634char *UP; 2635#undef BC 2636char *BC; 2637 2638#undef tgetent 2639int tgetent( 2640 char *bufp, 2641 const char *name) 2642 { return(*(int *)0); } 2643 2644#if 0 2645 2646#include <capdefaults.c> 2647 2648#endif 2649 2650#undef tgetflag 2651int tgetflag( 2652 char *id) 2653 { return(*(int *)0); } 2654 2655#undef tgetnum 2656int tgetnum( 2657 char *id) 2658 { return(*(int *)0); } 2659 2660#undef tgetstr 2661char *tgetstr( 2662 char *id, 2663 char **area) 2664 { return(*(char **)0); } 2665 2666/* ./tinfo/lib_termname.c */ 2667 2668#undef termname 2669char *termname(void) 2670 { return(*(char **)0); } 2671 2672/* ./tinfo/lib_tgoto.c */ 2673 2674#undef tgoto 2675char *tgoto( 2676 const char *string, 2677 int x, 2678 int y) 2679 { return(*(char **)0); } 2680 2681/* ./tinfo/lib_ti.c */ 2682 2683#undef tigetflag 2684int tigetflag( 2685 char *str) 2686 { return(*(int *)0); } 2687 2688#undef tigetnum 2689int tigetnum( 2690 char *str) 2691 { return(*(int *)0); } 2692 2693#undef tigetstr 2694char *tigetstr( 2695 char *str) 2696 { return(*(char **)0); } 2697 2698/* ./tinfo/lib_tparm.c */ 2699 2700typedef struct { 2701 union { 2702 unsigned int num; 2703 char *str; 2704 } data; 2705 bool num_type; 2706} stack_frame; 2707 2708#undef tparm 2709char *tparm( 2710 char *string, 2711 ...) 2712 { return(*(char **)0); } 2713 2714/* ./tinfo/lib_tputs.c */ 2715 2716#undef PC 2717char PC; 2718#undef ospeed 2719NCURSES_OSPEED ospeed; 2720#undef _nc_nulls_sent 2721int _nc_nulls_sent; 2722 2723#undef delay_output 2724int delay_output( 2725 int ms) 2726 { return(*(int *)0); } 2727 2728#undef _nc_flush 2729void _nc_flush(void) 2730 { /* void */ } 2731 2732#undef _nc_outch 2733int _nc_outch( 2734 int ch) 2735 { return(*(int *)0); } 2736 2737#undef putp 2738int putp( 2739 const char *string) 2740 { return(*(int *)0); } 2741 2742#undef tputs 2743int tputs( 2744 const char *string, 2745 int affcnt, 2746 int (*outc)( 2747 int p1)) 2748 { return(*(int *)0); } 2749 2750/* ./trace/lib_trace.c */ 2751 2752#undef _nc_tracing 2753unsigned _nc_tracing; 2754#undef _nc_tputs_trace 2755const char *_nc_tputs_trace = {0}; 2756#undef _nc_outchars 2757long _nc_outchars; 2758 2759#undef trace 2760void trace( 2761 const unsigned int tracelevel) 2762 { /* void */ } 2763 2764#undef _nc_visbuf2 2765const char *_nc_visbuf2( 2766 int bufnum, 2767 const char *buf) 2768 { return(*(const char **)0); } 2769 2770#undef _nc_visbuf 2771const char *_nc_visbuf( 2772 const char *buf) 2773 { return(*(const char **)0); } 2774 2775#undef _tracef 2776void _tracef( 2777 const char *fmt, 2778 ...) 2779 { /* void */ } 2780 2781#undef _nc_retrace_int 2782int _nc_retrace_int( 2783 int code) 2784 { return(*(int *)0); } 2785 2786#undef _nc_retrace_ptr 2787char *_nc_retrace_ptr( 2788 char *code) 2789 { return(*(char **)0); } 2790 2791#undef _nc_retrace_win 2792WINDOW *_nc_retrace_win( 2793 WINDOW *code) 2794 { return(*(WINDOW **)0); } 2795 2796/* ./trace/lib_tracebits.c */ 2797 2798typedef struct { 2799 unsigned int val; 2800 const char *name; 2801} BITNAMES; 2802 2803#undef _nc_tracebits 2804char *_nc_tracebits(void) 2805 { return(*(char **)0); } 2806 2807/* ./trace/lib_tracechr.c */ 2808 2809#undef _tracechar 2810char *_tracechar( 2811 const unsigned char ch) 2812 { return(*(char **)0); } 2813 2814/* ./tinfo/lib_ttyflags.c */ 2815 2816#undef _nc_get_tty_mode 2817int _nc_get_tty_mode( 2818 struct termios *buf) 2819 { return(*(int *)0); } 2820 2821#undef _nc_set_tty_mode 2822int _nc_set_tty_mode( 2823 struct termios *buf) 2824 { return(*(int *)0); } 2825 2826#undef def_shell_mode 2827int def_shell_mode(void) 2828 { return(*(int *)0); } 2829 2830#undef def_prog_mode 2831int def_prog_mode(void) 2832 { return(*(int *)0); } 2833 2834#undef reset_prog_mode 2835int reset_prog_mode(void) 2836 { return(*(int *)0); } 2837 2838#undef reset_shell_mode 2839int reset_shell_mode(void) 2840 { return(*(int *)0); } 2841 2842#undef savetty 2843int savetty(void) 2844 { return(*(int *)0); } 2845 2846#undef resetty 2847int resetty(void) 2848 { return(*(int *)0); } 2849 2850/* ./tty/lib_twait.c */ 2851 2852#undef _nc_timed_wait 2853int _nc_timed_wait( 2854 int mode, 2855 int milliseconds, 2856 int *timeleft) 2857 { return(*(int *)0); } 2858 2859/* ./tinfo/name_match.c */ 2860 2861#undef _nc_first_name 2862char *_nc_first_name( 2863 const char *const sp) 2864 { return(*(char **)0); } 2865 2866#undef _nc_name_match 2867int _nc_name_match( 2868 const char *const namelst, 2869 const char *const name, 2870 const char *const delim) 2871 { return(*(int *)0); } 2872 2873/* ./names.c */ 2874 2875#undef boolnames 2876char *const boolnames[] = {0}; 2877#undef boolfnames 2878char *const boolfnames[] = {0}; 2879#undef numnames 2880char *const numnames[] = {0}; 2881#undef numfnames 2882char *const numfnames[] = {0}; 2883#undef strnames 2884char *const strnames[] = {0}; 2885#undef strfnames 2886char *const strfnames[] = {0}; 2887 2888/* ./tinfo/parse_entry.c */ 2889 2890#undef _nc_parse_entry 2891int _nc_parse_entry( 2892 struct entry *entryp, 2893 int literal, 2894 bool silent) 2895 { return(*(int *)0); } 2896 2897#undef _nc_capcmp 2898int _nc_capcmp( 2899 const char *s, 2900 const char *t) 2901 { return(*(int *)0); } 2902 2903typedef struct { 2904 const char *from; 2905 const char *to; 2906} assoc; 2907 2908/* ./tinfo/read_entry.c */ 2909 2910#undef _nc_tic_dir 2911const char *_nc_tic_dir( 2912 const char *path) 2913 { return(*(const char **)0); } 2914 2915#undef _nc_keep_tic_dir 2916void _nc_keep_tic_dir( 2917 const char *path) 2918 { /* void */ } 2919 2920#undef _nc_read_file_entry 2921int _nc_read_file_entry( 2922 const char *const filename, 2923 TERMTYPE *ptr) 2924 { return(*(int *)0); } 2925 2926#undef _nc_read_entry 2927int _nc_read_entry( 2928 const char *const tn, 2929 char *const filename, 2930 TERMTYPE *const tp) 2931 { return(*(int *)0); } 2932 2933/* ./tinfo/read_termcap.c */ 2934 2935#undef _nc_read_termcap 2936void _nc_read_termcap(void) 2937 { /* void */ } 2938 2939#undef _nc_read_termcap_entry 2940int _nc_read_termcap_entry( 2941 const char *const tn, 2942 TERMTYPE *const tp) 2943 { return(*(int *)0); } 2944 2945/* ./tinfo/setbuf.c */ 2946 2947#undef _nc_set_buffer 2948void _nc_set_buffer( 2949 FILE *ofp, 2950 bool buffered) 2951 { /* void */ } 2952 2953/* ./tinfo/strings.c */ 2954 2955#undef _nc_str_init 2956string_desc *_nc_str_init( 2957 string_desc *dst, 2958 char *src, 2959 size_t len) 2960 { return(*(string_desc **)0); } 2961 2962#undef _nc_str_null 2963string_desc *_nc_str_null( 2964 string_desc *dst, 2965 size_t len) 2966 { return(*(string_desc **)0); } 2967 2968#undef _nc_str_copy 2969string_desc *_nc_str_copy( 2970 string_desc *dst, 2971 string_desc *src) 2972 { return(*(string_desc **)0); } 2973 2974#undef _nc_safe_strcat 2975bool _nc_safe_strcat( 2976 string_desc *dst, 2977 const char *src) 2978 { return(*(bool *)0); } 2979 2980#undef _nc_safe_strcpy 2981bool _nc_safe_strcpy( 2982 string_desc *dst, 2983 const char *src) 2984 { return(*(bool *)0); } 2985 2986/* ./trace/trace_buf.c */ 2987 2988typedef struct { 2989 char *text; 2990 size_t size; 2991} LIST; 2992 2993#undef _nc_trace_buf 2994char *_nc_trace_buf( 2995 int bufnum, 2996 size_t want) 2997 { return(*(char **)0); } 2998 2999/* ./trace/trace_tries.c */ 3000 3001#undef _nc_trace_tries 3002void _nc_trace_tries( 3003 struct tries *tree) 3004 { /* void */ } 3005 3006/* ./unctrl.c */ 3007 3008#undef unctrl 3009char *unctrl( 3010 chtype ch) 3011 { return(*(char **)0); } 3012 3013/* ./tinfo/write_entry.c */ 3014 3015#undef _nc_set_writedir 3016void _nc_set_writedir( 3017 char *dir) 3018 { /* void */ } 3019 3020#undef _nc_write_entry 3021void _nc_write_entry( 3022 TERMTYPE *const tp) 3023 { /* void */ } 3024 3025#undef _nc_tic_written 3026int _nc_tic_written(void) 3027 { return(*(int *)0); } 3028