diff options
author | Zhidao HONG <z.hong@f5.com> | 2022-07-14 11:14:20 +0800 |
---|---|---|
committer | Zhidao HONG <z.hong@f5.com> | 2022-07-14 11:14:20 +0800 |
commit | 8761501b4845656a0f2e5c0e7bf98f948c45fb5f (patch) | |
tree | 84779f016ea8e2d2d2b5152e1ee42a35d914b697 /src/nxt_router.h | |
parent | 2bd4a455278dbce756c1dc8be07515f73d611e3b (diff) | |
download | unit-8761501b4845656a0f2e5c0e7bf98f948c45fb5f.tar.gz unit-8761501b4845656a0f2e5c0e7bf98f948c45fb5f.tar.bz2 |
Log: split access log from nxt_router.c.
No functional changes.
Diffstat (limited to '')
-rw-r--r-- | src/nxt_router.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nxt_router.h b/src/nxt_router.h index 8c21a70a..18fb60b0 100644 --- a/src/nxt_router.h +++ b/src/nxt_router.h @@ -237,7 +237,23 @@ nxt_int_t nxt_router_application_init(nxt_router_conf_t *rtcf, nxt_str_t *name, nxt_str_t *target, nxt_http_action_t *action); void nxt_router_listen_event_release(nxt_task_t *task, nxt_listen_event_t *lev, nxt_socket_conf_joint_t *joint); + +void nxt_router_conf_apply(nxt_task_t *task, void *obj, void *data); +void nxt_router_conf_error(nxt_task_t *task, nxt_router_temp_conf_t *tmcf); void nxt_router_conf_release(nxt_task_t *task, nxt_socket_conf_joint_t *joint); +nxt_int_t nxt_router_access_log_create(nxt_task_t *task, + nxt_router_conf_t *rtcf, nxt_conf_value_t *value); +void nxt_router_access_log_open(nxt_task_t *task, nxt_router_temp_conf_t *tmcf); +void nxt_router_access_log_use(nxt_thread_spinlock_t *lock, + nxt_router_access_log_t *access_log); +void nxt_router_access_log_release(nxt_task_t *task, + nxt_thread_spinlock_t *lock, nxt_router_access_log_t *access_log); +void nxt_router_access_log_reopen_handler(nxt_task_t *task, + nxt_port_recv_msg_t *msg); + + +extern nxt_router_t *nxt_router; + #endif /* _NXT_ROUTER_H_INCLUDED_ */ |