#ifndef SCRIPT_EXECUTER_H
#define SCRIPT_EXECUTER_H
-#include <string>
+#ifdef __cplusplus
+extern "C" {
+#endif
-int ScriptExec(const std::string & str);
-void Executer(int msgKey, int msgID, pid_t pid, char * procName);
-
-#endif //SCRIPT_EXECUTER_H
+int ScriptExec(const char * str);
+#ifdef LINUX
+void Executer(int msgID, pid_t pid, char * procName);
+#else
+void Executer(int msgID, pid_t pid);
+#endif
+#ifdef __cplusplus
+}
+#endif
+#endif