| evolution-kolab_calendar Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | ||||
KolabUtilCalendarKolabUtilCalendar — Utility methods for Evolution-Kolab calendar backend implementation. |
KolabUtilCalendarClass; KolabUtilCalendar; ECalBackendSyncStatus kolab_util_calendar_extract (icalcomponent *icalcomp,ECalSourceType source_type,ECalComponent **ecalcomp,ECalComponent **tzcomp); gchar * kolab_util_calendar_get_tzid (ECalComponent *comp,ECalComponentField from); gboolean kolab_util_calendar_toggle_pfb_trigger (KolabSettingsHandler *ksettings,const gchar *sourcename); KolabHttpJob * kolab_util_calendar_retrieve_xfb (KolabSettingsHandler *ksettings,gchar *query); void kolab_util_calendar_store (ECalComponent *ecalcomp,ECalComponent *ecaltz,ECalComponent *default_tz,KolabMailAccess *koma,const gchar *uri,GError **error); ECalBackendSyncStatus kolab_util_calendar_map_error (GError *error);
ECalBackendSyncStatus kolab_util_calendar_extract (icalcomponent *icalcomp,ECalSourceType source_type,ECalComponent **ecalcomp,ECalComponent **tzcomp);
Extract supported information from icalcomponent and return them through ecalcomp and tzcomp.
|
An icalcomponent. |
|
The data type to process. |
|
An ECalComponent to return the extracted values to. |
|
An ECaComponent to return contained timezone data. |
Returns : |
if the given component type could be extracted successfully into ecalcomp + tzcomp; |
gchar * kolab_util_calendar_get_tzid (ECalComponent *comp,ECalComponentField from);
The ECalComponentDateTime Struct from an ECalComponents dtstart field or dtend field is queried for its tzid.
|
An ECalComponent to derive the tzid from. |
|
field to get the tzid from. |
Returns : |
A newly allocated tzid string (g_free() after usage) or NULL if no ID was found.
|
gboolean kolab_util_calendar_toggle_pfb_trigger (KolabSettingsHandler *ksettings,const gchar *sourcename);
KolabHttpJob * kolab_util_calendar_retrieve_xfb (KolabSettingsHandler *ksettings,gchar *query);
void kolab_util_calendar_store (ECalComponent *ecalcomp,ECalComponent *ecaltz,ECalComponent *default_tz,KolabMailAccess *koma,const gchar *uri,GError **error);
ECalBackendSyncStatus kolab_util_calendar_map_error (GError *error);