summaryrefslogtreecommitdiffstats
path: root/event_notifier.h
blob: 24117ea97bf3a50425737aa325de70446ef3454f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
OpenPOWER on IntegriCloud