|
Libical API Documentation 4.0 UNRELEASED Go to the stable 3.0 documentation
|
Routines implementing a filter for ical components. More...
Go to the source code of this file.
Functions | |
| bool | icalgauge_compare (icalgauge *g, icalcomponent *comp) |
| void | icalgauge_dump (icalgauge *gauge) |
| void | icalgauge_free (icalgauge *gauge) |
| int | icalgauge_get_expand (const icalgauge *gauge) |
| icalgauge * | icalgauge_new_from_sql (const char *sql, int expand) |
Routines implementing a filter for ical components.
Definition in file icalgauge.h.
| bool icalgauge_compare | ( | icalgauge * | g, |
| icalcomponent * | comp ) |
Returns true if comp matches the gauge.
| g | a pointer to a valid icalgauge |
| comp | a pointer to a valid icalcomponent |
The component comp must be in canonical form, i.e. a VCALENDAR with either a VEVENT, VTODO or VJOURNAL sub-component.
needs to use recurrence-id to do comparison
Definition at line 216 of file icalgauge.c.
| void icalgauge_dump | ( | icalgauge * | gauge | ) |
(Debug) Prints gauge information to STDOUT.
| gauge | is a pointer to a vaid icalgauge. |
Definition at line 382 of file icalgauge.c.
| void icalgauge_free | ( | icalgauge * | gauge | ) |
Frees memory for the specified icalgauge.
| gauge | a non-NULL pointer to valid icalgauge |
Definition at line 72 of file icalgauge.c.
| int icalgauge_get_expand | ( | const icalgauge * | gauge | ) |
Returns the expand value for the specified icalgauge.
| gauge | is a pointer to a valid icalgauge. |
gauge integer value. or -1 if gauge is NULL. Definition at line 66 of file icalgauge.c.
| icalgauge * icalgauge_new_from_sql | ( | const char * | sql, |
| int | expand ) |
Construct a new icalguage from SQL with a specified expand value.
| sql | is a pointer to a char string containing a valid SQL command |
| expand | some integer to associate with this icalgauge |
Definition at line 38 of file icalgauge.c.