diff options
author | Igor Sysoev <igor@sysoev.ru> | 2002-08-29 16:59:54 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2002-08-29 16:59:54 +0000 |
commit | 016b85270268989d769bade2004a7c628a47d726 (patch) | |
tree | e5054a784236d0087b0a5f2cb473a082cfd6023f /src/core/ngx_hunk.h | |
parent | 0ad17c09032bdfbc67cd1239b43107edc9d55a52 (diff) | |
download | nginx-016b85270268989d769bade2004a7c628a47d726.tar.gz nginx-016b85270268989d769bade2004a7c628a47d726.zip |
nginx-0.0.1-2002-08-29-20:59:54 import
Diffstat (limited to 'src/core/ngx_hunk.h')
-rw-r--r-- | src/core/ngx_hunk.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h index 5e2a1d47e..3703db456 100644 --- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -57,6 +57,9 @@ struct ngx_chain_s { ngx_chain_t *next; }; +#define ngx_create_temp_hunk(pool, size, before, after) \ + ngx_get_hunk(pool, size, before, after) + #define ngx_add_hunk_to_chain(chain, h, pool, error) \ do { \ ngx_test_null(chain, ngx_create_chain_entry(pool), error); \ @@ -66,6 +69,7 @@ struct ngx_chain_s { + ngx_hunk_t *ngx_get_hunk(ngx_pool_t *pool, int size, int before, int after); |