/* * 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;