summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.h
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_main.h
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_main.h')
-rw-r--r--src/nxt_main.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nxt_main.h b/src/nxt_main.h
index 24ec4ca1..19db0aa3 100644
--- a/src/nxt_main.h
+++ b/src/nxt_main.h
@@ -110,7 +110,7 @@ typedef struct nxt_port_mmap_s nxt_port_mmap_t;
#include <nxt_buf_pool.h>
#include <nxt_recvbuf.h>
-typedef struct nxt_event_conn_s nxt_event_conn_t;
+typedef struct nxt_conn_s nxt_conn_t;
#include <nxt_sendbuf.h>
#include <nxt_log_moderation.h>
@@ -129,6 +129,7 @@ nxt_thread_extern_data(nxt_thread_t, nxt_thread_context);
#include <nxt_thread_log.h>
#include <nxt_fd_event.h>
+#include <nxt_file_event.h>
#include <nxt_port.h>
#include <nxt_port_memory.h>
@@ -137,12 +138,10 @@ nxt_thread_extern_data(nxt_thread_t, nxt_thread_context);
#endif
-typedef void (*nxt_event_conn_handler_t)(nxt_thread_t *thr,
- nxt_event_conn_t *c);
+typedef void (*nxt_event_conn_handler_t)(nxt_thread_t *thr, nxt_conn_t *c);
#include <nxt_listen_socket.h>
-#include <nxt_event_conn.h>
-#include <nxt_event_file.h>
+#include <nxt_conn.h>
#include <nxt_event_engine.h>
#include <nxt_job.h>