summaryrefslogtreecommitdiff
path: root/src/btd.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-09-07 14:05:38 -0700
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2021-09-08 14:12:58 -0700
commit3c7823a1f575447a4c1f74b7ad8e88319f148ad0 (patch)
tree6fe5d87146261f0854734b04d7397a63190f8914 /src/btd.h
parentb84f294cb151e344cd68a295ff1efb905177730a (diff)
downloadbluez-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/btd.h b/src/btd.h
index d72883546..f83591f8f 100644
--- a/src/btd.h
+++ b/src/btd.h
@@ -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);