NSSLFreeSession

Syntax

#include <cafe.h>
#include <cafe/nssl/nsslclient.h>

NSSL_RVAL NSSLFreeSession(NSSLSessionHandle session);

Parameters

session A handle to an SSL session (obtained using NSSLGetSession) to be freed.

Return Values

NSSL_RVAL NSSL_RVAL_OK upon success, error code of type NSSL_RVAL on failure.

Description

Decrements the reference count of an SSL session handle obtained using NSSLGetSession. The session handle is released when the reference count goes to zero.

Do Not Call From

Callbacks Do not call this function from any callback function.
Interrupt handler Do not call this function from any interrupt handler.
Exception handler Do not call this function from any exception handler.

See Also

NSSLGetSession
NSSLSetSession
NSSLRemoveSession

Revision History

2012/08/16 Cleanup pass.
2012/04/06 Initial version.


CONFIDENTIAL