diff options
author | Max Romanov <max.romanov@nginx.com> | 2017-09-15 20:30:34 +0300 |
---|---|---|
committer | Max Romanov <max.romanov@nginx.com> | 2017-09-15 20:30:34 +0300 |
commit | 838d9946ac2d9c9a9ba41d5b88209bfc5f2325d0 (patch) | |
tree | cd6458cb2362ef2550fc5629407f5f623c11945f /src/nxt_main_process.h | |
parent | 1449e27cb42a5b3ca2d2106a39fee3f1d54a340e (diff) | |
download | unit-838d9946ac2d9c9a9ba41d5b88209bfc5f2325d0.tar.gz unit-838d9946ac2d9c9a9ba41d5b88209bfc5f2325d0.tar.bz2 |
Introducing named port message handlers to avoid misprints.
Diffstat (limited to 'src/nxt_main_process.h')
-rw-r--r-- | src/nxt_main_process.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nxt_main_process.h b/src/nxt_main_process.h index d53dabfa..54861a60 100644 --- a/src/nxt_main_process.h +++ b/src/nxt_main_process.h @@ -28,11 +28,10 @@ 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 nxt_port_handlers_t nxt_controller_process_port_handlers; +extern nxt_port_handlers_t nxt_discovery_process_port_handlers; +extern nxt_port_handlers_t nxt_app_process_port_handlers; +extern nxt_port_handlers_t nxt_router_process_port_handlers; extern const nxt_sig_event_t nxt_main_process_signals[]; extern const nxt_sig_event_t nxt_worker_process_signals[]; |