aboutsummaryrefslogtreecommitdiff
path: root/src/nng.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-10-30 14:04:25 -0700
committerGarrett D'Amore <garrett@damore.org>2017-10-30 14:04:25 -0700
commitb3a0d5864a71319dc85721288b9935a2a701b29e (patch)
tree7b2f21a3454b3f67a18c4ba96a7a583fea0654aa /src/nng.h
parent296d74dc8dbe880072c07f52365bbf43ed5684fa (diff)
downloadnng-b3a0d5864a71319dc85721288b9935a2a701b29e.tar.gz
nng-b3a0d5864a71319dc85721288b9935a2a701b29e.tar.bz2
nng-b3a0d5864a71319dc85721288b9935a2a701b29e.zip
fixes #136 consider eliminating nng_shutdown
Diffstat (limited to 'src/nng.h')
-rw-r--r--src/nng.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/nng.h b/src/nng.h
index d260e5fd..9e147df3 100644
--- a/src/nng.h
+++ b/src/nng.h
@@ -77,13 +77,6 @@ NNG_DECL int nng_close(nng_socket);
// a library; it will affect all sockets.
NNG_DECL void nng_closeall(void);
-// nng_shutdown shuts down the socket. This causes any threads doing
-// work for the socket or blocked in socket functions to be woken (and
-// return NNG_ECLOSED). The socket resources are still present, so it
-// is safe to call other functions; they will just return NNG_ECLOSED.
-// A call to nng_close is still required to release the resources.
-NNG_DECL int nng_shutdown(nng_socket);
-
// nng_protocol returns the protocol number of the socket.
NNG_DECL uint16_t nng_protocol(nng_socket);