Dialogic 05-0867-005 Table Top Game User Manual


 
retrieves the configuration of a logical link cc_GetDLinkCfg( )
107
Name:
int cc_GetDLinkCfg(bdev, dlinkptr, dlinkcfgptr)
Inputs:
LINEDEV bdev
device handle
DLINK *dlinkptr
pointer to data link
information block
DLINK_CFG *dlinkcfgptr
pointer to location of D
channel logical link
configuration block
Returns:
0 on success
< 0 on failure
Includes:
cclib.h
Category:
System tools
Mode:
synchronous
Technology:
BRI/SC
!
! !
!
Description
The cc_GetDLinkCfg( ) function retrieves the configuration of a logical link. The
logical link is configured using the cc_SetDLinkCfg( ) function.
Parameter Description
bdev:
Station device handle.
dlinkptr:
Pointer to the data link information block. See Section
6.4. DLINK for a description of the elements of this data
structure.
dlinkcfgptr:
Pointer to the buffer containing the data link logical link
configuration block. See Section 6.5. DLINK_CFG for a
description of the elements of this data structure.
!
! !
!
Cautions
Make sure that the DLINK_CFG data structure is initialized to zero.
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include "srllib.h"
#include "dtilib.h"