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

Diff for /OpenXM/src/ox_toolkit/testclient.c between version 1.14 and 1.15

version 1.14, 2005/07/20 17:48:03 version 1.15, 2005/07/26 12:52:05
Line 1 
Line 1 
 /* -*- mode: C -*- */  /* -*- mode: C -*- */
 /* $OpenXM: OpenXM/src/ox_toolkit/testclient.c,v 1.13 2003/09/15 09:31:42 ohara Exp $ */  /* $OpenXM: OpenXM/src/ox_toolkit/testclient.c,v 1.14 2005/07/20 17:48:03 ohara Exp $ */
   
 /* A sample implementation of an OpenXM client with OpenXM C library */  /* A sample implementation of an OpenXM client with OpenXM C library */
   
Line 54  void test_0()
Line 54  void test_0()
     ox_printf("testclient:: cmo received.(%p)\n", c);      ox_printf("testclient:: cmo received.(%p)\n", c);
     print_cmo(c);      print_cmo(c);
   
     mathcap_init(VERSION, ID_STRING, "testclient", NULL, NULL);      mathcap_init(ID_STRING, "testclient");
     send_ox_cmo(sv, (cmo *)oxf_cmo_mathcap(sv));      send_ox_cmo(sv, (cmo *)oxf_cmo_mathcap(sv));
   
     ox_reset(sv);      ox_reset(sv);
Line 71  void test_1()
Line 71  void test_1()
 {  {
     cmo *c, *m;      cmo *c, *m;
   
         mathcap_init(1000, "test!", "testclient", NULL, NULL);          mathcap_init("test!", "testclient");
         m = (cmo *)oxf_cmo_mathcap(sv);          m = (cmo *)oxf_cmo_mathcap(sv);
     ox_printf("testclient:: test cmo_mathcap.\n");      ox_printf("testclient:: test cmo_mathcap.\n");
     send_ox_cmo(sv, m);      send_ox_cmo(sv, m);

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

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