mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 15:08:17 +01:00
include/nsysnet/nssl: Add NSSLDestroyConnection().
This commit is contained in:
parent
e86a3be046
commit
0dd4b6bbda
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user