The Event Management functions retrieve and handle DCB/SC events. The functions are listed in the following tables.
Table 8. DCB/SC Inputs for Event Management Functions
Event Management Function |
DCB/SC specific Input |
|
sr_enbhdlr( ) Enable event handler |
evt_type |
DCBEV_CTU |
sr_dishdlr( ) Disable event handler |
evt_type |
Same as above. |
sr_waitevt( ) Wait for next event |
N/A | |
sr_waitevtEx( ) Wait for next event |
N/A |
Table 9. DCB/SC Returns from Event Management Functions
Event Management Function |
DCB/SC specific Input |
|
sr_getevtdev( ) Get Dialogic device handle |
device |
DCB/SC device handle. |
sr_getevttype( ) Get event type |
event type |
DCBEV_DIGIT |
sr_getevtlen( ) Get event length |
event length |
Number of bytes in the data returned. |
sr_getevtdatap( ) Get pointer to event data |
event data |
Pointer to DCB_DIGITS structure for DCBEV_DIGIT. Pointer to DCB_CT structure, the updated resource table for DCBEV_CTU. |
Click here to contact Dialogic Customer Engineering
Copyright 2000, Dialogic Corporation