aboutsummaryrefslogtreecommitdiff
path: root/event_notifier.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-09-27 17:26:23 +0300
committerAnthony Liguori <aliguori@us.ibm.com>2011-11-01 16:52:08 -0500
commit2284451019a796eb2a37d70544e19d686de7f8c0 (patch)
treefed9234c5c05fa324053d3f6df0d7c2ab0b81cd2 /event_notifier.h
parent443916d1d9f1094a43d28c6b8cc60e3e7e27eb36 (diff)
event_notifier: move to top-level directory
Has no business in hw/. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'event_notifier.h')
-rw-r--r--event_notifier.h16
1 files changed, 16 insertions, 0 deletions
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