28#include "libical_ical_export.h"
38 size_t increment_size;
40 size_t space_allocated;
295 int (*compare) (
const void *,
const void *));
void * icalarray_element_at(icalarray *array, size_t position)
Access an array element.
Definition icalarray.c:117
icalarray * icalarray_copy(icalarray *array)
Copies an existing icalarray and its elements, creating a new one.
Definition icalarray.c:60
void icalarray_free(icalarray *array)
Frees an array object and everything that it contains.
Definition icalarray.c:90
void icalarray_sort(icalarray *array, int(*compare)(const void *, const void *))
Sorts the elements of an icalarray using the given comparison function.
Definition icalarray.c:136
void icalarray_append(icalarray *array, const void *element)
Appends an element to an array.
Definition icalarray.c:105
icalarray * icalarray_new(size_t element_size, size_t increment_size)
Creates a new icalarray object.
Definition icalarray.c:31
void icalarray_remove_element_at(icalarray *array, size_t position)
Removes a given element from an array.
Definition icalarray.c:125
Definition icalarray.h:36