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

Routines for storing calendar data in a file system. More...

Go to the source code of this file.

Functions

void icalcalendar_free (icalcalendar *calendar)
 
icalset * icalcalendar_get_booked (icalcalendar *calendar)
 
icalset * icalcalendar_get_freebusy (icalcalendar *calendar)
 
icalset * icalcalendar_get_incoming (icalcalendar *calendar)
 
icalset * icalcalendar_get_properties (icalcalendar *calendar)
 
int icalcalendar_islocked (const icalcalendar *calendar)
 
int icalcalendar_lock (const icalcalendar *calendar)
 
icalcalendar * icalcalendar_new (const char *dir)
 
int icalcalendar_ownlock (const icalcalendar *calendar)
 
int icalcalendar_unlock (const icalcalendar *calendar)
 

Detailed Description

Routines for storing calendar data in a file system.

The calendar has two icaldirsets, one for incoming components and one for booked components. It also has interfaces to access the free/busy list and a list of calendar properties

Definition in file icalcalendar.h.

Function Documentation

icalset* icalcalendar_get_freebusy ( icalcalendar *  calendar)

Gets the freebusy info from the specified icalcalendar.

Parameters
calendaris a pointer to a valid icalendar
Returns
a pointer to an icalset with the freebusy info.

Definition at line 225 of file icalcalendar.c.

icalset* icalcalendar_get_properties ( icalcalendar *  calendar)

Gets the properties from the specified icalcalendar.

Parameters
calendaris a pointer to a valid icalendar
Returns
a pointer to an icalset with the properties.

Definition at line 206 of file icalcalendar.c.