X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fafb-hook-flags.h;h=7ffc94b1017f69f0007228d89bbc1e26196800ce;hb=65353dce81a629e042800bb7b86fcd869a76727e;hp=5b373c256454fb577b3a9010d960776d948205cd;hpb=f96bbb49cc9bcd81693300191cf7a01b879fd83d;p=src%2Fapp-framework-binder.git diff --git a/src/afb-hook-flags.h b/src/afb-hook-flags.h index 5b373c25..7ffc94b1 100644 --- a/src/afb-hook-flags.h +++ b/src/afb-hook-flags.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2018 "IoT.bzh" + * Copyright (C) 2015-2020 "IoT.bzh" * Author José Bollo * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -17,6 +17,8 @@ #pragma once +#if WITH_AFB_HOOK /***********************************************************/ + extern int afb_hook_flags_xreq_from_text(const char *text); extern int afb_hook_flags_api_from_text(const char *text); extern int afb_hook_flags_evt_from_text(const char *text); @@ -36,3 +38,4 @@ extern char *afb_hook_flags_legacy_ditf_to_text(int value); extern char *afb_hook_flags_legacy_svc_to_text(int value); #endif +#endif /* WITH_AFB_HOOK *******************************************************/