diff options
author | Todd Poynor <toddpoynor@google.com> | 2013-09-11 02:03:45 +0200 |
---|---|---|
committer | Todd Poynor <toddpoynor@google.com> | 2013-09-12 21:42:34 +0200 |
commit | 4665ede960301144eeebcf6b145ac83fd9d2c778 (patch) | |
tree | 272b204c701a97c95ed7ad9b0f156235dff62d65 /minui | |
parent | recovery: ui changes for ev_*() switch to epoll (diff) | |
download | android_bootable_recovery-4665ede960301144eeebcf6b145ac83fd9d2c778.tar android_bootable_recovery-4665ede960301144eeebcf6b145ac83fd9d2c778.tar.gz android_bootable_recovery-4665ede960301144eeebcf6b145ac83fd9d2c778.tar.bz2 android_bootable_recovery-4665ede960301144eeebcf6b145ac83fd9d2c778.tar.lz android_bootable_recovery-4665ede960301144eeebcf6b145ac83fd9d2c778.tar.xz android_bootable_recovery-4665ede960301144eeebcf6b145ac83fd9d2c778.tar.zst android_bootable_recovery-4665ede960301144eeebcf6b145ac83fd9d2c778.zip |
Diffstat (limited to 'minui')
-rw-r--r-- | minui/events.c | 5 | ||||
-rw-r--r-- | minui/minui.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/minui/events.c b/minui/events.c index fe364bf01..008a7d8d8 100644 --- a/minui/events.c +++ b/minui/events.c @@ -132,6 +132,11 @@ int ev_add_fd(int fd, ev_callback cb, void *data) return ret; } +int ev_get_epollfd(void) +{ + return epollfd; +} + void ev_exit(void) { while (ev_count > 0) { diff --git a/minui/minui.h b/minui/minui.h index 805c58bed..ab08202f4 100644 --- a/minui/minui.h +++ b/minui/minui.h @@ -67,6 +67,7 @@ int ev_wait(int timeout); int ev_get_input(int fd, unsigned int epevents, struct input_event *ev); void ev_dispatch(void); +int ev_get_epollfd(void); // Resources |