summaryrefslogtreecommitdiff
path: root/src/systemd/sd-device.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-02-21 09:33:04 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-04-02 15:10:09 +0900
commitd9b030b673576ca217ad1a1844b9996b32309eec (patch)
tree7b1d1376a40bee8a988bdda1ae836da6012552e3 /src/systemd/sd-device.h
parentac790e8bfc953f6157043bb7fcc35e0833e068f4 (diff)
downloadsystemd-d9b030b673576ca217ad1a1844b9996b32309eec.tar.gz
sd-device-monitor: introduce sd_device_monitor_filter_add_match_sysattr()
Diffstat (limited to 'src/systemd/sd-device.h')
-rw-r--r--src/systemd/sd-device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-device.h b/src/systemd/sd-device.h
index 310fcaa278..d7f78d8270 100644
--- a/src/systemd/sd-device.h
+++ b/src/systemd/sd-device.h
@@ -136,6 +136,7 @@ int sd_device_monitor_stop(sd_device_monitor *m);
int sd_device_monitor_filter_add_match_subsystem_devtype(sd_device_monitor *m, const char *subsystem, const char *devtype);
int sd_device_monitor_filter_add_match_tag(sd_device_monitor *m, const char *tag);
+int sd_device_monitor_filter_add_match_sysattr(sd_device_monitor *m, const char *sysattr, const char *value, int match);
int sd_device_monitor_filter_update(sd_device_monitor *m);
int sd_device_monitor_filter_remove(sd_device_monitor *m);