Prosody generic: API: sm_get_module_card_id

This function is deprecated.

Prototype Definition

int sm_get_module_card_id(tSMModuleId mod_id)

Parameters

mod_id
a value obtained from sm_open_module() which indicates the module to locate.

Description

Given a module returns the card on which the module 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

tSMCardId if call completed successfully, otherwise a standard error.


This function is part of the Prosody generic API.