* 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
}
CONNMAN_PLUGIN_DEFINE(bluetooth, "Bluetooth technology plugin", VERSION,
- bluetooth_init, bluetooth_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, bluetooth_init, bluetooth_exit)
}
CONNMAN_PLUGIN_DEFINE(dhclient, "ISC DHCP client plugin", VERSION,
- dhclient_init, dhclient_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, dhclient_init, dhclient_exit)
}
CONNMAN_PLUGIN_DEFINE(dnsproxy, "DNS proxy resolver plugin", VERSION,
- dnsproxy_init, dnsproxy_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, dnsproxy_init, dnsproxy_exit)
}
CONNMAN_PLUGIN_DEFINE(ethernet, "Ethernet interface plugin", VERSION,
- ethernet_init, ethernet_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, ethernet_init, ethernet_exit)
connman_device_driver_unregister(&device_driver);
}
-CONNMAN_PLUGIN_DEFINE(fake, "Tesing plugin", VERSION, fake_init, fake_exit)
+CONNMAN_PLUGIN_DEFINE(fake, "Tesing plugin", VERSION,
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, fake_init, fake_exit)
}
CONNMAN_PLUGIN_DEFINE(hso, "Option HSO device plugin", VERSION,
- hso_init, hso_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, hso_init, hso_exit)
}
CONNMAN_PLUGIN_DEFINE(huawei, "HUAWEI Mobile device plugin", VERSION,
- huawei_init, huawei_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, huawei_init, huawei_exit)
}
CONNMAN_PLUGIN_DEFINE(loopback, "Loopback device plugin", VERSION,
- loopback_init, loopback_exit)
+ CONNMAN_PLUGIN_PRIORITY_HIGH, loopback_init, loopback_exit)
}
CONNMAN_PLUGIN_DEFINE(novatel, "Novatel Wireless device plugin", VERSION,
- novatel_init, novatel_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, novatel_init, novatel_exit)
}
CONNMAN_PLUGIN_DEFINE(ospm, "OSPM notification plugin", VERSION,
- ospm_init, ospm_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, ospm_init, ospm_exit)
}
CONNMAN_PLUGIN_DEFINE(polkit, "PolicyKit authorization plugin", VERSION,
- polkit_init, polkit_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, polkit_init, polkit_exit)
}
CONNMAN_PLUGIN_DEFINE(pppd, "Point-to-point protocol plugin", VERSION,
- pppd_init, pppd_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, pppd_init, pppd_exit)
}
CONNMAN_PLUGIN_DEFINE(resolvconf, "Name resolver plugin", VERSION,
- resolvconf_init, resolvconf_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, resolvconf_init, resolvconf_exit)
}
CONNMAN_PLUGIN_DEFINE(udhcp, "uDHCP client plugin", VERSION,
- udhcp_init, udhcp_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, udhcp_init, udhcp_exit)
}
CONNMAN_PLUGIN_DEFINE(wifi, "WiFi interface plugin", VERSION,
- wifi_init, wifi_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, wifi_init, wifi_exit)
}
CONNMAN_PLUGIN_DEFINE(wimax, "WiMAX interface plugin", VERSION,
- wimax_init, wimax_exit)
+ CONNMAN_PLUGIN_PRIORITY_DEFAULT, wimax_init, wimax_exit)