|
Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
|
Functions to check if a vcardcomponent meets the restrictions imposed by the standard. More...
Go to the source code of this file.
Enumerations | |
| enum | vcardrestriction_kind { VCARD_RESTRICTION_NONE = 0 , VCARD_RESTRICTION_ZERO , VCARD_RESTRICTION_ONE , VCARD_RESTRICTION_ZEROPLUS , VCARD_RESTRICTION_ONEPLUS , VCARD_RESTRICTION_ZEROORONE , VCARD_RESTRICTION_ONEEXCLUSIVE , VCARD_RESTRICTION_ONEMUTUAL , VCARD_RESTRICTION_UNKNOWN } |
| The kinds of vcardrestrictions there are. More... | |
Functions | |
| bool | vcardrestriction_check (vcardcomponent *comp) |
| Checks if a given VCARD meets all the restrictions imposed by the standard. | |
| int | vcardrestriction_compare (vcardrestriction_kind restr, int count) |
| Checks if the given count is in accordance with the given restriction, restr. | |
Functions to check if a vcardcomponent meets the restrictions imposed by the standard.
Definition in file vcardrestriction.h.
The kinds of vcardrestrictions there are.
These must stay in this order for vcardrestriction_compare to work
Definition at line 27 of file vcardrestriction.h.
| bool vcardrestriction_check | ( | vcardcomponent * | comp | ) |
Checks if a given VCARD meets all the restrictions imposed by the standard.
| comp | The VCARD/XROOT component to check |
| int vcardrestriction_compare | ( | vcardrestriction_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 |