version 1.2, 1999/10/13 18:45:28
|
version 1.3, 1999/10/13 20:05:00
|
Line 2383 FILE *out;
|
Line 2383 FILE *out;
|
i, /* Question counter */ |
i, /* Question counter */ |
set_score, /* Score on a set */ |
set_score, /* Score on a set */ |
term_score=0, /* Total points received */ |
term_score=0, /* Total points received */ |
term_valid=0, /* Total points possible */ |
term_valid=0; /* Total points possible */ |
result; |
|
T_entry entry; /* Database entry for a set */ |
T_entry entry; /* Database entry for a set */ |
char buf[MAX_BUFFER_SIZE]; /* Output line buffer */ |
char buf[MAX_BUFFER_SIZE]; /* Output line buffer */ |
char buf2[MAX_BUFFER_SIZE]; /* Output line buffer */ |
|
T_header header; /* Problem set header */ |
T_header header; /* Problem set header */ |
int question_cnt,valid_wgt, rate,configResult, |
int question_cnt,valid_wgt,configResult; |
status_line_length=DEFAULT_STATUS_LINE_LENGTH,row; |
|
char class_fullpath[ONE_K],*serverName; |
char class_fullpath[ONE_K],*serverName; |
int hw_c, hw_r, qz_c, qz_r, fs, homework_count, quiz_count; |
int hw_c, hw_r, qz_c, qz_r, fs, homework_count, quiz_count; |
int ex_c, epc_c; |
|
float hw_w, qz_w, ex_w, fe_w, pc_w; |
float hw_w, qz_w, ex_w, fe_w, pc_w; |
int idx, entry_count, tmp_len; |
int idx, entry_count, tmp_len; |
float *S, *F; |
float *S, *F; |
int *X; |
int *X; |
char *capa_server, *qz_p, *ex_p, *epc_p; |
char *capa_server; |
int max_set[4]; |
int max_set[4]; |
char **c_path_pp; |
char **c_path_pp; |
|
|
|
/*Unused Vars |
|
char buf2[MAX_BUFFER_SIZE]; |
|
char *qz_p, *ex_p, *epc_p; |
|
int ex_c, epc_c, result; |
|
int rate, status_line_length=DEFAULT_STATUS_LINE_LENGTH,row; |
|
*/ |
|
|
serverName=getenv("SERVER_NAME"); |
serverName=getenv("SERVER_NAME"); |
if (!serverName) { |
if (!serverName) { |
fprintf(out,"Enviroment variable SERVER_NAME not set.\n"); |
fprintf(out,"Enviroment variable SERVER_NAME not set.\n"); |