Mercurial > hg > nginx-quic
diff src/http/ngx_http_variables.h @ 637:e60fe4cf1d4e release-0.3.40
nginx-0.3.40-RELEASE import
*) 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 <igor@sysoev.ru> |
---|---|
date | Wed, 19 Apr 2006 15:30:56 +0000 |
parents | 18268abd340c |
children | f59d15404269 |
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;