ACC Programmer's Reference Guide

Chapter 4 199
ZCOM C I/F Library Routines
ZCONFIG (3X)
header.tag1,
header.tag2
Any values.
data.setportsc.iftno
Interface card number (0, 1,...).
data.setportsc.port no
Port number in E1/T1 interface card (0...3).
data.setportsc.subchno
Subchannel number within the port (0...31).
data.setportsc.rcode
Thisfieldisusedforactions ZcDSC_ALL_PARMS, ZcDSC_CFG_MODE,
ZcDSC_BAUD_RATE,ZcDSC_PORT_MODE, ZcDSC_SET_TIMESLOTS and
ZcDSC_SET_SUBC_SPECS only. Values are:
1
- Use configuration in interface table
2-Usedatainfielddata.setportsc.ptcfg
data.setportsc.ptcfg
Pointer to the port and subchannel configuration data of which the data
structure zptcfg_t is defined in /opt/acc/include/zcom/zcomsys .h.
data.setportsc.ptcfg->ptcnfg
Port configuration data (32 bits) which is used for actions
ZcDSC_ALL_PARMS, ZcDSC_CFG_MODE, ZcDSC_BAUD_RATE and
ZcDSC_PORT_MODE only. See the Port Configuration section for the format
of the configuration data (data.setport.cnfg field).