aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_hunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_hunk.h')
-rw-r--r--src/core/ngx_hunk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/ngx_hunk.h b/src/core/ngx_hunk.h
index 5e2a1d47e..3703db456 100644
--- a/src/core/ngx_hunk.h
+++ b/src/core/ngx_hunk.h
@@ -57,6 +57,9 @@ struct ngx_chain_s {
ngx_chain_t *next;
};
+#define ngx_create_temp_hunk(pool, size, before, after) \
+ ngx_get_hunk(pool, size, before, after)
+
#define ngx_add_hunk_to_chain(chain, h, pool, error) \
do { \
ngx_test_null(chain, ngx_create_chain_entry(pool), error); \
@@ -66,6 +69,7 @@ struct ngx_chain_s {
+
ngx_hunk_t *ngx_get_hunk(ngx_pool_t *pool, int size, int before, int after);