/*************************************************************************
* (C) 2009 AITNET - Sofia/Bulgaria - <office@aitbg.com>
* by Michael Pounov <misho@aitbg.com>
*
* $Author: misho $
* $Id: defs.h,v 1.1.1.1.2.9 2010/11/02 01:54:58 misho Exp $
*
*************************************************************************/
#ifndef __DEFS_H
#define __DEFS_H
#define MAX_STR 256
#define TFTP_BUF 516
#define TFTP_RETRY 7
#define TFTP_TIMEOUT 3
#define DEFAULT_TIMEOUT "300"
#define DEFAULT_CONFIG "/etc/cfexec.conf"
#define DEFAULT_USER "root"
#define DEFAULT_MOUNT "/elwix"
#define DEFAULT_DEVICE "/dev/ufs/elwix"
#define DEFAULT_CHROOT "/"
#define DEFAULT_TMP "/tmp"
#define DEFAULT_TFTP 69
#define DEFAULT_TFTPDIR "/elwix/tftpboot"
#define FIRMWARE_IMG "elwix-firmware.sys"
#define FIRMWARE_BAK "elwix-firmware.sys.old"
#define VERB(x) if ((x) <= Verbose)
#define FTRACE(x) if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m %s(%d) ...\n", __func__, __LINE__)
extern int Verbose;
#endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>