Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
Loading...
Searching...
No Matches
icalgauge.h File Reference

Routines implementing a filter for ical components. More...

Go to the source code of this file.

Typedefs

typedef struct icalgauge_impl icalgauge

Functions

bool icalgauge_compare (icalgauge *g, icalcomponent *comp)
 Returns true if comp matches the gauge.
void icalgauge_dump (icalgauge *gauge)
 Debug.
void icalgauge_free (icalgauge *gauge)
int icalgauge_get_expand (const icalgauge *gauge)
icalgaugeicalgauge_new_from_sql (const char *sql, int expand)

Detailed Description

Routines implementing a filter for ical components.

Function Documentation

◆ icalgauge_compare()

bool icalgauge_compare ( icalgauge * g,
icalcomponent * comp )

Returns true if comp matches the gauge.

The component must be in canonical form – a VCALENDAR with one VEVENT, VTODO or VJOURNAL sub component

needs to use recurrence-id to do comparison

◆ icalgauge_dump()

void icalgauge_dump ( icalgauge * gauge)

Debug.

Prints gauge information to STDOUT.

◆ icalgauge_get_expand()

int icalgauge_get_expand ( const icalgauge * gauge)

Returns the expand value for the specified icalgauge. If gauge is NULL a value of -1 is returned.