xferlog.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "config.h"
#include <string.h>
#include "extensions.h"
#include "proto.h"
#define DEFXFERFORMAT "%T %Xt %R %Xn %XP %Xy %Xf %Xd %Xm %U ftp %Xa %u %Xc"
int xferdone = 0;
struct xferstat xfervalues;
/*************************************************************************/
/* FUNCTION : get_xferlog_format */
/* PURPOSE : Read the xferlog format string from ftpaccess into */
/* xferlog_format if it exists otherwise load default string */
/* ARGUMENTS : none */
/*************************************************************************/
void get_xferlog_format(void)
{
int which;
/* xferlog format <formatstring> */
xferlog_format[0] = '\0';
if (which > 1) {
sizeof(xferlog_format)) >= sizeof(xferlog_format))
break;
}
sizeof(xferlog_format)) >= sizeof(xferlog_format))
break;
}
break;
}
}
/* default xferlog format */
if (xferlog_format[0] == '\0')
}