nginx-0.0.1-2003-10-27-11:53:49 import
diff --git a/src/core/ngx_log.h b/src/core/ngx_log.h
index dcbbef8..959c132 100644
--- a/src/core/ngx_log.h
+++ b/src/core/ngx_log.h
@@ -63,11 +63,14 @@
*/
+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 */