Mercurial > hg > nginx
comparison src/http/ngx_http_variables.h @ 3641:6802ba529ec4
change ngx_http_variable_value_node_t to more generic ngx_str_node_t
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 23 Jun 2010 15:31:33 +0000 |
parents | 0eb46e3c5c02 |
children | 83cd1910329c |
comparison
equal
deleted
inserted
replaced
3640:6a767188e365 | 3641:6802ba529ec4 |
---|---|
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_ */ |