Mercurial > hg > nginx
diff src/core/ngx_alloc.h @ 100:7ebc8b7fb816
nginx-0.0.1-2003-06-03-19:42:58 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Jun 2003 15:42:58 +0000 |
parents | 637625a2acdb |
children | afc333135a6b |
line wrap: on
line diff
--- a/src/core/ngx_alloc.h +++ b/src/core/ngx_alloc.h @@ -3,8 +3,8 @@ #include <ngx_config.h> +#include <ngx_core.h> -#include <ngx_log.h> /* NGX_MAX_ALLOC_FROM_POOL should be (PAGE_SIZE - 1), i.e. 4095 on x86. On FreeBSD 5.x it allows to use zero copy send. @@ -18,12 +18,15 @@ typedef struct ngx_pool_large_s ngx_pool_large_t; + struct ngx_pool_large_s { ngx_pool_large_t *next; void *alloc; }; -typedef struct ngx_pool_s ngx_pool_t; + +typedef struct ngx_pool_s ngx_pool_t; + struct ngx_pool_s { char *last; char *end;