diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-03-19 22:08:17 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-03-19 22:08:17 -0700 |
| commit | 6091cf7e1c030417e1fd29c66160e71bcbe4f984 (patch) | |
| tree | c95a46550370a06cb10263e77e7419260c83fba5 /src/core/pipe.c | |
| parent | 9fe905a8040a7e089233125a003ef8911d98ddbd (diff) | |
| download | nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.tar.gz nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.tar.bz2 nng-6091cf7e1c030417e1fd29c66160e71bcbe4f984.zip | |
More interface hiding. (pipe tran data setting).
Diffstat (limited to 'src/core/pipe.c')
| -rw-r--r-- | src/core/pipe.c | 14 |
1 files changed, 14 insertions, 0 deletions
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 @@ -225,6 +225,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) { NNI_LIST_INIT(list, nni_pipe, p_sock_node); |
