ACC X.25 Protocol User's Guide
86 Chapter4
X.25 Application Programming
ZX25CALLACC (3X) — ACC X.25
See the following NOTES section for more information on using this
routine in a multi-threaded application.
PARAMETERS: zxip ZCOM X.25 access dat a structure (from zx25info call).
vzap ZCOM a ddress of the Virtual Circuit (terminal ZLU).
fbuf Facilities data buffer.
flen Facilities data length (in bytes).
ubuf Call user data buffer.
ulen Call user data length (in bytes).
dbit D-bit (Only used for 1988 D-bit negotiation)
0-noD-bit(setto0)
non-zero - D-bit set to 1
clngaddr User-supplied calling address buffer (if NULL, calling
address not supplied). See Notes below for i ts format.
caldaddr User-supplied called address buffer (if NULL, called
address not supplied). See Notes below for i ts format.
RETURN VALUE Routine zx25 callacc returns a 0 when successful. If there was a ZCOM
error, it retu rns a negative value. See
/opt/acc/include/zcom/zcomsys.h forthelistofZCOMerrorcodesand
their meanings. If zx25cal lacc 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) TheremoteZCOMsystemdidnot
respond within 30 seconds.
ZxeNOT_A_SVC (05) The ZLU specified is a PVC ZLU. You
must specify an SVC ZLU with this
routine.
ZxeNO_INBOUND_CALL (06) This virtual circuit ZLU does not
have a pending i nbound call to
accept.
ZxeLINK_IS_DOWN (11) The X.25 link is down. Unable to
accept call.










