From 1d757228d9acb1d09ce966fe68b87fc067b9d9af Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Tue, 2 Oct 2018 14:59:25 +0200 Subject: Get rid of the support of API version 2 and DYNAPI Change-Id: I24d99de6fe5d1d639392315926ca23f60a137fc4 Signed-off-by: Romain Forlot --- ctl-lib/ctl-plugin.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ctl-lib/ctl-plugin.h') diff --git a/ctl-lib/ctl-plugin.h b/ctl-lib/ctl-plugin.h index d931906..752d471 100644 --- a/ctl-lib/ctl-plugin.h +++ b/ctl-lib/ctl-plugin.h @@ -59,7 +59,7 @@ typedef struct { typedef struct { const char *uid; const char *info; - AFB_ApiT api; + afb_api_t api; void *dlHandle; void *context; json_object *paramsJ; @@ -84,8 +84,8 @@ typedef enum { typedef struct { const char *uid; - AFB_ApiT api; - AFB_ReqT request; + afb_api_t api; + afb_req_t request; void *context; CtlActionStatusT status; } CtlSourceT; @@ -94,7 +94,7 @@ typedef struct { const char *uid; const char *info; const char *privileges; - AFB_ApiT api; + afb_api_t api; json_object *argsJ; CtlActionTypeT type; union { @@ -135,7 +135,7 @@ typedef int (*Lua2cWrapperT) (void*luaHandle, const char *funcname, Lua2cFunctio int lua2c_ ## funcname (void* luaState){return((*Lua2cWrap)(luaState, MACRO_STR_VALUE(funcname), funcname));};\ int funcname (CtlSourceT* source, json_object* argsJ, json_object** responseJ) -extern char *GetDefaultPluginSearchPath(AFB_ApiT apiHandle, const char *prefix); +extern char *GetDefaultPluginSearchPath(afb_api_t apiHandle, const char *prefix); #ifdef __cplusplus } -- cgit 1.2.3-korg