Prosody H.223 Mux: API: sm_h223mux_add_entry

This function is under development. It could be changed or withdrawn, and may not be implemented in this release.

Prototype Definition

int sm_h223mux_add_entry(struct sm_h223mux_add_entry_parms *entryp)

Parameters

*entryp
a structure of the following type:
typedef struct sm_h223mux_add_entry_parms {
	tSMH223muxId h223mux;					/* in */
	enum kSMH223muxTableEntryDirection {
		kSMH223muxTableEntryDirectionTransmit,
		kSMH223muxTableEntryDirectionReceive,
	} direction;						/* in */
	tSM_INT entry_number;					/* in */
	tSM_INT descriptor_len;					/* in */
	char *descriptor;					/* in */
} SM_H223MUX_ADD_ENTRY_PARMS;

Description

This function will add an entry to the multiplex table. The entry may be transmit or receive.

Fields

h223mux (Only in Preliminary Documentation)
The mux to add the table entry to.
direction (Only in Preliminary Documentation)
The logical channel direction.
One of these values:
kSMH223muxTableEntryDirectionTransmit
Table entry relates to transmit direction.
kSMH223muxTableEntryDirectionReceive
Table entry relates to receive direction.
entry_number (Only in Preliminary Documentation)
The multiplex table entry number
descriptor_len (Only in Preliminary Documentation)
The length of the descriptor in octets.
descriptor (Only in Preliminary Documentation)
The multiplex entry descriptor as defined in ITU-T H.223 Table 2.

Returns

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


This function is part of the Prosody H.223 Mux API.