bluetooth: Add device pointer to transport

Transports always have an associated device, so add the pointer as a
member to the structure, and remove the discovery pointer since it
already exists in the device object.
This commit is contained in:
Mikel Astiz 2012-12-05 17:23:15 +01:00 committed by Tanu Kaskinen
parent 80dd7c1070
commit b36686ea9a
2 changed files with 11 additions and 8 deletions

View file

@ -71,7 +71,7 @@ typedef enum pa_bluetooth_transport_hook {
} pa_bluetooth_transport_hook_t;
struct pa_bluetooth_transport {
pa_bluetooth_discovery *y;
pa_bluetooth_device *device;
char *owner;
char *path;
enum profile profile;