diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-29 19:34:06 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-29 19:38:23 +0200 |
commit | cf1a7ea2bba1e0f2cc0d958148a1d488508c1a03 (patch) | |
tree | 80e192865e1339b8f554664b5f6900550d54adc7 /ctl-lib/ctl-config.h | |
parent | 974e868702e875fd9d9bdea63fd62ac26bc408db (diff) |
Ability to add a plugin after the initial load
Plugins normally lie in a dedicated section and loaded
once for all. With this function we are able to load a
plugin after the initial load.
Change-Id: Iebacdfce836767089f164ebe5cff72c7e45803be
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-config.h')
-rw-r--r-- | ctl-lib/ctl-config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ctl-lib/ctl-config.h b/ctl-lib/ctl-config.h index 8d1a770..f86a96f 100644 --- a/ctl-lib/ctl-config.h +++ b/ctl-lib/ctl-config.h @@ -131,6 +131,7 @@ int ControlConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actions int OnloadConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ); // ctl-plugin.c +int PluginAdd(AFB_ApiT apiHandle, CtlSectionT *section, json_object *newPluginsJ); int PluginConfig(AFB_ApiT UNUSED_ARG(apiHandle), CtlSectionT *section, json_object *pluginsJ); int PluginGetCB (AFB_ApiT apiHandle, CtlActionT *action , json_object *callbackJ); |