aboutsummaryrefslogtreecommitdiff
path: root/src/core/protocol.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2016-12-22 20:52:45 -0800
committerGarrett D'Amore <garrett@damore.org>2016-12-22 20:52:45 -0800
commitee45cbf4498a3c1d1868469bdb0c767d66c278e4 (patch)
treeb9116256f12a54c90f92bf5cf215f3d4c8152126 /src/core/protocol.h
parent718de1828cc5b5256511c5b723360d499ae21c8f (diff)
downloadnng-ee45cbf4498a3c1d1868469bdb0c767d66c278e4.tar.gz
nng-ee45cbf4498a3c1d1868469bdb0c767d66c278e4.tar.bz2
nng-ee45cbf4498a3c1d1868469bdb0c767d66c278e4.zip
Endpoint dialer implemented.
Diffstat (limited to 'src/core/protocol.h')
-rw-r--r--src/core/protocol.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/protocol.h b/src/core/protocol.h
index a4b24177..f73825d7 100644
--- a/src/core/protocol.h
+++ b/src/core/protocol.h
@@ -30,13 +30,6 @@ struct nni_protocol {
// Destroy the protocol instance.
void (*proto_destroy)(void *);
- // Shutdown the protocol instance, including giving time to
- // drain any outbound frames (linger). The protocol is not
- // required to honor the linger.
- // XXX: This is probably redundant -- protocol should notice
- // drain by getting NNG_ECLOSED on the upper write queue.
- void (*proto_shutdown)(void *);
-
// Add and remove pipes. These are called as connections are
// created or destroyed.
int (*proto_add_pipe)(void *, nni_pipe *);