bluetooth: Add hook to tell transport was removed

Add a hook to report that the transport was removed from D-Bus, and thus
references to it should be released.
This commit is contained in:
Mikel Astiz 2012-10-19 10:11:25 +02:00 committed by Tanu Kaskinen
parent 640038cc28
commit 6e5f78e0af
2 changed files with 5 additions and 1 deletions

View file

@ -66,6 +66,7 @@ enum profile {
/* Hook data: pa_bluetooth_transport pointer. */
typedef enum pa_bluetooth_transport_hook {
PA_BLUETOOTH_TRANSPORT_HOOK_NREC_CHANGED, /* Call data: NULL. */
PA_BLUETOOTH_TRANSPORT_HOOK_REMOVED, /* Call data: NULL. */
PA_BLUETOOTH_TRANSPORT_HOOK_MAX
} pa_bluetooth_transport_hook_t;