Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
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

◆ icalcalendar_free()

void icalcalendar_free ( icalcalendar * calendar)

Definition at line 111 of file icalcalendar.c.

◆ icalcalendar_get_booked()

icalset * icalcalendar_get_booked ( icalcalendar * calendar)

Definition at line 166 of file icalcalendar.c.

◆ icalcalendar_get_freebusy()

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.

◆ icalcalendar_get_incoming()

icalset * icalcalendar_get_incoming ( icalcalendar * calendar)

Definition at line 187 of file icalcalendar.c.

◆ icalcalendar_get_properties()

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.

◆ icalcalendar_islocked()

int icalcalendar_islocked ( const icalcalendar * calendar)

Definition at line 154 of file icalcalendar.c.

◆ icalcalendar_lock()

int icalcalendar_lock ( const icalcalendar * calendar)

Definition at line 142 of file icalcalendar.c.

◆ icalcalendar_new()

icalcalendar * icalcalendar_new ( const char * dir)

Definition at line 84 of file icalcalendar.c.

◆ icalcalendar_ownlock()

int icalcalendar_ownlock ( const icalcalendar * calendar)

Definition at line 160 of file icalcalendar.c.

◆ icalcalendar_unlock()

int icalcalendar_unlock ( const icalcalendar * calendar)

Definition at line 148 of file icalcalendar.c.