X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-api.h;h=70bf3c3431e9e7ac2e8148251b5e51e4f86c4904;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=7a1e3bb47b120166c17d8df7dbd667e6b2c87755;hpb=043c27c3a8fd323d59e41288b6fd24f0e9bfa9a3;p=src%2Fapp-framework-binder.git diff --git a/src/afb-api.h b/src/afb-api.h index 7a1e3bb4..70bf3c34 100644 --- a/src/afb-api.h +++ b/src/afb-api.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016-2019 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -25,10 +25,12 @@ struct afb_api_itf { void (*call)(void *closure, struct afb_xreq *xreq); int (*service_start)(void *closure); +#if WITH_AFB_HOOK void (*update_hooks)(void *closure); +#endif int (*get_logmask)(void *closure); void (*set_logmask)(void *closure, int level); - struct json_object *(*describe)(void *closure); + void (*describe)(void *closure, void (*describecb)(void *, struct json_object *), void *clocb); void (*unref)(void *closure); };