summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_master_process.h11
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);