Mercurial > hg > nginx
diff src/core/ngx_hunk.h @ 61:4f3e2abcc2c4
nginx-0.0.1-2003-02-11-19:42:23 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Feb 2003 16:42:23 +0000 |
parents | d81326c3b21b |
children | 5a7d1aaa1618 |
line wrap: on
line diff
--- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -55,6 +55,8 @@ struct ngx_hunk_s { ngx_file_t *file; }; + + typedef struct ngx_chain_s ngx_chain_t; struct ngx_chain_s { ngx_hunk_t *hunk; @@ -62,6 +64,9 @@ struct ngx_chain_s { }; +#define NGX_CHAIN_ERROR (ngx_chain_t *) NGX_ERROR + + ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size, int before, int after);