Previous PageTable Of Contents../index.htmlIndexNext Page


Event Management Functions

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


Value

sr_enbhdlr( )

Enable event handler

evt_type

DCBEV_CTU
DCBEV_DIGIT

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


Value

sr_getevtdev( )

Get Dialogic device handle

device

DCB/SC device handle.

sr_getevttype( )

Get event type

event type

DCBEV_DIGIT
DCBEV_CTU

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.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2000, Dialogic Corporation
All rights reserved
This page generated January, 2002