Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
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 SPDX-FileCopyrightText: 2000, Eric Busboom <eric@civicknowledge.com>
6 SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
7
8 Contributions from:
9 Graham Davison (g.m.davison@computer.org)
10======================================================================*/
11
12#ifndef ICALRESTRICTION_H
13#define ICALRESTRICTION_H
14
20
21#include "libical_ical_export.h"
22#include "icalcomponent.h"
23#include "icalproperty.h"
24
59
73LIBICAL_ICAL_EXPORT bool icalrestriction_compare(icalrestriction_kind restr, int count);
74
93LIBICAL_ICAL_EXPORT bool icalrestriction_check(icalcomponent *comp);
94
95#endif /* !ICALRESTRICTION_H */
Defines the data structure for iCalendar components.
Defines the data structure representing iCalendar properties.
bool icalrestriction_compare(icalrestriction_kind restr, int count)
Checks if the given count is in accordance with the given restriction, restr.
bool 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.
@ ICAL_RESTRICTION_ZEROPLUS
@ ICAL_RESTRICTION_UNKNOWN
@ ICAL_RESTRICTION_ONE
@ ICAL_RESTRICTION_ONEEXCLUSIVE
@ ICAL_RESTRICTION_ONEPLUS
@ ICAL_RESTRICTION_NONE
@ ICAL_RESTRICTION_ZEROORONE
@ ICAL_RESTRICTION_ONEMUTUAL
@ ICAL_RESTRICTION_ZERO