summaryrefslogtreecommitdiff
path: root/src/systemd/sd-device.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-10 22:13:07 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-10 22:53:00 +0900
commitbf7712b63e70143e2b59e7f0d264293e6ca61d4d (patch)
treecffd4351a14ac3851a026d9b59da118d51054846 /src/systemd/sd-device.h
parente29a9fcb29a0509ccc30bcfe07ecf5dc2b4de9ea (diff)
downloadsystemd-bf7712b63e70143e2b59e7f0d264293e6ca61d4d.tar.gz
sd-device: add sd_device_monitor_get_event_source()
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 6453bd517f..4793e29237 100644
--- a/src/systemd/sd-device.h
+++ b/src/systemd/sd-device.h
@@ -106,6 +106,7 @@ int sd_device_monitor_set_receive_buffer_size(sd_device_monitor *m, size_t size)
int sd_device_monitor_attach_event(sd_device_monitor *m, sd_event *event, int64_t priority);
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_start(sd_device_monitor *m, sd_device_monitor_handler_t callback, void *userdata, const char *description);
int sd_device_monitor_stop(sd_device_monitor *m);