Mercurial > hg > nginx-quic
diff src/core/ngx_hunk.h @ 100:7ebc8b7fb816
nginx-0.0.1-2003-06-03-19:42:58 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 03 Jun 2003 15:42:58 +0000 |
parents | a059e1aa65d4 |
children | 7a886b9a67dc |
line wrap: on
line diff
--- 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_poo } while (0); -#endif /* _NGX_CHUNK_H_INCLUDED_ */ +#endif /* _NGX_HUNK_H_INCLUDED_ */