diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-02-11 16:42:23 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-02-11 16:42:23 +0000 |
commit | 0a9d145c667e940d314dad1ca67d79c8c5d9bb89 (patch) | |
tree | c22cff635a1f850e1b10f0232c5bb5cb5c345e03 /src/core/ngx_hunk.h | |
parent | 1e7ec9dcd2360ca5ef1a4db75a7971f0dec7ea54 (diff) | |
download | nginx-0a9d145c667e940d314dad1ca67d79c8c5d9bb89.tar.gz nginx-0a9d145c667e940d314dad1ca67d79c8c5d9bb89.zip |
nginx-0.0.1-2003-02-11-19:42:23 import
Diffstat (limited to 'src/core/ngx_hunk.h')
-rw-r--r-- | src/core/ngx_hunk.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h index 42030eb26..2e16450e8 100644 --- 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); |