$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
vcardrestriction.h
Go to the documentation of this file.
1 /*======================================================================
2  FILE: vcardrestriction.h
3  CREATOR: Ken Murchison 24 Aug 2022
4 
5  SPDX-FileCopyrightText: 2022, Fastmail Pty. Ltd. (https://fastmail.com)
6  SPDX-License-Identifier: LGPL-2.1-only OR MPL-2.0
7  ======================================================================*/
8 
15 #ifndef VCARDRESTRICTION_H
16 #define VCARDRESTRICTION_H
17 
18 #include "libical_vcard_export.h"
19 #include "vcardcomponent.h"
20 #include "vcardproperty.h"
21 
28 {
31 
34 
37 
40 
43 
46 
49 
52 
56 
70 LIBICAL_VCARD_EXPORT int vcardrestriction_compare(vcardrestriction_kind restr,
71  int count);
72 
91 LIBICAL_VCARD_EXPORT bool vcardrestriction_check(vcardcomponent *comp);
92 
93 #endif /* VCARDRESTRICTION_H */
int vcardrestriction_compare(vcardrestriction_kind restr, int count)
Checks if the given count is in accordance with the given restriction, restr.
bool vcardrestriction_check(vcardcomponent *comp)
Checks if a given VCARD meets all the restrictions imposed by the standard.
Defines the data structure representing vCard properties.
Defines the data structure representing vCard components.
vcardrestriction_kind
The kinds of vcardrestrictions there are.