Skip to content

Commit

Permalink
udev_device.c: stub udev_device_get_current_tags_list_entry impl
Browse files Browse the repository at this point in the history
  • Loading branch information
illiliti committed Jul 10, 2023
1 parent 04a727d commit 99f1bc9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions udev.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ int udev_device_has_tag(struct udev_device *udev_device, const char *tag);
struct udev_list_entry *udev_device_get_devlinks_list_entry(struct udev_device *udev_device);
struct udev_list_entry *udev_device_get_properties_list_entry(struct udev_device *udev_device);
struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_device *udev_device);
struct udev_list_entry *udev_device_get_current_tags_list_entry(struct udev_device *udev_device);
struct udev_list_entry *udev_device_get_sysattr_list_entry(struct udev_device *udev_device);
const char *udev_device_get_property_value(struct udev_device *udev_device, const char *key);
const char *udev_device_get_sysattr_value(struct udev_device *udev_device, const char *sysattr);
Expand Down
5 changes: 5 additions & 0 deletions udev_device.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ struct udev_list_entry *udev_device_get_properties_list_entry(struct udev_device
return NULL;
}

/* XXX NOT IMPLEMENTED */ struct udev_list_entry *udev_device_get_current_tags_list_entry(struct udev_device *udev_device)
{
return NULL;
}

struct udev_list_entry *udev_device_get_sysattr_list_entry(struct udev_device *udev_device)
{
return udev_device ? udev_list_entry_get_next(&udev_device->sysattrs) : NULL;
Expand Down

0 comments on commit 99f1bc9

Please sign in to comment.