$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
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. More...
 
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. More...
 
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* 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* icalcluster_new ( const char *  key,
icalcomponent *  data 
)

Create a cluster with a key/value pair.

Definition at line 39 of file icalcluster.c.