int sm_dispatcher_destroy(tSMDispatcherId dispatcher)
Destroys dispatcher invalidating the tSMDispatcherId.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.