return TRUE;
}
+static void _destroy_comp_device_info(gpointer data)
+{
+ companion_device_information_destroy((companion_device_h)data);
+}
+
static int run_devices_find(MManager *mm, struct menu_data *menu)
{
int ret;
msg(" - companion_device_find() ret: [0x%X] [%s]", ret, comp_error_to_string(ret));
if (found_device_list) {
- g_list_free_full(found_device_list, companion_device_information_destroy);
+ g_list_free_full(found_device_list, _destroy_comp_device_info);
found_device_list = NULL;
}
msgb("find operation finished");
}
+static void _destroy_comp_group_info(gpointer data)
+{
+ companion_group_information_destroy((companion_group_h)data);
+}
+
+
static int run_group_find(MManager *mm, struct menu_data *menu)
{
int ret;
msg(" - companion_group_find() ret: [0x%X] [%s]", ret, comp_error_to_string(ret));
if (found_group_list) {
- g_list_free_full(found_group_list, companion_group_information_destroy);
+ g_list_free_full(found_group_list, _destroy_comp_group_info);
found_group_list = NULL;
}
int comp_group_get_remote_devices(/* callback */); //Get all of device in network (Async)
void comp_group_add_new_mot_device(comp_mot_device_t *device);
+void comp_group_notify_mot_enable_device_done(int device_count);
int comp_group_find_mot_enabled_devices();
char *comp_group_invite_get_uuid();