summaryrefslogtreecommitdiffstats
path: root/src/afb-export.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/afb-export.h')
-rw-r--r--src/afb-export.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/afb-export.h b/src/afb-export.h
index 57839b2f..e8b9a9d4 100644
--- a/src/afb-export.h
+++ b/src/afb-export.h
@@ -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,6 +114,10 @@ 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 WITH_AFB_HOOK
+extern void afb_export_update_hooks(struct afb_export *export);
+#endif
+
#if defined(WITH_LEGACY_BINDING_V1)
struct afb_service_x1;