.ad 8
.bm 8
.fm 4
.bt $Copyright (c) 1995-2004 SAP AG$$Page %$
.tm 12
.hm 6
.hs 3
.tt 1 $SQL$Project Datensicherung$vox11c$
.tt 2 $$$
.tt 3 $$BACKUP$$1998-03-10$
***********************************************************
.nf

.nf


    ========== licence begin  GPL
    Copyright (c) 1995-2004 SAP AG

    This program is free software; you can redistribute it and/or
    modify it under the terms of the GNU General Public License
    as published by the Free Software Foundation; either version 2
    of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
    ========== licence end

.fo


.fo
.nf
.sp
Module  :      BACKUP 
=========
.sp
Purpose :
.CM *-END-* purpose -------------------------------------
.sp
.cp 3
Define  :

.CM *-END-* define --------------------------------------
.sp;.cp 3
Use     :

.CM *-END-* use -----------------------------------------
.sp;.cp 3
Synonym :

.CM *-END-* synonym -------------------------------------
.sp;.cp 3
Author  : 
.sp
.cp 3
Created : 
.sp
.cp 3
Version :
.sp
.cp 3
Release :  6.2    Date : 1998-03-10
.br
.sp
***********************************************************
.sp
.cp 10
.fo
.oc _/1
Specification:

.CM *-END-* specification -------------------------------
.sp 2
***********************************************************
.sp
.cp 10
.fo
.oc _/1
Description:

.CM *-END-* description ---------------------------------
.sp 2
***********************************************************
.sp
.cp 10
.nf
.oc _/1
Structure:

.CM *-END-* structure -----------------------------------
.sp 2
**********************************************************
.sp
.cp 10
.nf
.oc _/1
.CM -lll-
Code    :
/* PRETTY */

/*****************************************************************************************/

char		szErrorMsg[255] = { 0, };
int  		iErrorCode = 0;

static char	*pszProgName = NULL;

BOOL vox11_bVerbose = FALSE;
BOOL vox11_bQuiet = TRUE;

/*****************************************************************************************/

int vox11_Init ( char *progname )
{
	pszProgName = progname;

	return 0;
}

/*****************************************************************************************/

int vox11_GetErrorCode ()
{
	return iErrorCode;
}

/*****************************************************************************************/

char *vox11_GetErrorMsg()
{
	return szErrorMsg;
}

/*****************************************************************************************/

void vox11_SetErrorCode ( int errorcode )
{
	iErrorCode = errorcode;
}

/*****************************************************************************************/

void vox11_SetErrorMsg ( char *errormsg )
{
	strcpy(szErrorMsg,errormsg);
}

/*****************************************************************************************/

void vox11_ErrOut ( char *fname, int fline, char *format, ...)
{
	char		szBuffer[255];
	va_list		args;

	va_start(args,format);
	sprintf(szBuffer,"%s : %s (%d) : %s\n",pszProgName,fname,fline,format);
	vfprintf(stdout,szBuffer,args);
	va_end(args);
}

/*****************************************************************************************/

void vox11_FileOut ( FILE *fp, char *format, ...)
{
	char		szBuffer[255];
	va_list		args;
	
	va_start(args,format);
	sprintf(szBuffer,"%s : %s\n",pszProgName,format);
	vfprintf(fp,szBuffer,args);
	va_end(args);
}

/*****************************************************************************************/
/*
 * =============================== END ========================================
 */

.CM *-END-* code ----------------------------------------
.SP 2
***********************************************************
*-PRETTY-*  statements    :         38
*-PRETTY-*  lines of code :         38        PRETTY  1.07
*-PRETTY-*  lines in file :        141         1989-01-20
.PA
