This function is only in Prosody version 2 (TiNG).
int sm_open_module(struct sm_open_module_parms *module_parmsp)
typedef struct sm_open_module_parms {
tSMCardId card_id; /* in */
tSM_UT32 module_ix; /* in */
tSMModuleId module_id; /* out */
} SM_OPEN_MODULE_PARMS;
Opens a specified Prosody module.
tSMModuleID specifying a Prosody module
was merely an integer in the range 0..
sm_get_modules()
-1 which specified the module by a global index. The V6 API
makes tSMModuleId an opaque type which can only
be manipulated through the provided API calls. However, this
API function has been added to all variants of Prosody TiNG so
that applications can handle V6 and pre-V6 APIs the same. In
pre-V6 TiNG, this function produces the appropriate module
number in
module_id..
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody generic API.