Mercurial > hg > nginx
comparison src/stream/ngx_stream_variables.h @ 6899:d2b2ff157da5
Variables: generic prefix variables.
author | Dmitry Volyntsev <xeioex@nginx.com> |
---|---|
date | Tue, 31 Jan 2017 21:19:58 +0300 |
parents | c70b7f4537e1 |
children | 2a288909abc6 |
comparison
equal
deleted
inserted
replaced
6885:25203fc377fb | 6899:d2b2ff157da5 |
---|---|
28 | 28 |
29 #define NGX_STREAM_VAR_CHANGEABLE 1 | 29 #define NGX_STREAM_VAR_CHANGEABLE 1 |
30 #define NGX_STREAM_VAR_NOCACHEABLE 2 | 30 #define NGX_STREAM_VAR_NOCACHEABLE 2 |
31 #define NGX_STREAM_VAR_INDEXED 4 | 31 #define NGX_STREAM_VAR_INDEXED 4 |
32 #define NGX_STREAM_VAR_NOHASH 8 | 32 #define NGX_STREAM_VAR_NOHASH 8 |
33 #define NGX_STREAM_VAR_WEAK 16 | |
34 #define NGX_STREAM_VAR_PREFIX 32 | |
33 | 35 |
34 | 36 |
35 struct ngx_stream_variable_s { | 37 struct ngx_stream_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_stream_set_variable_pt set_handler; | 39 ngx_stream_set_variable_pt set_handler; |