[BACK]Return to ox.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / io

Diff for /OpenXM_contrib2/asir2000/io/ox.c between version 1.14 and 1.15

version 1.14, 2002/07/25 04:47:41 version 1.15, 2002/08/02 02:28:27
Line 44 
Line 44 
  * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY   * OF THE SOFTWARE HAS BEEN DEVELOPED BY A THIRD PARTY, THE THIRD PARTY
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  * $OpenXM$   * $OpenXM: OpenXM_contrib2/asir2000/io/ox.c,v 1.14 2002/07/25 04:47:41 noro Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 125  static int available_cmo[] = {
Line 125  static int available_cmo[] = {
         0          0
 };  };
   
 static int available_sm[] = {  static int ox_asir_available_sm[] = {
         SM_dupErrors, SM_getsp, SM_popSerializedLocalObject,          SM_dupErrors, SM_getsp, SM_popSerializedLocalObject,
         SM_popCMO, SM_popString, SM_pushCMOtag, SM_setName,          SM_popCMO, SM_popString, SM_pushCMOtag, SM_setName,
         SM_evalName, SM_executeStringByLocalParser,          SM_evalName, SM_executeStringByLocalParser,
Line 136  static int available_sm[] = {
Line 136  static int available_sm[] = {
         0          0
 };  };
   
   static int ox_plot_available_sm[] = {
           SM_dupErrors, SM_getsp, SM_popSerializedLocalObject,
           SM_popCMO, SM_popString, SM_setName,
           SM_evalName, SM_executeStringByLocalParser,
           SM_executeFunction, SM_shutdown, SM_pops,
           SM_mathcap, SM_setMathcap,
           0
   };
   
 /*  /*
         mathcap =          mathcap =
                 [                  [
Line 164  void create_my_mathcap(char *system)
Line 173  void create_my_mathcap(char *system)
         MKUSINT(t,OX_VERSION);          MKUSINT(t,OX_VERSION);
         n0 = mknode(2,t,str); MKLIST(sname,n0);          n0 = mknode(2,t,str); MKLIST(sname,n0);
   
         /* cmo tag */          /* sm tag */
         for ( n0 = 0, i = 0; k = available_sm[i]; i++ ) {          n0 = 0;
                 NEXTNODE(n0,n); MKUSINT(t,k); BDY(n) = (pointer)t;          if ( !strcmp(system,"ox_asir") ) {
                   for ( i = 0; k = ox_asir_available_sm[i]; i++ ) {
                           NEXTNODE(n0,n); MKUSINT(t,k); BDY(n) = (pointer)t;
                   }
                   NEXT(n) = 0;
           } else if ( !strcmp(system,"ox_plot") ) {
                   for ( i = 0; k = ox_plot_available_sm[i]; i++ ) {
                           NEXTNODE(n0,n); MKUSINT(t,k); BDY(n) = (pointer)t;
                   }
                   NEXT(n) = 0;
         }          }
         NEXT(n) = 0; MKLIST(smlist,n0);          MKLIST(smlist,n0);
   
         /* creation of [OX_DATA,CMO list] */          /* creation of [OX_DATA,CMO list] */
         /* ox tag */          /* ox tag */
Line 654  void ox_get_serverinfo(int s, LIST *rp)
Line 672  void ox_get_serverinfo(int s, LIST *rp)
                 MKLIST(*rp,0);                  MKLIST(*rp,0);
         }          }
 }  }
   
   char *ox_get_servername(int s)
   {
           return (remote_mc && remote_mc[s].servername)?remote_mc[s].servername:0;
   }
   
   
 int ox_check_cmo_p(int s, P p)  int ox_check_cmo_p(int s, P p)
 {  {

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15

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