mirror of https://github.com/Icinga/icinga2.git
parent
254c076dd4
commit
08ccb4e323
|
@ -61,7 +61,9 @@ REGISTER_SAFE_SCRIPTFUNCTION(msi_get_component_path, &ScriptUtils::MsiGetCompone
|
|||
REGISTER_SAFE_SCRIPTFUNCTION(track_parents, &ScriptUtils::TrackParents);
|
||||
REGISTER_SAFE_SCRIPTFUNCTION(escape_shell_cmd, &Utility::EscapeShellCmd);
|
||||
REGISTER_SAFE_SCRIPTFUNCTION(escape_shell_arg, &Utility::EscapeShellArg);
|
||||
#ifdef _WIN32
|
||||
REGISTER_SAFE_SCRIPTFUNCTION(escape_create_process_arg, &Utility::EscapeCreateProcessArg);
|
||||
#endif /* _WIN32 */
|
||||
|
||||
String ScriptUtils::CastString(const Value& value)
|
||||
{
|
||||
|
|
|
@ -103,7 +103,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, const bool illegal);
|
||||
static String UnescapeString(const String& s);
|
||||
|
|
Loading…
Reference in New Issue