summaryrefslogtreecommitdiff
path: root/include/plugin.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-02-28 02:31:50 +0100
committerMarcel Holtmann <marcel@holtmann.org>2009-02-28 02:31:50 +0100
commit28037643bd3275b6567fbfd84feee909cbfb5352 (patch)
tree0138e2d8d68fbf572221e6aaef1cdb7559c03fea /include/plugin.h
parentc2d1b081ccdd3720ef645bf8dbf82ea4abc752fb (diff)
downloadconnman-28037643bd3275b6567fbfd84feee909cbfb5352.tar.gz
connman-28037643bd3275b6567fbfd84feee909cbfb5352.tar.bz2
connman-28037643bd3275b6567fbfd84feee909cbfb5352.zip
Add priority field to plugin descriptor definition
Diffstat (limited to 'include/plugin.h')
-rw-r--r--include/plugin.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/plugin.h b/include/plugin.h
index 350937ee..059c50af 100644
--- a/include/plugin.h
+++ b/include/plugin.h
@@ -78,10 +78,9 @@ struct connman_plugin_desc {
* example_init, example_exit)
* ]|
*/
-#define CONNMAN_PLUGIN_DEFINE(name, description, version, init, exit) \
+#define CONNMAN_PLUGIN_DEFINE(name, description, version, priority, init, exit) \
struct connman_plugin_desc connman_plugin_desc = { \
- #name, description, version, \
- CONNMAN_PLUGIN_PRIORITY_DEFAULT, init, exit \
+ #name, description, version, priority, init, exit \
};
#ifdef __cplusplus