| evolution-kolab_calendar Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
KolabUtilCalendarKolabUtilCalendar — Utility methods for Evolution-Kolab calendar backend implementation. |
ECalBackendSyncStatus kolab_util_calendar_extract (icalcomponent *icalcomp,ECalSourceType source_type,ECalComponent **ecalcomp,ECalComponent **tzcomp); gchar * kolab_util_calendar_get_tzid (ECalComponent *comp,ECalComponentField from); ECalBackendSyncStatus kolab_util_calendar_map_error (GError *error); KolabHttpJob * kolab_util_calendar_retrieve_xfb (KolabSettingsHandler *ksettings,gchar *query,GError **error); gboolean kolab_util_calendar_store (ECalComponent *ecalcomp,ECalComponent *ecaltz,ECalComponent *default_tz,KolabMailAccess *koma,const gchar *uri,GCancellable *cancellable,GError **error); gboolean kolab_util_calendar_toggle_pfb_trigger (KolabSettingsHandler *ksettings,const gchar *sourcename,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 use)
or NULL if no ID was found. |
ECalBackendSyncStatus kolab_util_calendar_map_error (GError *error);
KolabHttpJob * kolab_util_calendar_retrieve_xfb (KolabSettingsHandler *ksettings,gchar *query,GError **error);
gboolean kolab_util_calendar_store (ECalComponent *ecalcomp,ECalComponent *ecaltz,ECalComponent *default_tz,KolabMailAccess *koma,const gchar *uri,GCancellable *cancellable,GError **error);