File:  [LON-CAPA] / capa / capa51 / GUITools / quizzer.h
Revision 1.1: download - view: text, annotated - select for diffs
Tue Sep 28 21:25:36 1999 UTC (25 years, 1 month ago) by albertel
Branches: MAIN
CVS tags: HEAD
Initial revision

/*
 * quizzer.h
 * Copyright Guy Albertelli II 1996
 */
#ifndef _QUIZZER_H_
#define _QUIZZER_H_

int capaTclParse (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaGetStudent (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaRunLatex (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaGetParseErrors (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaGetHeaderInfo (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaUpdateHeader (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaCheckHeader (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaGetStudentNumbers (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
int capaStopParser (ClientData clientdata, Tcl_Interp *interp, int argc, char *argv[]);
void signalHandler(int sigNum);
void alarmHandler(int sigNum);

int gFasterParsing;

#define Q_PROBLEM            '0'
#define Q_PROBLEM_AND_ANSWER '1'
#define Q_ANSWER      '2'
#define BUFFER_SIZE   2048

#endif /* _QUIZZER_H_ */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>