int smd_ev_free(tSMEventId eventId)
Release operating system resources associated with use of event previously allocated by smd_ev_create().
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.