ACC X.25 Protocol User's Guide

96 Chapter4
X.25 Application Programming
ZX25CALLREJ (3X) — ACC X.25
Threads
Considerations
This routine may be called from a multi-threaded application using the
POSIX (1003.1c) kernel threads API package. It has the following
characteristics when called by multi-threaded applications:
cancellation point Thread cancellation can occur when a
thread calls this routine.
async-cancel unsafe The calling thread’s cancelability
type must be
PTHREAD_CANCEL_DEFERRED if
cancellation is enabled.
async-signal unsafe It cannot be called from a signal
handler.
fork unsafe It cannot be called by a child process
after fork(2) but before exec(2).
See the NOTES section that follows 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 address of the Virtual Circuit terminal .
cause Caus e code.
diag Diagnostic code.
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
0-noD-bit
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, calling
address not supplied). See Notes below for i ts format.