summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2020-08-11 19:20:30 +0300
committerMax Romanov <max.romanov@nginx.com>2020-08-11 19:20:30 +0300
commita1e9df2aef5a3917728c6fd37280b03020d51123 (patch)
treef2fe1def098c4c94573d5bdcca8e9407a9ab26ae /src/nxt_port.h
parent72475ee11c4254086e5d5648c86498833bf8e939 (diff)
downloadunit-a1e9df2aef5a3917728c6fd37280b03020d51123.tar.gz
unit-a1e9df2aef5a3917728c6fd37280b03020d51123.tar.bz2
Port message extended to transfer 2 file descriptors.
Diffstat (limited to 'src/nxt_port.h')
-rw-r--r--src/nxt_port.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h
index 9a933e75..ab455f92 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -165,6 +165,7 @@ typedef struct {
nxt_buf_t *buf;
size_t share;
nxt_fd_t fd;
+ nxt_fd_t fd2;
nxt_port_msg_t port_msg;
uint32_t tracking_msg[2];
uint8_t close_fd; /* 1 bit */
@@ -174,6 +175,7 @@ typedef struct {
struct nxt_port_recv_msg_s {
nxt_fd_t fd;
+ nxt_fd_t fd2;
nxt_buf_t *buf;
nxt_port_t *port;
nxt_port_msg_t port_msg;