const char *identifier);
int connman_device_remove_network(struct connman_device *device,
const char *identifier);
+void connman_device_remove_all_networks(struct connman_device *device);
int connman_device_register(struct connman_device *device);
void connman_device_unregister(struct connman_device *device);
return 0;
}
+void connman_device_remove_all_networks(struct connman_device *device)
+{
+ g_hash_table_remove_all(device->networks);
+}
+
void __connman_device_set_network(struct connman_device *device,
struct connman_network *network)
{