aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'ctl-lib/ctl-config.c')
-rw-r--r--ctl-lib/ctl-config.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ctl-lib/ctl-config.c b/ctl-lib/ctl-config.c
index fcd0e02..4ab9ec9 100644
--- a/ctl-lib/ctl-config.c
+++ b/ctl-lib/ctl-config.c
@@ -114,15 +114,6 @@ static int DispatchRequireOneApi(AFB_ApiT apiHandle, json_object * bindindJ) {
return err;
}
-/**
- * @brief Best effort to initialise everything before starting
- * Call afb_require_api at the first call or if there was an error because
- * the CtlConfigExec could be called anywhere and not in binding init.
- * So you could call this function at init time.
- *
- * @param apiHandle : a afb_daemon api handle, see AFB_ApiT in afb_definitions.h
- * @param requireJ : json_object array of api name required.
- */
void DispatchRequireApi(AFB_ApiT apiHandle, json_object * requireJ) {
static int init = 0, err = 0;
int idx;