diff options
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; |