Mercurial > hg > nginx
comparison src/core/ngx_hunk.h @ 61:4f3e2abcc2c4
nginx-0.0.1-2003-02-11-19:42:23 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 11 Feb 2003 16:42:23 +0000 |
parents | d81326c3b21b |
children | 5a7d1aaa1618 |
comparison
equal
deleted
inserted
replaced
60:50186b49f2ad | 61:4f3e2abcc2c4 |
---|---|
53 char *post_end; /* end of post-allocated hunk */ | 53 char *post_end; /* end of post-allocated hunk */ |
54 int tag; | 54 int tag; |
55 ngx_file_t *file; | 55 ngx_file_t *file; |
56 }; | 56 }; |
57 | 57 |
58 | |
59 | |
58 typedef struct ngx_chain_s ngx_chain_t; | 60 typedef struct ngx_chain_s ngx_chain_t; |
59 struct ngx_chain_s { | 61 struct ngx_chain_s { |
60 ngx_hunk_t *hunk; | 62 ngx_hunk_t *hunk; |
61 ngx_chain_t *next; | 63 ngx_chain_t *next; |
62 }; | 64 }; |
65 | |
66 | |
67 #define NGX_CHAIN_ERROR (ngx_chain_t *) NGX_ERROR | |
63 | 68 |
64 | 69 |
65 ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size, | 70 ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size, |
66 int before, int after); | 71 int before, int after); |
67 | 72 |