~ubuntu-branches/ubuntu/maverick/libvirt/maverick

« back to all changes in this revision

Viewing changes to qemud/event.h

  • Committer: Bazaar Package Importer
  • Author(s): Soren Hansen
  • Date: 2009-02-11 01:01:42 UTC
  • mto: (3.4.1 sid) (1.2.1 upstream) (0.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: james.westby@ubuntu.com-20090211010142-wk9mgtbw8bmp3zcb
Tags: upstream-0.6.0
ImportĀ upstreamĀ versionĀ 0.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
int virEventRemoveTimeoutImpl(int timer);
102
102
 
103
103
/**
 
104
 * virEventInit: Initialize the event loop
 
105
 *
 
106
 * returns -1 if initialization failed
 
107
 */
 
108
int virEventInit(void);
 
109
 
 
110
/**
104
111
 * virEventRunOnce: run a single iteration of the event loop.
105
112
 *
106
113
 * Blocks the caller until at least one file handle has an
116
123
virPollEventToEventHandleType(int events);
117
124
 
118
125
 
 
126
/**
 
127
 * virEventInterrupt: wakeup any thread waiting in poll()
 
128
 *
 
129
 * return -1 if wakup failed
 
130
 */
 
131
int virEventInterrupt(void);
 
132
 
119
133
 
120
134
#endif /* __VIRTD_EVENT_H__ */