Libical API Documentation  3.0
icalrestriction.h
Go to the documentation of this file.
1 /*======================================================================
2  FILE: icalrestriction.h
3  CREATOR: eric 24 April 1999
4 
5  (C) COPYRIGHT 2000, Eric Busboom <eric@softwarestudio.org>
6  http://www.softwarestudio.org
7 
8  This library is free software; you can redistribute it and/or modify
9  it under the terms of either:
10 
11  The LGPL as published by the Free Software Foundation, version
12  2.1, available at: http://www.gnu.org/licenses/lgpl-2.1.html
13 
14  Or:
15 
16  The Mozilla Public License Version 2.0. You may obtain a copy of
17  the License at http://www.mozilla.org/MPL/
18 
19  The original code is icalrestriction.h
20 
21  Contributions from:
22  Graham Davison (g.m.davison@computer.org)
23 ======================================================================*/
24 
25 #ifndef ICALRESTRICTION_H
26 #define ICALRESTRICTION_H
27 
34 #include "libical_ical_export.h"
35 #include "icalcomponent.h"
36 #include "icalproperty.h"
37 
44 {
46  ICAL_RESTRICTION_NONE = 0, /* 0 */
47 
50 
53 
56 
59 
62 
65 
68 
72 
86 LIBICAL_ICAL_EXPORT int icalrestriction_compare(icalrestriction_kind restr, int count);
87 
106 LIBICAL_ICAL_EXPORT int icalrestriction_check(icalcomponent *comp);
107 
108 #endif /* !ICALRESTRICTION_H */
Definition: icalrestriction.h:46
int icalrestriction_compare(icalrestriction_kind restr, int count)
Checks if the given count is in accordance with the given restriction, restr.
Definition: icalrestriction.h:64
int icalrestriction_check(icalcomponent *comp)
Checks if a given VCALENDAR meets all the restrictions imposed by the standard.
Definition: icalrestriction.h:49
Definition: icalrestriction.h:58
Definition: icalrestriction.h:61
Definition: icalcomponent.c:33
Definition: icalrestriction.h:52
Definition: icalrestriction.h:55
icalrestriction_kind
The kinds of icalrestrictions there are.
Definition: icalrestriction.h:43
Definition: icalrestriction.h:67
Definition: icalrestriction.h:70