aboutsummaryrefslogtreecommitdiff
path: root/src/transport/ipc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-19 22:08:17 -0700
committerGarrett D'Amore <garrett@damore.org>2017-03-19 22:08:17 -0700
commit6091cf7e1c030417e1fd29c66160e71bcbe4f984 (patch)
treec95a46550370a06cb10263e77e7419260c83fba5 /src/transport/ipc
parent9fe905a8040a7e089233125a003ef8911d98ddbd (diff)
downloadnng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.tar.gz
nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.tar.bz2
nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.zip
More interface hiding. (pipe tran data setting).
Diffstat (limited to 'src/transport/ipc')
-rw-r--r--src/transport/ipc/ipc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/ipc/ipc.c b/src/transport/ipc/ipc.c
index 4673a6dc..11965d17 100644
--- a/src/transport/ipc/ipc.c
+++ b/src/transport/ipc/ipc.c
@@ -260,7 +260,7 @@ nni_ipc_negotiate(nni_ipc_pipe *pipe)
static int
-nni_ipc_ep_connect(void *arg, void **pipep)
+nni_ipc_ep_connect(void *arg, nni_pipe *npipe)
{
nni_ipc_ep *ep = arg;
nni_ipc_pipe *pipe;
@@ -295,7 +295,7 @@ nni_ipc_ep_connect(void *arg, void **pipep)
NNI_FREE_STRUCT(pipe);
return (rv);
}
- *pipep = pipe;
+ nni_pipe_set_tran_data(npipe, pipe);
return (0);
}
@@ -321,7 +321,7 @@ nni_ipc_ep_bind(void *arg)
static int
-nni_ipc_ep_accept(void *arg, void **pipep)
+nni_ipc_ep_accept(void *arg, nni_pipe *npipe)
{
nni_ipc_ep *ep = arg;
nni_ipc_pipe *pipe;
@@ -349,7 +349,7 @@ nni_ipc_ep_accept(void *arg, void **pipep)
NNI_FREE_STRUCT(pipe);
return (rv);
}
- *pipep = pipe;
+ nni_pipe_set_tran_data(npipe, pipe);
return (0);
}