From fe43991e3dc6c46e2781d21369f5e268de7baef9 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Tue, 10 Oct 2017 18:11:31 +0200 Subject: Implement match on arguments position --- src/sp_config.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sp_config.h') diff --git a/src/sp_config.h b/src/sp_config.h index 0877ebb..c005206 100644 --- a/src/sp_config.h +++ b/src/sp_config.h @@ -77,6 +77,7 @@ typedef struct { char *param; pcre *r_param; sp_php_type param_type; + int pos; char *ret; pcre *r_ret; @@ -183,6 +184,7 @@ typedef struct { #define SP_TOKEN_RET_TYPE ".ret_type(" #define SP_TOKEN_VALUE ".value(" #define SP_TOKEN_VALUE_REGEXP ".value_r(" +#define SP_TOKEN_VALUE_ARG_POS ".pos(" // cookies encryption #define SP_TOKEN_NAME ".cookie(" -- cgit v1.3