Statistics
| Branch: | Revision:

root / hw / event_notifier.h @ cd8722bb

History | View | Annotate | Download (369 Bytes)

1
#ifndef QEMU_EVENT_NOTIFIER_H
2
#define QEMU_EVENT_NOTIFIER_H
3

    
4
#include "qemu-common.h"
5

    
6
struct EventNotifier {
7
        int fd;
8
};
9

    
10
int event_notifier_init(EventNotifier *, int active);
11
void event_notifier_cleanup(EventNotifier *);
12
int event_notifier_get_fd(EventNotifier *);
13
int event_notifier_test_and_clear(EventNotifier *);
14
int event_notifier_test(EventNotifier *);
15

    
16
#endif