]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - form/llib-lformw
ncurses 6.2 - patch 20210925
[ncurses.git] / form / llib-lformw
index f5720189872daef30945dc6b8d41d7ab9ef70719..199e26c34655c35ef95ceb6e90acdfb6e07324ea 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright (c) 2002 Free Software Foundation, Inc.                        *
+ * Copyright 2020,2021 Thomas E. Dickey                                     *
+ * Copyright 2002-2015,2017 Free Software Foundation, Inc.                  *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
  ****************************************************************************/
 
 /****************************************************************************
  ****************************************************************************/
 
 /****************************************************************************
- *  Author: Thomas E. Dickey <dickey@clark.net> 2002                        *
+ *  Author: Thomas E. Dickey       2002-on                                  *
  ****************************************************************************/
 /* LINTLIBRARY */
 
  ****************************************************************************/
 /* LINTLIBRARY */
 
-/* ./fld_arg.c */
+/* ./f_trace.c */
+
+#include <form.priv.h>
 
 
-#include "form.priv.h"
+#undef _nc_retrace_field_ptr
+FIELD  **_nc_retrace_field_ptr(
+               FIELD   **code)
+               { return(*(FIELD ***)0); }
+
+#undef _nc_retrace_field
+FIELD  *_nc_retrace_field(
+               FIELD   *code)
+               { return(*(FIELD **)0); }
+
+#undef _nc_retrace_field_type
+FIELDTYPE *_nc_retrace_field_type(
+               FIELDTYPE *code)
+               { return(*(FIELDTYPE **)0); }
+
+#undef _nc_retrace_form
+FORM   *_nc_retrace_form(
+               FORM    *code)
+               { return(*(FORM **)0); }
+
+#undef _nc_retrace_form_hook
+Form_Hook _nc_retrace_form_hook(
+               Form_Hook code)
+               { return(*(Form_Hook *)0); }
+
+/* ./fld_arg.c */
 
 #undef set_fieldtype_arg
 int    set_fieldtype_arg(
 
 #undef set_fieldtype_arg
 int    set_fieldtype_arg(
-               FIELDTYPE *typ, 
+               FIELDTYPE *typ,
                void    *(*const make_arg)(
                void    *(*const make_arg)(
-               va_list *p1), 
+               va_list *p1),
                void    *(*const copy_arg)(
                void    *(*const copy_arg)(
-               const void *p1), 
+               const void *p1),
                void    (*const free_arg)(
                void    *p1))
                { return(*(int *)0); }
                void    (*const free_arg)(
                void    *p1))
                { return(*(int *)0); }
@@ -55,7 +83,7 @@ void  *field_arg(
 
 #undef set_field_fore
 int    set_field_fore(
 
 #undef set_field_fore
 int    set_field_fore(
-               FIELD   *field, 
+               FIELD   *field,
                chtype  attr)
                { return(*(int *)0); }
 
                chtype  attr)
                { return(*(int *)0); }
 
@@ -66,7 +94,7 @@ chtype        field_fore(
 
 #undef set_field_back
 int    set_field_back(
 
 #undef set_field_back
 int    set_field_back(
-               FIELD   *field, 
+               FIELD   *field,
                chtype  attr)
                { return(*(int *)0); }
 
                chtype  attr)
                { return(*(int *)0); }
 
@@ -79,10 +107,15 @@ chtype     field_back(
 
 #undef set_current_field
 int    set_current_field(
 
 #undef set_current_field
 int    set_current_field(
-               FORM    *form, 
+               FORM    *form,
                FIELD   *field)
                { return(*(int *)0); }
 
                FIELD   *field)
                { return(*(int *)0); }
 
+#undef unfocus_current_field
+int    unfocus_current_field(
+               FORM    *const form)
+               { return(*(int *)0); }
+
 #undef current_field
 FIELD  *current_field(
                const FORM *form)
 #undef current_field
 FIELD  *current_field(
                const FORM *form)
@@ -100,27 +133,27 @@ FIELD     *_nc_Default_Field;
 
 #undef _nc_Make_Argument
 TypeArgument *_nc_Make_Argument(
 
 #undef _nc_Make_Argument
 TypeArgument *_nc_Make_Argument(
-               const FIELDTYPE *typ, 
-               va_list *ap, 
+               const FIELDTYPE *typ,
+               va_list *ap,
                int     *err)
                { return(*(TypeArgument **)0); }
 
 #undef _nc_Copy_Argument
 TypeArgument *_nc_Copy_Argument(
                int     *err)
                { return(*(TypeArgument **)0); }
 
 #undef _nc_Copy_Argument
 TypeArgument *_nc_Copy_Argument(
-               const FIELDTYPE *typ, 
-               const TypeArgument *argp, 
+               const FIELDTYPE *typ,
+               const TypeArgument *argp,
                int     *err)
                { return(*(TypeArgument **)0); }
 
 #undef _nc_Free_Argument
 void   _nc_Free_Argument(
                int     *err)
                { return(*(TypeArgument **)0); }
 
 #undef _nc_Free_Argument
 void   _nc_Free_Argument(
-               const FIELDTYPE *typ, 
+               const FIELDTYPE *typ,
                TypeArgument *argp)
                { /* void */ }
 
 #undef _nc_Copy_Type
 NCURSES_BOOL _nc_Copy_Type(
                TypeArgument *argp)
                { /* void */ }
 
 #undef _nc_Copy_Type
 NCURSES_BOOL _nc_Copy_Type(
-               FIELD   *dst, 
+               FIELD   *dst,
                FIELD const *src)
                { return(*(NCURSES_BOOL *)0); }
 
                FIELD const *src)
                { return(*(NCURSES_BOOL *)0); }
 
@@ -131,11 +164,11 @@ void      _nc_Free_Type(
 
 #undef new_field
 FIELD  *new_field(
 
 #undef new_field
 FIELD  *new_field(
-               int     rows, 
-               int     cols, 
-               int     frow, 
-               int     fcol, 
-               int     nrow, 
+               int     rows,
+               int     cols,
+               int     frow,
+               int     fcol,
+               int     nrow,
                int     nbuf)
                { return(*(FIELD **)0); }
 
                int     nbuf)
                { return(*(FIELD **)0); }
 
@@ -148,8 +181,8 @@ int free_field(
 
 #undef dup_field
 FIELD  *dup_field(
 
 #undef dup_field
 FIELD  *dup_field(
-               FIELD   *field, 
-               int     frow, 
+               FIELD   *field,
+               int     frow,
                int     fcol)
                { return(*(FIELD **)0); }
 
                int     fcol)
                { return(*(FIELD **)0); }
 
@@ -157,12 +190,12 @@ FIELD     *dup_field(
 
 #undef set_fieldtype_choice
 int    set_fieldtype_choice(
 
 #undef set_fieldtype_choice
 int    set_fieldtype_choice(
-               FIELDTYPE *typ, 
+               FIELDTYPE *typ,
                NCURSES_BOOL (*const next_choice)(
                NCURSES_BOOL (*const next_choice)(
-               FIELD   *p1, 
-               const void *p2), 
+               FIELD   *p1,
+               const void *p2),
                NCURSES_BOOL (*const prev_choice)(
                NCURSES_BOOL (*const prev_choice)(
-               FIELD   *p1, 
+               FIELD   *p1,
                const void *p2))
                { return(*(int *)0); }
 
                const void *p2))
                { return(*(int *)0); }
 
@@ -170,7 +203,7 @@ int set_fieldtype_choice(
 
 #undef link_fieldtype
 FIELDTYPE *link_fieldtype(
 
 #undef link_fieldtype
 FIELDTYPE *link_fieldtype(
-               FIELDTYPE *type1, 
+               FIELDTYPE *type1,
                FIELDTYPE *type2)
                { return(*(FIELDTYPE **)0); }
 
                FIELDTYPE *type2)
                { return(*(FIELDTYPE **)0); }
 
@@ -178,20 +211,20 @@ FIELDTYPE *link_fieldtype(
 
 #undef field_info
 int    field_info(
 
 #undef field_info
 int    field_info(
-               const FIELD *field, 
-               int     *rows, 
-               int     *cols, 
-               int     *frow, 
-               int     *fcol, 
-               int     *nrow, 
+               const FIELD *field,
+               int     *rows,
+               int     *cols,
+               int     *frow,
+               int     *fcol,
+               int     *nrow,
                int     *nbuf)
                { return(*(int *)0); }
 
 #undef dynamic_field_info
 int    dynamic_field_info(
                int     *nbuf)
                { return(*(int *)0); }
 
 #undef dynamic_field_info
 int    dynamic_field_info(
-               const FIELD *field, 
-               int     *drows, 
-               int     *dcols, 
+               const FIELD *field,
+               int     *drows,
+               int     *dcols,
                int     *maxgrow)
                { return(*(int *)0); }
 
                int     *maxgrow)
                { return(*(int *)0); }
 
@@ -199,7 +232,7 @@ int dynamic_field_info(
 
 #undef set_field_just
 int    set_field_just(
 
 #undef set_field_just
 int    set_field_just(
-               FIELD   *field, 
+               FIELD   *field,
                int     just)
                { return(*(int *)0); }
 
                int     just)
                { return(*(int *)0); }
 
@@ -212,8 +245,8 @@ int field_just(
 
 #undef link_field
 FIELD  *link_field(
 
 #undef link_field
 FIELD  *link_field(
-               FIELD   *field, 
-               int     frow, 
+               FIELD   *field,
+               int     frow,
                int     fcol)
                { return(*(FIELD **)0); }
 
                int     fcol)
                { return(*(FIELD **)0); }
 
@@ -221,7 +254,7 @@ FIELD       *link_field(
 
 #undef set_max_field
 int    set_max_field(
 
 #undef set_max_field
 int    set_max_field(
-               FIELD   *field, 
+               FIELD   *field,
                int     maxgrow)
                { return(*(int *)0); }
 
                int     maxgrow)
                { return(*(int *)0); }
 
@@ -229,23 +262,23 @@ int       set_max_field(
 
 #undef move_field
 int    move_field(
 
 #undef move_field
 int    move_field(
-               FIELD   *field, 
-               int     frow, 
+               FIELD   *field,
+               int     frow,
                int     fcol)
                { return(*(int *)0); }
 
 /* ./fld_newftyp.c */
 
 #undef _nc_Default_FieldType
                int     fcol)
                { return(*(int *)0); }
 
 /* ./fld_newftyp.c */
 
 #undef _nc_Default_FieldType
-const FIELDTYPE *_nc_Default_FieldType = {0};
+FIELDTYPE *_nc_Default_FieldType;
 
 #undef new_fieldtype
 FIELDTYPE *new_fieldtype(
                NCURSES_BOOL (*const field_check)(
 
 #undef new_fieldtype
 FIELDTYPE *new_fieldtype(
                NCURSES_BOOL (*const field_check)(
-               FIELD   *p1, 
-               const void *p2), 
+               FIELD   *p1,
+               const void *p2),
                NCURSES_BOOL (*const char_check)(
                NCURSES_BOOL (*const char_check)(
-               int     p1, 
+               int     p1,
                const void *p2))
                { return(*(FIELDTYPE **)0); }
 
                const void *p2))
                { return(*(FIELDTYPE **)0); }
 
@@ -258,7 +291,7 @@ int free_fieldtype(
 
 #undef set_field_opts
 int    set_field_opts(
 
 #undef set_field_opts
 int    set_field_opts(
-               FIELD   *field, 
+               FIELD   *field,
                Field_Options opts)
                { return(*(int *)0); }
 
                Field_Options opts)
                { return(*(int *)0); }
 
@@ -269,13 +302,13 @@ Field_Options field_opts(
 
 #undef field_opts_on
 int    field_opts_on(
 
 #undef field_opts_on
 int    field_opts_on(
-               FIELD   *field, 
+               FIELD   *field,
                Field_Options opts)
                { return(*(int *)0); }
 
 #undef field_opts_off
 int    field_opts_off(
                Field_Options opts)
                { return(*(int *)0); }
 
 #undef field_opts_off
 int    field_opts_off(
-               FIELD   *field, 
+               FIELD   *field,
                Field_Options opts)
                { return(*(int *)0); }
 
                Field_Options opts)
                { return(*(int *)0); }
 
@@ -283,7 +316,7 @@ int field_opts_off(
 
 #undef set_field_pad
 int    set_field_pad(
 
 #undef set_field_pad
 int    set_field_pad(
-               FIELD   *field, 
+               FIELD   *field,
                int     ch)
                { return(*(int *)0); }
 
                int     ch)
                { return(*(int *)0); }
 
@@ -296,7 +329,7 @@ int field_pad(
 
 #undef set_new_page
 int    set_new_page(
 
 #undef set_new_page
 int    set_new_page(
-               FIELD   *field, 
+               FIELD   *field,
                NCURSES_BOOL new_page_flag)
                { return(*(int *)0); }
 
                NCURSES_BOOL new_page_flag)
                { return(*(int *)0); }
 
@@ -309,7 +342,7 @@ NCURSES_BOOL new_page(
 
 #undef set_field_status
 int    set_field_status(
 
 #undef set_field_status
 int    set_field_status(
-               FIELD   *field, 
+               FIELD   *field,
                NCURSES_BOOL status)
                { return(*(int *)0); }
 
                NCURSES_BOOL status)
                { return(*(int *)0); }
 
@@ -322,8 +355,8 @@ NCURSES_BOOL field_status(
 
 #undef set_field_type
 int    set_field_type(
 
 #undef set_field_type
 int    set_field_type(
-               FIELD   *field, 
-               FIELDTYPE *type, 
+               FIELD   *field,
+               FIELDTYPE *type,
                ...)
                { return(*(int *)0); }
 
                ...)
                { return(*(int *)0); }
 
@@ -336,7 +369,7 @@ FIELDTYPE *field_type(
 
 #undef set_field_userptr
 int    set_field_userptr(
 
 #undef set_field_userptr
 int    set_field_userptr(
-               FIELD   *field, 
+               FIELD   *field,
                void    *usrptr)
                { return(*(int *)0); }
 
                void    *usrptr)
                { return(*(int *)0); }
 
@@ -369,6 +402,12 @@ NCURSES_BOOL data_ahead(
 #undef _nc_Default_Form
 FORM   *_nc_Default_Form;
 
 #undef _nc_Default_Form
 FORM   *_nc_Default_Form;
 
+#undef new_form_sp
+FORM   *new_form_sp(
+               SCREEN  *sp,
+               FIELD   **fields)
+               { return(*(FORM **)0); }
+
 #undef new_form
 FORM   *new_form(
                FIELD   **fields)
 #undef new_form
 FORM   *new_form(
                FIELD   **fields)
@@ -381,7 +420,7 @@ int free_form(
 
 #undef set_form_fields
 int    set_form_fields(
 
 #undef set_form_fields
 int    set_form_fields(
-               FORM    *form, 
+               FORM    *form,
                FIELD   **fields)
                { return(*(int *)0); }
 
                FIELD   **fields)
                { return(*(int *)0); }
 
@@ -397,6 +436,13 @@ int        field_count(
 
 /* ./frm_driver.c */
 
 
 /* ./frm_driver.c */
 
+#undef _nc_get_fieldbuffer
+void   _nc_get_fieldbuffer(
+               FORM    *form,
+               FIELD   *field,
+               cchar_t *buf)
+               { /* void */ }
+
 #undef _nc_Position_Form_Cursor
 int    _nc_Position_Form_Cursor(
                FORM    *form)
 #undef _nc_Position_Form_Cursor
 int    _nc_Position_Form_Cursor(
                FORM    *form)
@@ -414,13 +460,18 @@ int       _nc_Synchronize_Attributes(
 
 #undef _nc_Synchronize_Options
 int    _nc_Synchronize_Options(
 
 #undef _nc_Synchronize_Options
 int    _nc_Synchronize_Options(
-               FIELD   *field, 
+               FIELD   *field,
                Field_Options newopts)
                { return(*(int *)0); }
 
                Field_Options newopts)
                { return(*(int *)0); }
 
+#undef _nc_Unset_Current_Field
+void   _nc_Unset_Current_Field(
+               FORM    *form)
+               { /* void */ }
+
 #undef _nc_Set_Current_Field
 int    _nc_Set_Current_Field(
 #undef _nc_Set_Current_Field
 int    _nc_Set_Current_Field(
-               FORM    *form, 
+               FORM    *form,
                FIELD   *newfield)
                { return(*(int *)0); }
 
                FIELD   *newfield)
                { return(*(int *)0); }
 
@@ -436,40 +487,55 @@ FIELD     *_nc_First_Active_Field(
 
 #undef _nc_Set_Form_Page
 int    _nc_Set_Form_Page(
 
 #undef _nc_Set_Form_Page
 int    _nc_Set_Form_Page(
-               FORM    *form, 
-               int     page, 
+               FORM    *form,
+               int     page,
                FIELD   *field)
                { return(*(int *)0); }
 
                FIELD   *field)
                { return(*(int *)0); }
 
-typedef struct {
-  int keycode;           
-  int (*cmd)(FORM *);    
-} Binding_Info;
+typedef struct
+{
+  int keycode;
+  int (*cmd) (FORM *);
+}
+Binding_Info;
 
 #undef form_driver
 int    form_driver(
 
 #undef form_driver
 int    form_driver(
-               FORM    *form, 
+               FORM    *form,
                int     c)
                { return(*(int *)0); }
 
                int     c)
                { return(*(int *)0); }
 
+#undef form_driver_w
+int    form_driver_w(
+               FORM    *form,
+               int     type,
+               wchar_t c)
+               { return(*(int *)0); }
+
 #undef set_field_buffer
 int    set_field_buffer(
 #undef set_field_buffer
 int    set_field_buffer(
-               FIELD   *field, 
-               int     buffer, 
+               FIELD   *field,
+               int     buffer,
                const char *value)
                { return(*(int *)0); }
 
 #undef field_buffer
 char   *field_buffer(
                const char *value)
                { return(*(int *)0); }
 
 #undef field_buffer
 char   *field_buffer(
-               const FIELD *field, 
+               const FIELD *field,
                int     buffer)
                { return(*(char **)0); }
 
                int     buffer)
                { return(*(char **)0); }
 
+#undef _nc_Widen_String
+wchar_t        *_nc_Widen_String(
+               char    *source,
+               int     *lengthp)
+               { return(*(wchar_t **)0); }
+
 /* ./frm_hook.c */
 
 #undef set_field_init
 int    set_field_init(
 /* ./frm_hook.c */
 
 #undef set_field_init
 int    set_field_init(
-               FORM    *form, 
+               FORM    *form,
                Form_Hook func)
                { return(*(int *)0); }
 
                Form_Hook func)
                { return(*(int *)0); }
 
@@ -480,7 +546,7 @@ Form_Hook field_init(
 
 #undef set_field_term
 int    set_field_term(
 
 #undef set_field_term
 int    set_field_term(
-               FORM    *form, 
+               FORM    *form,
                Form_Hook func)
                { return(*(int *)0); }
 
                Form_Hook func)
                { return(*(int *)0); }
 
@@ -491,7 +557,7 @@ Form_Hook field_term(
 
 #undef set_form_init
 int    set_form_init(
 
 #undef set_form_init
 int    set_form_init(
-               FORM    *form, 
+               FORM    *form,
                Form_Hook func)
                { return(*(int *)0); }
 
                Form_Hook func)
                { return(*(int *)0); }
 
@@ -502,7 +568,7 @@ Form_Hook form_init(
 
 #undef set_form_term
 int    set_form_term(
 
 #undef set_form_term
 int    set_form_term(
-               FORM    *form, 
+               FORM    *form,
                Form_Hook func)
                { return(*(int *)0); }
 
                Form_Hook func)
                { return(*(int *)0); }
 
@@ -515,7 +581,7 @@ Form_Hook form_term(
 
 #undef set_form_opts
 int    set_form_opts(
 
 #undef set_form_opts
 int    set_form_opts(
-               FORM    *form, 
+               FORM    *form,
                Form_Options opts)
                { return(*(int *)0); }
 
                Form_Options opts)
                { return(*(int *)0); }
 
@@ -526,13 +592,13 @@ Form_Options form_opts(
 
 #undef form_opts_on
 int    form_opts_on(
 
 #undef form_opts_on
 int    form_opts_on(
-               FORM    *form, 
+               FORM    *form,
                Form_Options opts)
                { return(*(int *)0); }
 
 #undef form_opts_off
 int    form_opts_off(
                Form_Options opts)
                { return(*(int *)0); }
 
 #undef form_opts_off
 int    form_opts_off(
-               FORM    *form, 
+               FORM    *form,
                Form_Options opts)
                { return(*(int *)0); }
 
                Form_Options opts)
                { return(*(int *)0); }
 
@@ -540,7 +606,7 @@ int form_opts_off(
 
 #undef set_form_page
 int    set_form_page(
 
 #undef set_form_page
 int    set_form_page(
-               FORM    *form, 
+               FORM    *form,
                int     page)
                { return(*(int *)0); }
 
                int     page)
                { return(*(int *)0); }
 
@@ -577,8 +643,8 @@ int form_request_by_name(
 
 #undef scale_form
 int    scale_form(
 
 #undef scale_form
 int    scale_form(
-               const FORM *form, 
-               int     *rows, 
+               const FORM *form,
+               int     *rows,
                int     *cols)
                { return(*(int *)0); }
 
                int     *cols)
                { return(*(int *)0); }
 
@@ -586,7 +652,7 @@ int scale_form(
 
 #undef set_form_sub
 int    set_form_sub(
 
 #undef set_form_sub
 int    set_form_sub(
-               FORM    *form, 
+               FORM    *form,
                WINDOW  *win)
                { return(*(int *)0); }
 
                WINDOW  *win)
                { return(*(int *)0); }
 
@@ -599,7 +665,7 @@ WINDOW      *form_sub(
 
 #undef set_form_userptr
 int    set_form_userptr(
 
 #undef set_form_userptr
 int    set_form_userptr(
-               FORM    *form, 
+               FORM    *form,
                void    *usrptr)
                { return(*(int *)0); }
 
                void    *usrptr)
                { return(*(int *)0); }
 
@@ -612,7 +678,7 @@ void        *form_userptr(
 
 #undef set_form_win
 int    set_form_win(
 
 #undef set_form_win
 int    set_form_win(
-               FORM    *form, 
+               FORM    *form,
                WINDOW  *win)
                { return(*(int *)0); }
 
                WINDOW  *win)
                { return(*(int *)0); }
 
@@ -623,70 +689,172 @@ WINDOW   *form_win(
 
 /* ./fty_alnum.c */
 
 
 /* ./fty_alnum.c */
 
-typedef struct {
-  int width;
-} alnumARG;
+typedef struct
+  {
+    int width;
+  }
+alnumARG;
 
 #undef TYPE_ALNUM
 FIELDTYPE *TYPE_ALNUM;
 
 
 #undef TYPE_ALNUM
 FIELDTYPE *TYPE_ALNUM;
 
+#undef _nc_TYPE_ALNUM
+FIELDTYPE *_nc_TYPE_ALNUM(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_alpha.c */
 
 /* ./fty_alpha.c */
 
-typedef struct {
-  int width;
-} alphaARG;
+typedef struct
+  {
+    int width;
+  }
+alphaARG;
 
 #undef TYPE_ALPHA
 FIELDTYPE *TYPE_ALPHA;
 
 
 #undef TYPE_ALPHA
 FIELDTYPE *TYPE_ALPHA;
 
+#undef _nc_TYPE_ALPHA
+FIELDTYPE *_nc_TYPE_ALPHA(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_enum.c */
 
 /* ./fty_enum.c */
 
-typedef struct {
-  char **kwds;
-  int  count;
-  NCURSES_BOOL  checkcase;
-  NCURSES_BOOL  checkunique;
-} enumARG;
+typedef struct
+  {
+    char **kwds;
+    int count;
+    NCURSES_BOOL checkcase;
+    NCURSES_BOOL checkunique;
+  }
+enumARG;
+
+typedef struct
+  {
+    char **kwds;
+    int ccase;
+    int cunique;
+  }
+enumParams;
 
 #undef TYPE_ENUM
 FIELDTYPE *TYPE_ENUM;
 
 
 #undef TYPE_ENUM
 FIELDTYPE *TYPE_ENUM;
 
+#undef _nc_TYPE_ENUM
+FIELDTYPE *_nc_TYPE_ENUM(void)
+               { return(*(FIELDTYPE **)0); }
+
+/* ./fty_generic.c */
+
+#undef _nc_generic_fieldtype
+FIELDTYPE *_nc_generic_fieldtype(
+               NCURSES_BOOL (*const field_check)(
+               FORM    *p1,
+               FIELD   *p2,
+               const void *p3),
+               NCURSES_BOOL (*const char_check)(
+               int     p1,
+               FORM    *p2,
+               FIELD   *p3,
+               const void *p4),
+               NCURSES_BOOL (*const next)(
+               FORM    *p1,
+               FIELD   *p2,
+               const void *p3),
+               NCURSES_BOOL (*const prev)(
+               FORM    *p1,
+               FIELD   *p2,
+               const void *p3),
+               void    (*freecallback)(
+               void    *p1))
+               { return(*(FIELDTYPE **)0); }
+
+#undef _nc_set_generic_fieldtype
+int    _nc_set_generic_fieldtype(
+               FIELD   *field,
+               FIELDTYPE *ftyp,
+               int     (*argiterator)(
+               void    **p1))
+               { return(*(int *)0); }
+
+#undef _nc_form_cursor
+WINDOW *_nc_form_cursor(
+               const FORM *form,
+               int     *pRow,
+               int     *pCol)
+               { return(*(WINDOW **)0); }
+
 /* ./fty_int.c */
 
 /* ./fty_int.c */
 
-typedef struct {
-  int precision;
-  long low;
-  long high;
-} integerARG;
+typedef struct
+  {
+    int precision;
+    long low;
+    long high;
+  }
+integerARG;
+
+typedef struct
+  {
+    int precision;
+    long low;
+    long high;
+  }
+integerPARM;
 
 #undef TYPE_INTEGER
 FIELDTYPE *TYPE_INTEGER;
 
 
 #undef TYPE_INTEGER
 FIELDTYPE *TYPE_INTEGER;
 
+#undef _nc_TYPE_INTEGER
+FIELDTYPE *_nc_TYPE_INTEGER(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_ipv4.c */
 /* ./fty_ipv4.c */
+
 #undef TYPE_IPV4
 FIELDTYPE *TYPE_IPV4;
 
 #undef TYPE_IPV4
 FIELDTYPE *TYPE_IPV4;
 
+#undef _nc_TYPE_IPV4
+FIELDTYPE *_nc_TYPE_IPV4(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_num.c */
 
 /* ./fty_num.c */
 
-typedef struct {
-  int    precision;
-  double low;
-  double high;
-  struct lconv* L;
-} numericARG;
+typedef struct
+  {
+    int precision;
+    double low;
+    double high;
+    struct lconv *L;
+  }
+numericARG;
+
+typedef struct
+  {
+    int precision;
+    double low;
+    double high;
+  }
+thisPARM;
 
 #undef TYPE_NUMERIC
 FIELDTYPE *TYPE_NUMERIC;
 
 
 #undef TYPE_NUMERIC
 FIELDTYPE *TYPE_NUMERIC;
 
-/* ./fty_regex.c */
+#undef _nc_TYPE_NUMERIC
+FIELDTYPE *_nc_TYPE_NUMERIC(void)
+               { return(*(FIELDTYPE **)0); }
 
 
-#include <regex.h>
+/* ./fty_regex.c */
 
 typedef struct
 
 typedef struct
-{
-  regex_t *pRegExp;
-  unsigned long *refCount;
-} RegExp_Arg;
+  {
+    regex_t *pRegExp;
+    unsigned long *refCount;
+  }
+RegExp_Arg;
 
 #undef TYPE_REGEXP
 FIELDTYPE *TYPE_REGEXP;
 
 #undef TYPE_REGEXP
 FIELDTYPE *TYPE_REGEXP;
+
+#undef _nc_TYPE_REGEXP
+FIELDTYPE *_nc_TYPE_REGEXP(void)
+               { return(*(FIELDTYPE **)0); }