summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2023-01-07 14:07:13 +0100
committerRoland Reichwein <mail@reichwein.it>2023-01-07 14:07:13 +0100
commit63fc8e14be5e450df8ccc18fe76e02c5f0827660 (patch)
treed1e37837b277b75e0eb9289b41a47f5dc86b4360 /config.h
parent7feaf1a9d7fb09985b9b17cd48fd1aa8eb15d8b3 (diff)
Test statistics
Diffstat (limited to 'config.h')
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index d0e78ba..42a979e 100644
--- a/config.h
+++ b/config.h
@@ -52,6 +52,7 @@ class Config
std::string m_user;
std::string m_group;
int m_threads;
+ std::filesystem::path m_statistics_path;
std::vector<std::string> m_plugin_directories;
std::unordered_map<std::string, Site> m_sites;
std::vector<Socket> m_sockets;
@@ -65,6 +66,8 @@ class Config
int Threads() const;
+ std::filesystem::path statistics_path() const;
+
const std::vector<std::string>& PluginDirectories() const;
const std::unordered_map<std::string, Site>& Sites() const;
const std::vector<Socket>& Sockets() const;