cc_GetParmEx( ) retrieve parameters containing variable data
144
Name:
int cc_GetParmEx(linedev, parm_id, valuep)
Inputs:
LINEDEV linedev
• line device handle
int parm_id
• parameter identifier
PARM_INFO *valuep
• pointer to buffer containing the
variable data
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_GetParmEx( ) function is an extension of the cc_GetParm( ) function
that allows the application to retrieve parameters containing variable data passed
from the firmware.
Parameter Description
linedev:
The line device handle.
parm_id: The specified parameter ID. The cc_GetParmEx( ) function
can be used to retrieve all the parameters listed in Table 21 in
the cc_GetParm( ) function description. In addition, for
BRI/SC only, the cc_GetParmEx( ) function can be used to
retrieve the parameter values listed in Table 22.
valuep:
The address of the buffer in which the requested information
will be stored. The PARM_INFO data structure contains he
retrieved information. See Section 6.10. PARM_INFO for a
description of the data structure.
The following table lists the cc_GetParmEx( ) function parameter ID definitions.