|
Libical API Documentation 3.0
|
Functions to check if an icalcomponent meets the restrictions imposed by the standard. More...
Go to the source code of this file.
Typedefs | |
| typedef enum icalrestriction_kind | icalrestriction_kind |
| The kinds of icalrestrictions there are. | |
Enumerations | |
| enum | icalrestriction_kind { ICAL_RESTRICTION_NONE = 0 , ICAL_RESTRICTION_ZERO , ICAL_RESTRICTION_ONE , ICAL_RESTRICTION_ZEROPLUS , ICAL_RESTRICTION_ONEPLUS , ICAL_RESTRICTION_ZEROORONE , ICAL_RESTRICTION_ONEEXCLUSIVE , ICAL_RESTRICTION_ONEMUTUAL , ICAL_RESTRICTION_UNKNOWN } |
| The kinds of icalrestrictions there are. More... | |
Functions | |
| int | icalrestriction_check (icalcomponent *comp) |
Checks if a given VCALENDAR meets all the restrictions imposed by the standard. | |
| int | icalrestriction_compare (icalrestriction_kind restr, int count) |
| Checks if the given count is in accordance with the given restriction, restr. | |
Functions to check if an icalcomponent meets the restrictions imposed by the standard.
| typedef enum icalrestriction_kind icalrestriction_kind |
The kinds of icalrestrictions there are.
These must stay in this order for icalrestriction_compare to work
| enum icalrestriction_kind |
The kinds of icalrestrictions there are.
These must stay in this order for icalrestriction_compare to work
| int icalrestriction_check | ( | icalcomponent * | comp | ) |
Checks if a given VCALENDAR meets all the restrictions imposed by the standard.
| comp | The VCALENDAR component to check |
NULL is passed as comp, or if the component is not a VCALENDAR.| int icalrestriction_compare | ( | icalrestriction_kind | restr, |
| int | count ) |
Checks if the given count is in accordance with the given restriction, restr.
| restr | The restriction to apply to the count |
| count | The amount present that is to be checked against the restriction |