comparison src/http/ngx_http_variables.h @ 1162:f59d15404269

$upstream_http_... variables
author Igor Sysoev <igor@sysoev.ru>
date Tue, 10 Apr 2007 07:08:06 +0000
parents e60fe4cf1d4e
children 33d6c994a0b2
comparison
equal deleted inserted replaced
1161:6002e0253221 1162:f59d15404269
59 ngx_uint_t index); 59 ngx_uint_t index);
60 60
61 ngx_http_variable_value_t *ngx_http_get_variable(ngx_http_request_t *r, 61 ngx_http_variable_value_t *ngx_http_get_variable(ngx_http_request_t *r,
62 ngx_str_t *name, ngx_uint_t key, ngx_uint_t nowarn); 62 ngx_str_t *name, ngx_uint_t key, ngx_uint_t nowarn);
63 63
64 ngx_int_t ngx_http_variable_unknown_header(ngx_http_variable_value_t *v,
65 ngx_str_t *var, ngx_list_part_t *part, size_t prefix);
66
67
64 #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL; 68 #define ngx_http_clear_variable(r, index) r->variables0[index].text.data = NULL;
65 69
66 70
67 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf); 71 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf);
68 ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf); 72 ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf);