summaryrefslogtreecommitdiffhomepage
path: root/plugins/statistics/statistics.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-05-29 11:31:40 +0200
committerRoland Reichwein <mail@reichwein.it>2020-05-29 11:31:40 +0200
commite0451ef59a69eda29efa6bc22294b2bcf8b8b600 (patch)
treedc80766930ca36ef5394b648b3658d41c1cd0abc /plugins/statistics/statistics.h
parentf1f4cbd996aa00b6e4d3d04d0223d02fd553dd96 (diff)
Authentication infrastructure
Diffstat (limited to 'plugins/statistics/statistics.h')
-rw-r--r--plugins/statistics/statistics.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/statistics/statistics.h b/plugins/statistics/statistics.h
index 5db309b..e998643 100644
--- a/plugins/statistics/statistics.h
+++ b/plugins/statistics/statistics.h
@@ -8,13 +8,14 @@ public:
statistics_plugin();
~statistics_plugin();
- std::string name();
+ std::string name() override;
std::string generate_page(
std::function<std::string(const std::string& key)>& GetServerParam,
std::function<std::string(const std::string& key)>& GetRequestParam, // request including body (POST...)
std::function<void(const std::string& key, const std::string& value)>& SetResponseHeader // to be added to result string
- );
+ ) override;
+ bool has_own_authentication() override;
};
extern "C" BOOST_SYMBOL_EXPORT statistics_plugin webserver_plugin;