]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - form/llib-lformt
ncurses 6.2 - patch 20200425
[ncurses.git] / form / llib-lformt
index 33de63cde975db232433243ae1aa604e9e9df9fe..6460016175f1a5e436d0554b15301fad741b3ae4 100644 (file)
@@ -1,5 +1,6 @@
 /****************************************************************************
- * Copyright (c) 2010 Free Software Foundation, Inc.                        *
+ * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 2010-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       2010                                     *
+ *  Author: Thomas E. Dickey       2010-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, 
@@ -674,6 +685,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
@@ -685,6 +700,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
@@ -707,11 +726,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 */
 
@@ -734,13 +791,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
   {
@@ -762,9 +826,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
   {
@@ -775,3 +841,7 @@ RegExp_Arg;
 
 #undef TYPE_REGEXP
 FIELDTYPE *TYPE_REGEXP;
+
+#undef _nc_TYPE_REGEXP
+FIELDTYPE *_nc_TYPE_REGEXP(void)
+               { return(*(FIELDTYPE **)0); }