about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTParse.h
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2016-11-24 12:27:19 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2016-11-24 12:27:19 -0500
commitabf7c3ef54212623addba2586217a6a07e6a89bb (patch)
tree823317ea2d584b7de095fbeb2d36ac0242d11bc0 /WWW/Library/Implementation/HTParse.h
parentbe36810250ee3abac20e9fd783283eca71048718 (diff)
downloadlynx-snapshots-abf7c3ef54212623addba2586217a6a07e6a89bb.tar.gz
snapshot of project "lynx", label v2-8-9dev_11a
Diffstat (limited to 'WWW/Library/Implementation/HTParse.h')
-rw-r--r--WWW/Library/Implementation/HTParse.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/WWW/Library/Implementation/HTParse.h b/WWW/Library/Implementation/HTParse.h
index 3f427c41..ce1bff61 100644
--- a/WWW/Library/Implementation/HTParse.h
+++ b/WWW/Library/Implementation/HTParse.h
@@ -1,5 +1,5 @@
 /*
- * $LynxId: HTParse.h,v 1.21 2010/09/24 22:45:23 tom Exp $
+ * $LynxId: HTParse.h,v 1.22 2016/11/23 21:06:50 tom Exp $
  *				HTParse:  URL parsing in the WWW Library
  *				HTPARSE
  *
@@ -17,6 +17,11 @@
 #ifdef __cplusplus
 extern "C" {
 #endif
+
+#define RFC_3986_UNRESERVED(c) (isalnum(UCH(c)) || strchr("-._~", UCH(c)) != 0)
+#define RFC_3986_GEN_DELIMS(c) ((c) != 0 && strchr(":/?#[]@", UCH(c)) != 0)
+#define RFC_3986_SUB_DELIMS(c) ((c) != 0 && strchr("!$&'()*+,;=", UCH(c)) != 0)
+
 /*
  *  The following are flag bits which may be ORed together to form
  *  a number to give the 'wanted' argument to HTParse.