=================================================================== RCS file: /home/cvs/OpenXM/doc/oxlib/test2.c,v retrieving revision 1.2 retrieving revision 1.6 diff -u -p -r1.2 -r1.6 --- OpenXM/doc/oxlib/test2.c 2000/03/16 07:34:37 1.2 +++ OpenXM/doc/oxlib/test2.c 2018/03/28 05:09:38 1.6 @@ -1,8 +1,12 @@ -/* $OpenXM: OpenXM/doc/oxlib/test2.c,v 1.1 2000/02/08 13:25:41 takayama Exp $ */ -#include +/* $OpenXM: OpenXM/doc/oxlib/test2.c,v 1.5 2003/03/08 10:29:03 ohara Exp $ */ +#include +#include "hhh.h" +#include +#include -char *asir_ox_pop_string(); +char *test2_ox_pop_string(); + main() { char *s; asir_ox_init(1); /* Use the network byte order */ @@ -26,12 +30,12 @@ main() { asir_ox_push_cmd(SM_executeFunction); */ - s = asir_ox_pop_string(); + s = test2_ox_pop_string(); printf("%s\n",s); printf("------------------------------------------\n"); asir_ox_push_object_given_by_a_string("12345;"); - s = asir_ox_pop_string(); + s = test2_ox_pop_string(); printf("%s\n",s); } @@ -62,7 +66,7 @@ asir_ox_push_object_given_by_a_string(char *s) { asir_ox_push_cmd(SM_executeStringByLocalParser); } -char *asir_ox_pop_string() { +char *test2_ox_pop_string() { int size; char *s; int tag; @@ -82,7 +86,7 @@ char *asir_ox_pop_string() { return(s+8); } } - + debug_packet(char *p,int size) { int i; for (i=0; i