aboutsummaryrefslogtreecommitdiff
path: root/event_notifier.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2012-07-05 17:16:24 +0200
committerAvi Kivity <avi@redhat.com>2012-07-12 14:08:03 +0300
commite80c262be7f821051a6d89b39fe21d951848dece (patch)
tree48439495c58cd56c3df4fe8aaf6cfed2193d0b79 /event_notifier.h
parentebe7acea532fba4a0ad7aaf74e59bff729867d93 (diff)
downloadqemu-e80c262be7f821051a6d89b39fe21d951848dece.zip
qemu-e80c262be7f821051a6d89b39fe21d951848dece.tar.gz
qemu-e80c262be7f821051a6d89b39fe21d951848dece.tar.bz2
event_notifier: add event_notifier_init_fd
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'event_notifier.h')
-rw-r--r--event_notifier.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/event_notifier.h b/event_notifier.h
index 9b2edf4..fd3d942 100644
--- a/event_notifier.h
+++ b/event_notifier.h
@@ -16,9 +16,10 @@
#include "qemu-common.h"
struct EventNotifier {
- int fd;
+ int fd;
};
+void event_notifier_init_fd(EventNotifier *, int fd);
int event_notifier_init(EventNotifier *, int active);
void event_notifier_cleanup(EventNotifier *);
int event_notifier_get_fd(EventNotifier *);