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