Re: [PATCH] Adding priority check for plugins.

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

 



Hi Marcel,

On Mon, Apr 20, 2009 at 9:58 PM, Marcel Holtmann <marcel@xxxxxxxxxxxx> wrote:
> Hi Alok,
>
>> modified patch attached.
>
> please to the line-break with BLUETOOTH_PLUGIN_DEFINE a little bit more
> like what ConnMan does so it looks nicer.
>
Infact i copied the syntax for BLUETOOTH_PLUGIN_DEFINE from the one in
connman. :D


#define CONNMAN_PLUGIN_DEFINE(name, description, version, priority,
init, exit) \
                extern struct connman_plugin_desc connman_plugin_desc
\
                                __attribute__
((visibility("default"))); \
                struct connman_plugin_desc connman_plugin_desc = { \
                        #name, description, version, priority, init,
exit \
                };

#define BLUETOOTH_PLUGIN_DEFINE(name, version, priority, init, exit) \
                extern struct bluetooth_plugin_desc
bluetooth_plugin_desc \
                                __attribute__
((visibility("default"))); \
                struct bluetooth_plugin_desc bluetooth_plugin_desc = {
\
                        name, version, priority, init, exit \
                };


> Regards
>
> Marcel
>
>
>

Cheers,
Alok.
--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux