Mercurial > hg > nginx
diff src/core/ngx_log.h @ 105:00bee6e7b485
nginx-0.0.1-2003-06-15-22:32:13 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 15 Jun 2003 18:32:13 +0000 |
parents | 7ebc8b7fb816 |
children | 9f9de4deda7e |
line wrap: on
line diff
--- a/src/core/ngx_log.h Thu Jun 12 05:54:39 2003 +0000 +++ b/src/core/ngx_log.h Sun Jun 15 18:32:13 2003 +0000 @@ -68,10 +68,12 @@ ngx_fd_t fd; void *data; size_t (*handler)(void *ctx, char *buf, size_t len); +#if 0 /* STUB */ char *action; char *context; /* */ +#endif } ngx_log_t; #define MAX_ERROR_STR 2048 @@ -161,6 +163,9 @@ #endif /* VARIADIC MACROS */ +#define ngx_log_alloc_log(pool, log) ngx_palloc(pool, log, sizeof(ngx_log_t)) +#define ngx_log_copy_log(new, old) ngx_memcpy(new, old, sizeof(ngx_log_t)) + ngx_log_t *ngx_log_init_errlog(); char *ngx_log_set_errlog(ngx_conf_t *cf, ngx_command_t *cmd, ngx_log_t *log);