From abf7c3ef54212623addba2586217a6a07e6a89bb Mon Sep 17 00:00:00 2001 From: "Thomas E. Dickey" Date: Thu, 24 Nov 2016 12:27:19 -0500 Subject: snapshot of project "lynx", label v2-8-9dev_11a --- WWW/Library/Implementation/HTParse.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'WWW/Library/Implementation/HTParse.h') 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. -- cgit 1.4.1-2-gfad0