diff options
Diffstat (limited to 'hw/event_notifier.h')
-rw-r--r-- | hw/event_notifier.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hw/event_notifier.h b/hw/event_notifier.h new file mode 100644 index 0000000000..24117ea97b --- /dev/null +++ b/hw/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 |