summaryrefslogtreecommitdiff
path: root/src/shared/udev-util.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-12-08 22:36:42 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-12-10 12:26:19 +0900
commitb2d9e58f789fd691483e364d8a9fa5ee0c415c45 (patch)
tree4ebaca4ff1a866c1f1be7185a5da101a01e3b148 /src/shared/udev-util.h
parent481f24d1f6ffb2535bce6531c2c67b7fdffdff56 (diff)
downloadsystemd-b2d9e58f789fd691483e364d8a9fa5ee0c415c45.tar.gz
udev: introduce log_device_uevent() helper function
And this drops duplicated check for seqnum and device action.
Diffstat (limited to 'src/shared/udev-util.h')
-rw-r--r--src/shared/udev-util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/udev-util.h b/src/shared/udev-util.h
index 270861e55e..4e512cf754 100644
--- a/src/shared/udev-util.h
+++ b/src/shared/udev-util.h
@@ -33,4 +33,6 @@ int device_wait_for_devlink(const char *path, const char *subsystem, usec_t dead
int device_is_renaming(sd_device *dev);
bool device_for_action(sd_device *dev, DeviceAction action);
+void log_device_uevent(sd_device *device, const char *str);
+
int udev_rule_parse_value(char *str, char **ret_value, char **ret_endpos);