ACC X.25 Protocol User's Guide
X.25 Application Programming
ZX25INT_CONF (3X) — ACC X.25
Chapter 4 111
ZX25INT_CONF (3X) — ACC X.25
NAME zx25int_conf – Send acknowledgment for a received interrupt packet
SYNOPSIS
#include <zcom/zcomsys.h>
#include <zcom/zcomx25.h>
int zx25int_conf (zxip, vzap)
zx25info_type *zxip;
zaddr_type *vzap;
DESCRIPTION Routine zx25int_conf requests that an Interrupt Confirmation packet be
sent in response to an inbound interrupt message. This function should
only be called if the Virtual Circuit has have been configured for
application handling of Interrupt Confirmations by setting the INTC bit
in the VC’s option word. If the INTC bit in the option word has not been
set, then the Interrupt Confirmation packet is sent automatically by the
X.25 firmware running on the ACC card whenever interrupt data
arrives. When application handling of Interrupt Confirmations has not
been configured, the zx25int_conf function returns immediately without
taking any action.
This function must be called once for each interrupt data message
received (using zread). Failure to acknowledge each and every inbound
interrupt data message will result in the VC being reset (when T26
expires, which is normally 180 seconds).
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).










