Mercurial > hg > nginx
diff src/core/ngx_hunk.h @ 74:17ab1af8c3dd
nginx-0.0.1-2003-04-11-20:01:14 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 11 Apr 2003 16:01:14 +0000 |
parents | 4534060fde92 |
children | 869b10be682f |
line wrap: on
line diff
--- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -34,20 +34,8 @@ - typedef struct ngx_hunk_s ngx_hunk_t; struct ngx_hunk_s { -#if 0 - union { - char *mem; /* start of current data */ - off_t file; - } pos; - union { - char *mem; /* end of current data */ - off_t file; - } last; -#endif - char *pos; char *last; off_t file_pos; @@ -60,10 +48,10 @@ struct ngx_hunk_s { char *post_end; /* end of post-allocated hunk */ int tag; ngx_file_t *file; + ngx_hunk_t *shadow; }; - typedef struct ngx_chain_s ngx_chain_t; struct ngx_chain_s { ngx_hunk_t *hunk;