Subversion Repositories wimsdev

Rev

Rev 8286 | Rev 8368 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8286 Rev 8339
Line 35... Line 35...
35
#define MAX_WEBGETFLEN (32*1024*1024)
35
#define MAX_WEBGETFLEN (32*1024*1024)
36
/* max length of class name */
36
/* max length of class name */
37
#define MAX_CLASSLEN 31
37
#define MAX_CLASSLEN 31
38
/* max length of session name */
38
/* max length of session name */
39
#define MAX_SESSIONLEN 23
39
#define MAX_SESSIONLEN 23
40
/* max number of exercises in a class (sheets and exams) */
40
/* max number of exercises in a class (sheets and exams)
-
 
41
 * if it is greater than MAX_EXOS * MAX_SHEETS + MAX_EXAMS,
-
 
42
 * the limitation is not useful
-
 
43
 */
41
#define MAX_CLASSEXOS 2048
44
#define MAX_CLASSEXOS 2048
-
 
45
/* MAX_EXOS and MAX_SHEETS are not modifiable:
-
 
46
 * look at 0xFF00 in Wimslogd/cache.c, Wimslogd/wimslogdscore.c
-
 
47
 * look at  >>8 in Wimslogd/wimslogdscore.c, score.c
-
 
48
 * look at 255 in score.c, 256 in variables.c
-
 
49
 * it must be also less than 99 (see exam.c)
-
 
50
 */
42
/* max number of exercises in a sheet or exam; not modifiable */
51
/* max number of exercises in a sheet or exam; not modifiable */
43
#define MAX_EXOS 64
52
#define MAX_EXOS 64
44
/* max number of sheets; not modifiable */
53
/* max number of sheets; not modifiable */
45
#define MAX_SHEETS 64
54
#define MAX_SHEETS 64
46
/* max number of exams; for the moment not used except in Misc/exostat */
55
/* max number of exams; not used except in Misc/exostat and in adm modules */
47
#define MAX_EXAMS 32
56
#define MAX_EXAMS 32
48
/* max length of data files: records, activities, definitions. */
57
/* max length of data files: records, activities, definitions. */
49
#define MAX_FILELEN (2048*1024-1)
58
#define MAX_FILELEN (2048*1024-1)
50
/* max number of filewrite calls in one request */
59
/* max number of filewrite calls in one request */
51
#define MAX_FWRITE 20
60
#define MAX_FWRITE 20