bluetooth: Keep a list of local adapters' UUIDs

This commit stores the UUID list when an adapter is discovered and
updates it whenever a PropertiesChanged signal notifies it has changed.

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/593>
This commit is contained in:
João Paulo Rechi Vita 2018-09-11 12:10:12 -07:00 committed by Igor Kovalenko
parent a246bb77c7
commit 4b55b8a9d0
2 changed files with 26 additions and 0 deletions

View file

@ -163,6 +163,7 @@ struct pa_bluetooth_adapter {
pa_bluetooth_discovery *discovery;
char *path;
char *address;
pa_hashmap *uuids; /* char* -> char* (hashmap-as-a-set) */
bool valid;
bool application_registered;