请教关于pcs为后缀名的文件
最近看到一个.pcs的文件,是用C语言写的,里面好多函数都没见过,想请教下论坛里见多识广的大虾们,给小弟点提示,不胜感激涕零
if((fpub_initPComp(&iXmlhandle, &pCOMMAREA)) < 0)
ERRCICSRET(MSG_SYS_FAIL, MSG_COMP_INIT, "", "");
WrtLog(iXmlhandle, INFO, "*************XJ_310001组件开始*************");
Ret = xml_GetElement(iXmlhandle, "/PRIVATE/AGENTCODE", rAGENTCODE, sizeof(rAGENTCODE));
rtnMsg1(iXmlhandle, pCOMMAREA, Ret, "/PRIVATE/AGENTCODE", "代理业务代码", rAGENTCODE);
memset(szScriptFile, 0x00, sizeof(szScriptFile));
sprintf(szScriptFile, "%s/31000100", rAGENTCODE);
memset(szScriptFile1, 0x00, sizeof(szScriptFile1));
sprintf(szScriptFile1, "%s/def/%s.def", getenv("AHA_HOME"), szScriptFile);
WrtLog(iXmlhandle, DEBUG, "%s = [%s]\0", "前脚本名称", szScriptFile1);
if(access(szScriptFile1, F_OK) == -1){
}
else if(access(szScriptFile1, R_OK) == -1){
}
else
{
WrtLog(iXmlhandle, INFO, "**开始执行前脚本**");
if((Ret = ServerMain_XML(szScriptFile, iXmlhandle)) < 0)
{
fpub_SetCompmsg(iXmlhandle, RETC_SYSE, MSG_SYS_FAIL);
fpub_freeComp(iXmlhandle, pCOMMAREA, -1);
ERRCICSRET(MSG_SYS_FAIL, "", "XJ_310001组件执行前脚本失败", itoa(Ret));
}
}
麻烦知道的大虾详细的给我解释下,小弟在此先谢过了