ACC X.25 Protocol User's Guide
X.25 Application Programming
ZX25RESET (3X) — ACC X.25
Chapter 4 121
PAR A ME TER S : zxip ZCOM X.25 access data structure (from zx25info call).
vzap ZCOM address of the Virtual Circuit terminal.
cause Cause code. The cause code supplied should conform to
the CCITT specification for the X.25 protocol. The
value must be in the range 0 to 255, but is not
validated.
diag Diagnostic code. The diagnostic code supplied should
conform to the CCITT specification for the X.25
protocol. The value must be in the range 0 to 255, but is
not validated.
RETURN VALUE Routine zx25reset returns a 0 when successful. If there was a ZCOM
error, it returns a negative value. See
/opt/acc/include/zcom/zcomsys.h for the list of ZCOM error codes and
their meanings. If zx25reset itself failed, one of the following positive
error codes is returned:
ZxeUNKNOWN_L2_ZLU (02) Unable to find the X.25 link ZLU for
this SVC ZLU.
ZxeREQ_TIMEOUT (04) The remote ZCOM system did not
respond within 30 seconds.
ZxeINVALID_STATE (06) The ZLU specified is not in the
correct state to issue a Reset Request.
ZxeLINK_IS_DOWN (11) The X.25 link is down. Unable to
issue Reset.
ZxeUNKNOWN_VC_ZLU (13) The ZLU specified is not an X.25
Virtual Circuit ZLU.
ZxeMUST_CALL_ZX25INFO (17) The zx25info() routine has not been
called. You must call zx25info before
issuing any other zx25...() calls.
ZxeBAD_ZX25INFO_ADDR (18) The pointer to the zx25info_type
structure does not contain the same
address that was passed to the
zx25info() routine.
ZxeX25_NOT_INITIALIZED (98) The ACC X.25 subsystem has not
been initialized. You must run
zx25d_init before issuing any zx25...()
calls.










