return NULL;
}
-bool udev_hwdb_validate(struct udev_hwdb *hwdb) {
- if (!hwdb)
- return false;
-
- return hwdb_validate(hwdb->hwdb);
-}
-
/**
* udev_hwdb_get_properties_list_entry:
* @hwdb: context
udev_list_cleanup(&hwdb->properties_list);
- FOREACH_HWDB_PROPERTY(hwdb->hwdb, modalias, key, value) {
+ SD_HWDB_FOREACH_PROPERTY(hwdb->hwdb, modalias, key, value) {
if (udev_list_entry_add(&hwdb->properties_list, key, value) == NULL) {
errno = ENOMEM;
return NULL;