From a94178a05e7a96c5c6ccf144aad90695d3773b4b Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Wed, 2 Aug 2017 21:11:20 +0300 Subject: Listening socket creation and binding operations are passed to the master process. --- src/nxt_master_process.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/nxt_master_process.h') 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); -- cgit