Prosody DTLS processing: API: sm_dtlsrx_destroy

Prototype Definition

int sm_dtlsrx_destroy(tSMDTLSrxId dtlsrx)

Parameters

dtlsrx
A tSMDTLSrxId that has been prevously created by a call to sm_dtlsrx_create().

Description

Destroys dtlsrx and invalidates the tSMDTLSrxId.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody DTLS processing API.