diff options
| author | jvoisin | 2017-10-10 18:11:31 +0200 |
|---|---|---|
| committer | jvoisin | 2017-10-18 15:27:21 +0200 |
| commit | fe43991e3dc6c46e2781d21369f5e268de7baef9 (patch) | |
| tree | 027471bdcce37397c4b39b6f9fbf252104a2ebde /src/sp_config.h | |
| parent | e8d255e5cef8949256d3290b2d8fd22de9428a83 (diff) | |
Implement match on arguments position
Diffstat (limited to 'src/sp_config.h')
| -rw-r--r-- | src/sp_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 { | |||
| 77 | char *param; | 77 | char *param; |
| 78 | pcre *r_param; | 78 | pcre *r_param; |
| 79 | sp_php_type param_type; | 79 | sp_php_type param_type; |
| 80 | int pos; | ||
| 80 | 81 | ||
| 81 | char *ret; | 82 | char *ret; |
| 82 | pcre *r_ret; | 83 | pcre *r_ret; |
| @@ -183,6 +184,7 @@ typedef struct { | |||
| 183 | #define SP_TOKEN_RET_TYPE ".ret_type(" | 184 | #define SP_TOKEN_RET_TYPE ".ret_type(" |
| 184 | #define SP_TOKEN_VALUE ".value(" | 185 | #define SP_TOKEN_VALUE ".value(" |
| 185 | #define SP_TOKEN_VALUE_REGEXP ".value_r(" | 186 | #define SP_TOKEN_VALUE_REGEXP ".value_r(" |
| 187 | #define SP_TOKEN_VALUE_ARG_POS ".pos(" | ||
| 186 | 188 | ||
| 187 | // cookies encryption | 189 | // cookies encryption |
| 188 | #define SP_TOKEN_NAME ".cookie(" | 190 | #define SP_TOKEN_NAME ".cookie(" |
