Prosody I.460 Mux: API: sm_i460mux_status

Prototype Definition

int sm_i460mux_status(struct sm_i460mux_status_parms *statusp)

Parameters

*statusp
a structure of the following type:
typedef struct sm_i460mux_status_parms {
	tSMI460muxId i460mux;					/* in */
	enum kSMI460muxStatus {
		kSMI460muxStatusRunning,
		kSMI460muxStatusStopped,
	} status;						/* out */
} SM_I460MUX_STATUS_PARMS;

Description

returns the status of the I.460 mux.

Fields

i460mux
The mux.
status
The status. One of these values:
kSMI460muxStatusRunning
The mux is running
kSMI460muxStatusStopped
The mux is not running

Returns

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


This function is part of the Prosody I.460 Mux API.