Commit 049768f7 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Add vct_isdigit()



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4670 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent eacd8c32
...@@ -55,6 +55,7 @@ vct_is(unsigned char x, uint16_t y) ...@@ -55,6 +55,7 @@ vct_is(unsigned char x, uint16_t y)
#define vct_iscrlf(x) vct_is(x, VCT_CRLF) #define vct_iscrlf(x) vct_is(x, VCT_CRLF)
#define vct_islws(x) vct_is(x, VCT_LWS) #define vct_islws(x) vct_is(x, VCT_LWS)
#define vct_isctl(x) vct_is(x, VCT_CTL) #define vct_isctl(x) vct_is(x, VCT_CTL)
#define vct_isdigit(x) vct_is(x, VCT_DIGIT)
#define vct_isalpha(x) vct_is(x, VCT_ALPHA) #define vct_isalpha(x) vct_is(x, VCT_ALPHA)
#define vct_issep(x) vct_is(x, VCT_SEPARATOR) #define vct_issep(x) vct_is(x, VCT_SEPARATOR)
#define vct_issepctl(x) vct_is(x, VCT_SEPARATOR | VCT_CTL) #define vct_issepctl(x) vct_is(x, VCT_SEPARATOR | VCT_CTL)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment