/*Get Form Errors*/
#define GFSUCCESS 100
#define GFFAILED 101
#define GFEOF 102
#define GFSPACES 103
/*Check Form Errors*/
#define ESTID 201
#define ECLASSL 202
#define EPIN 203
#define ECLASS 204
/*findPID Errors*/
#define ENONE 301
#define ENOONE 302
/*questions array size*/
#define MAXQUEST 40
/*grading stryles*/
#define KASHYMETHOD 1
#define MRTMETHOD 2
#define STRICT 3
typedef struct
{
char answerPID[10];
char questionPID[10];
char class[9];
char SetId[6];
char PIN[7];
char Answers[50][6];
} Student;
typedef struct
{
char type;
int leafs;
int points;
} Question;
typedef struct
{
char PID[MAX_STUDENT_NUMBER];
int PIN;
} PIDPINlist;
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>