summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_main.h
diff options
context:
space:
mode:
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>