--- capa/capa51/pProj/capaCommon.h 2000/07/07 18:33:03 1.4 +++ capa/capa51/pProj/capaCommon.h 2024/04/27 18:42:05 1.6 @@ -3,16 +3,16 @@ 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 + modify it under the terms of the GNU 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. + General Public License for more details. - You should have received a copy of the GNU Library General Public + You should have received a copy of the GNU 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. @@ -223,9 +223,11 @@ char *answers_string CAPA_ARG((int int capa_check_ans CAPA_ARG((AnswerInfo_t *ai, char *answer, char **error)); 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, 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 check_for_unit_fail CAPA_ARG((int result)); int is_all_ws CAPA_ARG((char *answer)); +int split_num_unit CAPA_ARG((char *buf, double *num, char *num_p, char *unit_p)); void trim_response_ws CAPA_ARG((char *answer)); void throwaway_line CAPA_ARG((FILE* fp)); void protect_log_string CAPA_ARG((char* log_string));