hooks: Allow to remove hooking (and/or trace)
[src/app-framework-binder.git] / src / afb-hook-flags.h
index 40b8d96..d9619be 100644 (file)
@@ -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 *******************************************************/