summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_router.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-07-11 20:14:50 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-07-11 20:14:50 +0300
commit4f4061061b023cd88a2c54121853a8cb1922f100 (patch)
treef4534cc4da2f43c866570ed8f066ee7ec736be79 /src/nxt_router.h
parent3bccb7f358e27f932c951a55bc17aa113bfae5f0 (diff)
downloadunit-4f4061061b023cd88a2c54121853a8cb1922f100.tar.gz
unit-4f4061061b023cd88a2c54121853a8cb1922f100.tar.bz2
Sending a result of configuration applying back to the controller.
Diffstat (limited to 'src/nxt_router.h')
-rw-r--r--src/nxt_router.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h
index ff5a7c41..99e70559 100644
--- a/src/nxt_router.h
+++ b/src/nxt_router.h
@@ -33,7 +33,6 @@ typedef struct {
typedef struct {
nxt_event_engine_t *engine;
- nxt_task_t task;
nxt_array_t *creating; /* of nxt_work_t */
nxt_array_t *updating; /* of nxt_work_t */
nxt_array_t *deleting; /* of nxt_work_t */
@@ -51,7 +50,11 @@ typedef struct {
nxt_queue_t previous; /* of nxt_app_t */
uint32_t new_threads;
+ uint32_t stream;
+ uint32_t count;
+ nxt_event_engine_t *engine;
+ nxt_port_t *port;
nxt_array_t *engines;
nxt_router_conf_t *conf;
nxt_mp_t *mem_pool;
@@ -108,9 +111,6 @@ typedef struct {
} nxt_socket_conf_joint_t;
-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);