diff options
Diffstat (limited to 'ctl-lib/ctl-config.h')
-rw-r--r-- | ctl-lib/ctl-config.h | 18 |
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_ */ |