Lines Matching refs:real_udi
52 char *real_udi; member
371 new_dev.real_udi = strdup(new_dev.udi); in add_udi()
373 new_dev.real_udi = libhal_new_device(hal_ctx, &error); in add_udi()
375 if (!new_dev.real_udi) { in add_udi()
378 free(new_dev.real_udi); in add_udi()
383 printf("tmp udi: %s\n", new_dev.real_udi); in add_udi()
397 if (!libhal_device_commit_to_gdl(hal_ctx, new_dev.real_udi, new_dev.udi, &error)) { in add_udi()
400 free(new_dev.real_udi); in add_udi()
560 old_type = libhal_device_get_property_type(hal_ctx, nd->real_udi, p->key, &error); in add_properties()
565 if (!libhal_device_remove_property(hal_ctx, nd->real_udi, p->key, &error)) { in add_properties()
574 if (!libhal_device_set_property_bool(hal_ctx, nd->real_udi, p->key, p->v.bool_value, &error)) { in add_properties()
581 if (!libhal_device_set_property_int(hal_ctx, nd->real_udi, p->key, p->v.int_value, &error)) { in add_properties()
588 …if (!libhal_device_set_property_uint64(hal_ctx, nd->real_udi, p->key, p->v.uint64_value, &error)) { in add_properties()
595 …if (!libhal_device_set_property_double(hal_ctx, nd->real_udi, p->key, p->v.double_value, &error)) { in add_properties()
603 if (!libhal_device_set_property_string(hal_ctx, nd->real_udi, p->key, p->v.str_value, &error)) { in add_properties()
611 if (!libhal_device_property_strlist_append(hal_ctx, nd->real_udi, p->key, *s, &error)) { in add_properties()