aboutsummaryrefslogtreecommitdiffstats
path: root/src/afb-api-so.h
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-02-18 15:04:38 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-03-22 12:21:54 +0100
commit8538d642f01c8ee185cb356eba2c2f19cf4cea58 (patch)
tree1a84f122dbc16d03c93be921fcd66fc31a91a091 /src/afb-api-so.h
parent5cbc5e1c37fba83ba2577aad9b66de2c7587e63f (diff)
Add conditionnal support of dynamic bindings
The load of dynamic bindings becomes removable. This is a step in direction of a tiny binder library. Also refactor AGL_DEVEL Signed-off-by: Jose Bollo <jose.bollo@iot.bzh> Change-Id: If283f431fd8a831429e717b2770464cb54476dc7
Diffstat (limited to 'src/afb-api-so.h')
-rw-r--r--src/afb-api-so.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afb-api-so.h b/src/afb-api-so.h
index 76294efe..df264673 100644
--- a/src/afb-api-so.h
+++ b/src/afb-api-so.h
@@ -18,6 +18,8 @@
#pragma once
+#if WITH_DYNAMIC_BINDING
+
struct afb_apiset;
extern int afb_api_so_add_binding(const char *path, struct afb_apiset *declare_set, struct afb_apiset * call_set);
@@ -31,4 +33,4 @@ extern int afb_api_so_add_pathset(const char *pathset, struct afb_apiset *declar
extern int afb_api_so_add_pathset_fails(const char *pathset, struct afb_apiset *declare_set, struct afb_apiset * call_set);
extern int afb_api_so_add_pathset_nofails(const char *pathset, struct afb_apiset *declare_set, struct afb_apiset * call_set);
-
+#endif