int sm_sprt_config_data_format(struct sm_sprt_config_data_format_parms *configp)
typedef struct sm_sprt_config_data_format_parms { tSMSPRTId sprt; /* in */ enum kSMSPRTDataDirection { kSMSPRTDataDirectionTx, kSMSPRTDataDirectionRx, } direction; /* in */ enum kSMSPRTDataFormat { kSMSPRTDataFormatNone, kSMSPRTDataFormatIOctet, kSMSPRTDataFormatIOctetCS, kSMSPRTDataFormatIRawOctet, } format; /* in */ } SM_SPRT_CONFIG_DATA_FORMAT_PARMS;
Configures the data formats used.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody SPRT end point API.