1 /****************************************************************************
2 * Copyright 2020 Thomas E. Dickey *
3 * Copyright 2010-2015,2017 Free Software Foundation, Inc. *
5 * Permission is hereby granted, free of charge, to any person obtaining a *
6 * copy of this software and associated documentation files (the *
7 * "Software"), to deal in the Software without restriction, including *
8 * without limitation the rights to use, copy, modify, merge, publish, *
9 * distribute, distribute with modifications, sublicense, and/or sell *
10 * copies of the Software, and to permit persons to whom the Software is *
11 * furnished to do so, subject to the following conditions: *
13 * The above copyright notice and this permission notice shall be included *
14 * in all copies or substantial portions of the Software. *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS *
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF *
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. *
19 * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, *
20 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR *
21 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR *
22 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. *
24 * Except as contained in this notice, the name(s) of the above copyright *
25 * holders shall not be used in advertising or otherwise to promote the *
26 * sale, use or other dealings in this Software without prior written *
28 ****************************************************************************/
30 /****************************************************************************
31 * Author: Thomas E. Dickey 2010-on *
32 ****************************************************************************/
37 #include <form.priv.h>
39 #undef _nc_retrace_field_ptr
40 FIELD **_nc_retrace_field_ptr(
42 { return(*(FIELD ***)0); }
44 #undef _nc_retrace_field
45 FIELD *_nc_retrace_field(
47 { return(*(FIELD **)0); }
49 #undef _nc_retrace_field_type
50 FIELDTYPE *_nc_retrace_field_type(
52 { return(*(FIELDTYPE **)0); }
54 #undef _nc_retrace_form
55 FORM *_nc_retrace_form(
57 { return(*(FORM **)0); }
59 #undef _nc_retrace_form_hook
60 Form_Hook _nc_retrace_form_hook(
62 { return(*(Form_Hook *)0); }
66 #undef set_fieldtype_arg
67 int set_fieldtype_arg(
69 void *(*const make_arg)(
71 void *(*const copy_arg)(
73 void (*const free_arg)(
75 { return(*(int *)0); }
80 { return(*(void **)0); }
88 { return(*(int *)0); }
93 { return(*(chtype *)0); }
99 { return(*(int *)0); }
104 { return(*(chtype *)0); }
106 /* ./fld_current.c */
108 #undef set_current_field
109 int set_current_field(
112 { return(*(int *)0); }
114 #undef unfocus_current_field
115 int unfocus_current_field(
117 { return(*(int *)0); }
120 FIELD *current_field(
122 { return(*(FIELD **)0); }
127 { return(*(int *)0); }
131 #undef _nc_Default_Field
132 FIELD *_nc_Default_Field;
134 #undef _nc_Make_Argument
135 TypeArgument *_nc_Make_Argument(
136 const FIELDTYPE *typ,
139 { return(*(TypeArgument **)0); }
141 #undef _nc_Copy_Argument
142 TypeArgument *_nc_Copy_Argument(
143 const FIELDTYPE *typ,
144 const TypeArgument *argp,
146 { return(*(TypeArgument **)0); }
148 #undef _nc_Free_Argument
149 void _nc_Free_Argument(
150 const FIELDTYPE *typ,
155 NCURSES_BOOL _nc_Copy_Type(
158 { return(*(NCURSES_BOOL *)0); }
173 { return(*(FIELD **)0); }
178 { return(*(int *)0); }
187 { return(*(FIELD **)0); }
189 /* ./fld_ftchoice.c */
191 #undef set_fieldtype_choice
192 int set_fieldtype_choice(
194 NCURSES_BOOL (*const next_choice)(
197 NCURSES_BOOL (*const prev_choice)(
200 { return(*(int *)0); }
204 #undef link_fieldtype
205 FIELDTYPE *link_fieldtype(
208 { return(*(FIELDTYPE **)0); }
221 { return(*(int *)0); }
223 #undef dynamic_field_info
224 int dynamic_field_info(
229 { return(*(int *)0); }
233 #undef set_field_just
237 { return(*(int *)0); }
242 { return(*(int *)0); }
251 { return(*(FIELD **)0); }
259 { return(*(int *)0); }
268 { return(*(int *)0); }
270 /* ./fld_newftyp.c */
272 #undef _nc_Default_FieldType
273 FIELDTYPE *_nc_Default_FieldType;
276 FIELDTYPE *new_fieldtype(
277 NCURSES_BOOL (*const field_check)(
280 NCURSES_BOOL (*const char_check)(
283 { return(*(FIELDTYPE **)0); }
285 #undef free_fieldtype
288 { return(*(int *)0); }
292 #undef set_field_opts
296 { return(*(int *)0); }
299 Field_Options field_opts(
301 { return(*(Field_Options *)0); }
307 { return(*(int *)0); }
309 #undef field_opts_off
313 { return(*(int *)0); }
321 { return(*(int *)0); }
326 { return(*(int *)0); }
333 NCURSES_BOOL new_page_flag)
334 { return(*(int *)0); }
337 NCURSES_BOOL new_page(
339 { return(*(NCURSES_BOOL *)0); }
343 #undef set_field_status
344 int set_field_status(
347 { return(*(int *)0); }
350 NCURSES_BOOL field_status(
352 { return(*(NCURSES_BOOL *)0); }
356 #undef set_field_type
361 { return(*(int *)0); }
364 FIELDTYPE *field_type(
366 { return(*(FIELDTYPE **)0); }
370 #undef set_field_userptr
371 int set_field_userptr(
374 { return(*(int *)0); }
379 { return(*(void **)0); }
383 #undef pos_form_cursor
386 { return(*(int *)0); }
391 NCURSES_BOOL data_behind(
393 { return(*(NCURSES_BOOL *)0); }
396 NCURSES_BOOL data_ahead(
398 { return(*(NCURSES_BOOL *)0); }
402 #undef _nc_Default_Form
403 FORM *_nc_Default_Form;
409 { return(*(FORM **)0); }
414 { return(*(FORM **)0); }
419 { return(*(int *)0); }
421 #undef set_form_fields
425 { return(*(int *)0); }
430 { return(*(FIELD ***)0); }
435 { return(*(int *)0); }
439 #undef _nc_get_fieldbuffer
440 void _nc_get_fieldbuffer(
446 #undef _nc_Position_Form_Cursor
447 int _nc_Position_Form_Cursor(
449 { return(*(int *)0); }
451 #undef _nc_Refresh_Current_Field
452 int _nc_Refresh_Current_Field(
454 { return(*(int *)0); }
456 #undef _nc_Synchronize_Attributes
457 int _nc_Synchronize_Attributes(
459 { return(*(int *)0); }
461 #undef _nc_Synchronize_Options
462 int _nc_Synchronize_Options(
464 Field_Options newopts)
465 { return(*(int *)0); }
467 #undef _nc_Unset_Current_Field
468 void _nc_Unset_Current_Field(
472 #undef _nc_Set_Current_Field
473 int _nc_Set_Current_Field(
476 { return(*(int *)0); }
478 #undef _nc_Internal_Validation
479 NCURSES_BOOL _nc_Internal_Validation(
481 { return(*(NCURSES_BOOL *)0); }
483 #undef _nc_First_Active_Field
484 FIELD *_nc_First_Active_Field(
486 { return(*(FIELD **)0); }
488 #undef _nc_Set_Form_Page
489 int _nc_Set_Form_Page(
493 { return(*(int *)0); }
506 { return(*(int *)0); }
513 { return(*(int *)0); }
515 #undef set_field_buffer
516 int set_field_buffer(
520 { return(*(int *)0); }
526 { return(*(char **)0); }
528 #undef _nc_Widen_String
529 wchar_t *_nc_Widen_String(
532 { return(*(wchar_t **)0); }
536 #undef set_field_init
540 { return(*(int *)0); }
543 Form_Hook field_init(
545 { return(*(Form_Hook *)0); }
547 #undef set_field_term
551 { return(*(int *)0); }
554 Form_Hook field_term(
556 { return(*(Form_Hook *)0); }
562 { return(*(int *)0); }
567 { return(*(Form_Hook *)0); }
573 { return(*(int *)0); }
578 { return(*(Form_Hook *)0); }
586 { return(*(int *)0); }
589 Form_Options form_opts(
591 { return(*(Form_Options *)0); }
597 { return(*(int *)0); }
603 { return(*(int *)0); }
611 { return(*(int *)0); }
616 { return(*(int *)0); }
623 { return(*(int *)0); }
628 { return(*(int *)0); }
630 /* ./frm_req_name.c */
632 #undef form_request_name
633 const char *form_request_name(
635 { return(*(const char **)0); }
637 #undef form_request_by_name
638 int form_request_by_name(
640 { return(*(int *)0); }
649 { return(*(int *)0); }
657 { return(*(int *)0); }
662 { return(*(WINDOW **)0); }
666 #undef set_form_userptr
667 int set_form_userptr(
670 { return(*(int *)0); }
675 { return(*(void **)0); }
683 { return(*(int *)0); }
688 { return(*(WINDOW **)0); }
699 FIELDTYPE *TYPE_ALNUM;
701 #undef _nc_TYPE_ALNUM
702 FIELDTYPE *_nc_TYPE_ALNUM(void)
703 { return(*(FIELDTYPE **)0); }
714 FIELDTYPE *TYPE_ALPHA;
716 #undef _nc_TYPE_ALPHA
717 FIELDTYPE *_nc_TYPE_ALPHA(void)
718 { return(*(FIELDTYPE **)0); }
726 NCURSES_BOOL checkcase;
727 NCURSES_BOOL checkunique;
740 FIELDTYPE *TYPE_ENUM;
743 FIELDTYPE *_nc_TYPE_ENUM(void)
744 { return(*(FIELDTYPE **)0); }
746 /* ./fty_generic.c */
748 #undef _nc_generic_fieldtype
749 FIELDTYPE *_nc_generic_fieldtype(
750 NCURSES_BOOL (*const field_check)(
754 NCURSES_BOOL (*const char_check)(
759 NCURSES_BOOL (*const next)(
763 NCURSES_BOOL (*const prev)(
767 void (*freecallback)(
769 { return(*(FIELDTYPE **)0); }
771 #undef _nc_set_generic_fieldtype
772 int _nc_set_generic_fieldtype(
777 { return(*(int *)0); }
779 #undef _nc_form_cursor
780 WINDOW *_nc_form_cursor(
784 { return(*(WINDOW **)0); }
805 FIELDTYPE *TYPE_INTEGER;
807 #undef _nc_TYPE_INTEGER
808 FIELDTYPE *_nc_TYPE_INTEGER(void)
809 { return(*(FIELDTYPE **)0); }
814 FIELDTYPE *TYPE_IPV4;
817 FIELDTYPE *_nc_TYPE_IPV4(void)
818 { return(*(FIELDTYPE **)0); }
840 FIELDTYPE *TYPE_NUMERIC;
842 #undef _nc_TYPE_NUMERIC
843 FIELDTYPE *_nc_TYPE_NUMERIC(void)
844 { return(*(FIELDTYPE **)0); }
851 unsigned long *refCount;
856 FIELDTYPE *TYPE_REGEXP;
858 #undef _nc_TYPE_REGEXP
859 FIELDTYPE *_nc_TYPE_REGEXP(void)
860 { return(*(FIELDTYPE **)0); }