Prosody SPRT end point: API: sm_sprt_datafeed_connect

Prototype Definition

int sm_sprt_datafeed_connect(struct sm_sprt_datafeed_connect_parms *datafeedp)

Parameters

*datafeedp
a structure of the following type:
typedef struct sm_sprt_datafeed_connect_parms {
	tSMDatafeedId data_source;				/* in */
	tSMSPRTId sprt;						/* in */
} SM_SPRT_DATAFEED_CONNECT_PARMS;

Description

Connects a datafeed to a SPRT end point.

Requires the module datafeed to have been downloaded.

Fields

data_source
The datafeed acting as a source of data
sprt
The SPRT end point that will receive the data

Returns

0 if call completed successfully, otherwise a standard error.


This function is part of the Prosody SPRT end point API.