fis-gtm/sr_port/op_zwritesvn.c

40 lines
956 B
C
Raw Normal View History

/****************************************************************
* *
* Copyright 2010 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 "gtm_string.h"
#include "error.h"
#include "zshow.h"
#include "gtm_facility.h"
#include "fileinfo.h"
#include "gtm_maxstr.h"
#include "op.h"
void op_zwritesvn(int svn)
{
zshow_out output;
MAXSTR_BUFF_DECL(buff);
memset(&output, 0, SIZEOF(output));
MAXSTR_BUFF_INIT;
output.type = ZSHOW_DEVICE;
output.buff = output.ptr = buff;
output.size = SIZEOF(buff);
zshow_svn(&output, svn);
output.code = 0;
output.flush = TRUE;
zshow_output(&output,0);
MAXSTR_BUFF_FINI;
}