int sm_sprt_read_message(struct sm_sprt_read_message_parms *datafeedp)
typedef struct sm_sprt_read_message_parms {
tSMSPRTId sprt; /* in */
char *message; /* inout */
int max_length; /* in */
int length; /* out */
} SM_SPRT_READ_MESSAGE_PARMS;
Reads a message from a 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.