diff options
Diffstat (limited to 'site.h')
-rw-r--r-- | site.h | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -1,3 +1,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;
\ No newline at end of file |