Statistics
| Branch: | Revision:

root / libcacard / vevent.h @ 92f562ec

History | View | Annotate | Download (562 Bytes)

1 111a38b0 Robert Relyea
/*
2 111a38b0 Robert Relyea
 * This work is licensed under the terms of the GNU LGPL, version 2.1 or later.
3 111a38b0 Robert Relyea
 * See the COPYING.LIB file in the top-level directory.
4 111a38b0 Robert Relyea
 */
5 111a38b0 Robert Relyea
#ifndef EVENT_H
6 111a38b0 Robert Relyea
#define EVENT_H 1
7 111a38b0 Robert Relyea
#include "eventt.h"
8 111a38b0 Robert Relyea
#include "vreadert.h"
9 111a38b0 Robert Relyea
#include "vcardt.h"
10 111a38b0 Robert Relyea
11 111a38b0 Robert Relyea
VEvent *vevent_new(VEventType type, VReader *reader, VCard *card);
12 111a38b0 Robert Relyea
void vevent_delete(VEvent *);
13 111a38b0 Robert Relyea
14 111a38b0 Robert Relyea
/*
15 111a38b0 Robert Relyea
 * VEvent queueing services
16 111a38b0 Robert Relyea
 */
17 111a38b0 Robert Relyea
void vevent_queue_vevent(VEvent *);
18 111a38b0 Robert Relyea
void vevent_queue_init(void);
19 111a38b0 Robert Relyea
20 111a38b0 Robert Relyea
/*
21 111a38b0 Robert Relyea
 *  VEvent dequeing services
22 111a38b0 Robert Relyea
 */
23 111a38b0 Robert Relyea
VEvent *vevent_wait_next_vevent(void);
24 111a38b0 Robert Relyea
VEvent *vevent_get_next_vevent(void);
25 111a38b0 Robert Relyea
26 111a38b0 Robert Relyea
27 111a38b0 Robert Relyea
#endif