Mercurial > hg > nginx-mail
annotate src/http/modules/ngx_http_log_module.h @ 230:38e7b94d63ac NGINX_0_4_0
nginx 0.4.0
*) Change in internal API: the HTTP modules initialization was moved
from the init module phase to the HTTP postconfiguration phase.
*) Change: now the request body is not read beforehand for the
ngx_http_perl_module: it's required to start the reading using the
$r->has_request_body method.
*) Feature: the ngx_http_perl_module supports the DECLINED return code.
*) Feature: the ngx_http_dav_module supports the incoming "Date" header
line for the PUT method.
*) Feature: the "ssi" directive is available inside the "if" block.
*) Bugfix: a segmentation fault occurred if there was an "index"
directive with variables and the first index name was without
variables; bug appeared in 0.1.29.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Wed, 30 Aug 2006 00:00:00 +0400 |
parents | d25a1d6034f1 |
children |
rev | line source |
---|---|
50 | 1 |
2 /* | |
3 * Copyright (C) Igor Sysoev | |
4 */ | |
5 | |
6 | |
7 #ifndef _NGX_HTTP_LOG_MODULE_H_INCLUDED_ | |
8 #define _NGX_HTTP_LOG_MODULE_H_INCLUDED_ | |
9 | |
10 | |
11 #include <ngx_config.h> | |
12 #include <ngx_core.h> | |
13 #include <ngx_http.h> | |
14 | |
15 | |
16 typedef struct ngx_http_log_op_s ngx_http_log_op_t; | |
17 | |
18 typedef u_char *(*ngx_http_log_op_run_pt) (ngx_http_request_t *r, u_char *buf, | |
19 ngx_http_log_op_t *op); | |
20 | |
21 typedef size_t (*ngx_http_log_op_getlen_pt) (ngx_http_request_t *r, | |
22 uintptr_t data); | |
23 | |
24 typedef ngx_int_t (*ngx_http_log_op_compile_pt) (ngx_conf_t *cf, | |
25 ngx_http_log_op_t *op, ngx_str_t *value); | |
26 | |
27 | |
28 struct ngx_http_log_op_s { | |
29 size_t len; | |
30 ngx_http_log_op_getlen_pt getlen; | |
31 ngx_http_log_op_run_pt run; | |
32 uintptr_t data; | |
33 }; | |
34 | |
35 | |
36 typedef struct { | |
37 ngx_str_t name; | |
38 size_t len; | |
39 ngx_http_log_op_compile_pt compile; | |
40 ngx_http_log_op_getlen_pt getlen; | |
41 ngx_http_log_op_run_pt run; | |
42 } ngx_http_log_op_name_t; | |
43 | |
44 | |
45 extern ngx_http_log_op_name_t ngx_http_log_fmt_ops[]; | |
46 | |
47 | |
48 #endif /* _NGX_HTTP_LOG_MODULE_H_INCLUDED_ */ |