Prosody SNTP Client: API: sm_sntp_destroy

Prototype Definition

int sm_sntp_destroy(tSMSNTPId sntp)

Parameters

sntp
The SNTP client to destroy. Must have been previously created by a call to sm_sntp_create().

Description

Destroys an SNTP Client.

Returns

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


This function is part of the Prosody SNTP Client API.