ncurses 6.2 - patch 20201017
[ncurses.git] / form / llib-lformw
index 04cbe2b6e36c0ae91978113ddba6b52d02702d6d..de4900dcff837fb1489323f617da0008e06bea1b 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2002-2010,2013 Free Software Foundation, Inc.              *
+ * Copyright 2020 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            *
@@ -27,7 +28,7 @@
  ****************************************************************************/
 
 /****************************************************************************
- *  Author: Thomas E. Dickey           2002-on                              *
+ *  Author: Thomas E. Dickey       2002-on                                  *
  ****************************************************************************/
 /* LINTLIBRARY */
 
@@ -110,6 +111,11 @@ int        set_current_field(
                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)
@@ -458,6 +464,11 @@ int        _nc_Synchronize_Options(
                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(
                FORM    *form, 
@@ -687,6 +698,10 @@ alnumARG;
 #undef TYPE_ALNUM
 FIELDTYPE *TYPE_ALNUM;
 
+#undef _nc_TYPE_ALNUM
+FIELDTYPE *_nc_TYPE_ALNUM(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_alpha.c */
 
 typedef struct
@@ -698,6 +713,10 @@ alphaARG;
 #undef TYPE_ALPHA
 FIELDTYPE *TYPE_ALPHA;
 
+#undef _nc_TYPE_ALPHA
+FIELDTYPE *_nc_TYPE_ALPHA(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_enum.c */
 
 typedef struct
@@ -720,11 +739,49 @@ enumParams;
 #undef TYPE_ENUM
 FIELDTYPE *TYPE_ENUM;
 
+#undef _nc_TYPE_ENUM
+FIELDTYPE *_nc_TYPE_ENUM(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_generic.c */
 
-#undef _nc_fty_generic
-void   _nc_fty_generic(void)
-               { /* void */ }
+#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 */
 
@@ -747,13 +804,20 @@ integerPARM;
 #undef TYPE_INTEGER
 FIELDTYPE *TYPE_INTEGER;
 
+#undef _nc_TYPE_INTEGER
+FIELDTYPE *_nc_TYPE_INTEGER(void)
+               { return(*(FIELDTYPE **)0); }
+
 /* ./fty_ipv4.c */
+
 #undef TYPE_IPV4
 FIELDTYPE *TYPE_IPV4;
 
-/* ./fty_num.c */
+#undef _nc_TYPE_IPV4
+FIELDTYPE *_nc_TYPE_IPV4(void)
+               { return(*(FIELDTYPE **)0); }
 
-#include <locale.h>
+/* ./fty_num.c */
 
 typedef struct
   {
@@ -775,9 +839,11 @@ thisPARM;
 #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
   {
@@ -788,3 +854,7 @@ RegExp_Arg;
 
 #undef TYPE_REGEXP
 FIELDTYPE *TYPE_REGEXP;
+
+#undef _nc_TYPE_REGEXP
+FIELDTYPE *_nc_TYPE_REGEXP(void)
+               { return(*(FIELDTYPE **)0); }