Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2004-06-01 10:04:46 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-06-01 10:04:46 +0400
commit67f450d7bc2b847f07ad302fa3fd6fa46da784f0 (patch)
treead432c07b62f9145f78ba569e9a1ed51a3d41e17 /src/core/ngx_buf.h
parent369145cef1971e4273dc59340689c2d96f84d18a (diff)
nginx-0.0.3-2004-06-01-10:04:46 import
Diffstat (limited to 'src/core/ngx_buf.h')
-rw-r--r--src/core/ngx_buf.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h
index f2489f1a6..eb75c3bea 100644
--- a/src/core/ngx_buf.h
+++ b/src/core/ngx_buf.h
@@ -142,29 +142,6 @@ typedef struct {
(ngx_buf_in_memory(b) ? (size_t) (b->last - b->pos): \
(size_t) (b->file_last - b->file_pos))
-#if 0
-
-#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(b) \
- (b->type == (b->type & (NGX_HUNK_FLUSH|NGX_HUNK_LAST)))
-
-
-#define ngx_hunk_size(b) \
- ((b->type & NGX_HUNK_IN_MEMORY) ? (size_t) (b->last - b->pos): \
- (size_t) (b->file_last - b->file_pos))
-
-#endif
-
-
ngx_buf_t *ngx_create_temp_buf(ngx_pool_t *pool, size_t size);
ngx_chain_t *ngx_create_chain_of_bufs(ngx_pool_t *pool, ngx_bufs_t *bufs);