aboutsummaryrefslogtreecommitdiff
path: root/site.h
blob: 4e13319cdf446c803cd275b7d2142454d3a46bf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 * TODO: It is probably better to use the CONTENT_LENGTH
 * environment variable to decide the length of the entire
 * posted query string and then compare it to a max value,
 * such as:
 */

#define MAXATTDATA 4096
#define MAXUSERDATA 512
#define MAXPOSTDATA 4096

/* Maximum size of newuser parameter, incl. NUL. */
#define MAXUSERPARAM 512

/* Maximum size of user information, incl. NUL. */
#define MAXUSERNAME 80
#define MAXUSERFULL 128
#define MAXUSERPASS 128

struct site{
	char *name;
} site;