From 2284451019a796eb2a37d70544e19d686de7f8c0 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Tue, 27 Sep 2011 17:26:23 +0300 Subject: event_notifier: move to top-level directory Has no business in hw/. Signed-off-by: Avi Kivity Signed-off-by: Anthony Liguori --- event_notifier.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 event_notifier.h (limited to 'event_notifier.h') diff --git a/event_notifier.h b/event_notifier.h new file mode 100644 index 0000000000..24117ea97b --- /dev/null +++ b/event_notifier.h @@ -0,0 +1,16 @@ +#ifndef QEMU_EVENT_NOTIFIER_H +#define QEMU_EVENT_NOTIFIER_H + +#include "qemu-common.h" + +struct EventNotifier { + int fd; +}; + +int event_notifier_init(EventNotifier *, int active); +void event_notifier_cleanup(EventNotifier *); +int event_notifier_get_fd(EventNotifier *); +int event_notifier_test_and_clear(EventNotifier *); +int event_notifier_test(EventNotifier *); + +#endif -- cgit v1.2.3