From 2f42619303627db401e469e2fd65123cd794a378 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Thu, 9 Apr 2020 11:38:48 +0200 Subject: Load only configured plugins, add plugins --- config.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 801b5fa..72ce9b1 100644 --- a/config.h +++ b/config.h @@ -70,9 +70,16 @@ class Config const std::vector& Sites() const; const std::vector& Sockets() const; + // + // secondary calculation functions + // + /// param[in] requested_host e.g. www.domain.com:8080 or www.domain.com std::string DocRoot(const Socket& socket, const std::string& requested_host, const std::string& requested_path) const; + // return true iff plugin "name" is mentioned in config + bool PluginIsConfigured(const std::string& name) const; + void dump() const; }; -- cgit v1.2.3