commit | 31904278dc8ee68c015538cb1a91e246b1e5d1ea | [log] [tgz] |
---|---|---|
author | Thierry FOURNIER <thierry.fournier@ozon.io> | Wed Oct 25 12:59:51 2017 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Oct 27 10:30:44 2017 +0200 |
tree | ff4544fc32318e45744d3d87299c32b1ac07d72c | |
parent | 46c72551f36b982d117cf89537430699305a3c15 [diff] |
MINOR: hlua: Add regex class This patch simply brings HAProxy internal regex system to the Lua API. Lua doesn't embed regexes, now it inherits from the regexes compiled with haproxy.
diff --git a/include/types/hlua.h b/include/types/hlua.h index bff29d0..74dcf00 100644 --- a/include/types/hlua.h +++ b/include/types/hlua.h
@@ -24,6 +24,7 @@ #define CLASS_PROXY "Proxy" #define CLASS_SERVER "Server" #define CLASS_LISTENER "Listener" +#define CLASS_REGEX "Regex" struct stream;