diff options
Diffstat (limited to '4a-hal-utilities/4a-hal-utilities-verbs-loader.c')
-rw-r--r-- | 4a-hal-utilities/4a-hal-utilities-verbs-loader.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/4a-hal-utilities/4a-hal-utilities-verbs-loader.c b/4a-hal-utilities/4a-hal-utilities-verbs-loader.c index f557f4c..16c28c4 100644 --- a/4a-hal-utilities/4a-hal-utilities-verbs-loader.c +++ b/4a-hal-utilities/4a-hal-utilities-verbs-loader.c @@ -20,7 +20,7 @@ #include <stdio.h> #include <string.h> -#include <afb-definitions.h> +#include <afb/afb-binding.h> #include "4a-hal-utilities-verbs-loader.h" @@ -28,7 +28,7 @@ * Dynamic API common functions * ******************************************************************************/ -int HalUtlLoadVerbs(AFB_ApiT apiHandle, AFB_ApiVerbs *verbs) +int HalUtlLoadVerbs(afb_api_t apiHandle, afb_verb_t *verbs) { int idx, errCount = 0; @@ -36,14 +36,14 @@ int HalUtlLoadVerbs(AFB_ApiT apiHandle, AFB_ApiVerbs *verbs) return -1; for (idx = 0; verbs[idx].verb; idx++) { - errCount+= AFB_ApiAddVerb(apiHandle, - verbs[idx].verb, - NULL, - verbs[idx].callback, - (void *) &verbs[idx], - verbs[idx].auth, - 0, - 0); + errCount+= afb_api_add_verb(apiHandle, + verbs[idx].verb, + NULL, + verbs[idx].callback, + (void *) &verbs[idx], + verbs[idx].auth, + 0, + 0); } return errCount; |