diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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; }; |