ACC X.25 Protocol User's Guide

X.25 Application Programming
ZX25CALLREJ (3X) — ACC X.25
Chapter 496
ZX25CALLREJ (3X) — ACC X.25
NAME zx25callrej – Clear (reject) an X.25 call
SYNOPSIS
#include <zcom/zcomsys.h>
#include <zcom/zcomx25.h>
int zx25callrej (zxip, vzap, cause, diag, fbuf, flen,
ubuf, ulen, dbit, clngaddr, caldaddr)
zx25info_type *zxip;
zaddr_type *vzap;
int cause;
int diag;
char *fbuf;
int flen;
char *ubuf;
int ulen;
int dbit;
char *clngaddr
char *caldaddr;
DESCRIPTION Routine zx25callrej is used to initiate a CLEAR REQUEST on the logical
channel of the supplied Virtual Circuit ZLU. This routine can be used to
clear an established call, to reject an inbound call, or to terminate an
outbound call request.
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).