1 /****************************************************************************
2 * Copyright 2020 Thomas E. Dickey *
3 * Copyright 1998-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 1996-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); }
508 #undef set_field_buffer
509 int set_field_buffer(
513 { return(*(int *)0); }
519 { return(*(char **)0); }
523 #undef set_field_init
527 { return(*(int *)0); }
530 Form_Hook field_init(
532 { return(*(Form_Hook *)0); }
534 #undef set_field_term
538 { return(*(int *)0); }
541 Form_Hook field_term(
543 { return(*(Form_Hook *)0); }
549 { return(*(int *)0); }
554 { return(*(Form_Hook *)0); }
560 { return(*(int *)0); }
565 { return(*(Form_Hook *)0); }
573 { return(*(int *)0); }
576 Form_Options form_opts(
578 { return(*(Form_Options *)0); }
584 { return(*(int *)0); }
590 { return(*(int *)0); }
598 { return(*(int *)0); }
603 { return(*(int *)0); }
610 { return(*(int *)0); }
615 { return(*(int *)0); }
617 /* ./frm_req_name.c */
619 #undef form_request_name
620 const char *form_request_name(
622 { return(*(const char **)0); }
624 #undef form_request_by_name
625 int form_request_by_name(
627 { return(*(int *)0); }
636 { return(*(int *)0); }
644 { return(*(int *)0); }
649 { return(*(WINDOW **)0); }
653 #undef set_form_userptr
654 int set_form_userptr(
657 { return(*(int *)0); }
662 { return(*(void **)0); }
670 { return(*(int *)0); }
675 { return(*(WINDOW **)0); }
686 FIELDTYPE *TYPE_ALNUM;
688 #undef _nc_TYPE_ALNUM
689 FIELDTYPE *_nc_TYPE_ALNUM(void)
690 { return(*(FIELDTYPE **)0); }
701 FIELDTYPE *TYPE_ALPHA;
703 #undef _nc_TYPE_ALPHA
704 FIELDTYPE *_nc_TYPE_ALPHA(void)
705 { return(*(FIELDTYPE **)0); }
713 NCURSES_BOOL checkcase;
714 NCURSES_BOOL checkunique;
727 FIELDTYPE *TYPE_ENUM;
730 FIELDTYPE *_nc_TYPE_ENUM(void)
731 { return(*(FIELDTYPE **)0); }
733 /* ./fty_generic.c */
735 #undef _nc_generic_fieldtype
736 FIELDTYPE *_nc_generic_fieldtype(
737 NCURSES_BOOL (*const field_check)(
741 NCURSES_BOOL (*const char_check)(
746 NCURSES_BOOL (*const next)(
750 NCURSES_BOOL (*const prev)(
754 void (*freecallback)(
756 { return(*(FIELDTYPE **)0); }
758 #undef _nc_set_generic_fieldtype
759 int _nc_set_generic_fieldtype(
764 { return(*(int *)0); }
766 #undef _nc_form_cursor
767 WINDOW *_nc_form_cursor(
771 { return(*(WINDOW **)0); }
792 FIELDTYPE *TYPE_INTEGER;
794 #undef _nc_TYPE_INTEGER
795 FIELDTYPE *_nc_TYPE_INTEGER(void)
796 { return(*(FIELDTYPE **)0); }
801 FIELDTYPE *TYPE_IPV4;
804 FIELDTYPE *_nc_TYPE_IPV4(void)
805 { return(*(FIELDTYPE **)0); }
827 FIELDTYPE *TYPE_NUMERIC;
829 #undef _nc_TYPE_NUMERIC
830 FIELDTYPE *_nc_TYPE_NUMERIC(void)
831 { return(*(FIELDTYPE **)0); }
838 unsigned long *refCount;
843 FIELDTYPE *TYPE_REGEXP;
845 #undef _nc_TYPE_REGEXP
846 FIELDTYPE *_nc_TYPE_REGEXP(void)
847 { return(*(FIELDTYPE **)0); }