diff options
author | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 08:10:40 +0300 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2015-03-04 08:10:40 +0300 |
commit | c238150a57616e4bf7bda8f20fd27901ae323649 (patch) | |
tree | 583fec86914c740aee79dee227a83813d46e1ac9 /src/http/ngx_http_request.h | |
parent | 466b3b9250ba655b40a05652041463e74196cea8 (diff) | |
download | nginx-c238150a57616e4bf7bda8f20fd27901ae323649.tar.gz nginx-c238150a57616e4bf7bda8f20fd27901ae323649.zip |
Style: moved ngx_http_ephemeral() macro to ngx_http_request.h.
Diffstat (limited to 'src/http/ngx_http_request.h')
-rw-r--r-- | src/http/ngx_http_request.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/http/ngx_http_request.h b/src/http/ngx_http_request.h index 9be0c6e71..594648989 100644 --- a/src/http/ngx_http_request.h +++ b/src/http/ngx_http_request.h @@ -577,6 +577,9 @@ typedef struct { } ngx_http_ephemeral_t; +#define ngx_http_ephemeral(r) (void *) (&r->uri_start) + + extern ngx_http_header_t ngx_http_headers_in[]; extern ngx_http_header_out_t ngx_http_headers_out[]; |