summaryrefslogtreecommitdiffstats
path: root/common/ConfigUtil.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/ConfigUtil.hpp')
-rw-r--r--common/ConfigUtil.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/ConfigUtil.hpp b/common/ConfigUtil.hpp
index 44e7663441..54c393505f 100644
--- a/common/ConfigUtil.hpp
+++ b/common/ConfigUtil.hpp
@@ -30,6 +30,9 @@ void initialize(const std::string& xml);
/// Initialize the config given a pointer to a long-lived pointer.
void initialize(const Poco::Util::AbstractConfiguration* config);
+/// Check if the config has been initialized
+bool isInitialized();
+
/// Returns the value of an entry as string or @def if it is not found.
std::string getString(const std::string& key, const std::string& def);
@@ -39,4 +42,4 @@ bool getBool(const std::string& key, const bool def);
/// Return true if SSL is enabled in the config and no fuzzing is enabled.
bool isSslEnabled();
-} // namespace config \ No newline at end of file
+} // namespace config