Libical API Documentation 3.0
Loading...
Searching...
No Matches
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{
46
49
52
55
58
61
64
67
71
85LIBICAL_ICAL_EXPORT int icalrestriction_compare(icalrestriction_kind restr, int count);
86
105LIBICAL_ICAL_EXPORT int icalrestriction_check(icalcomponent *comp);
106
107#endif /* !ICALRESTRICTION_H */
int icalrestriction_check(icalcomponent *comp)
Checks if a given VCALENDAR meets all the restrictions imposed by the standard.
icalrestriction_kind
The kinds of icalrestrictions there are.
Definition icalrestriction.h:43
@ ICAL_RESTRICTION_ZEROPLUS
Definition icalrestriction.h:54
@ ICAL_RESTRICTION_UNKNOWN
Definition icalrestriction.h:69
@ ICAL_RESTRICTION_ONE
Definition icalrestriction.h:51
@ ICAL_RESTRICTION_ONEEXCLUSIVE
Definition icalrestriction.h:63
@ ICAL_RESTRICTION_ONEPLUS
Definition icalrestriction.h:57
@ ICAL_RESTRICTION_NONE
Definition icalrestriction.h:45
@ ICAL_RESTRICTION_ZEROORONE
Definition icalrestriction.h:60
@ ICAL_RESTRICTION_ONEMUTUAL
Definition icalrestriction.h:66
@ ICAL_RESTRICTION_ZERO
Definition icalrestriction.h:48
int icalrestriction_compare(icalrestriction_kind restr, int count)
Checks if the given count is in accordance with the given restriction, restr.
Definition icalcomponent.c:36