Hi Mikel, On Wed, Aug 22, 2012 at 10:08 AM, Mikel Astiz <mikel.astiz.oss at gmail.com> wrote: > From: Mikel Astiz <mikel.astiz at bmw-carit.de> > > Merge hooks into a single callback to avoid duplicated code. I'm no fan of this one, the idea of parsing a list to know the pointer type doesn't seem natural to me. Instead you can keep get_bluetooth_protocol and write a helper to do the module loading that takes the format string, sink name and role as input. Regards, Fr?d?ric