version 1.1, 1999/09/28 21:26:21
|
version 1.3, 2000/06/30 21:36:16
|
Line 1
|
Line 1
|
|
/* This header defines Application Interface to the |
|
CAPA system. It needs capaParser.h and capaToken.h |
|
Copyright (C) 1992-2000 Michigan State University |
|
|
|
The CAPA system is free software; you can redistribute it and/or |
|
modify it under the terms of the GNU Library General Public License as |
|
published by the Free Software Foundation; either version 2 of the |
|
License, or (at your option) any later version. |
|
|
|
The CAPA system is distributed in the hope that it will be useful, |
|
but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|
Library General Public License for more details. |
|
|
|
You should have received a copy of the GNU Library General Public |
|
License along with the CAPA system; see the file COPYING. If not, |
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
|
Boston, MA 02111-1307, USA. */ |
|
|
/**********************************************************/ |
|
/* This header defines Application Interface to the */ |
|
/* CAPA system. It needs capaParser.h and capaToken.h */ |
|
/* CAPA version 4.3 */ |
|
/* Date Oct 23 1995 */ |
/* Date Oct 23 1995 */ |
/* Isaac Tsai */ |
/* Isaac Tsai */ |
/* */ |
/* */ |
Line 201 int capa_check_option CAPA_ARG((int
|
Line 215 int capa_check_option CAPA_ARG((int
|
int check_int CAPA_ARG((char *an_int )); |
int check_int CAPA_ARG((char *an_int )); |
int check_real CAPA_ARG((char *a_real )); |
int check_real CAPA_ARG((char *a_real )); |
char *answers_string CAPA_ARG((int mode, Problem_t *p )); |
char *answers_string CAPA_ARG((int mode, Problem_t *p )); |
int capa_check_ans CAPA_ARG((AnswerInfo_t *ai, char *answer)); |
int capa_check_ans CAPA_ARG((AnswerInfo_t *ai, char *answer, char **error)); |
int capa_check_answer CAPA_ARG((Problem_t *p, char *answer)); |
int capa_check_answer CAPA_ARG((Problem_t *p, char *answer, char **error)); |
int capa_check_answers CAPA_ARG((Problem_t *p, char **answers, int cnt)); |
int capa_check_answers CAPA_ARG((Problem_t *p, char **answers,int cnt, char **error)); |
int check_formula_ans CAPA_ARG((char *fml_str,char *input_str,char *var_list,PointsList_t *pts_list,int tol_type,double tol)); |
int check_formula_ans CAPA_ARG((char *fml_str,char *input_str,char *var_list,PointsList_t *pts_list,int tol_type,double tol)); |
|
|
int is_all_ws CAPA_ARG((char *answer)); |
int is_all_ws CAPA_ARG((char *answer)); |