ACC Programmer's Reference Guide

180 Chapter4
ZCOM C I/F Library Routines
ZCONFIG (3X)
node Destination node.
Thisisthenodenumberoftheremote(orlocal)ZCOM
system where the configuration is to take place. If zero
is specified, it is the local system. Note that the node
parameter must specify the local system with this
release (except for the Port Configuration functions)
cdata Configuration data.
This points to a data structure containing all the
information necessary for the configuration. See below
for a description of this structure.
rdata
(Return Param) Response data.
This points to a data structure containing the returned
configuration response data. It is returned with valid
data only when it is an immediate configuration (mode
ZcDSC_IMMEDIATE) and zconfig returns with zero
(i.e. no error). See the following for a description of this
structure.
Configuration Data The configuration data structure consists of a header and a “union” data
portion for configuration information
/* Configuration Header */
typedef struct {
uint16 config; /* Type of configuration */
uint16 action; /* Configuration action */
uint16 tag1; /* Tag parameter 1 */
uint16 tag2; /* Tag parameter 2 */
} zcfghdr_type;
/* Configuration Data */
typedef struct {
zcfghdr_type header; /* Header Information */
union {
struct {
uint32 cfg_class; /* Class of Reconfig (1-999 Resvd) */
uint32 cfg_info1; /* Caller supplied information. */
} setctl; /* Request = DSC Control */
struct {
char sysname[80]; /* New ZCOM system name */
uint32 qlimit; /* Queue limit */
} setsys;
struct {
uint16 iftno; /* Interface card number */