version 1.5, 2000/10/10 05:23:21 |
version 1.6, 2000/11/21 07:59:08 |
|
|
/* -*- mode: C -*- */ |
/* -*- mode: C -*- */ |
/* $OpenXM: OpenXM/src/ox_toolkit/testclient.c,v 1.4 2000/03/10 12:24:40 ohara Exp $ */ |
/* $OpenXM: OpenXM/src/ox_toolkit/testclient.c,v 1.5 2000/10/10 05:23:21 ohara Exp $ */ |
|
|
/* A sample implementation of an OpenXM client with OpenXM C library */ |
/* A sample implementation of an OpenXM client with OpenXM C library */ |
|
|
|
|
print_cmo(c); |
print_cmo(c); |
fflush(stderr); |
fflush(stderr); |
|
|
mathcap_sysinfo_set(VERSION, ID_STRING, "testclient"); |
mathcap_init(VERSION, ID_STRING, "testclient", NULL, NULL); |
send_ox_cmo(sv, mathcap_get()); |
send_ox_cmo(sv, mathcap_get()); |
|
|
ox_reset(sv); |
ox_reset(sv); |
|
|
{ |
{ |
cmo *c, *m; |
cmo *c, *m; |
|
|
mathcap_sysinfo_set(1000, "test!", "testclient"); |
mathcap_init(1000, "test!", "testclient", NULL, NULL); |
m = mathcap_get(); |
m = mathcap_get(); |
fprintf(stderr, "testclient:: test cmo_mathcap.\n"); |
fprintf(stderr, "testclient:: test cmo_mathcap.\n"); |
send_ox_cmo(sv, m); |
send_ox_cmo(sv, m); |