From d7bfb4d89646c35208b8f8007a98c238d6dbb9ef Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Mon, 17 Aug 2020 17:06:58 +0200 Subject: [PATCH] hook: add getter for hook config --- include/villas/hook.hpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/villas/hook.hpp b/include/villas/hook.hpp index e63419d0b..08c4df470 100644 --- a/include/villas/hook.hpp +++ b/include/villas/hook.hpp @@ -148,6 +148,11 @@ public: return &signals; } + json_t * getConfig() const + { + return cfg; + } + bool isEnabled() const { return enabled;