comparison src/http/ngx_http_variables.h @ 582:c456a023113c NGINX_0_8_43

nginx 0.8.43 *) Feature: large geo ranges base loading speed-up. *) Bugfix: an error_page redirection to "location /zero { return 204; }" without changing status code kept the error body; the bug had appeared in 0.8.42. *) Bugfix: nginx might close IPv6 listen socket during reconfiguration. Thanks to Maxim Dounin. *) Bugfix: the $uid_set variable may be used at any request processing stage.
author Igor Sysoev <http://sysoev.ru>
date Wed, 30 Jun 2010 00:00:00 +0400
parents 566e105a89f1
children
comparison
equal deleted inserted replaced
581:22b2345b75d9 582:c456a023113c
86 86
87 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf); 87 ngx_int_t ngx_http_variables_add_core_vars(ngx_conf_t *cf);
88 ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf); 88 ngx_int_t ngx_http_variables_init_vars(ngx_conf_t *cf);
89 89
90 90
91 typedef struct {
92 ngx_rbtree_node_t node;
93 size_t len;
94 ngx_http_variable_value_t *value;
95 } ngx_http_variable_value_node_t;
96
97
98 void ngx_http_variable_value_rbtree_insert(ngx_rbtree_node_t *temp,
99 ngx_rbtree_node_t *node, ngx_rbtree_node_t *sentinel);
100 ngx_http_variable_value_t *ngx_http_variable_value_lookup(ngx_rbtree_t *rbtree,
101 ngx_str_t *name, uint32_t hash);
102
103
104 extern ngx_http_variable_value_t ngx_http_variable_null_value; 91 extern ngx_http_variable_value_t ngx_http_variable_null_value;
105 extern ngx_http_variable_value_t ngx_http_variable_true_value; 92 extern ngx_http_variable_value_t ngx_http_variable_true_value;
106 93
107 94
108 #endif /* _NGX_HTTP_VARIABLES_H_INCLUDED_ */ 95 #endif /* _NGX_HTTP_VARIABLES_H_INCLUDED_ */