diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2003-06-02 15:24:30 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2003-06-02 15:24:30 +0000 |
| commit | 7578ec9df43bbb31db5291f1b76359d10900a679 (patch) | |
| tree | 87d7b3cb729c0e07b21d52737fd76e12a0c17d72 /src/http/modules/ngx_http_log_handler.h | |
| parent | aa3436c04c222d57498bfa34c9fdec50f07fd08d (diff) | |
| download | nginx-7578ec9df43bbb31db5291f1b76359d10900a679.tar.gz nginx-7578ec9df43bbb31db5291f1b76359d10900a679.tar.bz2 | |
nginx-0.0.1-2003-06-02-19:24:30 import
Diffstat (limited to 'src/http/modules/ngx_http_log_handler.h')
| -rw-r--r-- | src/http/modules/ngx_http_log_handler.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_log_handler.h b/src/http/modules/ngx_http_log_handler.h new file mode 100644 index 000000000..2bda1f0d9 --- /dev/null +++ b/src/http/modules/ngx_http_log_handler.h @@ -0,0 +1,41 @@ +#ifndef _NGX_HTTP_LOG_HANDLER_H_INCLUDED_ +#define _NGX_HTTP_LOG_HANDLER_H_INCLUDED_ + + +#include <ngx_config.h> +#include <ngx_core.h> +#include <ngx_http.h> + + +typedef struct { + int dummy; +} ngx_http_log_conf_t; + + +typedef enum { + + NGX_HTTP_LOG_HANDLER = 0, + +#if 0 + /* the ngx_str_t field of the request */ + NGX_HTTP_LOG_REQUEST_STR_FIELD, + + /* the ngx_str_t field of the r->headers_in */ + NGX_HTTP_LOG_REQUEST_HEADER_IN_FIELD, + + /* the ngx_str_t field of the r->headers_out */ + NGX_HTTP_LOG_REQUEST_HEADER_OUT_FIELD, +#endif + +} ngx_http_log_code_e; + + +typedef struct { + int type; + int size; + char *(*handler) (ngx_http_request_t *r, char *p); + int offset; +} ngx_http_log_code_t; + + +#endif /* _NGX_HTTP_LOG_HANDLER_H_INCLUDED_ */ |
