ACC X.25 Protocol User's Guide
X.25 Application Programming
ZX25CALLOUT (3X) — ACC X.25
Chapter 4 95
EXAMPLE
#include <zcom/zcomsys.h>
#include <zcom/zcomx25.h>
int ierr;
zx25info_type zxi;
zaddr_type vzaddr;
char fbuf[size]; /* user-defined size */
int flen;
char ubuf[size]; /* user-defined size */
int ulen;
int dbit;
unsigned char clngaddr[8];
unsigned char caldaddr[8];
if (ierr = zx25callout (&zxi, &vzaddr, fbuf, flen, ubuf, ulen,
dbit, clngaddr, caldaddr)) {
/* error return code */
}
else {
/* good return code */
}
FILES /opt/acc/include/zcom/zcomsys.h ZCOM subsystem general include
file, containing data types, data
structures, constants, error codes,
masks, etc. Note that this must be the
first include file before any other
ZCOM include files.
/opt/acc/include/zcom/zcomx25.h ZCOM X.25 access data structure
declarations.
SEE ALSO zx25info(3x)










