aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-export.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-export.c')
-rw-r--r--src/afb-export.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/afb-export.c b/src/afb-export.c
index 5688cfee..f8e4be71 100644
--- a/src/afb-export.c
+++ b/src/afb-export.c
@@ -841,13 +841,14 @@ static int api_add_verb_cb(
const char *verb,
const char *info,
void (*callback)(struct afb_request *request),
+ void *vcbdata,
const struct afb_auth *auth,
uint32_t session)
{
struct afb_export *export = from_dynapi(dynapi);
if (export->apidyn)
- return afb_api_dyn_add_verb(export->apidyn, verb, info, callback, auth, session);
+ return afb_api_dyn_add_verb(export->apidyn, verb, info, callback, vcbdata, auth, session);
errno = EPERM;
return -1;
@@ -904,11 +905,12 @@ static int hooked_api_add_verb_cb(
const char *verb,
const char *info,
void (*callback)(struct afb_request *request),
+ void *vcbdata,
const struct afb_auth *auth,
uint32_t session)
{
/* TODO */
- return api_add_verb_cb(dynapi, verb, info, callback, auth, session);
+ return api_add_verb_cb(dynapi, verb, info, callback, vcbdata, auth, session);
}
static int hooked_api_sub_verb_cb(