diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-12 03:49:56 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-08-12 21:27:14 +0900 |
commit | 39f11aa422a704e965d7805f2c87f869682ab695 (patch) | |
tree | c39f52146d8f0e30ce868ef7adf8242ad38c3558 /src/systemd/sd-device.h | |
parent | edf6cbc30f60627fedaf88480ba03b6bbed9da99 (diff) | |
download | systemd-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.h | 2 |
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); |