1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
6 #include "base/i2-base.hpp"
7 #include "base/namespace.hpp"
13 * Global script variables.
20 static Value Get(const String& name, const Value *defaultValue = nullptr);
21 static void Set(const String& name, const Value& value, bool overrideFrozen = false);
22 static void SetConst(const String& name, const Value& value);
23 static bool Exists(const String& name);
25 static void WriteToFile(const String& filename);
27 static Namespace::Ptr GetGlobals();
30 static Namespace::Ptr m_Globals;
35 #endif /* SCRIPTGLOBAL_H */