$darkmode
Defines the data structure for calendar clusters. More...
Go to the source code of this file.
Typedefs | |
| typedef struct icalcluster_impl | icalcluster |
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) |
Defines the data structure for calendar clusters.
This is a utility class designed to manage clusters of icalcomponents on behalf of an implementation of icalset. This is done in order to split out common behavior different classes might need.
The definition of what exactly a cluster will contain depends on the icalset subclass. At the basic level, an icluster is just a tuple, with anything as key and an icalcomponent as value.
Definition in file icalcluster.h.
| 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.
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.
1.8.10