about summary refs log tree commit diff stats
path: root/src/HTForms.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/HTForms.h')
-rw-r--r--src/HTForms.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/HTForms.h b/src/HTForms.h
index eb0784f2..c01d3df1 100644
--- a/src/HTForms.h
+++ b/src/HTForms.h
@@ -7,7 +7,7 @@
 #endif /* LYSTRUCTS_H */
 
 /* in LYForms.c */
-extern int change_form_link PARAMS((struct link *form_link,
+extern int change_form_link PARAMS((struct link *form_link, int mode,
                                     document *newdoc, BOOLEAN *refresh_screen,
 				    char *link_name, char *link_value));
 
@@ -59,7 +59,7 @@ typedef struct _FormInfo {
 	char *			value;	   /* user entered string data */
 	char *			orig_value;/* the original value */
 	int			size;	   /* width on the screen */
-	unsigned		maxlength; /* max width of data */
+	int			maxlength; /* max width of data */
 	int			group;	   /* a group associated with the link
 					    *  this is used for select's
 					    */
@@ -130,6 +130,9 @@ typedef struct _PerFormInfo
 #define NORMAL_LYNX_MODE 1
 #define FORMS_LYNX_MODE  2
 
+#define FORM_UP   1
+#define FORM_DOWN 2
+
 #define FIRST_ORDER  1
 #define MIDDLE_ORDER 2
 #define LAST_ORDER   3