blockdev-test: Factor out some common code into helpers
[qemu/ar7.git] / libcacard / vevent.h
blob38c3482c359190f22370cecd549987144a1efa7e
1 /*
2 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
3 * See the COPYING.LIB file in the top-level directory.
4 */
5 #ifndef EVENT_H
6 #define EVENT_H 1
7 #include "eventt.h"
8 #include "vreadert.h"
9 #include "vcardt.h"
11 VEvent *vevent_new(VEventType type, VReader *reader, VCard *card);
12 void vevent_delete(VEvent *);
15 * VEvent queueing services
17 void vevent_queue_vevent(VEvent *);
18 void vevent_queue_init(void);
21 * VEvent dequeing services
23 VEvent *vevent_wait_next_vevent(void);
24 VEvent *vevent_get_next_vevent(void);
27 #endif