diff options
author | Jose Bollo <jose.bollo@iot.bzh> | 2019-02-18 15:04:38 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2019-03-22 12:21:54 +0100 |
commit | 8538d642f01c8ee185cb356eba2c2f19cf4cea58 (patch) | |
tree | 1a84f122dbc16d03c93be921fcd66fc31a91a091 /src/main-afb-daemon.c | |
parent | 5cbc5e1c37fba83ba2577aad9b66de2c7587e63f (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/main-afb-daemon.c')
-rw-r--r-- | src/main-afb-daemon.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main-afb-daemon.c b/src/main-afb-daemon.c index a85ffc0a..d825d803 100644 --- a/src/main-afb-daemon.c +++ b/src/main-afb-daemon.c @@ -835,9 +835,11 @@ static void start(int signum, void *arg) /* load bindings and apis */ afb_debug("start-load"); +#if WITH_DYNAMIC_BINDING apiset_start_list("binding", afb_api_so_add_binding, "the binding"); apiset_start_list("ldpaths", afb_api_so_add_pathset_fails, "the binding path set"); apiset_start_list("weak-ldpaths", afb_api_so_add_pathset_nofails, "the weak binding path set"); +#endif apiset_start_list("auto-api", afb_autoset_add_any, "the automatic api path set"); #if WITH_DBUS_TRANSPARENCY apiset_start_list("dbus-client", afb_api_dbus_add_client, "the afb-dbus client"); |