diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-29 19:37:03 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-06-29 19:38:23 +0200 |
commit | 80be8372affe146a6f98e6e0738ead86674cde49 (patch) | |
tree | 483ba1da7afea3179cf6e406dec12d12184ea9da /ctl-lib/ctl-action.c | |
parent | 169992d18a1d0de4e290f1d5ac2887113e6cac65 (diff) |
WIP Began the doxygen documentation works.sandbox/claneys/docs
Change-Id: I19df4c738249bfdb3986e5420e606b6c7824acad
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-action.c')
-rw-r--r-- | ctl-lib/ctl-action.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/ctl-lib/ctl-action.c b/ctl-lib/ctl-action.c index 043fa58..7edf5c2 100644 --- a/ctl-lib/ctl-action.c +++ b/ctl-lib/ctl-action.c @@ -161,7 +161,8 @@ void ParseURI(const char *uri, char **first, char **second) *second = ""; } -/*** This function will fill the CtlActionT pointer given in parameters for a +/** + * This function will fill the CtlActionT pointer given in parameters for a * given api using an 'uri' that specify the C plugin to use and the name of * the function * @@ -197,7 +198,8 @@ static int BuildPluginAction(AFB_ApiT apiHandle, const char *uri, CtlActionT *ac return 0; } -/*** This function will fill the CtlActionT pointer given in parameters for a +/** + * This function will fill the CtlActionT pointer given in parameters for a * given api using an 'uri' that specify the API to use and the name of the * verb * @@ -227,16 +229,16 @@ static int BuildApiAction(AFB_ApiT apiHandle, const char *uri, CtlActionT *actio return 0; } -/*** This function will fill the CtlActionT pointer given in parameters for a - * given api using an 'uri' that specify the Lua plugin to use and the name of +#ifdef CONTROL_SUPPORT_LUA +/** + * This function will fill the CtlActionT pointer given in parameters for + * a given api using an 'uri' that specify the Lua plugin to use and the name of * the function. * * Be aware that 'uri' and 'function' could be null but will result in * unexpected result. * */ -#ifdef CONTROL_SUPPORT_LUA - static int BuildLuaAction(AFB_ApiT apiHandle, const char *uri, CtlActionT *action) { char *plugin = NULL, *function = NULL; |