"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/remote/configpackageutility.hpp" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

configpackageutility.hpp  (icinga2-2.11.5):configpackageutility.hpp  (icinga2-2.12.0)
skipping to change at line 40 skipping to change at line 40
static bool PackageExists(const String& name); static bool PackageExists(const String& name);
static String CreateStage(const String& packageName, const Dictionary::Pt r& files = nullptr); static String CreateStage(const String& packageName, const Dictionary::Pt r& files = nullptr);
static void DeleteStage(const String& packageName, const String& stageNam e); static void DeleteStage(const String& packageName, const String& stageNam e);
static std::vector<String> GetStages(const String& packageName); static std::vector<String> GetStages(const String& packageName);
static String GetActiveStageFromFile(const String& packageName); static String GetActiveStageFromFile(const String& packageName);
static String GetActiveStage(const String& packageName); static String GetActiveStage(const String& packageName);
static void SetActiveStage(const String& packageName, const String& stage Name); static void SetActiveStage(const String& packageName, const String& stage Name);
static void SetActiveStageToFile(const String& packageName, const String& stageName); static void SetActiveStageToFile(const String& packageName, const String& stageName);
static void ActivateStage(const String& packageName, const String& stageN ame); static void ActivateStage(const String& packageName, const String& stageN ame);
static void AsyncTryActivateStage(const String& packageName, const String & stageName, bool reload); static void AsyncTryActivateStage(const String& packageName, const String & stageName, bool activate, bool reload);
static std::vector<std::pair<String, bool> > GetFiles(const String& packa geName, const String& stageName); static std::vector<std::pair<String, bool> > GetFiles(const String& packa geName, const String& stageName);
static bool ContainsDotDot(const String& path); static bool ContainsDotDot(const String& path);
static bool ValidateName(const String& name); static bool ValidateName(const String& name);
static boost::mutex& GetStaticPackageMutex(); static boost::mutex& GetStaticPackageMutex();
static boost::mutex& GetStaticActiveStageMutex(); static boost::mutex& GetStaticActiveStageMutex();
private: private:
static void CollectDirNames(const String& path, std::vector<String>& dirs ); static void CollectDirNames(const String& path, std::vector<String>& dirs );
static void CollectPaths(const String& path, std::vector<std::pair<String , bool> >& paths); static void CollectPaths(const String& path, std::vector<std::pair<String , bool> >& paths);
static void WritePackageConfig(const String& packageName); static void WritePackageConfig(const String& packageName);
static void WriteStageConfig(const String& packageName, const String& sta geName); static void WriteStageConfig(const String& packageName, const String& sta geName);
static void TryActivateStageCallback(const ProcessResult& pr, const Strin g& packageName, const String& stageName, bool reload); static void TryActivateStageCallback(const ProcessResult& pr, const Strin g& packageName, const String& stageName, bool activate, bool reload);
}; };
} }
#endif /* CONFIGMODULEUTILITY_H */ #endif /* CONFIGMODULEUTILITY_H */
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)