Prosody DTLS processing: API: sm_dtlstx_destroy

Prototype Definition

int sm_dtlstx_destroy(tSMDTLStxId dtlstx)

Parameters

dtlstx
A tSMDTLStxId that has been prevously created by a call to sm_dtlstx_create().

Description

Destroys dtlstx and invalidates the tSMDTLStxId.

Returns

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


This function is part of the Prosody DTLS processing API.