int sm_sprt_status(struct sm_sprt_status_parms *statusp)
typedef struct sm_sprt_status_parms { tSMSPRTId sprt; /* in */ enum kSMSPRTStatus { kSMSPRTStatusRunning, kSMSPRTStatusStopped, kSMSPRTStatusMessage, } status; /* out */ } SM_SPRT_STATUS_PARMS;
returns the status of the SPRT end point.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody SPRT end point API.