From 6091cf7e1c030417e1fd29c66160e71bcbe4f984 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 19 Mar 2017 22:08:17 -0700 Subject: More interface hiding. (pipe tran data setting). --- src/core/pipe.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/core/pipe.c') diff --git a/src/core/pipe.c b/src/core/pipe.c index 8eb6c376..85a0bd4a 100644 --- a/src/core/pipe.c +++ b/src/core/pipe.c @@ -224,6 +224,20 @@ nni_pipe_get_proto_data(nni_pipe *p) } +void +nni_pipe_set_tran_data(nni_pipe *p, void *data) +{ + p->p_tran_data = data; +} + + +void * +nni_pipe_get_tran_data(nni_pipe *p) +{ + return (p->p_tran_data); +} + + void nni_pipe_sock_list_init(nni_list *list) { -- cgit v1.2.3-70-g09d2