comparison src/http/ngx_http_variables.h @ 6899:d2b2ff157da5

Variables: generic prefix variables.
author Dmitry Volyntsev <xeioex@nginx.com>
date Tue, 31 Jan 2017 21:19:58 +0300
parents a33b8c3aa975
children 2a288909abc6
comparison
equal deleted inserted replaced
6885:25203fc377fb 6899:d2b2ff157da5
28 28
29 #define NGX_HTTP_VAR_CHANGEABLE 1 29 #define NGX_HTTP_VAR_CHANGEABLE 1
30 #define NGX_HTTP_VAR_NOCACHEABLE 2 30 #define NGX_HTTP_VAR_NOCACHEABLE 2
31 #define NGX_HTTP_VAR_INDEXED 4 31 #define NGX_HTTP_VAR_INDEXED 4
32 #define NGX_HTTP_VAR_NOHASH 8 32 #define NGX_HTTP_VAR_NOHASH 8
33 #define NGX_HTTP_VAR_WEAK 16
34 #define NGX_HTTP_VAR_PREFIX 32
33 35
34 36
35 struct ngx_http_variable_s { 37 struct ngx_http_variable_s {
36 ngx_str_t name; /* must be first to build the hash */ 38 ngx_str_t name; /* must be first to build the hash */
37 ngx_http_set_variable_pt set_handler; 39 ngx_http_set_variable_pt set_handler;