diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-10-27 08:53:49 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-10-27 08:53:49 +0000 |
commit | 10fc9ef77503ec4db5f5006557aeffc1939043ca (patch) | |
tree | 48dd22fcf5c6defd2960156f24a8b07757a7c6da /src/core/ngx_log.h | |
parent | 6414b96ebc50f42bf878aa84839921ab0aa9f4df (diff) | |
download | nginx-10fc9ef77503ec4db5f5006557aeffc1939043ca.tar.gz nginx-10fc9ef77503ec4db5f5006557aeffc1939043ca.zip |
nginx-0.0.1-2003-10-27-11:53:49 import
Diffstat (limited to 'src/core/ngx_log.h')
-rw-r--r-- | src/core/ngx_log.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h index dcbbef831..959c13206 100644 --- a/src/core/ngx_log.h +++ b/src/core/ngx_log.h @@ -63,11 +63,14 @@ typedef enum { */ +typedef size_t (*ngx_log_handler_pt) (void *ctx, char *buf, size_t len); + + typedef struct { - int log_level; - ngx_open_file_t *file; - void *data; - size_t (*handler)(void *ctx, char *buf, size_t len); + int log_level; + ngx_open_file_t *file; + void *data; + ngx_log_handler_pt handler; #if 0 /* STUB */ |