diff options
Diffstat (limited to 'calendar/cal-client/cal-client.h')
-rw-r--r-- | calendar/cal-client/cal-client.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/calendar/cal-client/cal-client.h b/calendar/cal-client/cal-client.h index 3c6570e5be..07acc0d232 100644 --- a/calendar/cal-client/cal-client.h +++ b/calendar/cal-client/cal-client.h @@ -81,14 +81,23 @@ struct _CalClientClass { void (* obj_updated) (CalClient *client, const char *uid); void (* obj_removed) (CalClient *client, const char *uid); + + void (* forget_password) (CalClient *client, const char *key); }; +typedef gchar * (* CalClientAuthFunc) (CalClient *client, + const gchar *prompt, + const gchar *key, + gpointer user_data); + GtkType cal_client_get_type (void); CalClient *cal_client_construct (CalClient *client); CalClient *cal_client_new (void); +void cal_client_set_auth_func (CalClient *client, CalClientAuthFunc func, gpointer data); + gboolean cal_client_open_calendar (CalClient *client, const char *str_uri, gboolean only_if_exists); CalClientLoadState cal_client_get_load_state (CalClient *client); @@ -107,6 +116,8 @@ GList *cal_client_get_changes (CalClient *client, CalObjType type, const char *c GList *cal_client_get_objects_in_range (CalClient *client, CalObjType type, time_t start, time_t end); +GList *cal_client_get_free_busy (CalClient *client, time_t start, time_t end); + void cal_client_generate_instances (CalClient *client, CalObjType type, time_t start, time_t end, CalRecurInstanceFn cb, gpointer cb_data); |