summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port.h
diff options
context:
space:
mode:
authorTiago Natel <t.nateldemoura@f5.com>2019-11-26 16:26:24 +0000
committerTiago Natel <t.nateldemoura@f5.com>2019-11-26 16:26:24 +0000
commit417cc7be7c0c6f6e62f0916f671bbf0a4460226b (patch)
tree1ca53595fb350ab3d9acab11965bcc98606741f7 /src/nxt_port.h
parenta3e5d095016166a78a45c9aade2b19d75d66833f (diff)
downloadunit-417cc7be7c0c6f6e62f0916f671bbf0a4460226b.tar.gz
unit-417cc7be7c0c6f6e62f0916f671bbf0a4460226b.tar.bz2
Refactor of process init.
Introduces the functions nxt_process_init_create() and nxt_process_init_creds_set().
Diffstat (limited to '')
-rw-r--r--src/nxt_port.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_port.h b/src/nxt_port.h
index eeb6caa5..3f9302e8 100644
--- a/src/nxt_port.h
+++ b/src/nxt_port.h
@@ -269,7 +269,7 @@ nxt_port_socket_write(nxt_task_t *task, nxt_port_t *port,
}
void nxt_port_enable(nxt_task_t *task, nxt_port_t *port,
- nxt_port_handlers_t *handlers);
+ const nxt_port_handlers_t *handlers);
nxt_int_t nxt_port_send_port(nxt_task_t *task, nxt_port_t *port,
nxt_port_t *new_port, uint32_t stream);
void nxt_port_change_log_file(nxt_task_t *task, nxt_runtime_t *rt,