cc_SetDLinkCfg( ) configures a logical link
228
Name:
int cc_SetDLinkCfg(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_SetDLinkCfg( ) function configures a logical link. This function
initializes the required firmware structures to allow the logical link to be used.
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
None
!
! !
!
Example
#include <windows.h> /* For Windows applications only */
#include <stdio.h>
#include <errno.h>
#include "srllib.h"
#include "dtilib.h"