12#ifndef ICALRESTRICTION_H
13#define ICALRESTRICTION_H
21#include "libical_ical_export.h"
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.
Definition icalrestriction.h:31
@ ICAL_RESTRICTION_ZEROPLUS
Definition icalrestriction.h:42
@ ICAL_RESTRICTION_UNKNOWN
Definition icalrestriction.h:57
@ ICAL_RESTRICTION_ONE
Definition icalrestriction.h:39
@ ICAL_RESTRICTION_ONEEXCLUSIVE
Definition icalrestriction.h:51
@ ICAL_RESTRICTION_ONEPLUS
Definition icalrestriction.h:45
@ ICAL_RESTRICTION_NONE
Definition icalrestriction.h:33
@ ICAL_RESTRICTION_ZEROORONE
Definition icalrestriction.h:48
@ ICAL_RESTRICTION_ONEMUTUAL
Definition icalrestriction.h:54
@ ICAL_RESTRICTION_ZERO
Definition icalrestriction.h:36