mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
2284451019
Has no business in hw/. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
17 lines
369 B
C
17 lines
369 B
C
#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
|