summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h b/config.h
index 4f589ff..01310aa 100644
--- a/config.h
+++ b/config.h
@@ -9,9 +9,17 @@ class Config
private:
std::string m_dataPath;
uint64_t m_maxage;
+ std::string m_listenAddress; // ip address v4/v6
+ int m_listenPort;
+ int m_threads;
public:
Config(const std::string& config_filename = default_config_filename);
std::string getDataPath() const;
uint64_t getMaxage() const;
+
+ std::string getListenAddress() const;
+ int getListenPort() const;
+
+ int getThreads() const;
};