fis-gtm/sr_port/tt_write_error_set.c

39 lines
1.3 KiB
C

/****************************************************************
* *
* Copyright 2001, 2007 Fidelity Information Services, Inc *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#include "mdef.h"
#include "xfer_enum.h"
#include "outofband.h"
#include "deferred_events.h"
#include "op.h"
#include "iott_wrterr.h"
#include "fix_xfer_entry.h"
/* ------------------------------------------------------------------------
* Set flags and transfer table for synchronous handling of TTY write error
* Should be called only from xfer_set_handlers.
* ------------------------------------------------------------------------
*/
GBLREF int iott_write_error;
GBLREF xfer_entry_t xfer_table[];
void tt_write_error_set(int4 error_status)
{
iott_write_error = error_status;
FIX_XFER_ENTRY(xf_linefetch, op_fetchintrrpt);
FIX_XFER_ENTRY(xf_linestart, op_startintrrpt);
FIX_XFER_ENTRY(xf_zbfetch, op_fetchintrrpt);
FIX_XFER_ENTRY(xf_zbstart, op_startintrrpt);
FIX_XFER_ENTRY(xf_forchk1, op_startintrrpt);
FIX_XFER_ENTRY(xf_forloop, op_forintrrpt);
}