Prosody I.460 Mux: API: sm_i460mux_create
Prototype Definition
int sm_i460mux_create(struct sm_i460mux_create_parms *createp)
Parameters
- *createp
-
a structure of the following type:
typedef struct sm_i460mux_create_parms {
tSMI460muxId i460mux; /* out */
tSMModuleId module; /* in */
} SM_I460MUX_CREATE_PARMS;
Description
Creates an I.460 Mux.
Fields
- i460mux
- The created mux.
- module
- A value obtained from
sm_open_module()
which indicates the module on which the mux is to be created.
Returns
0
if call completed successfully, otherwise a standard error such as:
- ERR_SM_DEVERR - device error
- ERR_SM_NO_RESOURCES - if no suitable output channel free
- ERR_SM_NO_SUCH_MODULE - if invalid module identifier specified
This function is part of the Prosody I.460 Mux API.