Mercurial > hg > nginx-vendor-0-7
diff src/http/ngx_http_variables.h @ 186:54aabf2b0bc6 NGINX_0_3_40
nginx 0.3.40
*) Feature: the ngx_http_dav_module supports the MKCOL method.
*) Feature: the "create_full_put_path" directive.
*) Feature: the "$limit_rate" variable.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 19 Apr 2006 00:00:00 +0400 |
parents | 71ff1e2b484a |
children | 2ceaee987f37 |
line wrap: on
line diff
--- a/src/http/ngx_http_variables.h +++ b/src/http/ngx_http_variables.h @@ -28,6 +28,8 @@ typedef struct { typedef struct ngx_http_variable_s ngx_http_variable_t; +typedef void (*ngx_http_set_variable_pt) (ngx_http_request_t *r, + ngx_http_variable_value_t *v, uintptr_t data); typedef ngx_int_t (*ngx_http_get_variable_pt) (ngx_http_request_t *r, ngx_http_variable_value_t *v, uintptr_t data); @@ -40,7 +42,8 @@ typedef ngx_int_t (*ngx_http_get_variabl struct ngx_http_variable_s { ngx_str_t name; /* must be first to build the hash */ - ngx_http_get_variable_pt handler; + ngx_http_set_variable_pt set_handler; + ngx_http_get_variable_pt get_handler; uintptr_t data; ngx_uint_t flags; ngx_uint_t index;