1 /* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
3 #ifndef APISETUPUTILITY_H
4 #define APISETUPUTILITY_H
6 #include "base/i2-base.hpp"
7 #include "cli/i2-cli.hpp"
8 #include "base/dictionary.hpp"
9 #include "base/array.hpp"
10 #include "base/value.hpp"
11 #include "base/string.hpp"
23 static bool SetupMaster(const String& cn, bool prompt_restart = false);
25 static bool SetupMasterCertificates(const String& cn);
26 static bool SetupMasterApiUser();
27 static bool SetupMasterEnableApi();
28 static bool SetupMasterUpdateConstants(const String& cn);
30 static String GetConfdPath();
31 static String GetApiUsersConfPath();
39 #endif /* APISETUPUTILITY_H */