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
commit3e989a165cd9cee60bd540f0fc6b0d61b41423ae (patch)
tree410cf64373a8ad73193e0ff381af26c87d7f1008 /src/nxt_port.h
parent0cd95216877587d053341f52aa4b16362eccf173 (diff)
downloadunit-3e989a165cd9cee60bd540f0fc6b0d61b41423ae.tar.gz
unit-3e989a165cd9cee60bd540f0fc6b0d61b41423ae.tar.bz2
Extruded nxt_port_send_port() to send port to one process.
Diffstat (limited to '')
-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 48e326ee..c69f1ba9 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -116,6 +116,8 @@ void nxt_port_write(nxt_task_t *task, nxt_runtime_t *rt, nxt_uint_t type,
nxt_fd_t fd, uint32_t stream, nxt_buf_t *b);
void nxt_port_send_new_port(nxt_task_t *task, nxt_runtime_t *rt,
nxt_port_t *port);
+nxt_int_t nxt_port_send_port(nxt_task_t *task, nxt_port_t *port,
+ nxt_port_t *new_port);
void nxt_port_change_log_file(nxt_task_t *task, nxt_runtime_t *rt,
nxt_uint_t slot, nxt_fd_t fd);