summaryrefslogtreecommitdiffhomepage
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h7
1 files changed, 7 insertions, 0 deletions
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<Site>& Sites() const;
const std::vector<Socket>& 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;
};