summaryrefslogtreecommitdiffstats
path: root/src/afb-hook-flags.h
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-15 13:41:38 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-29 14:14:13 +0100
commita2cf84ecde926adeebf09bc2c284401513d3fab3 (patch)
tree2aeb893daf240e34ab12a8828f1b3ad9b900422c /src/afb-hook-flags.h
parent5011060f04181acbb18babcc2017a2f0b6cfb853 (diff)
hooks: Allow to remove hooking (and/or trace)
This change allows to downsize the binder by removing its internal hooking and tracing features. Change-Id: Ifb080a7426216f6c6b1c8f8e5bf8ddd52df40a3e Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-hook-flags.h')
-rw-r--r--src/afb-hook-flags.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/afb-hook-flags.h b/src/afb-hook-flags.h
index 40b8d96a..d9619be5 100644
--- a/src/afb-hook-flags.h
+++ b/src/afb-hook-flags.h
@@ -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 *******************************************************/