X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-export.h;h=cb65020a09f499006421928382fb63c56b38f7e5;hb=2ba7c200c6c4844b63f8f707a6f04017661f16ca;hp=33b94914170043fb4f1e5d049f39552bef1b6122;hpb=de0527f7cf5b4a4278698ab034a332cf75723300;p=src%2Fapp-framework-binder.git diff --git a/src/afb-export.h b/src/afb-export.h index 33b94914..cb65020a 100644 --- a/src/afb-export.h +++ b/src/afb-export.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2016, 2017, 2018 "IoT.bzh" + * Copyright (C) 2016-2019 "IoT.bzh" * Author: José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -66,7 +66,6 @@ extern void afb_export_undeclare(struct afb_export *export); extern const char *afb_export_apiname(const struct afb_export *export); extern int afb_export_add_alias(struct afb_export *export, const char *apiname, const char *aliasname); extern int afb_export_rename(struct afb_export *export, const char *apiname); -extern void afb_export_update_hooks(struct afb_export *export); extern int afb_export_unshare_session(struct afb_export *export); @@ -115,7 +114,11 @@ extern void afb_export_context_init(struct afb_export *export, struct afb_contex extern struct afb_export *afb_export_from_api_x3(struct afb_api_x3 *api); extern struct afb_api_x3 *afb_export_to_api_x3(struct afb_export *export); -#if defined(WITH_LEGACY_BINDING_V1) +#if WITH_AFB_HOOK +extern void afb_export_update_hooks(struct afb_export *export); +#endif + +#if WITH_LEGACY_BINDING_V1 struct afb_service_x1; struct afb_binding_interface_v1;