summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-06 18:38:51 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-06 18:38:51 +0300
commitc56d2af3bcb10ca27b74c2fe123ea98dea07f0a0 (patch)
tree03e5469e6b32ccf31c52746c40358dd3f83e91d8 /src/nxt_router.h
parente1219569f4433f9b45bc9db5c02c5cc5f66b69ab (diff)
downloadunit-c56d2af3bcb10ca27b74c2fe123ea98dea07f0a0.tar.gz
unit-c56d2af3bcb10ca27b74c2fe123ea98dea07f0a0.tar.bz2
Router: read configuration from port.
Controller: stub to send configuration from POST body "as is" to router.
Diffstat (limited to 'src/nxt_router.h')
-rw-r--r--src/nxt_router.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index 9c6f75b4..a7fb54a9 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -87,5 +87,7 @@ typedef struct {
nxt_int_t nxt_router_new_conf(nxt_task_t *task, nxt_runtime_t *rt,
nxt_router_t *router, u_char *start, u_char *end);
+void nxt_router_conf_data_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg);
+
#endif /* _NXT_ROUTER_H_INCLUDED_ */