summaryrefslogtreecommitdiff
path: root/src/btd.h
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2022-09-01 13:07:14 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-09-01 11:43:35 -0700
commitabf5ba6b80add53a4617ffdd06ac2102095347c2 (patch)
tree2a673e17e51a980b451c24d95d3d7f36ee85f0d5 /src/btd.h
parent49b8c5901584eab77af40f8ad19779747b4506d6 (diff)
downloadbluez-abf5ba6b80add53a4617ffdd06ac2102095347c2.tar.gz
adapter: Keep track of whether the adapter is rfkill'ed
Instead of only replying to D-Bus requests with an error saying the adapter is blocked, keep track of the rfkill being enabled or disabled so we know the rfkill state of the adapter at all times.
Diffstat (limited to 'src/btd.h')
-rw-r--r--src/btd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/btd.h b/src/btd.h
index c02b2691e..63be6d8d4 100644
--- a/src/btd.h
+++ b/src/btd.h
@@ -144,6 +144,7 @@ void plugin_cleanup(void);
void rfkill_init(void);
void rfkill_exit(void);
+int rfkill_get_blocked(uint16_t index);
GKeyFile *btd_get_main_conf(void);
bool btd_kernel_experimental_enabled(const char *uuid);