aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-03-29 13:20:42 -0700
committerGarrett D'Amore <garrett@damore.org>2017-03-29 13:22:24 -0700
commit84990c6ecb35ef322b74b8cc9e74ad5964b66ee5 (patch)
treeb545f8bc47828e9398d053d31e7676e2554cbf3c /src/core/pipe.h
parent374f93a18edca2e0656c337a5b54927169ec31fa (diff)
downloadnng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.tar.gz
nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.tar.bz2
nng-84990c6ecb35ef322b74b8cc9e74ad5964b66ee5.zip
Clean up some dead code.
Diffstat (limited to 'src/core/pipe.h')
-rw-r--r--src/core/pipe.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h
index 71f3821a..912c70bd 100644
--- a/src/core/pipe.h
+++ b/src/core/pipe.h
@@ -37,8 +37,6 @@ extern int nni_pipe_aio_recv(nni_pipe *, nni_aio *);
extern int nni_pipe_aio_send(nni_pipe *, nni_aio *);
// Pipe operations that protocols use.
-extern int nni_pipe_recv(nni_pipe *, nng_msg **);
-extern int nni_pipe_send(nni_pipe *, nng_msg *);
extern uint32_t nni_pipe_id(nni_pipe *);
extern void nni_pipe_close(nni_pipe *);
extern void nni_pipe_incref(nni_pipe *);
@@ -64,15 +62,6 @@ extern void nni_pipe_set_proto_data(nni_pipe *, void *);
// nni_pipe_set_proto_data function. No locking is performed.
extern void *nni_pipe_get_proto_data(nni_pipe *);
-// nni_pipe_set_tran_data sets the transport private data. No locking is
-// performed, and this routine should only be called once per pipe at
-// initialization.
-extern void nni_pipe_set_tran_data(nni_pipe *, void *);
-
-// nni_pipe_get_tran_data gets the transport private data set with the
-// nni_pipe_set_tran_data function. No locking is performed.
-extern void *nni_pipe_get_tran_data(nni_pipe *);
-
// nni_pipe_sock_list_init initializes a list of pipes, to be used by
// a per-socket list.
extern void nni_pipe_sock_list_init(nni_list *);