int sm_close_prosody(struct sm_close_prosody_parms *closep)
typedef struct sm_close_prosody_parms { tSMCardId card_id; /* in */ } SM_CLOSE_PROSODY_PARMS;
Reverses the effect of sm_open_prosody_x(), or sm_open_prosody_s_v3(). If, after closing the card, you want to use Prosody API functions which refer to this card you must invoke sm_open_prosody_x(), or sm_open_prosody_s_v3() again. It is a serious error to close a card on which there are open modules.
0 if call completed successfully, otherwise a standard error.
This function is part of the Prosody generic API.