backend-native: Add backend pointer to transport_data

System Internals / PulseAudio - Marijn Suijten [gmail.com] - 16 August 2022 05:16 UTC

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:

391dac58a backend-native: Add backend pointer to transport_data
src/modules/bluetooth/backend-native.c | 26 +++++++++++++++-----------
src/modules/bluetooth/bluez5-util.c | 7 +++++++
src/modules/bluetooth/bluez5-util.h | 1 +
3 files changed, 23 insertions(+), 11 deletions(-)

Upstream: cgit.freedesktop.org


  • Share