Some init/clean functions lack DBG("") which affects logs readability.
int __connman_dbus_init(DBusConnection *conn)
{
+ DBG("");
+
connection = conn;
return 0;
void __connman_dbus_cleanup(void)
{
+ DBG("");
+
connection = NULL;
}
void __connman_iptables_cleanup(void)
{
+ DBG("");
+
g_hash_table_destroy(table_hash);
xtables_free_opts(1);
int __connman_ipv4_init(void)
{
+ DBG("");
+
return connman_driver_register(&ipv4_driver);
}
int __connman_location_init(void)
{
+ DBG("");
+
return 0;
}
void __connman_location_cleanup(void)
{
+ DBG("");
}
int __connman_ondemand_init(void)
{
+ DBG("");
+
return connman_notifier_register(&ondemand_notifier);
}
void __connman_ondemand_cleanup(void)
{
+ DBG("");
+
connman_notifier_unregister(&ondemand_notifier);
}