summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conn.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_conn.h')
-rw-r--r--src/nxt_conn.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nxt_conn.h b/src/nxt_conn.h
index 110b1634..92686703 100644
--- a/src/nxt_conn.h
+++ b/src/nxt_conn.h
@@ -8,6 +8,7 @@
#define _NXT_CONN_H_INCLUDED_
+typedef ssize_t (*nxt_conn_io_read_t)(nxt_conn_t *c);
typedef nxt_msec_t (*nxt_conn_timer_value_t)(nxt_conn_t *c, uintptr_t data);
@@ -16,6 +17,8 @@ typedef struct {
nxt_work_handler_t close_handler;
nxt_work_handler_t error_handler;
+ nxt_conn_io_read_t io_read_handler;
+
nxt_work_handler_t timer_handler;
nxt_conn_timer_value_t timer_value;
uintptr_t timer_data;
@@ -160,7 +163,6 @@ struct nxt_conn_s {
nxt_sockaddr_t *local;
const char *action;
- uint8_t peek;
uint8_t blocked; /* 1 bit */
uint8_t delayed; /* 1 bit */