include/nsysnet/nssl: Add NSSLDestroyConnection().

This commit is contained in:
Ash 2018-06-28 18:51:13 +10:00
parent e86a3be046
commit 0dd4b6bbda
No known key found for this signature in database
GPG Key ID: 461BAD1D1531729D

View File

@ -310,6 +310,7 @@ NSSLAddServerPKI(NSSLContextHandle context,
* \sa
* - NSSLRead()
* - NSSLWrite()
* - NSSLDestroyConnection()
*
* \if false
* meta: kinda guessing socket and options here, needs confirmation
@ -323,6 +324,18 @@ NSSLCreateConnection(NSSLContextHandle context,
int32_t socket,
int32_t block);
/**
* Close and destroy a NSSL connection.
*
* \param connection
* The connection to destroy.
*
* \returns
* 0 on success or a negative error value.
*/
int32_t
NSSLDestroyConnection(NSSLConnectionHandle connection);
/**
* Read data from an open NSSL connection into a given buffer.
*