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@civicknowledge.com>
6 
7  This library is free software; you can redistribute it and/or modify
8  it under the terms of either:
9 
10  The LGPL as published by the Free Software Foundation, version
11  2.1, available at: https://www.gnu.org/licenses/lgpl-2.1.html
12 
13  Or:
14 
15  The Mozilla Public License Version 2.0. You may obtain a copy of
16  the License at https://www.mozilla.org/MPL/
17 
18  The original code is icalrestriction.h
19 
20  Contributions from:
21  Graham Davison (g.m.davison@computer.org)
22 ======================================================================*/
23 
24 #ifndef ICALRESTRICTION_H
25 #define ICALRESTRICTION_H
26 
33 #include "libical_ical_export.h"
34 #include "icalcomponent.h"
35 #include "icalproperty.h"
36 
43 {
45  ICAL_RESTRICTION_NONE = 0, /* 0 */
46 
49 
52 
55 
58 
61 
64 
67 
71 
85 LIBICAL_ICAL_EXPORT int icalrestriction_compare(icalrestriction_kind restr, int count);
86 
105 LIBICAL_ICAL_EXPORT int icalrestriction_check(icalcomponent *comp);
106 
107 #endif /* !ICALRESTRICTION_H */
Definition: icalrestriction.h:45
int icalrestriction_compare(icalrestriction_kind restr, int count)
Checks if the given count is in accordance with the given restriction, restr.
Definition: icalrestriction.h:63
int icalrestriction_check(icalcomponent *comp)
Checks if a given VCALENDAR meets all the restrictions imposed by the standard.
Definition: icalrestriction.h:48
Definition: icalrestriction.h:57
Definition: icalrestriction.h:60
Definition: icalcomponent.c:35
Definition: icalrestriction.h:51
Definition: icalrestriction.h:54
icalrestriction_kind
The kinds of icalrestrictions there are.
Definition: icalrestriction.h:42
Definition: icalrestriction.h:66
Definition: icalrestriction.h:69