$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
vcardenumarray.h
Go to the documentation of this file.
1 /*======================================================================
2  FILE: vcardenumarray.h
3  CREATOR: Ken Murchison 24 Aug 2022 <murch@fastmailteam.com>
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 
14 #ifndef VCARDENUMARRAY_H
15 #define VCARDENUMARRAY_H
16 
17 #include "libical_vcard_export.h"
18 #include "icalenumarray.h"
19 
20 typedef icalenumarray vcardenumarray;
22 
23 #define vcardenumarray_new(increment_size) \
24  icalenumarray_new(increment_size)
25 
26 #define vcardenumarray_element_at(array, position) \
27  icalenumarray_element_at(array, position)
28 
29 #define vcardenumarray_size(array) \
30  icalenumarray_size(array)
31 
32 #define vcardenumarray_find(array, needle) \
33  icalenumarray_find(array, needle)
34 
35 #define vcardenumarray_append(array, elem) \
36  icalenumarray_append(array, elem)
37 
38 #define vcardenumarray_add(array, add) \
39  icalenumarray_add(array, add)
40 
41 #define vcardenumarray_remove_element_at(array, position) \
42  icalenumarray_remove_element_at(array, position)
43 
44 #define vcardenumarray_remove(array, del) \
45  icalenumarray_remove(array, del)
46 
47 #define vcardenumarray_free(array) \
48  icalenumarray_free(array)
49 
50 #define vcardenumarray_sort(array) \
51  icalenumarray_sort(array)
52 
53 #define vcardenumarray_clone(array) \
54  icalenumarray_clone(array)
55 
56 #endif /* VCARDENUMARRAY_H */
Defines the data structure for handling arrays of enums.