aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-config.h
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-25 19:10:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 15:02:54 +0100
commitaf1069d393d97857a2fd6e5ac6eb55dae1af4716 (patch)
tree140d833a1a7f3eb3ed31c9be0e1327d26ff66c3f /ctl-lib/ctl-config.h
parent6d70dd06ac391b2bcae106121d0ca350eba3d1c4 (diff)
Formating
Change-Id: I2b805a60b67db1a72b429093256999673e2c3964 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-config.h')
-rw-r--r--ctl-lib/ctl-config.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/ctl-lib/ctl-config.h b/ctl-lib/ctl-config.h
index c3f5d4b..f7eb44c 100644
--- a/ctl-lib/ctl-config.h
+++ b/ctl-lib/ctl-config.h
@@ -45,7 +45,7 @@ typedef struct ConfigSectionS {
const char *info;
int (*loadCB)(AFB_ApiT apihandle, struct ConfigSectionS *section, json_object *sectionJ);
void *handle;
- CtlActionT *actions;
+ CtlActionT *actions;
} CtlSectionT;
typedef struct {
@@ -62,16 +62,16 @@ typedef struct {
#ifdef CONTROL_SUPPORT_LUA
#include "ctl-lua.h"
#endif
-
-// This should not be global as application may want to define their own sections
+
+// This should not be global as application may want to define their own sections
typedef enum {
- CTL_SECTION_PLUGIN,
- CTL_SECTION_ONLOAD,
- CTL_SECTION_CONTROL,
+ CTL_SECTION_PLUGIN,
+ CTL_SECTION_ONLOAD,
+ CTL_SECTION_CONTROL,
CTL_SECTION_EVENT,
CTL_SECTION_HAL,
-
- CTL_SECTION_ENDTAG,
+
+ CTL_SECTION_ENDTAG,
} SectionEnumT;
@@ -112,4 +112,4 @@ PUBLIC int PluginConfig(AFB_ApiT UNUSED_ARG(apiHandle), CtlSectionT *section, js
PUBLIC int PluginGetCB (AFB_ApiT apiHandle, CtlActionT *action , json_object *callbackJ);
-#endif /* _CTL_CONFIG_INCLUDE_ */ \ No newline at end of file
+#endif /* _CTL_CONFIG_INCLUDE_ */