diff options
Diffstat (limited to 'plugins/cgi/cgi.h')
-rw-r--r-- | plugins/cgi/cgi.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/cgi/cgi.h b/plugins/cgi/cgi.h index 467a6c4..5093901 100644 --- a/plugins/cgi/cgi.h +++ b/plugins/cgi/cgi.h @@ -8,12 +8,14 @@ public: cgi_plugin(); ~cgi_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; }; |