diff options
author | Roland Reichwein <mail@reichwein.it> | 2023-02-11 11:58:03 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2023-02-11 11:58:03 +0100 |
commit | aaaaed8479368b87bc6960dc6abe5a97b4cc7ef9 (patch) | |
tree | b42aba96bb84c0e3593b910011a8b05cffe4e7be /plugins/weblog/weblog.h | |
parent | e1f1bf463631c73b5a7e70c3f3a1b1206df6c317 (diff) |
Separated out weblog
Diffstat (limited to 'plugins/weblog/weblog.h')
-rw-r--r-- | plugins/weblog/weblog.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/plugins/weblog/weblog.h b/plugins/weblog/weblog.h deleted file mode 100644 index 0994b91..0000000 --- a/plugins/weblog/weblog.h +++ /dev/null @@ -1,23 +0,0 @@ -#pragma once - -#include "../../plugin_interface.h" - -class weblog_plugin: public webserver_plugin_interface -{ -public: - weblog_plugin(); - ~weblog_plugin(); - - 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 weblog_plugin webserver_plugin; -weblog_plugin webserver_plugin; |