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-04-02 09:58:49 +0200
commit16f014ef35b8355de1006891fe6920c8b51675fe (patch)
tree0a99e554556009cbd98e9b9715b67e60a6eb053a /src/afb-api-so.h
parentec0564bc90b3c63f7e82f09e81db8bd2cfac89a2 (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