comparison src/http/ngx_http_variables.h @ 533:d6e48c08d718 release-0.1.41

nginx-0.1.41-RELEASE import *) Bugfix: if the variable was used in the configuration file, then it can not be used in SSI.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 19 Aug 2005 08:54:17 +0000
parents 12234c998d83
children 58475592100c
comparison
equal deleted inserted replaced
532:6fadb47f2d26 533:d6e48c08d718
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);