diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-14 15:08:31 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-05-14 15:09:19 +0200 |
commit | b5ceb3cca02bd46d2a6296631fe607b3edd38e17 (patch) | |
tree | 27bf59f5c7a3663036e0a364033ebc1b87490aa5 /ctl-lib/ctl-config.h | |
parent | 0ff8c30892be48ecba1265276532f94b242f6289 (diff) |
Format
Change-Id: Ied901f39cd6814e5afd9811248b0a1fb401f3e76
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-config.h')
-rw-r--r-- | ctl-lib/ctl-config.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/ctl-lib/ctl-config.h b/ctl-lib/ctl-config.h index 8a7f2a3..8ae1888 100644 --- a/ctl-lib/ctl-config.h +++ b/ctl-lib/ctl-config.h @@ -85,38 +85,38 @@ typedef enum { } SectionEnumT; // ctl-action.c -PUBLIC CtlActionT *ActionConfig(AFB_ApiT apiHandle, json_object *actionsJ, int exportApi); -PUBLIC void ActionExecUID(AFB_ReqT request, CtlConfigT *ctlConfig, const char *uid, json_object *queryJ); -PUBLIC void ActionExecOne( CtlSourceT *source, CtlActionT* action, json_object *queryJ); -PUBLIC int ActionLoadOne(AFB_ApiT apiHandle, CtlActionT *action, json_object *, int exportApi); -PUBLIC int ActionLabelToIndex(CtlActionT* actions, const char* actionLabel); +CtlActionT *ActionConfig(AFB_ApiT apiHandle, json_object *actionsJ, int exportApi); +void ActionExecUID(AFB_ReqT request, CtlConfigT *ctlConfig, const char *uid, json_object *queryJ); +void ActionExecOne( CtlSourceT *source, CtlActionT* action, json_object *queryJ); +int ActionLoadOne(AFB_ApiT apiHandle, CtlActionT *action, json_object *, int exportApi); +int ActionLabelToIndex(CtlActionT* actions, const char* actionLabel); // ctl-config.c -PUBLIC int CtlConfigMagicNew(); -PUBLIC json_object* CtlConfigScan(const char *dirList, const char *prefix) ; -PUBLIC char* ConfigSearch(AFB_ApiT apiHandle, json_object *responseJ); -PUBLIC char* CtlConfigSearch(AFB_ApiT apiHandle, const char *dirList, const char *prefix) ; -PUBLIC int CtlConfigExec(AFB_ApiT apiHandle, CtlConfigT *ctlConfig) ; -PUBLIC CtlConfigT *CtlLoadMetaData(AFB_ApiT apiHandle,const char* filepath) ; -PUBLIC int CtlLoadSections(AFB_ApiT apiHandle, CtlConfigT *ctlHandle, CtlSectionT *sections); +int CtlConfigMagicNew(); +json_object* CtlConfigScan(const char *dirList, const char *prefix) ; +char* ConfigSearch(AFB_ApiT apiHandle, json_object *responseJ); +char* CtlConfigSearch(AFB_ApiT apiHandle, const char *dirList, const char *prefix) ; +int CtlConfigExec(AFB_ApiT apiHandle, CtlConfigT *ctlConfig) ; +CtlConfigT *CtlLoadMetaData(AFB_ApiT apiHandle,const char* filepath) ; +int CtlLoadSections(AFB_ApiT apiHandle, CtlConfigT *ctlHandle, CtlSectionT *sections); // ctl-event.c -PUBLIC int EventConfig(AFB_ApiT apihandle, CtlSectionT *section, json_object *actionsJ); +int EventConfig(AFB_ApiT apihandle, CtlSectionT *section, json_object *actionsJ); #ifdef AFB_BINDING_PREV3 -PUBLIC void CtrlDispatchApiEvent (AFB_ApiT apiHandle, const char *evtLabel, struct json_object *eventJ); +void CtrlDispatchApiEvent (AFB_ApiT apiHandle, const char *evtLabel, struct json_object *eventJ); #else -PUBLIC void CtrlDispatchV2Event(const char *evtLabel, json_object *eventJ); +void CtrlDispatchV2Event(const char *evtLabel, json_object *eventJ); #endif // ctl-control.c -PUBLIC int ControlConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ); +int ControlConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ); // ctl-onload.c -PUBLIC int OnloadConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ); +int OnloadConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ); // ctl-plugin.c -PUBLIC int PluginConfig(AFB_ApiT UNUSED_ARG(apiHandle), CtlSectionT *section, json_object *pluginsJ); -PUBLIC int PluginGetCB (AFB_ApiT apiHandle, CtlActionT *action , json_object *callbackJ); +int PluginConfig(AFB_ApiT UNUSED_ARG(apiHandle), CtlSectionT *section, json_object *pluginsJ); +int PluginGetCB (AFB_ApiT apiHandle, CtlActionT *action , json_object *callbackJ); #ifdef __cplusplus } |