aboutsummaryrefslogtreecommitdiffstats
path: root/afb-source/ctl-binding.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:57:13 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-08-23 10:57:13 +0200
commit3bae3ad28b6bab59e7c893f1c43747c33cf57ddc (patch)
tree4b875317fb07ecd733f0b298c2b70b8e1f55f0e2 /afb-source/ctl-binding.h
parent95a1f9344501b7ffdc7501629208e879c7a33a17 (diff)
Format: Remove spaces at EOL
Change-Id: I50bbf17cfa913b40caf0cb6752a902fb626ec1ad Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'afb-source/ctl-binding.h')
-rw-r--r--afb-source/ctl-binding.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/afb-source/ctl-binding.h b/afb-source/ctl-binding.h
index 0d16e56..f159440 100644
--- a/afb-source/ctl-binding.h
+++ b/afb-source/ctl-binding.h
@@ -70,7 +70,7 @@ typedef enum {
CTL_MODE_NONE=0,
CTL_MODE_API,
CTL_MODE_CB,
- CTL_MODE_LUA,
+ CTL_MODE_LUA,
} CtlRequestModeT;
@@ -130,14 +130,14 @@ PUBLIC void ctlapi_lua_doscript (afb_req request);
// sharelib ctl-plugin*
typedef struct {
- long magic;
- char *label;
+ long magic;
+ char *label;
} CtlPluginMagicT;
#define MACRO_STR_VALUE(arg) #arg
#define CTLP_REGISTER(pluglabel) CtlPluginMagicT CtlPluginMagic={.magic=CTL_PLUGIN_MAGIC,.label=pluglabel}; struct afb_binding_data_v2; Lua2cWrapperT Lua2cWrap;
-#define CTLP_ONLOAD(label,version,info) void* CtlPluginOnload(char* label, char* version, char* info)
+#define CTLP_ONLOAD(label,version,info) void* CtlPluginOnload(char* label, char* version, char* info)
#define CTLP_CAPI(funcname,source, label,argsJ, queryJ, context) int funcname(DispatchSourceT source, char* label, json_object* argsJ, json_object* queryJ, void* context)