Prosody generic: API: sm_get_channel_ix_module_ix

This function is only in Prosody version 1 (see also the conversion guide for further details).

Prototype Definition

int sm_get_channel_ix_module_ix(tSM_INT channel_ix)

Parameters

channel_ix
The index number of the channel whose associated module id is to be determined.

Description

Given a channel index, channel_ix, returns index of associated module (for use for instance with sm_get_module_info()).

Returns

Module index value (greater than or equal to zero) if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody generic API.