Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
vcardenumarray.h File Reference

Namespace the icalenumarray functions for vcard. More...

Go to the source code of this file.

Macros

#define vcardenumarray_add(array, add)
#define vcardenumarray_append(array, elem)
#define vcardenumarray_clone(array)
#define vcardenumarray_element_at(array, position)
#define vcardenumarray_find(array, needle)
#define vcardenumarray_free(array)
#define vcardenumarray_new(increment_size)
#define vcardenumarray_remove(array, del)
#define vcardenumarray_remove_element_at(array, position)
#define vcardenumarray_size(array)
#define vcardenumarray_sort(array)

Typedefs

typedef icalenumarray vcardenumarray
typedef icalenumarray_element vcardenumarray_element

Detailed Description

Namespace the icalenumarray functions for vcard.

Definition in file vcardenumarray.h.

Macro Definition Documentation

◆ vcardenumarray_add

#define vcardenumarray_add ( array,
add )
Value:
icalenumarray_add(array, add)
void icalenumarray_add(icalenumarray *array, const icalenumarray_element *elem)
Appends an element to the array, omitting duplicates.

Definition at line 38 of file vcardenumarray.h.

◆ vcardenumarray_append

#define vcardenumarray_append ( array,
elem )
Value:
icalenumarray_append(array, elem)
void icalenumarray_append(icalenumarray *array, const icalenumarray_element *elem)
Appends an element to the array.

Definition at line 35 of file vcardenumarray.h.

◆ vcardenumarray_clone

#define vcardenumarray_clone ( array)
Value:
icalenumarray * icalenumarray_clone(icalenumarray *array)
Clones the array and all its elements.

Definition at line 53 of file vcardenumarray.h.

◆ vcardenumarray_element_at

#define vcardenumarray_element_at ( array,
position )
Value:
icalenumarray_element_at(array, position)
const icalenumarray_element * icalenumarray_element_at(icalenumarray *array, size_t position)
Accesses an element stored in the array.

Definition at line 26 of file vcardenumarray.h.

◆ vcardenumarray_find

#define vcardenumarray_find ( array,
needle )
Value:
icalenumarray_find(array, needle)
size_t icalenumarray_find(icalenumarray *array, const icalenumarray_element *needle)
Finds an element in the array.

Definition at line 32 of file vcardenumarray.h.

◆ vcardenumarray_free

#define vcardenumarray_free ( array)
Value:
void icalenumarray_free(icalenumarray *array)
Frees this array's memory and all its elements.

Definition at line 47 of file vcardenumarray.h.

◆ vcardenumarray_new

#define vcardenumarray_new ( increment_size)
Value:
icalenumarray_new(increment_size)
#define icalenumarray_new(increment_size)

Definition at line 23 of file vcardenumarray.h.

◆ vcardenumarray_remove

#define vcardenumarray_remove ( array,
del )
Value:
void icalenumarray_remove(icalenumarray *array, const icalenumarray_element *del)
Removes all occurrences of an element.

Definition at line 44 of file vcardenumarray.h.

◆ vcardenumarray_remove_element_at

#define vcardenumarray_remove_element_at ( array,
position )
Value:
void icalenumarray_remove_element_at(icalenumarray *array, size_t position)
Removes the element at an array position.

Definition at line 41 of file vcardenumarray.h.

◆ vcardenumarray_size

#define vcardenumarray_size ( array)
Value:
size_t icalenumarray_size(const icalenumarray *array)
Indicates the count of elements stored in the array.

Definition at line 29 of file vcardenumarray.h.

◆ vcardenumarray_sort

#define vcardenumarray_sort ( array)
Value:
void icalenumarray_sort(icalenumarray *array)
Sorts the elements in the array in ascending order.

Definition at line 50 of file vcardenumarray.h.

Typedef Documentation

◆ vcardenumarray

typedef icalenumarray vcardenumarray

Definition at line 20 of file vcardenumarray.h.

◆ vcardenumarray_element

Definition at line 21 of file vcardenumarray.h.