diff options
author | 2018-03-23 11:16:32 +0100 | |
---|---|---|
committer | 2018-06-13 17:13:46 +0200 | |
commit | af06c82a63166d0d3fbdc26ae50607a6231d42eb (patch) | |
tree | 7878f261b869da5ba74089f941edca9075517c18 /src/afb-config.h | |
parent | 0bae7b4ed23310d368bdd2e0b167d8283bced4a0 (diff) |
Make DBUS transparency optional (off by default)
The implementation of API transparency through
DBUS is not used at the moment.
To improve independancy to systemd (it relies on
systemd library) removing it should be possible.
Change-Id: I5750a92527dc3e9cf7dcd27625dce6a020797a3d
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/afb-config.h')
-rw-r--r-- | src/afb-config.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afb-config.h b/src/afb-config.h index 2d2ccf35..89b1f78e 100644 --- a/src/afb-config.h +++ b/src/afb-config.h @@ -40,8 +40,10 @@ struct afb_config { char *name; /* name to set to the daemon */ struct afb_config_list *aliases; +#if defined(WITH_DBUS_TRANSPARENCY) struct afb_config_list *dbus_clients; struct afb_config_list *dbus_servers; +#endif struct afb_config_list *ws_clients; struct afb_config_list *ws_servers; struct afb_config_list *so_bindings; @@ -70,7 +72,9 @@ struct afb_config { unsigned no_ldpaths: 1; /* disable default ldpaths */ unsigned noHttpd: 1; unsigned background: 1; /* run in backround mode */ +#if defined(WITH_MONITORING_OPTION) unsigned monitoring: 1; /* activates monitoring */ +#endif unsigned random_token: 1; /* expects a random token */ }; |