File: defaults.h

package info (click to toggle)
muddleftpd 1.3.11-7woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,204 kB
  • ctags: 1,500
  • sloc: ansic: 12,739; python: 642; makefile: 183; sh: 71
file content (37 lines) | stat: -rw-r--r-- 1,318 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* This files specifies default values and other values */

/* Specify where the default config file is */
#define CONFIGFILE "/etc/muddleftpd/muddleftpd.conf"

#define 	MAXSECTIONLEN	40	/* Maximum length of a section name */
#define		MAXPENDCONN	10	/* Maximum connections for listen */
#define		BUFFERSIZE	4096	/* Buffer size. Increase to improve
					   throughput performace */
#define		LOWATERMARK	4096	/* wait for this much data before
					   sending/receiving */
#define		BUFFSMALL	256	/* Filename and username buffer */
#define		STRCACHESIZE	20	/* Elements in a string cache */
#define		MAXMEMUSAGE	4096*1024   /* maximum memory usage */
#define		MAXINCLUDEDEPTH 5	/* maximum recursion in include
					   directives */
#define MAXUSERS		30
#define MAXTOOMANYUSERS		10	/* maximum number of connections to
					   display too busy message to at once */
#define ALTLONGREPLIES		FALSE
#define LOGSTRENGTH		63
#define TIMEOUT			300
#define BADAUTHWAIT		3000000
#define SMARTBIND		FALSE
#define ZEROBIND		FALSE
#define LOGINTRIES		3
#define RDNSTIMEOUT		15
#define LOGFILE			"/var/log/muddleftpd.log"
#define LOGINDUMP		"(null)"
#define EMAIL			"ftp@localhost"
#define	SCRATCHFILE		"/etc/muddleftpd/muddleftpd.scratch"

#define PROGNAME		"muddleftpd"
#define VERSTR			"1.3.11-devel"

#undef ACCESSCMD
#undef DUMPCMD