about summary refs log tree commit diff stats
path: root/src/HTForms.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>1999-12-01 03:38:43 -0500
committerThomas E. Dickey <dickey@invisible-island.net>1999-12-01 03:38:43 -0500
commit4525eb4b32fdf2124e246285af59a1e14ecbf551 (patch)
treeb4fa005bd9b3ff3f0973cb1ea9e5ac4243ec2a39 /src/HTForms.h
parent45f1aadc261561566cd074da1d9b0fb21a6ad78c (diff)
downloadlynx-snapshots-4525eb4b32fdf2124e246285af59a1e14ecbf551.tar.gz
snapshot of project "lynx", label v2-8-3dev_16
Diffstat (limited to 'src/HTForms.h')
-rw-r--r--src/HTForms.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/HTForms.h b/src/HTForms.h
index 10c383d0..cdfa3688 100644
--- a/src/HTForms.h
+++ b/src/HTForms.h
@@ -132,6 +132,9 @@ typedef struct _PerFormInfo
 #define F_IMAGE_SUBMIT_TYPE 13
 #define F_KEYGEN_TYPE     14
 
+#define F_TEXTLIKE(type) ((type)==F_TEXT_TYPE || (type)==F_TEXT_SUBMIT_TYPE ||\
+			  (type)==F_PASSWORD_TYPE || (type)==F_TEXTAREA_TYPE)
+
 #define WWW_FORM_LINK_TYPE  1
 #define WWW_LINK_TYPE   2
 #define WWW_INTERN_LINK_TYPE   6 /* can be used as a bitflag... - kw */