File: cfg.h

package info (click to toggle)
ffproxy 1.6-10
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 808 kB
  • sloc: ansic: 2,309; asm: 578; sh: 425; makefile: 90
file content (51 lines) | stat: -rw-r--r-- 829 bytes parent folder | download | duplicates (3)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
struct cfg {
	unsigned int    port;
	
	char		ipv4[256];
	char		ipv6[256];

	int             daemon;
	int             childs;
	int             ccount;
	int             backlog;

	unsigned long	uid;
	unsigned long	gid;
	char            chroot[256];
	char            dbdir[256];
	char            file[256];

	char		proxyhost[256];
	unsigned int    proxyport;

	int             syslog;
	int             logrequests;

	int		use_ipv6;
	int		aux_proxy_ipv6;

	int		bind_ipv6;
	int		bind_ipv4;

	int		accel;
	int		accelusrhost;
	char		accelhost[256];
	unsigned int	accelport;

	int		kalive;

	int		unr_con;
	int		to_con;

	int		nowarn;
	int		first;

        char            piddir[256];
};

#define MAX_CHILDS	1024
#define MAX_BACKLOG	64
#define MAX_PORTS	65535
#define MAX_UID		65535
#define MAX_GID		MAX_UID
#define MAX_FSIZE	256*1024