summaryrefslogtreecommitdiffstats
path: root/src/Core/ConfigManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/ConfigManager.h')
-rw-r--r--src/Core/ConfigManager.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/Core/ConfigManager.h b/src/Core/ConfigManager.h
index e089358..7178887 100644
--- a/src/Core/ConfigManager.h
+++ b/src/Core/ConfigManager.h
@@ -20,9 +20,10 @@
#ifndef MAD_CORE_CONFIGMANAGER_H_
#define MAD_CORE_CONFIGMANAGER_H_
-#include "DaemonInfo.h"
#include <Common/ConfigManager.h>
+#include <Common/HostInfo.h>
#include <Net/IPAddress.h>
+
#include <vector>
#include <string>
@@ -38,7 +39,7 @@ class ConfigManager : public Common::ConfigManager {
uint16_t methods;
std::vector<Net::IPAddress> listeners;
- std::vector<DaemonInfo> daemons;
+ std::vector<Common::HostInfo> daemons;
std::string x509TrustFile, x509CrlFile, x509CertFile, x509KeyFile;
@@ -57,7 +58,7 @@ class ConfigManager : public Common::ConfigManager {
}
const std::vector<Net::IPAddress>& getListenerAddresses() const {return listeners;}
- const std::vector<DaemonInfo>& getDaemonList() const {return daemons;}
+ const std::vector<Common::HostInfo>& getDaemonList() const {return daemons;}
const std::string& getX509TrustFile() const {return x509TrustFile;}
const std::string& getX509CrlFile() const {return x509CrlFile;}