Dialogic 05-0867-005 Table Top Game User Manual


 
cc_SetDLinkState( ) set the logical data link state
230
Name:
int cc_SetDLinkState(bdev, dlinkptr, state_buf)
Inputs:
LINEDEV bdev
device handle
DLINK *dlinkptr
pointer to data link information block
int *state_buf
pointer to location of D channel state
Returns:
0 on success
< 0 on failure
Includes:
cclib.h
Category:
System tools
Mode:
synchronous
Technology:
BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_SetDLinkState( ) function asks the firmware to set the logical data link
state to support specific events in the application.
Upon successful completion of the cc_SetDLinkState( ) function, the request to
change the state of the logical link is accepted by the firmware. Subsequently,
when the logical data link state changes, the unsolicited event
CCEV_D_CHAN_STATUS will be received, indicating that the state has
changed.