cc_GetParm( ) gets the current parameter values of the line device
138
Name:
int cc_GetParm(linedev, parm_id, valuep)
Inputs:
LINEDEV linedev
• line device handle
int parm_id
• parameter identifier
CC_PARM *valuep
• pointer to value buffer
Returns:
0 on success
< 0 on failure
Includes:
cclib.h
Category:
System tools
Mode:
synchronous
Technology:
BRI/2; BRI/SC; PRI (all protocols)
!
! !
!
Description
The cc_GetParm( ) function gets the current parameter values of the line device.
The application can retrieve only one parameter at a time.
The parameter values are set using the cc_SetParm( ) function or during the
initialization of the MAKECALL Block. See the cc_SetParm( ) function
description and Section 8.3.2. MAKECALL Block Initialization and Settings for
more information.
Parameter Description
linedev:
The line device handle.
parm_id:
The specified parameter ID. Definitions and return values are
listed in Table 21.
valuep:
Pointer to the address of the buffer in which the requested
information will be stored.
The following table lists the cc_GetParm( ) function parameter ID definitions.