Libical API Documentation 4.0 STABLE VERSION [Visit the v3.0 documentation]
Loading...
Searching...
No Matches
vcardstrarray.h File Reference

Namespace the icalstrarray functions for vcard. More...

Go to the source code of this file.

Macros

#define vcardstrarray_add(array, add)
#define vcardstrarray_append(array, elem)
#define vcardstrarray_clone(array)
#define vcardstrarray_element_at(array, position)
#define vcardstrarray_find(array, needle)
#define vcardstrarray_free(array)
#define vcardstrarray_new(increment_size)
#define vcardstrarray_remove(array, del)
#define vcardstrarray_remove_element_at(array, position)
#define vcardstrarray_size(array)
#define vcardstrarray_sort(array)

Typedefs

typedef icalstrarray vcardstrarray

Detailed Description

Namespace the icalstrarray functions for vcard.

Definition in file vcardstrarray.h.

Macro Definition Documentation

◆ vcardstrarray_add

#define vcardstrarray_add ( array,
add )
Value:
icalstrarray_add(array, add)
void icalstrarray_add(icalstrarray *array, const char *elem)
Appends a string to the array, omitting duplicates.

Definition at line 37 of file vcardstrarray.h.

◆ vcardstrarray_append

#define vcardstrarray_append ( array,
elem )
Value:
icalstrarray_append(array, elem)
void icalstrarray_append(icalstrarray *array, const char *elem)
Appends a string to the array.

Definition at line 34 of file vcardstrarray.h.

◆ vcardstrarray_clone

#define vcardstrarray_clone ( array)
Value:
icalstrarray * icalstrarray_clone(icalstrarray *array)
Clones the array and all its elements.

Definition at line 52 of file vcardstrarray.h.

◆ vcardstrarray_element_at

#define vcardstrarray_element_at ( array,
position )
Value:
icalstrarray_element_at(array, position)
const char * icalstrarray_element_at(icalstrarray *array, size_t position)
Accesses a string stored in the array.

Definition at line 25 of file vcardstrarray.h.

◆ vcardstrarray_find

#define vcardstrarray_find ( array,
needle )
Value:
icalstrarray_find(array, needle)
size_t icalstrarray_find(icalstrarray *array, const char *needle)
Finds a string in the array.

Definition at line 31 of file vcardstrarray.h.

◆ vcardstrarray_free

#define vcardstrarray_free ( array)
Value:
void icalstrarray_free(icalstrarray *array)
Frees this array's memory and all its elements.

Definition at line 46 of file vcardstrarray.h.

◆ vcardstrarray_new

#define vcardstrarray_new ( increment_size)
Value:
icalstrarray_new(increment_size)
#define icalstrarray_new(increment_size)
Creates a new icalstrarray object.

Definition at line 22 of file vcardstrarray.h.

◆ vcardstrarray_remove

#define vcardstrarray_remove ( array,
del )
Value:
void icalstrarray_remove(icalstrarray *array, const char *del)
Removes all occurrences of a string.

Definition at line 43 of file vcardstrarray.h.

◆ vcardstrarray_remove_element_at

#define vcardstrarray_remove_element_at ( array,
position )
Value:
void icalstrarray_remove_element_at(icalstrarray *array, size_t position)
Removes the string at an array position.

Definition at line 40 of file vcardstrarray.h.

◆ vcardstrarray_size

#define vcardstrarray_size ( array)
Value:
size_t icalstrarray_size(const icalstrarray *array)
Indicates the count of strings stored in the array.

Definition at line 28 of file vcardstrarray.h.

◆ vcardstrarray_sort

#define vcardstrarray_sort ( array)
Value:
void icalstrarray_sort(icalstrarray *array)
Sorts the strings in the array in ascending order.

Definition at line 49 of file vcardstrarray.h.

Typedef Documentation

◆ vcardstrarray

typedef icalstrarray vcardstrarray

Definition at line 20 of file vcardstrarray.h.