Prosody generic: API: sm_get_channel_module_id

This function is deprecated.

Prototype Definition

int sm_get_channel_module_id(tSMChannelId channel)

Parameters

channel
The channel to locate.

Description

Given a channel returns the module on which the channel is located.

Note that this function is deprecated. It is present only to permit certain backward compatibility functionality to be implemented, should not be used by applications, and shall eventually be withdrawn from the API.

Returns

tSMModuleId if call completed successfully, otherwise a standard error.


This function is part of the Prosody generic API.