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); }
348 /* ./frm_adabind.c */
350 #undef _nc_ada_normalize_field_opts
351 void _nc_ada_normalize_field_opts(
355 #undef _nc_ada_normalize_form_opts
356 void _nc_ada_normalize_form_opts(
360 #undef _nc_ada_getvarg
361 void *_nc_ada_getvarg(
363 { return(*(void **)0); }
366 FIELD *_nc_get_field(
369 { return(*(FIELD **)0); }
373 #undef pos_form_cursor
376 { return(*(int *)0); }
383 { return(*(bool *)0); }
388 { return(*(bool *)0); }
392 #undef _nc_Default_Form
393 FORM *_nc_Default_Form;
398 { return(*(FORM **)0); }
403 { return(*(int *)0); }
405 #undef set_form_fields
409 { return(*(int *)0); }
414 { return(*(FIELD ***)0); }
419 { return(*(int *)0); }
423 #undef _nc_Position_Form_Cursor
424 int _nc_Position_Form_Cursor(
426 { return(*(int *)0); }
428 #undef _nc_Refresh_Current_Field
429 int _nc_Refresh_Current_Field(
431 { return(*(int *)0); }
433 #undef _nc_Synchronize_Attributes
434 int _nc_Synchronize_Attributes(
436 { return(*(int *)0); }
438 #undef _nc_Synchronize_Options
439 int _nc_Synchronize_Options(
441 Field_Options newopts)
442 { return(*(int *)0); }
444 #undef _nc_Set_Current_Field
445 int _nc_Set_Current_Field(
448 { return(*(int *)0); }
450 #undef _nc_Internal_Validation
451 bool _nc_Internal_Validation(
453 { return(*(bool *)0); }
455 #undef _nc_First_Active_Field
456 FIELD *_nc_First_Active_Field(
458 { return(*(FIELD **)0); }
460 #undef _nc_Set_Form_Page
461 int _nc_Set_Form_Page(
465 { return(*(int *)0); }
476 { return(*(int *)0); }
478 #undef set_field_buffer
479 int set_field_buffer(
483 { return(*(int *)0); }
489 { return(*(char **)0); }
493 #undef set_field_init
497 { return(*(int *)0); }
500 Form_Hook field_init(
502 { return(*(Form_Hook *)0); }
504 #undef set_field_term
508 { return(*(int *)0); }
511 Form_Hook field_term(
513 { return(*(Form_Hook *)0); }
519 { return(*(int *)0); }
524 { return(*(Form_Hook *)0); }
530 { return(*(int *)0); }
535 { return(*(Form_Hook *)0); }
543 { return(*(int *)0); }
546 Form_Options form_opts(
548 { return(*(Form_Options *)0); }
554 { return(*(int *)0); }
560 { return(*(int *)0); }
568 { return(*(int *)0); }
573 { return(*(int *)0); }
580 { return(*(int *)0); }
585 { return(*(int *)0); }
587 /* ./frm_req_name.c */
589 #undef form_request_name
590 const char *form_request_name(
592 { return(*(const char **)0); }
594 #undef form_request_by_name
595 int form_request_by_name(
597 { return(*(int *)0); }
606 { return(*(int *)0); }
614 { return(*(int *)0); }
619 { return(*(WINDOW **)0); }
623 #undef set_form_userptr
624 int set_form_userptr(
627 { return(*(int *)0); }
632 { return(*(void **)0); }
640 { return(*(int *)0); }
645 { return(*(WINDOW **)0); }
654 FIELDTYPE *TYPE_ALNUM;
663 FIELDTYPE *TYPE_ALPHA;
675 FIELDTYPE *TYPE_ENUM;
686 FIELDTYPE *TYPE_INTEGER;
690 FIELDTYPE *TYPE_IPV4;
704 FIELDTYPE *TYPE_NUMERIC;
713 unsigned long *refCount;
717 FIELDTYPE *TYPE_REGEXP;