From 0384c9a44ed902a5bfb7a832aad5276c3aa4c481 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 30 Oct 2018 17:09:23 +0100 Subject: Retrieve plugin list from api rather than a global Change-Id: Iba7c564eea48495c76de8ca919725a2e4b332fd6 Signed-off-by: Romain Forlot --- ctl-lib/ctl-config.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ctl-lib/ctl-config.h') diff --git a/ctl-lib/ctl-config.h b/ctl-lib/ctl-config.h index 4bf82f9..1facf39 100644 --- a/ctl-lib/ctl-config.h +++ b/ctl-lib/ctl-config.h @@ -75,7 +75,7 @@ typedef struct { json_object *configJ; json_object *requireJ; CtlSectionT *sections; - CtlPluginT **ctlPlugins; + CtlPluginT *ctlPlugins; void *external; } CtlConfigT; @@ -92,7 +92,6 @@ typedef enum { // ctl-action.c extern int AddActionsToSection(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ, int exportApi); -extern int AddActionsToSectionFromPlugin(AFB_ApiT apiHandle, CtlPluginT *externalCtlPlugins, CtlSectionT *section, json_object *actionsJ, int exportApi); extern CtlActionT *ActionConfig(AFB_ApiT apiHandle, json_object *actionsJ, int exportApi); extern void ActionExecUID(AFB_ReqT request, CtlConfigT *ctlConfig, const char *uid, json_object *queryJ); extern int ActionExecOne( CtlSourceT *source, CtlActionT* action, json_object *queryJ); -- cgit 1.2.3-korg