Mercurial > hg > nginx
diff src/core/ngx_hunk.h @ 142:cb77c084acdb
nginx-0.0.1-2003-10-09-11:00:45 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 09 Oct 2003 07:00:45 +0000 |
parents | 656d468f4ead |
children | 58557d0cccd1 |
line wrap: on
line diff
--- a/src/core/ngx_hunk.h Wed Oct 08 15:32:54 2003 +0000 +++ b/src/core/ngx_hunk.h Thu Oct 09 07:00:45 2003 +0000 @@ -75,6 +75,14 @@ #define ngx_hunk_in_memory_only(h) \ ((h->type & (NGX_HUNK_IN_MEMORY|NGX_HUNK_FILE)) == NGX_HUNK_IN_MEMORY) +/* + ((h->type & (NGX_HUNK_TEMP|NGX_HUNK_MEMORY|NGX_HUNK_MMAP|NGX_HUNK_FILE)) \ + == (h->type & (NGX_HUNK_TEMP|NGX_HUNK_MEMORY|NGX_HUNK_MMAP))) + +*/ + +#define ngx_hunk_special(h) \ + (h->type == (h->type & (NGX_HUNK_FLUSH|NGX_HUNK_LAST))) ngx_hunk_t *ngx_create_temp_hunk(ngx_pool_t *pool, int size,