summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-06-23 19:20:08 +0300
committerMax Romanov <max.romanov@nginx.com>2017-06-23 19:20:08 +0300
commit3b9aa27625e50dea5fed2644e80ea454605a3006 (patch)
tree91d3dafe87091205aea2ffa0bf6ef4fb1c43d025 /src/nxt_port.h
parenteaf28db46e81787a89b7f962e8bb53b142747a5e (diff)
downloadunit-3b9aa27625e50dea5fed2644e80ea454605a3006.tar.gz
unit-3b9aa27625e50dea5fed2644e80ea454605a3006.tar.bz2
Added mem_pool pointer member to nxt_port_send_msg_t.
To decouple nxt_port_send_msg_t from port.
Diffstat (limited to 'src/nxt_port.h')
-rw-r--r--src/nxt_port.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h
index 458aca17..66534cdc 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -36,6 +36,7 @@ typedef struct {
typedef struct {
nxt_queue_link_t link;
nxt_buf_t *buf;
+ nxt_mp_t *mem_pool;
size_t share;
nxt_fd_t fd;
nxt_port_msg_t port_msg;