Mercurial > hg > nginx
comparison src/core/ngx_buf.h @ 3036:d2b183c39878
the flags should be bit-wide only
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 23 Aug 2009 12:58:41 +0000 |
parents | cc13ff6d5c07 |
children | 6060225e9261 |
comparison
equal
deleted
inserted
replaced
3035:f9d97311c652 | 3036:d2b183c39878 |
---|---|
73 ngx_buf_t *buf; | 73 ngx_buf_t *buf; |
74 ngx_chain_t *in; | 74 ngx_chain_t *in; |
75 ngx_chain_t *free; | 75 ngx_chain_t *free; |
76 ngx_chain_t *busy; | 76 ngx_chain_t *busy; |
77 | 77 |
78 unsigned sendfile; | 78 unsigned sendfile:1; |
79 unsigned directio; | 79 unsigned directio:1; |
80 #if (NGX_HAVE_ALIGNED_DIRECTIO) | 80 #if (NGX_HAVE_ALIGNED_DIRECTIO) |
81 unsigned unaligned; | 81 unsigned unaligned:1; |
82 #endif | 82 #endif |
83 unsigned need_in_memory; | 83 unsigned need_in_memory:1; |
84 unsigned need_in_temp; | 84 unsigned need_in_temp:1; |
85 | 85 |
86 ngx_pool_t *pool; | 86 ngx_pool_t *pool; |
87 ngx_int_t allocated; | 87 ngx_int_t allocated; |
88 ngx_bufs_t bufs; | 88 ngx_bufs_t bufs; |
89 ngx_buf_tag_t tag; | 89 ngx_buf_tag_t tag; |