comparison src/core/ngx_hunk.h @ 141:656d468f4ead

nginx-0.0.1-2003-10-08-19:32:54 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 08 Oct 2003 15:32:54 +0000
parents d57c6835225c
children cb77c084acdb
comparison
equal deleted inserted replaced
140:e32405df0e77 141:656d468f4ead
62 ngx_hunk_t *hunk; 62 ngx_hunk_t *hunk;
63 ngx_chain_t *next; 63 ngx_chain_t *next;
64 }; 64 };
65 65
66 66
67 typedef struct {
68 int num;
69 ssize_t size;
70 } ngx_bufs_t;
71
72
67 #define NGX_CHAIN_ERROR (ngx_chain_t *) NGX_ERROR 73 #define NGX_CHAIN_ERROR (ngx_chain_t *) NGX_ERROR
68 74
69 75
70 #define ngx_hunk_in_memory_only(h) \ 76 #define ngx_hunk_in_memory_only(h) \
71 ((h->type & (NGX_HUNK_IN_MEMORY|NGX_HUNK_FILE)) == NGX_HUNK_IN_MEMORY) 77 ((h->type & (NGX_HUNK_IN_MEMORY|NGX_HUNK_FILE)) == NGX_HUNK_IN_MEMORY)