summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn_close.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-14 15:18:52 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-14 15:18:52 +0300
commit7574c64992b98d3dfbc3dd101bd0f7d78bad0823 (patch)
tree3a98c46e88d9023df34be3e6cce4f762d53aad36 /src/nxt_conn_close.c
parent3e2632688f53c4cb08e7ac03c61e71facd038df4 (diff)
downloadunit-7574c64992b98d3dfbc3dd101bd0f7d78bad0823.tar.gz
unit-7574c64992b98d3dfbc3dd101bd0f7d78bad0823.tar.bz2
nxt_event_conn_... functions and structures have been renamed
to nxt_conn_...
Diffstat (limited to 'src/nxt_conn_close.c')
-rw-r--r--src/nxt_conn_close.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/nxt_conn_close.c b/src/nxt_conn_close.c
index 18b2450c..fb86d052 100644
--- a/src/nxt_conn_close.c
+++ b/src/nxt_conn_close.c
@@ -16,7 +16,7 @@ static void nxt_conn_close_error_ignore(nxt_task_t *task, void *obj,
void
-nxt_event_conn_close(nxt_event_engine_t *engine, nxt_event_conn_t *c)
+nxt_conn_close(nxt_event_engine_t *engine, nxt_conn_t *c)
{
int ret;
socklen_t len;
@@ -69,7 +69,7 @@ nxt_event_conn_close(nxt_event_engine_t *engine, nxt_event_conn_t *c)
static void
nxt_conn_shutdown_handler(nxt_task_t *task, void *obj, void *data)
{
- nxt_event_conn_t *c;
+ nxt_conn_t *c;
nxt_event_engine_t *engine;
c = obj;
@@ -90,7 +90,7 @@ static void
nxt_conn_close_handler(nxt_task_t *task, void *obj, void *data)
{
nxt_uint_t events_pending, timers_pending;
- nxt_event_conn_t *c;
+ nxt_conn_t *c;
nxt_event_engine_t *engine;
c = obj;
@@ -132,12 +132,12 @@ nxt_conn_close_handler(nxt_task_t *task, void *obj, void *data)
static void
nxt_conn_close_timer_handler(nxt_task_t *task, void *obj, void *data)
{
- nxt_timer_t *timer;
- nxt_event_conn_t *c;
+ nxt_conn_t *c;
+ nxt_timer_t *timer;
timer = obj;
- c = nxt_event_write_timer_conn(timer);
+ c = nxt_write_timer_conn(timer);
nxt_debug(task, "conn close timer handler fd:%d", c->socket.fd);