summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_event_engine.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-10-17 16:22:38 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-10-17 16:22:38 +0300
commit09ef66d39c277ed709e2333f992b1d87304bf663 (patch)
tree980e60508cb4c86b2a6637616001d10eaeb8f393 /src/nxt_event_engine.h
parent1c6d4d8cff1f9c2da56ce6cc433c17b2d69fca2b (diff)
downloadunit-09ef66d39c277ed709e2333f992b1d87304bf663.tar.gz
unit-09ef66d39c277ed709e2333f992b1d87304bf663.tar.bz2
Storing memory cache slot hint inside nxt_sockaddr_t.
Diffstat (limited to 'src/nxt_event_engine.h')
-rw-r--r--src/nxt_event_engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_event_engine.h b/src/nxt_event_engine.h
index 329a5a64..7a7149e6 100644
--- a/src/nxt_event_engine.h
+++ b/src/nxt_event_engine.h
@@ -512,9 +512,9 @@ NXT_EXPORT void nxt_event_engine_post(nxt_event_engine_t *engine,
NXT_EXPORT void nxt_event_engine_signal(nxt_event_engine_t *engine,
nxt_uint_t signo);
-void *nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint32_t *slot,
+void *nxt_event_engine_mem_alloc(nxt_event_engine_t *engine, uint8_t *slot,
size_t size);
-void nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint32_t *slot,
+void nxt_event_engine_mem_free(nxt_event_engine_t *engine, uint8_t *slot,
void *p);