summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_unit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nxt_unit.h b/src/nxt_unit.h
index 303d5aa1..cb78e862 100644
--- a/src/nxt_unit.h
+++ b/src/nxt_unit.h
@@ -154,6 +154,8 @@ struct nxt_unit_callbacks_s {
/* Receive data on port id. Optional. */
ssize_t (*port_recv)(nxt_unit_ctx_t *, nxt_unit_port_t *port,
void *buf, size_t buf_size, void *oob, size_t oob_size);
+
+ int (*ready_handler)(nxt_unit_ctx_t *);
};