ACC X.25 Protocol User's Guide

X.25 Application Programming
ZX25CALLOUT (3X) — ACC X.25
Chapter 4 91
ZX25CALLOUT (3X) — ACC X.25
NAME zx25callout – Initiate an out-going call
SYNOPSIS
#include <zcom/zcomsys.h>
#include <zcom/zcomx25.h>
int zx25callout (zxip, vzap, fbuf, flen,
ubuf, ulen, dbit, clngaddr, caldaddr)
zx25info_type *zxip;
zaddr_type *vzap;
char *fbuf;
int flen;
char *ubuf;
int ulen;
int dbit;
char *clngaddr;
char *caldaddr;
DESCRIPTION Routine zx25callout is used to initiate an outgoing call on the SVC ZLU
supplied in vzap. The SVC.IN, SVC.AUTO, SVC.IO configuration is
ignored for the purposes of this function (that is, a call will be
transmitted even if the V.C. terminal ZLU is an SVC.IN). The called and
calling addresses and the user data will be obtained from the terminal
ZLU configuration unless overridden by this routine.
The libraries libzx25.a, libzcom_c.a and libpthread.a must be linked into
the calling program by giving the “-lzx25 -lzcom_c -lpthread” options to
cc(1) or ld(1).