mirror of https://github.com/Icinga/icinga2.git
parent
1a638e35b2
commit
32dcd106fb
|
@ -58,7 +58,10 @@ REGISTER_SCRIPTFUNCTION(get_time, &Utility::GetTime);
|
|||
REGISTER_SCRIPTFUNCTION(basename, &Utility::BaseName);
|
||||
REGISTER_SCRIPTFUNCTION(dirname, &Utility::DirName);
|
||||
REGISTER_SCRIPTFUNCTION(msi_get_component_path, &ScriptUtils::MsiGetComponentPathShim);
|
||||
#ifdef _WIN32
|
||||
REGISTER_SCRIPTFUNCTION(escape_create_process_arg, &Utility::EscapeCreateProcessArg);
|
||||
#endif /* _WIN32 */
|
||||
>>>>>>> 08ccb4e... Build fix
|
||||
|
||||
String ScriptUtils::CastString(const Value& value)
|
||||
{
|
||||
|
|
|
@ -108,7 +108,9 @@ public:
|
|||
|
||||
static String EscapeShellCmd(const String& s);
|
||||
static String EscapeShellArg(const String& s);
|
||||
#ifdef _WIN32
|
||||
static String EscapeCreateProcessArg(const String& arg);
|
||||
#endif /* _WIN32 */
|
||||
|
||||
static String EscapeString(const String& s, const String& chars);
|
||||
static String UnescapeString(const String& s);
|
||||
|
|
Loading…
Reference in New Issue