=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/oxmisc.c,v retrieving revision 1.19 retrieving revision 1.20 diff -u -p -r1.19 -r1.20 --- OpenXM/src/kan96xx/plugin/oxmisc.c 2004/02/25 23:14:35 1.19 +++ OpenXM/src/kan96xx/plugin/oxmisc.c 2004/03/08 08:24:42 1.20 @@ -1,4 +1,4 @@ -/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc.c,v 1.18 2003/11/19 01:02:39 takayama Exp $ */ +/* $OpenXM: OpenXM/src/kan96xx/plugin/oxmisc.c,v 1.19 2004/02/25 23:14:35 takayama Exp $ */ #include #include #include @@ -445,7 +445,16 @@ void oxReqExecuteFunction(ox_stream os,char *s) fp2fflush(os); } +void oxReqExecuteFunctionWithOptionalArgument(ox_stream os,char *s) +{ + oxSendOXheader(os,OX_DATA,SerialOX++); + oxSendCmoString(os,s); + oxSendOXheader(os,OX_COMMAND,SerialOX++); + oxSendInt32(os,SM_executeFunctionWithOptionalArgument); + fp2fflush(os); +} + void oxReqPopString(ox_stream os) { oxSendOXheader(os,OX_COMMAND,SerialOX++); @@ -1070,6 +1079,8 @@ char *oxFIDtoStr(int id) { return "SM_executeStringByLocalParser"; break; case SM_executeFunction: return "SM_executeFunction"; break; + case SM_executeFunctionWithOptionalArgument: + return "SM_executeFunctionWithOptionalArgument"; break; case SM_popCMO: return "SM_popCMO"; break; case SM_popString: