summaryrefslogtreecommitdiff
path: root/src/modules/bluetooth/bluez5-util.h
diff options
context:
space:
mode:
authorMarijn Suijten <marijns95@gmail.com>2022-08-02 12:05:15 +0200
committerTanu Kaskinen <tanuk@iki.fi>2022-08-16 08:16:15 +0300
commit391dac58a970867e15ff894cdb6d9a8f682e9aef (patch)
tree84c12ee0a5067e87007b1ca6c442d9179611cd8b /src/modules/bluetooth/bluez5-util.h
parentc6bd6656a2eb141685f94e7e9015187bba6027ec (diff)
downloadpulseaudio-391dac58a970867e15ff894cdb6d9a8f682e9aef.tar.gz
backend-native: Add backend pointer to transport_data
This removes the inverse/recursive dependency of backend-native on the `pa_bluetooth_discovery` struct, which is supposed to be opaque outside of `bluez5-util` in favour of the many accessor functions defined in `bluez5-util.h`. Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/740>
Diffstat (limited to 'src/modules/bluetooth/bluez5-util.h')
-rw-r--r--src/modules/bluetooth/bluez5-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/bluetooth/bluez5-util.h b/src/modules/bluetooth/bluez5-util.h
index a24a0b823..c169edd8d 100644
--- a/src/modules/bluetooth/bluez5-util.h
+++ b/src/modules/bluetooth/bluez5-util.h
@@ -271,4 +271,5 @@ void pa_bluetooth_discovery_set_ofono_running(pa_bluetooth_discovery *y, bool is
bool pa_bluetooth_discovery_get_enable_native_hsp_hs(pa_bluetooth_discovery *y);
bool pa_bluetooth_discovery_get_enable_native_hfp_hf(pa_bluetooth_discovery *y);
bool pa_bluetooth_discovery_get_enable_msbc(pa_bluetooth_discovery *y);
+pa_hashmap* pa_bluetooth_discovery_get_transports(pa_bluetooth_discovery *y);
#endif