[BACK]Return to math2ox.c CVS log [TXT][DIR] Up to [local] / OpenXM / src / ox_math

Diff for /OpenXM/src/ox_math/math2ox.c between version 1.13 and 1.16

version 1.13, 2000/02/14 09:39:12 version 1.16, 2000/03/13 09:44:06
Line 1 
Line 1 
 /* -*- mode: C; coding: euc-japan -*- */  /* -*- mode: C; coding: euc-japan -*- */
 /* $OpenXM: OpenXM/src/ox_math/math2ox.c,v 1.12 2000/01/22 06:29:17 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_math/math2ox.c,v 1.15 2000/03/13 07:47:15 ohara Exp $ */
   
 /*  /*
    Copyright (C) Katsuyoshi OHARA, 2000.     Copyright (C) Katsuyoshi OHARA, 2000.
Line 20 
Line 20 
 #include <unistd.h>  #include <unistd.h>
 #include <signal.h>  #include <signal.h>
 #include <mathlink.h>  #include <mathlink.h>
   #include <ox_toolkit.h>
 #include "ox.h"  
 #include "parse.h"  
 #include "serv2.h"  #include "serv2.h"
   
 static char *host    = "localhost";  static char *host    = "localhost";
Line 80  int OX_reset(int id)
Line 78  int OX_reset(int id)
     return 0;      return 0;
 }  }
   
   /* This function is compatible with previous version of math2ox. */
 /* Parsing s and sending its cmo to an OX server. */  /* Parsing s and sending its cmo to an OX server. */
 int OX_parse(int id, char *s)  int OX_parse(int id, char *s)
 {  {
           return OX_sendMessage(id, s);
   }
   
   /* After creating an OX message by parsing a string s,
      the function send the message to the OX server id. */
   int OX_sendMessage(int id, char *s)
   {
     cmo *m;      cmo *m;
     symbol *symp;  
     int len = strlen(s);      int len = strlen(s);
     init_parser(s);      init_parser(s);
   

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.16

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