summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:48 +0300
committerIgor Sysoev <igor@sysoev.ru>2019-11-14 16:39:48 +0300
commit1ec63537334e8765cd2d8e43dbca35340aa68777 (patch)
tree1a97e9f749b5243a114370ab211c5466ceca9910 /src/nxt_event_engine.h
parent07c007af57501dc656b94476cbca41234dc077d6 (diff)
downloadunit-1ec63537334e8765cd2d8e43dbca35340aa68777.tar.gz
unit-1ec63537334e8765cd2d8e43dbca35340aa68777.tar.bz2
Introduced event engine memory buffers.
Diffstat (limited to 'src/nxt_event_engine.h')
-rw-r--r--src/nxt_event_engine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nxt_event_engine.h b/src/nxt_event_engine.h
index 0c349f7e..6b05d510 100644
--- a/src/nxt_event_engine.h
+++ b/src/nxt_event_engine.h
@@ -520,6 +520,10 @@ void *nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint8_t *hint,
size_t size);
void nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint8_t hint,
void *p, size_t size);
+void *nxt_event_engine_buf_mem_alloc(nxt_event_engine_t *engine, size_t size);
+void nxt_event_engine_buf_mem_free(nxt_event_engine_t *engine, nxt_buf_t *b);
+void nxt_event_engine_buf_mem_completion(nxt_task_t *task, void *obj,
+ void *data);
nxt_inline nxt_event_engine_t *