Diff for /capa/capa51/pProj/capaCommon.h between versions 1.3 and 1.6

version 1.3, 2000/06/30 21:36:16 version 1.6, 2024/04/27 18:42:05
Line 3 Line 3
    Copyright (C) 1992-2000 Michigan State University     Copyright (C) 1992-2000 Michigan State University
   
    The CAPA system is free software; you can redistribute it and/or     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     published by the Free Software Foundation; either version 2 of the
    License, or (at your option) any later version.     License, or (at your option) any later version.
   
    The CAPA system is distributed in the hope that it will be useful,     The CAPA system is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of     but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     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,     License along with the CAPA system; see the file COPYING.  If not,
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,     write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */     Boston, MA 02111-1307, USA.
   
      As a special exception, you have permission to link this program
      with the TtH/TtM library and distribute executables, as long as you
      follow the requirements of the GNU GPL in regard to all of the
      software in the executable aside from TtH/TtM.
   */
   
 /*    Date Oct 23 1995                                    */  /*    Date Oct 23 1995                                    */
 /*   Isaac Tsai                                           */  /*   Isaac Tsai                                           */
 /*                                                        */  /*                                                        */
 /*   Get rid of old style structure definition *_t        */  /*   Get rid of old style structure definition *_t        */
 /*   Make all structure definition begin with T_          */  /*   Make all structure definition begin with T_          */
 /*   1997, 1998, 1999  Isaac Tsai                         */  
 /**********************************************************/  /**********************************************************/
   
 #ifndef   CAPA_COMMON_H  #ifndef   CAPA_COMMON_H
Line 218  char  *answers_string     CAPA_ARG((int Line 223  char  *answers_string     CAPA_ARG((int
 int    capa_check_ans     CAPA_ARG((AnswerInfo_t *ai, char *answer, char **error));  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_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    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    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   trim_response_ws   CAPA_ARG((char *answer));
 void   throwaway_line     CAPA_ARG((FILE* fp));  void   throwaway_line     CAPA_ARG((FILE* fp));
 void   protect_log_string CAPA_ARG((char* log_string));  void   protect_log_string CAPA_ARG((char* log_string));

Removed from v.1.3  
changed lines
  Added in v.1.6


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