summaryrefslogtreecommitdiffhomepage
path: root/plugin_interface.h
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-04-10 15:36:59 +0200
committerRoland Reichwein <mail@reichwein.it>2020-04-10 15:36:59 +0200
commitc0ccf16c69d43a89674640c61d13ec2c02b128d6 (patch)
treeae840bc16f0ddb430bdd68aacef4d7cb2af970d9 /plugin_interface.h
parent0d157fb407a35f8afe6d6f0f4c2cc5cd5d5a1933 (diff)
First working plugin: static-files
Diffstat (limited to 'plugin_interface.h')
-rw-r--r--plugin_interface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin_interface.h b/plugin_interface.h
index 9fc2085..c0a95b9 100644
--- a/plugin_interface.h
+++ b/plugin_interface.h
@@ -5,8 +5,8 @@
#include <string>
#include <functional>
-typedef std::string(*plugin_interface_getter_type)(const std::string& key);
-typedef void(*plugin_interface_setter_type)(const std::string& key, const std::string& value);
+typedef std::string(plugin_interface_getter_type)(const std::string& key);
+typedef void(plugin_interface_setter_type)(const std::string& key, const std::string& value);
class BOOST_SYMBOL_VISIBLE webserver_plugin_interface {
public: