mirror of
https://github.com/qemu/qemu.git
synced 2024-12-11 20:53:51 +08:00
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
|