1 /****************************************************************************
2 * Copyright (c) 1998 Free Software Foundation, Inc. *
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: *
12 * The above copyright notice and this permission notice shall be included *
13 * in all copies or substantial portions of the Software. *
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. *
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 *
27 ****************************************************************************/
29 /****************************************************************************
30 * Author: Thomas E. Dickey <dickey@clark.net> 1996,1997 *
31 ****************************************************************************/
36 #include "form.priv.h"
38 #undef set_fieldtype_arg
39 int set_fieldtype_arg(
41 void *(*const make_arg)(
43 void *(*const copy_arg)(
45 void (*const free_arg)(
47 { return(*(int *)0); }
52 { return(*(void **)0); }
60 { return(*(int *)0); }
65 { return(*(chtype *)0); }
71 { return(*(int *)0); }
76 { return(*(chtype *)0); }
80 #undef set_current_field
81 int set_current_field(
84 { return(*(int *)0); }
89 { return(*(FIELD **)0); }
94 { return(*(int *)0); }
98 #undef _nc_Default_Field
99 FIELD *_nc_Default_Field;
101 #undef _nc_Make_Argument
102 TypeArgument *_nc_Make_Argument(
103 const FIELDTYPE *typ,
106 { return(*(TypeArgument **)0); }
108 #undef _nc_Copy_Argument
109 TypeArgument *_nc_Copy_Argument(
110 const FIELDTYPE *typ,
111 const TypeArgument *argp,
113 { return(*(TypeArgument **)0); }
115 #undef _nc_Free_Argument
116 void _nc_Free_Argument(
117 const FIELDTYPE *typ,
125 { return(*(bool *)0); }
140 { return(*(FIELD **)0); }
145 { return(*(int *)0); }
154 { return(*(FIELD **)0); }
156 /* ./fld_ftchoice.c */
158 #undef set_fieldtype_choice
159 int set_fieldtype_choice(
161 bool (*const next_choice)(
164 bool (*const prev_choice)(
167 { return(*(int *)0); }
171 #undef link_fieldtype
172 FIELDTYPE *link_fieldtype(
175 { return(*(FIELDTYPE **)0); }
188 { return(*(int *)0); }
190 #undef dynamic_field_info
191 int dynamic_field_info(
196 { return(*(int *)0); }
200 #undef set_field_just
204 { return(*(int *)0); }
209 { return(*(int *)0); }
218 { return(*(FIELD **)0); }
226 { return(*(int *)0); }
235 { return(*(int *)0); }
237 /* ./fld_newftyp.c */
239 #undef _nc_Default_FieldType
240 const FIELDTYPE *_nc_Default_FieldType = {0};
243 FIELDTYPE *new_fieldtype(
244 bool (*const field_check)(
247 bool (*const char_check)(
250 { return(*(FIELDTYPE **)0); }
252 #undef free_fieldtype
255 { return(*(int *)0); }
259 #undef set_field_opts
263 { return(*(int *)0); }
266 Field_Options field_opts(
268 { return(*(Field_Options *)0); }
274 { return(*(int *)0); }
276 #undef field_opts_off
280 { return(*(int *)0); }
288 { return(*(int *)0); }
293 { return(*(int *)0); }
301 { return(*(int *)0); }
306 { return(*(bool *)0); }
310 #undef set_field_status
311 int set_field_status(
314 { return(*(int *)0); }
319 { return(*(bool *)0); }
323 #undef set_field_type
328 { return(*(int *)0); }
331 FIELDTYPE *field_type(
333 { return(*(FIELDTYPE **)0); }
337 #undef set_field_userptr
338 int set_field_userptr(
341 { return(*(int *)0); }
346 { return(*(void **)0); }
350 #undef pos_form_cursor
353 { return(*(int *)0); }
360 { return(*(bool *)0); }
365 { return(*(bool *)0); }
369 #undef _nc_Default_Form
370 FORM *_nc_Default_Form;
375 { return(*(FORM **)0); }
380 { return(*(int *)0); }
382 #undef set_form_fields
386 { return(*(int *)0); }
391 { return(*(FIELD ***)0); }
396 { return(*(int *)0); }
400 #undef _nc_Position_Form_Cursor
401 int _nc_Position_Form_Cursor(
403 { return(*(int *)0); }
405 #undef _nc_Refresh_Current_Field
406 int _nc_Refresh_Current_Field(
408 { return(*(int *)0); }
410 #undef _nc_Synchronize_Attributes
411 int _nc_Synchronize_Attributes(
413 { return(*(int *)0); }
415 #undef _nc_Synchronize_Options
416 int _nc_Synchronize_Options(
418 Field_Options newopts)
419 { return(*(int *)0); }
421 #undef _nc_Set_Current_Field
422 int _nc_Set_Current_Field(
425 { return(*(int *)0); }
427 #undef _nc_Internal_Validation
428 bool _nc_Internal_Validation(
430 { return(*(bool *)0); }
432 #undef _nc_First_Active_Field
433 FIELD *_nc_First_Active_Field(
435 { return(*(FIELD **)0); }
437 #undef _nc_Set_Form_Page
438 int _nc_Set_Form_Page(
442 { return(*(int *)0); }
453 { return(*(int *)0); }
455 #undef set_field_buffer
456 int set_field_buffer(
460 { return(*(int *)0); }
466 { return(*(char **)0); }
470 #undef set_field_init
474 { return(*(int *)0); }
477 Form_Hook field_init(
479 { return(*(Form_Hook *)0); }
481 #undef set_field_term
485 { return(*(int *)0); }
488 Form_Hook field_term(
490 { return(*(Form_Hook *)0); }
496 { return(*(int *)0); }
501 { return(*(Form_Hook *)0); }
507 { return(*(int *)0); }
512 { return(*(Form_Hook *)0); }
520 { return(*(int *)0); }
523 Form_Options form_opts(
525 { return(*(Form_Options *)0); }
531 { return(*(int *)0); }
537 { return(*(int *)0); }
545 { return(*(int *)0); }
550 { return(*(int *)0); }
557 { return(*(int *)0); }
562 { return(*(int *)0); }
564 /* ./frm_req_name.c */
566 #undef form_request_name
567 const char *form_request_name(
569 { return(*(const char **)0); }
571 #undef form_request_by_name
572 int form_request_by_name(
574 { return(*(int *)0); }
583 { return(*(int *)0); }
591 { return(*(int *)0); }
596 { return(*(WINDOW **)0); }
600 #undef set_form_userptr
601 int set_form_userptr(
604 { return(*(int *)0); }
609 { return(*(void **)0); }
617 { return(*(int *)0); }
622 { return(*(WINDOW **)0); }
631 FIELDTYPE *TYPE_ALNUM;
640 FIELDTYPE *TYPE_ALPHA;
652 FIELDTYPE *TYPE_ENUM;
663 FIELDTYPE *TYPE_INTEGER;
667 FIELDTYPE *TYPE_IPV4;
681 FIELDTYPE *TYPE_NUMERIC;
690 unsigned long *refCount;
694 FIELDTYPE *TYPE_REGEXP;