diff options
author | Jonathan Aillet <jonathan.aillet@iot.bzh> | 2018-09-17 14:59:11 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-12 17:44:41 +0100 |
commit | ff20c394e456075d5936440b35be2f6a137dab82 (patch) | |
tree | de0f8c73e6933dc3ba13e121f6ec36b3bdf33e9a /ctl-lib/ctl-plugin.h | |
parent | 6abf6ad7ffeb40f375d49b6c2964c5c3cb2e5062 (diff) |
Add a 'params' fields for controller plugins
Add a 'params' fields for controller plugins.
Can be used to send specific parameters
to plugins functions (onload, init, ...).
Change-Id: Ifb16f06a20453ef2bd1bc8a72bc2841dc12e323c
Signed-off-by: Jonathan Aillet <jonathan.aillet@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-plugin.h')
-rw-r--r-- | ctl-lib/ctl-plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctl-lib/ctl-plugin.h b/ctl-lib/ctl-plugin.h index 8d9b083..d931906 100644 --- a/ctl-lib/ctl-plugin.h +++ b/ctl-lib/ctl-plugin.h @@ -62,6 +62,7 @@ typedef struct { AFB_ApiT api; void *dlHandle; void *context; + json_object *paramsJ; #ifdef CONTROL_SUPPORT_LUA CtlLua2cFuncT *ctlL2cFunc; #endif |