summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-08-15 21:04:07 +0200
committerTom Gundersen <teg@jklm.no>2014-08-20 17:24:11 +0200
commit9b364545435d2b65fcf73519b3064bb7c28093b7 (patch)
treef2512f69d82c2d41ea0a6d6baf93eace58901adf /src/systemd
parenta9feff3d774eaa1cc1b59189e8f344c01e69f888 (diff)
downloadsystemd-9b364545435d2b65fcf73519b3064bb7c28093b7.tar.gz
sd-event: add API to access epoll_fd
This is a prerequisite for integrating sd-event into an external event loop.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-event.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemd/sd-event.h b/src/systemd/sd-event.h
index 5d9b3be6c7..d96852a763 100644
--- a/src/systemd/sd-event.h
+++ b/src/systemd/sd-event.h
@@ -90,6 +90,7 @@ int sd_event_exit(sd_event *e, int code);
int sd_event_now(sd_event *e, clockid_t clock, uint64_t *usec);
+int sd_event_get_fd(sd_event *e);
int sd_event_get_state(sd_event *e);
int sd_event_get_tid(sd_event *e, pid_t *tid);
int sd_event_get_exit_code(sd_event *e, int *code);