$darkmode
Libical API Documentation 4.0 STABLE VERSION Visit the v3.0 documentation
icalfileset.c File Reference

Manages a database of ical components and offers interfaces for reading, writing and searching for components. More...

Go to the source code of this file.

Functions

icalerrorenum icalfileset_add_component (icalset *set, icalcomponent *child)
 
icalsetiter icalfileset_begin_component (icalset *set, icalcomponent_kind kind, icalgauge *gauge, const char *tzid)
 
void icalfileset_clear (icalset *set)
 Clears the gauge.
 
icalerrorenum icalfileset_commit (icalset *set)
 
int icalfileset_count_components (icalset *set, icalcomponent_kind kind)
 
icalcomponent * icalfileset_fetch (icalset *set, icalcomponent_kind kind, const char *uid)
 Gets and searches for a component by uid.
 
icalcomponent * icalfileset_fetch_match (icalset *set, const icalcomponent *comp)
 
icalcomponent * icalfileset_form_a_matched_recurrence_component (icalsetiter *itr)
 
void icalfileset_free (icalset *set)
 
icalcomponent * icalfileset_get_component (icalset *set)
 
icalcomponent * icalfileset_get_current_component (icalset *set)
 
icalcomponent * icalfileset_get_first_component (icalset *set)
 
icalcomponent * icalfileset_get_next_component (icalset *set)
 
int icalfileset_has_uid (icalset *set, const char *uid)
 
icalset * icalfileset_init (icalset *set, const char *path, void *options_in)
 
void icalfileset_mark (icalset *set)
 
icalerrorenum icalfileset_modify (icalset *set, icalcomponent *old, icalcomponent *new)
 Modifies components according to the MODIFY method of CAP. More...
 
icalset * icalfileset_new (const char *path)
 
icalset * icalfileset_new_reader (const char *path)
 
icalset * icalfileset_new_writer (const char *path)
 
const char * icalfileset_path (icalset *set)
 
icalcluster * icalfileset_produce_icalcluster (const char *path)
 
icalerrorenum icalfileset_remove_component (icalset *set, icalcomponent *child)
 
icalerrorenum icalfileset_select (icalset *set, icalgauge *gauge)
 
icalcomponent * icalfilesetiter_to_next (icalset *set, icalsetiter *i)
 

Variables

icalfileset_options icalfileset_options_default = {O_RDWR | O_CREAT, 0644, 0, NULL}
 

Detailed Description

Manages a database of ical components and offers interfaces for reading, writing and searching for components.

Definition in file icalfileset.c.

Function Documentation

icalcomponent* icalfileset_get_component ( icalset *  set)

Returns a reference to the internal component. You probably should not be using this.

Definition at line 420 of file icalfileset.c.

icalerrorenum icalfileset_modify ( icalset *  set,
icalcomponent *  oldcomp,
icalcomponent *  newcomp 
)

Modifies components according to the MODIFY method of CAP.

Works on the currently selected components.

Definition at line 648 of file icalfileset.c.

icalerrorenum icalfileset_select ( icalset *  set,
icalgauge *  gauge 
)

Restricts the component returned by icalfileset_first, _next to those that pass the gauge. _clear removes the gauge.

Definition at line 475 of file icalfileset.c.

Variable Documentation

icalfileset_options icalfileset_options_default = {O_RDWR | O_CREAT, 0644, 0, NULL}

Default options used when NULL is passed to icalset_new()

Definition at line 42 of file icalfileset.c.