diff options
author | Igor Sysoev <igor@sysoev.ru> | 2017-08-02 21:11:20 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2017-08-02 21:11:20 +0300 |
commit | a94178a05e7a96c5c6ccf144aad90695d3773b4b (patch) | |
tree | 1fbf388e1d4600c781c759b300d7fbcac103f1c5 /src/nxt_master_process.h | |
parent | b150f07e801802124ca6f3b29b4b9f97aa68d52b (diff) | |
download | unit-a94178a05e7a96c5c6ccf144aad90695d3773b4b.tar.gz unit-a94178a05e7a96c5c6ccf144aad90695d3773b4b.tar.bz2 |
Listening socket creation and binding operations are passed
to the master process.
Diffstat (limited to 'src/nxt_master_process.h')
-rw-r--r-- | src/nxt_master_process.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/nxt_master_process.h b/src/nxt_master_process.h index bcdf645d..3a7e4988 100644 --- a/src/nxt_master_process.h +++ b/src/nxt_master_process.h @@ -8,6 +8,17 @@ #define _NXT_MASTER_PROCESS_H_INCLUDED_ +typedef enum { + NXT_SOCKET_ERROR_SYSTEM = 0, + NXT_SOCKET_ERROR_NOINET6, + NXT_SOCKET_ERROR_PORT, + NXT_SOCKET_ERROR_INUSE, + NXT_SOCKET_ERROR_NOADDR, + NXT_SOCKET_ERROR_ACCESS, + NXT_SOCKET_ERROR_PATH, +} nxt_socket_error_t; + + nxt_int_t nxt_master_process_start(nxt_thread_t *thr, nxt_task_t *task, nxt_runtime_t *runtime); void nxt_master_stop_worker_processes(nxt_task_t *task, nxt_runtime_t *runtime); |