summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main_process.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_main_process.h (renamed from src/nxt_master_process.h)12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nxt_master_process.h b/src/nxt_main_process.h
index be591c76..d53dabfa 100644
--- a/src/nxt_master_process.h
+++ b/src/nxt_main_process.h
@@ -4,8 +4,8 @@
* Copyright (C) NGINX, Inc.
*/
-#ifndef _NXT_MASTER_PROCESS_H_INCLUDED_
-#define _NXT_MASTER_PROCESS_H_INCLUDED_
+#ifndef _NXT_MAIN_PROCESS_H_INCLUDED_
+#define _NXT_MAIN_PROCESS_H_INCLUDED_
typedef enum {
@@ -19,9 +19,9 @@ typedef enum {
} nxt_socket_error_t;
-nxt_int_t nxt_master_process_start(nxt_thread_t *thr, nxt_task_t *task,
+nxt_int_t nxt_main_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);
+void nxt_main_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);
@@ -33,8 +33,8 @@ 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_main_process_signals[];
extern const nxt_sig_event_t nxt_worker_process_signals[];
-#endif /* _NXT_MASTER_PROCESS_H_INCLUDED_ */
+#endif /* _NXT_MAIN_PROCESS_H_INCLUDED_ */