bluetooth: Add a pa_bluetooth_discovery pointer to pa_bluetooth_device.

This simplifies some function argument lists.
This commit is contained in:
Tanu Kaskinen 2012-11-20 14:51:27 +02:00
parent 868158f115
commit 55baf5424e
2 changed files with 21 additions and 18 deletions

View file

@ -99,6 +99,7 @@ typedef enum pa_bluetooth_device_hook {
} pa_bluetooth_device_hook_t;
struct pa_bluetooth_device {
pa_bluetooth_discovery *discovery;
pa_bool_t dead;
int device_info_valid; /* 0: no results yet; 1: good results; -1: bad results ... */