$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
vcardstrarray.h
Go to the documentation of this file.
1 /*======================================================================
2  FILE: vcardstrarray.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 
14 #ifndef VCARDSTRARRAY_H
15 #define VCARDSTRARRAY_H
16 
17 #include "libical_vcard_export.h"
18 #include "icalstrarray.h"
19 
20 typedef icalstrarray vcardstrarray;
21 
22 #define vcardstrarray_new(increment_size) \
23  icalstrarray_new(increment_size)
24 
25 #define vcardstrarray_element_at(array, position) \
26  icalstrarray_element_at(array, position)
27 
28 #define vcardstrarray_size(array) \
29  icalstrarray_size(array)
30 
31 #define vcardstrarray_find(array, needle) \
32  icalstrarray_find(array, needle)
33 
34 #define vcardstrarray_append(array, elem) \
35  icalstrarray_append(array, elem)
36 
37 #define vcardstrarray_add(array, add) \
38  icalstrarray_add(array, add)
39 
40 #define vcardstrarray_remove_element_at(array, position) \
41  icalstrarray_remove_element_at(array, position)
42 
43 #define vcardstrarray_remove(array, del) \
44  icalstrarray_remove(array, del)
45 
46 #define vcardstrarray_free(array) \
47  icalstrarray_free(array)
48 
49 #define vcardstrarray_sort(array) \
50  icalstrarray_sort(array)
51 
52 #define vcardstrarray_clone(array) \
53  icalstrarray_clone(array)
54 
55 #endif /* VCARDSTRARRAY_H */
Defines the data structure for handling string arrays.