On Tue, 2013-09-24 at 16:16 -0700, Fox, Kevin M wrote: > Is there a reason that the struct is: > +struct userdata { > + pa_module *bluez5_module; > + pa_module *bluez4_module; > +}; > > and not: > +struct userdata { > + pa_module *bluez_module; > +}; > > The code might be cleaner looking with the latter struct. Yes, there is a reason for the code being how it is. We want module-bluetooth-discover to load two modules, if support for both bluez4 and bluez5 is compiled in, but in your suggestion only one module can be loaded. -- Tanu