Mercurial > hg > nginx
comparison src/http/modules/ngx_http_log_handler.h @ 99:a059e1aa65d4
nginx-0.0.1-2003-06-02-19:24:30 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 02 Jun 2003 15:24:30 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
98:c9b243802a17 | 99:a059e1aa65d4 |
---|---|
1 #ifndef _NGX_HTTP_LOG_HANDLER_H_INCLUDED_ | |
2 #define _NGX_HTTP_LOG_HANDLER_H_INCLUDED_ | |
3 | |
4 | |
5 #include <ngx_config.h> | |
6 #include <ngx_core.h> | |
7 #include <ngx_http.h> | |
8 | |
9 | |
10 typedef struct { | |
11 int dummy; | |
12 } ngx_http_log_conf_t; | |
13 | |
14 | |
15 typedef enum { | |
16 | |
17 NGX_HTTP_LOG_HANDLER = 0, | |
18 | |
19 #if 0 | |
20 /* the ngx_str_t field of the request */ | |
21 NGX_HTTP_LOG_REQUEST_STR_FIELD, | |
22 | |
23 /* the ngx_str_t field of the r->headers_in */ | |
24 NGX_HTTP_LOG_REQUEST_HEADER_IN_FIELD, | |
25 | |
26 /* the ngx_str_t field of the r->headers_out */ | |
27 NGX_HTTP_LOG_REQUEST_HEADER_OUT_FIELD, | |
28 #endif | |
29 | |
30 } ngx_http_log_code_e; | |
31 | |
32 | |
33 typedef struct { | |
34 int type; | |
35 int size; | |
36 char *(*handler) (ngx_http_request_t *r, char *p); | |
37 int offset; | |
38 } ngx_http_log_code_t; | |
39 | |
40 | |
41 #endif /* _NGX_HTTP_LOG_HANDLER_H_INCLUDED_ */ |