diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-08-02 13:36:29 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-08-02 13:36:29 +0300 |
commit | b150f07e801802124ca6f3b29b4b9f97aa68d52b (patch) | |
tree | 6dbf83af6b7e2787e0c918b0017765d074c70057 /src/nxt_port.h | |
parent | f23f985899760fafd853e993d9023b1339f09533 (diff) | |
download | unit-b150f07e801802124ca6f3b29b4b9f97aa68d52b.tar.gz unit-b150f07e801802124ca6f3b29b4b9f97aa68d52b.tar.bz2 |
Added basic port error handler.
Diffstat (limited to 'src/nxt_port.h')
-rw-r--r-- | src/nxt_port.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h index a7f78b4c..1e39c732 100644 --- a/src/nxt_port.h +++ b/src/nxt_port.h @@ -118,6 +118,9 @@ struct nxt_port_s { nxt_process_type_t type; nxt_work_t work; + + struct iovec *iov; + void *mmsg_buf; }; @@ -140,7 +143,7 @@ typedef union { } nxt_port_data_t; -nxt_port_t *nxt_port_new(nxt_port_id_t id, nxt_pid_t pid, +nxt_port_t *nxt_port_new(nxt_task_t *task, nxt_port_id_t id, nxt_pid_t pid, nxt_process_type_t type); nxt_bool_t nxt_port_release(nxt_port_t *port); |