1/**************************************************************************** 2 * Copyright (c) 2010-2015,2017 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 2010-on * 31 ****************************************************************************/ 32/* LINTLIBRARY */ 33 34/* ./f_trace.c */ 35 36#include <form.priv.h> 37 38#undef _nc_retrace_field_ptr 39FIELD **_nc_retrace_field_ptr( 40 FIELD **code) 41 { return(*(FIELD ***)0); } 42 43#undef _nc_retrace_field 44FIELD *_nc_retrace_field( 45 FIELD *code) 46 { return(*(FIELD **)0); } 47 48#undef _nc_retrace_field_type 49FIELDTYPE *_nc_retrace_field_type( 50 FIELDTYPE *code) 51 { return(*(FIELDTYPE **)0); } 52 53#undef _nc_retrace_form 54FORM *_nc_retrace_form( 55 FORM *code) 56 { return(*(FORM **)0); } 57 58#undef _nc_retrace_form_hook 59Form_Hook _nc_retrace_form_hook( 60 Form_Hook code) 61 { return(*(Form_Hook *)0); } 62 63/* ./fld_arg.c */ 64 65#undef set_fieldtype_arg 66int set_fieldtype_arg( 67 FIELDTYPE *typ, 68 void *(*const make_arg)( 69 va_list *p1), 70 void *(*const copy_arg)( 71 const void *p1), 72 void (*const free_arg)( 73 void *p1)) 74 { return(*(int *)0); } 75 76#undef field_arg 77void *field_arg( 78 const FIELD *field) 79 { return(*(void **)0); } 80 81/* ./fld_attr.c */ 82 83#undef set_field_fore 84int set_field_fore( 85 FIELD *field, 86 chtype attr) 87 { return(*(int *)0); } 88 89#undef field_fore 90chtype field_fore( 91 const FIELD *field) 92 { return(*(chtype *)0); } 93 94#undef set_field_back 95int set_field_back( 96 FIELD *field, 97 chtype attr) 98 { return(*(int *)0); } 99 100#undef field_back 101chtype field_back( 102 const FIELD *field) 103 { return(*(chtype *)0); } 104 105/* ./fld_current.c */ 106 107#undef set_current_field 108int set_current_field( 109 FORM *form, 110 FIELD *field) 111 { return(*(int *)0); } 112 113#undef unfocus_current_field 114int unfocus_current_field( 115 FORM *const form) 116 { return(*(int *)0); } 117 118#undef current_field 119FIELD *current_field( 120 const FORM *form) 121 { return(*(FIELD **)0); } 122 123#undef field_index 124int field_index( 125 const FIELD *field) 126 { return(*(int *)0); } 127 128/* ./fld_def.c */ 129 130#undef _nc_Default_Field 131FIELD *_nc_Default_Field; 132 133#undef _nc_Make_Argument 134TypeArgument *_nc_Make_Argument( 135 const FIELDTYPE *typ, 136 va_list *ap, 137 int *err) 138 { return(*(TypeArgument **)0); } 139 140#undef _nc_Copy_Argument 141TypeArgument *_nc_Copy_Argument( 142 const FIELDTYPE *typ, 143 const TypeArgument *argp, 144 int *err) 145 { return(*(TypeArgument **)0); } 146 147#undef _nc_Free_Argument 148void _nc_Free_Argument( 149 const FIELDTYPE *typ, 150 TypeArgument *argp) 151 { /* void */ } 152 153#undef _nc_Copy_Type 154NCURSES_BOOL _nc_Copy_Type( 155 FIELD *dst, 156 FIELD const *src) 157 { return(*(NCURSES_BOOL *)0); } 158 159#undef _nc_Free_Type 160void _nc_Free_Type( 161 FIELD *field) 162 { /* void */ } 163 164#undef new_field 165FIELD *new_field( 166 int rows, 167 int cols, 168 int frow, 169 int fcol, 170 int nrow, 171 int nbuf) 172 { return(*(FIELD **)0); } 173 174#undef free_field 175int free_field( 176 FIELD *field) 177 { return(*(int *)0); } 178 179/* ./fld_dup.c */ 180 181#undef dup_field 182FIELD *dup_field( 183 FIELD *field, 184 int frow, 185 int fcol) 186 { return(*(FIELD **)0); } 187 188/* ./fld_ftchoice.c */ 189 190#undef set_fieldtype_choice 191int set_fieldtype_choice( 192 FIELDTYPE *typ, 193 NCURSES_BOOL (*const next_choice)( 194 FIELD *p1, 195 const void *p2), 196 NCURSES_BOOL (*const prev_choice)( 197 FIELD *p1, 198 const void *p2)) 199 { return(*(int *)0); } 200 201/* ./fld_ftlink.c */ 202 203#undef link_fieldtype 204FIELDTYPE *link_fieldtype( 205 FIELDTYPE *type1, 206 FIELDTYPE *type2) 207 { return(*(FIELDTYPE **)0); } 208 209/* ./fld_info.c */ 210 211#undef field_info 212int field_info( 213 const FIELD *field, 214 int *rows, 215 int *cols, 216 int *frow, 217 int *fcol, 218 int *nrow, 219 int *nbuf) 220 { return(*(int *)0); } 221 222#undef dynamic_field_info 223int dynamic_field_info( 224 const FIELD *field, 225 int *drows, 226 int *dcols, 227 int *maxgrow) 228 { return(*(int *)0); } 229 230/* ./fld_just.c */ 231 232#undef set_field_just 233int set_field_just( 234 FIELD *field, 235 int just) 236 { return(*(int *)0); } 237 238#undef field_just 239int field_just( 240 const FIELD *field) 241 { return(*(int *)0); } 242 243/* ./fld_link.c */ 244 245#undef link_field 246FIELD *link_field( 247 FIELD *field, 248 int frow, 249 int fcol) 250 { return(*(FIELD **)0); } 251 252/* ./fld_max.c */ 253 254#undef set_max_field 255int set_max_field( 256 FIELD *field, 257 int maxgrow) 258 { return(*(int *)0); } 259 260/* ./fld_move.c */ 261 262#undef move_field 263int move_field( 264 FIELD *field, 265 int frow, 266 int fcol) 267 { return(*(int *)0); } 268 269/* ./fld_newftyp.c */ 270 271#undef _nc_Default_FieldType 272FIELDTYPE *_nc_Default_FieldType; 273 274#undef new_fieldtype 275FIELDTYPE *new_fieldtype( 276 NCURSES_BOOL (*const field_check)( 277 FIELD *p1, 278 const void *p2), 279 NCURSES_BOOL (*const char_check)( 280 int p1, 281 const void *p2)) 282 { return(*(FIELDTYPE **)0); } 283 284#undef free_fieldtype 285int free_fieldtype( 286 FIELDTYPE *typ) 287 { return(*(int *)0); } 288 289/* ./fld_opts.c */ 290 291#undef set_field_opts 292int set_field_opts( 293 FIELD *field, 294 Field_Options opts) 295 { return(*(int *)0); } 296 297#undef field_opts 298Field_Options field_opts( 299 const FIELD *field) 300 { return(*(Field_Options *)0); } 301 302#undef field_opts_on 303int field_opts_on( 304 FIELD *field, 305 Field_Options opts) 306 { return(*(int *)0); } 307 308#undef field_opts_off 309int field_opts_off( 310 FIELD *field, 311 Field_Options opts) 312 { return(*(int *)0); } 313 314/* ./fld_pad.c */ 315 316#undef set_field_pad 317int set_field_pad( 318 FIELD *field, 319 int ch) 320 { return(*(int *)0); } 321 322#undef field_pad 323int field_pad( 324 const FIELD *field) 325 { return(*(int *)0); } 326 327/* ./fld_page.c */ 328 329#undef set_new_page 330int set_new_page( 331 FIELD *field, 332 NCURSES_BOOL new_page_flag) 333 { return(*(int *)0); } 334 335#undef new_page 336NCURSES_BOOL new_page( 337 const FIELD *field) 338 { return(*(NCURSES_BOOL *)0); } 339 340/* ./fld_stat.c */ 341 342#undef set_field_status 343int set_field_status( 344 FIELD *field, 345 NCURSES_BOOL status) 346 { return(*(int *)0); } 347 348#undef field_status 349NCURSES_BOOL field_status( 350 const FIELD *field) 351 { return(*(NCURSES_BOOL *)0); } 352 353/* ./fld_type.c */ 354 355#undef set_field_type 356int set_field_type( 357 FIELD *field, 358 FIELDTYPE *type, 359 ...) 360 { return(*(int *)0); } 361 362#undef field_type 363FIELDTYPE *field_type( 364 const FIELD *field) 365 { return(*(FIELDTYPE **)0); } 366 367/* ./fld_user.c */ 368 369#undef set_field_userptr 370int set_field_userptr( 371 FIELD *field, 372 void *usrptr) 373 { return(*(int *)0); } 374 375#undef field_userptr 376void *field_userptr( 377 const FIELD *field) 378 { return(*(void **)0); } 379 380/* ./frm_cursor.c */ 381 382#undef pos_form_cursor 383int pos_form_cursor( 384 FORM *form) 385 { return(*(int *)0); } 386 387/* ./frm_data.c */ 388 389#undef data_behind 390NCURSES_BOOL data_behind( 391 const FORM *form) 392 { return(*(NCURSES_BOOL *)0); } 393 394#undef data_ahead 395NCURSES_BOOL data_ahead( 396 const FORM *form) 397 { return(*(NCURSES_BOOL *)0); } 398 399/* ./frm_def.c */ 400 401#undef _nc_Default_Form 402FORM *_nc_Default_Form; 403 404#undef new_form_sp 405FORM *new_form_sp( 406 SCREEN *sp, 407 FIELD **fields) 408 { return(*(FORM **)0); } 409 410#undef new_form 411FORM *new_form( 412 FIELD **fields) 413 { return(*(FORM **)0); } 414 415#undef free_form 416int free_form( 417 FORM *form) 418 { return(*(int *)0); } 419 420#undef set_form_fields 421int set_form_fields( 422 FORM *form, 423 FIELD **fields) 424 { return(*(int *)0); } 425 426#undef form_fields 427FIELD **form_fields( 428 const FORM *form) 429 { return(*(FIELD ***)0); } 430 431#undef field_count 432int field_count( 433 const FORM *form) 434 { return(*(int *)0); } 435 436/* ./frm_driver.c */ 437 438#undef _nc_get_fieldbuffer 439void _nc_get_fieldbuffer( 440 FORM *form, 441 FIELD *field, 442 char *buf) 443 { /* void */ } 444 445#undef _nc_Position_Form_Cursor 446int _nc_Position_Form_Cursor( 447 FORM *form) 448 { return(*(int *)0); } 449 450#undef _nc_Refresh_Current_Field 451int _nc_Refresh_Current_Field( 452 FORM *form) 453 { return(*(int *)0); } 454 455#undef _nc_Synchronize_Attributes 456int _nc_Synchronize_Attributes( 457 FIELD *field) 458 { return(*(int *)0); } 459 460#undef _nc_Synchronize_Options 461int _nc_Synchronize_Options( 462 FIELD *field, 463 Field_Options newopts) 464 { return(*(int *)0); } 465 466#undef _nc_Unset_Current_Field 467void _nc_Unset_Current_Field( 468 FORM *form) 469 { /* void */ } 470 471#undef _nc_Set_Current_Field 472int _nc_Set_Current_Field( 473 FORM *form, 474 FIELD *newfield) 475 { return(*(int *)0); } 476 477#undef _nc_Internal_Validation 478NCURSES_BOOL _nc_Internal_Validation( 479 FORM *form) 480 { return(*(NCURSES_BOOL *)0); } 481 482#undef _nc_First_Active_Field 483FIELD *_nc_First_Active_Field( 484 FORM *form) 485 { return(*(FIELD **)0); } 486 487#undef _nc_Set_Form_Page 488int _nc_Set_Form_Page( 489 FORM *form, 490 int page, 491 FIELD *field) 492 { return(*(int *)0); } 493 494typedef struct 495{ 496 int keycode; 497 int (*cmd) (FORM *); 498} 499Binding_Info; 500 501#undef form_driver 502int form_driver( 503 FORM *form, 504 int c) 505 { return(*(int *)0); } 506 507#undef set_field_buffer 508int set_field_buffer( 509 FIELD *field, 510 int buffer, 511 const char *value) 512 { return(*(int *)0); } 513 514#undef field_buffer 515char *field_buffer( 516 const FIELD *field, 517 int buffer) 518 { return(*(char **)0); } 519 520/* ./frm_hook.c */ 521 522#undef set_field_init 523int set_field_init( 524 FORM *form, 525 Form_Hook func) 526 { return(*(int *)0); } 527 528#undef field_init 529Form_Hook field_init( 530 const FORM *form) 531 { return(*(Form_Hook *)0); } 532 533#undef set_field_term 534int set_field_term( 535 FORM *form, 536 Form_Hook func) 537 { return(*(int *)0); } 538 539#undef field_term 540Form_Hook field_term( 541 const FORM *form) 542 { return(*(Form_Hook *)0); } 543 544#undef set_form_init 545int set_form_init( 546 FORM *form, 547 Form_Hook func) 548 { return(*(int *)0); } 549 550#undef form_init 551Form_Hook form_init( 552 const FORM *form) 553 { return(*(Form_Hook *)0); } 554 555#undef set_form_term 556int set_form_term( 557 FORM *form, 558 Form_Hook func) 559 { return(*(int *)0); } 560 561#undef form_term 562Form_Hook form_term( 563 const FORM *form) 564 { return(*(Form_Hook *)0); } 565 566/* ./frm_opts.c */ 567 568#undef set_form_opts 569int set_form_opts( 570 FORM *form, 571 Form_Options opts) 572 { return(*(int *)0); } 573 574#undef form_opts 575Form_Options form_opts( 576 const FORM *form) 577 { return(*(Form_Options *)0); } 578 579#undef form_opts_on 580int form_opts_on( 581 FORM *form, 582 Form_Options opts) 583 { return(*(int *)0); } 584 585#undef form_opts_off 586int form_opts_off( 587 FORM *form, 588 Form_Options opts) 589 { return(*(int *)0); } 590 591/* ./frm_page.c */ 592 593#undef set_form_page 594int set_form_page( 595 FORM *form, 596 int page) 597 { return(*(int *)0); } 598 599#undef form_page 600int form_page( 601 const FORM *form) 602 { return(*(int *)0); } 603 604/* ./frm_post.c */ 605 606#undef post_form 607int post_form( 608 FORM *form) 609 { return(*(int *)0); } 610 611#undef unpost_form 612int unpost_form( 613 FORM *form) 614 { return(*(int *)0); } 615 616/* ./frm_req_name.c */ 617 618#undef form_request_name 619const char *form_request_name( 620 int request) 621 { return(*(const char **)0); } 622 623#undef form_request_by_name 624int form_request_by_name( 625 const char *str) 626 { return(*(int *)0); } 627 628/* ./frm_scale.c */ 629 630#undef scale_form 631int scale_form( 632 const FORM *form, 633 int *rows, 634 int *cols) 635 { return(*(int *)0); } 636 637/* ./frm_sub.c */ 638 639#undef set_form_sub 640int set_form_sub( 641 FORM *form, 642 WINDOW *win) 643 { return(*(int *)0); } 644 645#undef form_sub 646WINDOW *form_sub( 647 const FORM *form) 648 { return(*(WINDOW **)0); } 649 650/* ./frm_user.c */ 651 652#undef set_form_userptr 653int set_form_userptr( 654 FORM *form, 655 void *usrptr) 656 { return(*(int *)0); } 657 658#undef form_userptr 659void *form_userptr( 660 const FORM *form) 661 { return(*(void **)0); } 662 663/* ./frm_win.c */ 664 665#undef set_form_win 666int set_form_win( 667 FORM *form, 668 WINDOW *win) 669 { return(*(int *)0); } 670 671#undef form_win 672WINDOW *form_win( 673 const FORM *form) 674 { return(*(WINDOW **)0); } 675 676/* ./fty_alnum.c */ 677 678typedef struct 679 { 680 int width; 681 } 682alnumARG; 683 684#undef TYPE_ALNUM 685FIELDTYPE *TYPE_ALNUM; 686 687#undef _nc_TYPE_ALNUM 688FIELDTYPE *_nc_TYPE_ALNUM(void) 689 { return(*(FIELDTYPE **)0); } 690 691/* ./fty_alpha.c */ 692 693typedef struct 694 { 695 int width; 696 } 697alphaARG; 698 699#undef TYPE_ALPHA 700FIELDTYPE *TYPE_ALPHA; 701 702#undef _nc_TYPE_ALPHA 703FIELDTYPE *_nc_TYPE_ALPHA(void) 704 { return(*(FIELDTYPE **)0); } 705 706/* ./fty_enum.c */ 707 708typedef struct 709 { 710 char **kwds; 711 int count; 712 NCURSES_BOOL checkcase; 713 NCURSES_BOOL checkunique; 714 } 715enumARG; 716 717typedef struct 718 { 719 char **kwds; 720 int ccase; 721 int cunique; 722 } 723enumParams; 724 725#undef TYPE_ENUM 726FIELDTYPE *TYPE_ENUM; 727 728#undef _nc_TYPE_ENUM 729FIELDTYPE *_nc_TYPE_ENUM(void) 730 { return(*(FIELDTYPE **)0); } 731 732/* ./fty_generic.c */ 733 734#undef _nc_generic_fieldtype 735FIELDTYPE *_nc_generic_fieldtype( 736 NCURSES_BOOL (*const field_check)( 737 FORM *p1, 738 FIELD *p2, 739 const void *p3), 740 NCURSES_BOOL (*const char_check)( 741 int p1, 742 FORM *p2, 743 FIELD *p3, 744 const void *p4), 745 NCURSES_BOOL (*const next)( 746 FORM *p1, 747 FIELD *p2, 748 const void *p3), 749 NCURSES_BOOL (*const prev)( 750 FORM *p1, 751 FIELD *p2, 752 const void *p3), 753 void (*freecallback)( 754 void *p1)) 755 { return(*(FIELDTYPE **)0); } 756 757#undef _nc_set_generic_fieldtype 758int _nc_set_generic_fieldtype( 759 FIELD *field, 760 FIELDTYPE *ftyp, 761 int (*argiterator)( 762 void **p1)) 763 { return(*(int *)0); } 764 765#undef _nc_form_cursor 766WINDOW *_nc_form_cursor( 767 const FORM *form, 768 int *pRow, 769 int *pCol) 770 { return(*(WINDOW **)0); } 771 772/* ./fty_int.c */ 773 774typedef struct 775 { 776 int precision; 777 long low; 778 long high; 779 } 780integerARG; 781 782typedef struct 783 { 784 int precision; 785 long low; 786 long high; 787 } 788integerPARM; 789 790#undef TYPE_INTEGER 791FIELDTYPE *TYPE_INTEGER; 792 793#undef _nc_TYPE_INTEGER 794FIELDTYPE *_nc_TYPE_INTEGER(void) 795 { return(*(FIELDTYPE **)0); } 796 797/* ./fty_ipv4.c */ 798 799#undef TYPE_IPV4 800FIELDTYPE *TYPE_IPV4; 801 802#undef _nc_TYPE_IPV4 803FIELDTYPE *_nc_TYPE_IPV4(void) 804 { return(*(FIELDTYPE **)0); } 805 806/* ./fty_num.c */ 807 808typedef struct 809 { 810 int precision; 811 double low; 812 double high; 813 struct lconv *L; 814 } 815numericARG; 816 817typedef struct 818 { 819 int precision; 820 double low; 821 double high; 822 } 823thisPARM; 824 825#undef TYPE_NUMERIC 826FIELDTYPE *TYPE_NUMERIC; 827 828#undef _nc_TYPE_NUMERIC 829FIELDTYPE *_nc_TYPE_NUMERIC(void) 830 { return(*(FIELDTYPE **)0); } 831 832/* ./fty_regex.c */ 833 834typedef struct 835 { 836 regex_t *pRegExp; 837 unsigned long *refCount; 838 } 839RegExp_Arg; 840 841#undef TYPE_REGEXP 842FIELDTYPE *TYPE_REGEXP; 843 844#undef _nc_TYPE_REGEXP 845FIELDTYPE *_nc_TYPE_REGEXP(void) 846 { return(*(FIELDTYPE **)0); } 847