diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 07:10:12 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-03-16 07:10:12 +0000 |
commit | 10a543a810ac78eb5d754302b001debf9cd420c4 (patch) | |
tree | a4a4f43835bed4549007b82db516d460fc86c555 /src/core/ngx_hunk.h | |
parent | 5596ede94ed311bb9d16ee11f6f68c97eb46d836 (diff) | |
download | nginx-10a543a810ac78eb5d754302b001debf9cd420c4.tar.gz nginx-10a543a810ac78eb5d754302b001debf9cd420c4.zip |
nginx-0.0.2-2004-03-16-10:10:12 import
Diffstat (limited to 'src/core/ngx_hunk.h')
-rw-r--r-- | src/core/ngx_hunk.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h index 7dc0f0c85..ab32e45fb 100644 --- a/src/core/ngx_hunk.h +++ b/src/core/ngx_hunk.h @@ -45,14 +45,14 @@ typedef void * ngx_hunk_tag_t; typedef struct ngx_hunk_s ngx_hunk_t; struct ngx_hunk_s { - char *pos; - char *last; + u_char *pos; + u_char *last; off_t file_pos; off_t file_last; int type; - char *start; /* start of hunk */ - char *end; /* end of hunk */ + u_char *start; /* start of hunk */ + u_char *end; /* end of hunk */ ngx_hunk_tag_t tag; ngx_file_t *file; ngx_hunk_t *shadow; @@ -69,7 +69,7 @@ struct ngx_chain_s { typedef struct { - int num; + ngx_int_t num; size_t size; } ngx_bufs_t; @@ -87,7 +87,7 @@ typedef struct { unsigned need_in_temp; ngx_pool_t *pool; - int hunks; + ngx_int_t hunks; ngx_bufs_t bufs; ngx_hunk_tag_t tag; |