summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_master_process.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-29 02:59:35 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-29 02:59:35 +0300
commit9d487df10df5000a84c9c1a75fff0cff525d4454 (patch)
tree68096193339f4a25bfac7d79f5c0a218f74bec7b /src/nxt_master_process.h
parent946867febe29568418bfa146518ff7f97072dd67 (diff)
downloadunit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.gz
unit-9d487df10df5000a84c9c1a75fff0cff525d4454.tar.bz2
The master process has been renamed to the main process.
Diffstat (limited to 'src/nxt_master_process.h')
-rw-r--r--src/nxt_master_process.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/nxt_master_process.h b/src/nxt_master_process.h
deleted file mode 100644
index be591c76..00000000
--- a/src/nxt_master_process.h
+++ /dev/null
@@ -1,40 +0,0 @@
-
-/*
- * Copyright (C) Igor Sysoev
- * Copyright (C) NGINX, Inc.
- */
-
-#ifndef _NXT_MASTER_PROCESS_H_INCLUDED_
-#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);
-
-nxt_int_t nxt_controller_start(nxt_task_t *task, void *data);
-nxt_int_t nxt_router_start(nxt_task_t *task, void *data);
-nxt_int_t nxt_discovery_start(nxt_task_t *task, void *data);
-nxt_int_t nxt_app_start(nxt_task_t *task, void *data);
-
-extern nxt_port_handler_t nxt_controller_process_port_handlers[];
-extern nxt_port_handler_t nxt_worker_process_port_handlers[];
-extern nxt_port_handler_t nxt_discovery_process_port_handlers[];
-extern nxt_port_handler_t nxt_app_process_port_handlers[];
-extern nxt_port_handler_t nxt_router_process_port_handlers[];
-extern const nxt_sig_event_t nxt_master_process_signals[];
-extern const nxt_sig_event_t nxt_worker_process_signals[];
-
-
-#endif /* _NXT_MASTER_PROCESS_H_INCLUDED_ */