summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_port_rpc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_port_rpc.h')
-rw-r--r--src/nxt_port_rpc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nxt_port_rpc.h b/src/nxt_port_rpc.h
index cae20539..2152e68d 100644
--- a/src/nxt_port_rpc.h
+++ b/src/nxt_port_rpc.h
@@ -14,6 +14,14 @@ typedef void (*nxt_port_rpc_handler_t)(nxt_task_t *task,
uint32_t nxt_port_rpc_register_handler(nxt_task_t *task, nxt_port_t *port,
nxt_port_rpc_handler_t ready_handler, nxt_port_rpc_handler_t error_handler,
nxt_pid_t peer, void *data);
+void *nxt_port_rpc_register_handler_ex(nxt_task_t *task, nxt_port_t *port,
+ nxt_port_rpc_handler_t ready_handler, nxt_port_rpc_handler_t error_handler,
+ size_t ex_size);
+
+uint32_t nxt_port_rpc_ex_stream(void *ex);
+void nxt_port_rpc_ex_set_peer(nxt_task_t *task, nxt_port_t *port,
+ void *ex, nxt_pid_t peer);
+
void nxt_port_rpc_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg);
void nxt_port_rpc_remove_peer(nxt_task_t *task, nxt_port_t *port,
nxt_pid_t peer);