summaryrefslogtreecommitdiff
path: root/src/systemd/sd-device.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-08-12 03:49:56 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-08-12 21:27:14 +0900
commit39f11aa422a704e965d7805f2c87f869682ab695 (patch)
treec39f52146d8f0e30ce868ef7adf8242ad38c3558 /src/systemd/sd-device.h
parentedf6cbc30f60627fedaf88480ba03b6bbed9da99 (diff)
downloadsystemd-39f11aa422a704e965d7805f2c87f869682ab695.tar.gz
sd-device-monitor: introduce sd_device_monitor_{set,get}_description()
Diffstat (limited to 'src/systemd/sd-device.h')
-rw-r--r--src/systemd/sd-device.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/systemd/sd-device.h b/src/systemd/sd-device.h
index 0b2f8f8b42..41d3f83291 100644
--- a/src/systemd/sd-device.h
+++ b/src/systemd/sd-device.h
@@ -144,6 +144,8 @@ int sd_device_monitor_attach_event(sd_device_monitor *m, sd_event *event);
int sd_device_monitor_detach_event(sd_device_monitor *m);
sd_event *sd_device_monitor_get_event(sd_device_monitor *m);
sd_event_source *sd_device_monitor_get_event_source(sd_device_monitor *m);
+int sd_device_monitor_set_description(sd_device_monitor *m, const char *description);
+int sd_device_monitor_get_description(sd_device_monitor *m, const char **ret);
int sd_device_monitor_start(sd_device_monitor *m, sd_device_monitor_handler_t callback, void *userdata);
int sd_device_monitor_stop(sd_device_monitor *m);