|  |  |  | evolution-kolab_calendar Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
| KolabUtilCalendarKolabUtilCalendar — Utility methods for Evolution-Kolab calendar backend implementation. | 
gchar * kolab_util_calendar_dup_email_address (ECalBackend *backend); void kolab_util_calendar_err_to_edb_err (GError **e_err,const GError *k_err,const gchar *func,guint line); gboolean kolab_util_calendar_extract (icalcomponent *icalcomp,ECalSourceType source_type,ECalComponent **ecalcomp,ECalComponent **tzcomp,GError **error); gchar * kolab_util_calendar_get_tzid (ECalComponent *comp,ECalComponentField from); KolabUtilHttpJob * kolab_util_calendar_retrieve_xfb (KolabSettingsHandler *ksettings,gchar *query,GError **error); gboolean kolab_util_calendar_store (ECalComponent *ecalcomp,ECalComponent *ecaltz,ECalComponent *default_tz,ECalBackendSync *backend,KolabMailAccess *koma,GCancellable *cancellable,GError **error); gboolean kolab_util_calendar_toggle_pfb_trigger (KolabSettingsHandler *ksettings,const gchar *sourcename,GError **error);
gchar *             kolab_util_calendar_dup_email_address
                                                        (ECalBackend *backend);
Retrieves the email address associated with the backend
from the source registry. The caller needs to free the
result, if non-NULL.
| 
 | the cal backend via which we get to the source registry | 
| Returns : | An email address or NULL if none found. | 
Since 3.6
void kolab_util_calendar_err_to_edb_err (GError **e_err,const GError *k_err,const gchar *func,guint line);
gboolean kolab_util_calendar_extract (icalcomponent *icalcomp,ECalSourceType source_type,ECalComponent **ecalcomp,ECalComponent **tzcomp,GError **error);
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. | 
KolabUtilHttpJob * kolab_util_calendar_retrieve_xfb (KolabSettingsHandler *ksettings,gchar *query,GError **error);
gboolean kolab_util_calendar_store (ECalComponent *ecalcomp,ECalComponent *ecaltz,ECalComponent *default_tz,ECalBackendSync *backend,KolabMailAccess *koma,GCancellable *cancellable,GError **error);