diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-06-03 15:42:58 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-06-03 15:42:58 +0000 |
commit | 1c10462e88491d52a23e22fbc3ca0012591df095 (patch) | |
tree | 5a71cf54dda493188473693e5b66a08fc8cdf161 /src/core/ngx_hunk.h | |
parent | 7578ec9df43bbb31db5291f1b76359d10900a679 (diff) | |
download | nginx-1c10462e88491d52a23e22fbc3ca0012591df095.tar.gz nginx-1c10462e88491d52a23e22fbc3ca0012591df095.zip |
nginx-0.0.1-2003-06-03-19:42:58 import
Diffstat (limited to 'src/core/ngx_hunk.h')
-rw-r--r-- | src/core/ngx_hunk.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h index c0e0dbf7b..b948895a9 100644 --- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -1,11 +1,9 @@ -#ifndef _NGX_CHUNK_H_INCLUDED_ -#define _NGX_CHUNK_H_INCLUDED_ +#ifndef _NGX_HUNK_H_INCLUDED_ +#define _NGX_HUNK_H_INCLUDED_ #include <ngx_config.h> -#include <ngx_types.h> -#include <ngx_file.h> -#include <ngx_alloc.h> +#include <ngx_core.h> /* hunk type */ @@ -35,7 +33,8 @@ -typedef struct ngx_hunk_s ngx_hunk_t; +typedef struct ngx_hunk_s ngx_hunk_t; + struct ngx_hunk_s { char *pos; char *last; @@ -53,7 +52,8 @@ struct ngx_hunk_s { }; -typedef struct ngx_chain_s ngx_chain_t; +typedef struct ngx_chain_s ngx_chain_t; + struct ngx_chain_s { ngx_hunk_t *hunk; ngx_chain_t *next; @@ -83,4 +83,4 @@ ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size, } while (0); -#endif /* _NGX_CHUNK_H_INCLUDED_ */ +#endif /* _NGX_HUNK_H_INCLUDED_ */ |