aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/admin/admin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenserver/admin/admin.h')
-rw-r--r--src/zenserver/admin/admin.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/zenserver/admin/admin.h b/src/zenserver/admin/admin.h
index 3152f87ab..12a47f29e 100644
--- a/src/zenserver/admin/admin.h
+++ b/src/zenserver/admin/admin.h
@@ -9,11 +9,18 @@ namespace zen {
class GcScheduler;
class JobQueue;
+class ZenCacheStore;
class HttpAdminService : public zen::HttpService
{
public:
- HttpAdminService(GcScheduler& Scheduler, JobQueue& BackgroundJobQueue);
+ struct LogPaths
+ {
+ std::filesystem::path AbsLogPath;
+ std::filesystem::path HttpLogPath;
+ std::filesystem::path CacheLogPath;
+ };
+ HttpAdminService(GcScheduler& Scheduler, JobQueue& BackgroundJobQueue, ZenCacheStore& CacheStore, const LogPaths& LogPaths);
~HttpAdminService();
virtual const char* BaseUri() const override;
@@ -23,6 +30,8 @@ private:
HttpRequestRouter m_Router;
GcScheduler& m_GcScheduler;
JobQueue& m_BackgroundJobQueue;
+ ZenCacheStore& m_CacheStore;
+ LogPaths m_LogPaths;
};
} // namespace zen