Logo Search packages:      
Sourcecode: libical version File versions  Download package

icalarray.c File Reference


Detailed Description

An array of arbitrarily-sized elements which grows dynamically as elements are added.

Definition in file icalarray.c.

#include <stdlib.h>
#include <string.h>
#include "icalarray.h"
#include "icalerror.h"

Go to the source code of this file.

Functions

void icalarray_append (icalarray *array, void *element)
void * icalarray_element_at (icalarray *array, int position)
static void icalarray_expand (icalarray *array, int space_needed)
void icalarray_free (icalarray *array)
 Destructor.
icalarray * icalarray_new (int element_size, int increment_size)
 Constructor.
void icalarray_remove_element_at (icalarray *array, int position)
void icalarray_sort (icalarray *array, int(*compare)(const void *, const void *))


Generated by  Doxygen 1.6.0   Back to index