mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +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>
16 lines
369 B
C
16 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
|