summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_process.h
diff options
context:
space:
mode:
authorHong Zhi Dao <hongzhidao@gmail.com>2019-10-29 16:07:21 +0300
committerHong Zhi Dao <hongzhidao@gmail.com>2019-10-29 16:07:21 +0300
commit5d42599e3318aa8f68a3cbb4b992985cc75495dc (patch)
treed761f378f9992bd5230748f0ea93468e01588eee /src/nxt_process.h
parent65b03a14a7b48ae0e1dc34b74e05f01574a5424f (diff)
downloadunit-5d42599e3318aa8f68a3cbb4b992985cc75495dc.tar.gz
unit-5d42599e3318aa8f68a3cbb4b992985cc75495dc.tar.bz2
Process port refactoring.
- Introduced nxt_runtime_process_port_create(). - Moved nxt_process_use() into nxt_process.c from nxt_runtime.c. - Renamed nxt_runtime_process_remove_pid() as nxt_runtime_process_remove(). - Some public functions transformed to static. This closes #327 issue on GitHub.
Diffstat (limited to 'src/nxt_process.h')
-rw-r--r--src/nxt_process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_process.h b/src/nxt_process.h
index df9ca038..d67573f1 100644
--- a/src/nxt_process.h
+++ b/src/nxt_process.h
@@ -114,6 +114,8 @@ NXT_EXPORT void nxt_process_port_add(nxt_task_t *task, nxt_process_t *process,
nxt_process_type_t nxt_process_type(nxt_process_t *process);
+void nxt_process_use(nxt_task_t *task, nxt_process_t *process, int i);
+
void nxt_process_close_ports(nxt_task_t *task, nxt_process_t *process);
void nxt_process_connected_port_add(nxt_process_t *process, nxt_port_t *port);