Annotation of embedtools/inc/defs.h, revision 1.1.1.1.2.9
1.1 misho 1: /*************************************************************************
2: * (C) 2009 AITNET - Sofia/Bulgaria - <office@aitbg.com>
3: * by Michael Pounov <misho@aitbg.com>
4: *
5: * $Author: misho $
1.1.1.1.2.9! misho 6: * $Id: defs.h,v 1.1.1.1.2.8 2010/10/27 16:04:52 misho Exp $
1.1 misho 7: *
8: *************************************************************************/
9: #ifndef __DEFS_H
10: #define __DEFS_H
11:
12:
13: #define MAX_STR 256
1.1.1.1.2.5 misho 14: #define TFTP_BUF 516
15: #define TFTP_RETRY 7
16: #define TFTP_TIMEOUT 3
17:
1.1 misho 18: #define DEFAULT_TIMEOUT "300"
19: #define DEFAULT_CONFIG "/etc/cfexec.conf"
20: #define DEFAULT_USER "root"
1.1.1.1.2.7 misho 21: #define DEFAULT_MOUNT "/elwix"
22: #define DEFAULT_DEVICE "/dev/ufs/elwix"
1.1 misho 23: #define DEFAULT_CHROOT "/"
24: #define DEFAULT_TMP "/tmp"
1.1.1.1.2.4 misho 25: #define DEFAULT_TFTP 69
1.1.1.1.2.7 misho 26: #define DEFAULT_TFTPDIR "/elwix/tftpboot"
1.1 misho 27:
1.1.1.1.2.7 misho 28: #define FIRMWARE_IMG "elwix-firmware.sys"
29: #define FIRMWARE_BAK "elwix-firmware.sys.old"
1.1.1.1.2.2 misho 30:
1.1 misho 31: #define VERB(x) if ((x) <= Verbose)
1.1.1.1.2.9! misho 32: #define FTRACE(x) if ((x) <= Verbose) syslog(LOG_DEBUG, "Debug:: I`m %s(%d) ...\n", __func__, __LINE__)
1.1 misho 33:
34:
1.1.1.1.2.1 misho 35: extern int Verbose;
1.1 misho 36:
37:
38: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>