~ahs3/+junk/cq-qemu

« back to all changes in this revision

Viewing changes to event_notifier.h

  • Committer: Al Stone
  • Date: 2012-02-09 01:17:20 UTC
  • Revision ID: albert.stone@canonical.com-20120209011720-tztl7ik3qayz80p4
first commit to bzr for qemu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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