aboutsummaryrefslogtreecommitdiff
path: root/src/core/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/protocol.h')
-rw-r--r--src/core/protocol.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/protocol.h b/src/core/protocol.h
index f73825d7..63683a6b 100644
--- a/src/core/protocol.h
+++ b/src/core/protocol.h
@@ -32,8 +32,8 @@ struct nni_protocol {
// Add and remove pipes. These are called as connections are
// created or destroyed.
- int (*proto_add_pipe)(void *, nni_pipe *);
- int (*proto_rem_pipe)(void *, nni_pipe *);
+ int (*proto_add_pipe)(void *, nni_pipe *, void **);
+ void (*proto_rem_pipe)(void *, void *);
// Option manipulation. These may be NULL.
int (*proto_setopt)(void *, int, const void *, size_t);