comparison src/http/ngx_http_variables.h @ 82:2aa14f638cf0 NGINX_0_1_41

nginx 0.1.41 *) Bugfix: if the variable was used in the configuration file, then it can not be used in SSI.
author Igor Sysoev <http://sysoev.ru>
date Mon, 25 Jul 2005 00:00:00 +0400
parents 056fd0e5a5a6
children d25a1d6034f1
comparison
equal deleted inserted replaced
81:4e854e6d1986 82:2aa14f638cf0
36 struct ngx_http_variable_s { 36 struct ngx_http_variable_s {
37 ngx_str_t name; /* must be first to build the hash */ 37 ngx_str_t name; /* must be first to build the hash */
38 ngx_http_get_variable_pt handler; 38 ngx_http_get_variable_pt handler;
39 uintptr_t data; 39 uintptr_t data;
40 ngx_uint_t flags; 40 ngx_uint_t flags;
41 ngx_uint_t index;
41 }; 42 };
42 43
43 44
44 ngx_http_variable_t *ngx_http_add_variable(ngx_conf_t *cf, ngx_str_t *name, 45 ngx_http_variable_t *ngx_http_add_variable(ngx_conf_t *cf, ngx_str_t *name,
45 ngx_uint_t flags); 46 ngx_uint_t flags);