Prosody Framer: API: sm_framer_datafeed_disconnect

Prototype Definition

int sm_framer_datafeed_disconnect(struct sm_framer_datafeed_disconnect_parms *datafeedp)

Parameters

*datafeedp
a structure of the following type:
typedef struct sm_framer_datafeed_disconnect_parms {
	tSMFramerId framer;					/* in */
	tSM_INT direction;					/* in */
} SM_FRAMER_DATAFEED_DISCONNECT_PARMS;

Description

Disconnect a datafeed on one of the inputs of the Framer.

Fields

framer
The framer to disconnect the datafeed from.
direction
The input of the framer to be disconnected. If direction is 0, then the enframer-side input is disconnected. If direction is 1, then the deframer-side input is disconnected.

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody Framer API.