diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-09-07 14:05:38 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2021-09-08 14:12:58 -0700 |
commit | 3c7823a1f575447a4c1f74b7ad8e88319f148ad0 (patch) | |
tree | 6fe5d87146261f0854734b04d7397a63190f8914 /src/btd.h | |
parent | b84f294cb151e344cd68a295ff1efb905177730a (diff) | |
download | bluez-3c7823a1f575447a4c1f74b7ad8e88319f148ad0.tar.gz |
main.conf: Allow passing a list of UUIDs to Experimental
This allows the user to enable a subset of the experimental features to
be enabled instead of all of them and also change -E to work in the same
way so a list of UUIDs can also be given at the command line.
Diffstat (limited to 'src/btd.h')
-rw-r--r-- | src/btd.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -10,6 +10,8 @@ * */ +#include <stdbool.h> + typedef enum { BT_MODE_DUAL, BT_MODE_BREDR, @@ -109,7 +111,7 @@ struct btd_opts { gboolean debug_keys; gboolean fast_conn; gboolean refresh_discovery; - gboolean experimental; + struct queue *experimental; uint16_t did_source; uint16_t did_vendor; @@ -140,5 +142,6 @@ void rfkill_init(void); void rfkill_exit(void); GKeyFile *btd_get_main_conf(void); +bool btd_experimental_enabled(const char *uuid); void btd_exit(void); |