Prosody SPRT end point: API: sm_sprt_get_event

Prototype Definition

int sm_sprt_get_event(struct sm_sprt_get_event_parms *eventp)

Parameters

*eventp
a structure of the following type:
typedef struct sm_sprt_get_event_parms {
	tSMSPRTId sprt;						/* in */
	tSMEventId event;					/* out */
} SM_SPRT_GET_EVENT_PARMS;

Description

the event will be signalled when a status change occurs on the SPRT end point.

Fields

sprt
The SPRT end point.
event
The event identifier

Returns

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


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