Extruded nxt_port_send_port() to send port to one process.

This commit is contained in:
Max Romanov
2017-06-23 19:20:08 +03:00
parent 0cd9521687
commit 3e989a165c
2 changed files with 40 additions and 30 deletions

View File

@@ -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);