[RFC next v0 07/11] bluetooth: Add device removed callback to backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2013-05-15 at 10:46 +0200, Mikel Astiz wrote:
> +typedef void (*pa_bt_backend_transport_removed_cb)(void *bp, pa_bluetooth_transport *t);
> +
>  struct pa_bluetooth_backend {
> +    pa_bt_backend_transport_removed_cb transport_removed;
>  };

I almost forgot to complain about this... I think typedeffing the
callback type doesn't bring any benefits here, it only makes it harder
to figure out the interface of transport_removed.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux