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

Implements the data structure for calendar clusters. More...

Go to the source code of this file.

Functions

icalerrorenum icalcluster_add_component (icalcluster *cluster, icalcomponent *child)
icalcluster * icalcluster_clone (const icalcluster *old)
 Deep clone an icalcluster to a new one.
void icalcluster_commit (icalcluster *cluster)
int icalcluster_count_components (icalcluster *cluster, icalcomponent_kind kind)
void icalcluster_free (icalcluster *cluster)
icalcomponent * icalcluster_get_component (const icalcluster *cluster)
icalcomponent * icalcluster_get_current_component (icalcluster *cluster)
 Iterate through components.
icalcomponent * icalcluster_get_first_component (icalcluster *cluster)
icalcomponent * icalcluster_get_next_component (icalcluster *cluster)
int icalcluster_is_changed (const icalcluster *cluster)
const char * icalcluster_key (const icalcluster *cluster)
void icalcluster_mark (icalcluster *cluster)
icalcluster * icalcluster_new (const char *key, icalcomponent *data)
 Create a cluster with a key/value pair.
icalerrorenum icalcluster_remove_component (icalcluster *cluster, icalcomponent *child)

Detailed Description

Implements the data structure for calendar clusters.

Definition in file icalcluster.c.

Function Documentation

◆ icalcluster_add_component()

icalerrorenum icalcluster_add_component ( icalcluster * cluster,
icalcomponent * child )

Definition at line 148 of file icalcluster.c.

◆ icalcluster_clone()

icalcluster * icalcluster_clone ( const icalcluster * old)

Deep clone an icalcluster to a new one.

Deeply clone an icalcluster. Returns a pointer to the memory for the newly cloned icalcluster.

Since
4.0

Definition at line 70 of file icalcluster.c.

◆ icalcluster_commit()

void icalcluster_commit ( icalcluster * cluster)

Definition at line 124 of file icalcluster.c.

◆ icalcluster_count_components()

int icalcluster_count_components ( icalcluster * cluster,
icalcomponent_kind kind )

Definition at line 170 of file icalcluster.c.

◆ icalcluster_free()

void icalcluster_free ( icalcluster * cluster)

Definition at line 84 of file icalcluster.c.

◆ icalcluster_get_component()

icalcomponent * icalcluster_get_component ( const icalcluster * cluster)

Definition at line 131 of file icalcluster.c.

◆ icalcluster_get_current_component()

icalcomponent * icalcluster_get_current_component ( icalcluster * cluster)

Iterate through components.

Definition at line 179 of file icalcluster.c.

◆ icalcluster_get_first_component()

icalcomponent * icalcluster_get_first_component ( icalcluster * cluster)

Definition at line 186 of file icalcluster.c.

◆ icalcluster_get_next_component()

icalcomponent * icalcluster_get_next_component ( icalcluster * cluster)

Definition at line 193 of file icalcluster.c.

◆ icalcluster_is_changed()

int icalcluster_is_changed ( const icalcluster * cluster)

Definition at line 110 of file icalcluster.c.

◆ icalcluster_key()

const char * icalcluster_key ( const icalcluster * cluster)

Definition at line 103 of file icalcluster.c.

◆ icalcluster_mark()

void icalcluster_mark ( icalcluster * cluster)

Definition at line 117 of file icalcluster.c.

◆ icalcluster_new()

icalcluster * icalcluster_new ( const char * key,
icalcomponent * data )

Create a cluster with a key/value pair.

Definition at line 39 of file icalcluster.c.

◆ icalcluster_remove_component()

icalerrorenum icalcluster_remove_component ( icalcluster * cluster,
icalcomponent * child )

Definition at line 159 of file icalcluster.c.