Mercurial > hg > nginx-quic
diff src/core/ngx_log.h @ 6:669801705ab1
nginx-0.0.1-2002-08-26-19:18:19 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 26 Aug 2002 15:18:19 +0000 |
parents | c5f071d376e5 |
children | 708f8bb772ec |
line wrap: on
line diff
--- a/src/core/ngx_log.h +++ b/src/core/ngx_log.h @@ -3,6 +3,7 @@ #include <ngx_errno.h> +#include <ngx_file.h> typedef enum { NGX_LOG_EMERG = 0, @@ -59,13 +60,14 @@ typedef enum { */ typedef struct { - int log_level; - char *action; - char *context; -#if 0 - void *data; /* i.e. ngx_http_proxy_error_context_t */ - char *func(ngx_log_t *log); -#endif + int log_level; + ngx_fd_t fd; + void *data; + size_t (*handler)(void *ctx, char *buf, size_t len); +/* STUB */ + char *action; + char *context; +/* */ } ngx_log_t; #define MAX_ERROR_STR 2048