aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-component.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util/cal-component.h')
-rw-r--r--calendar/cal-util/cal-component.h23
1 files changed, 13 insertions, 10 deletions
diff --git a/calendar/cal-util/cal-component.h b/calendar/cal-util/cal-component.h
index 2d47746eda..0b745baa9d 100644
--- a/calendar/cal-util/cal-component.h
+++ b/calendar/cal-util/cal-component.h
@@ -140,18 +140,13 @@ void cal_component_set_uid (CalComponent *comp, const char *uid);
void cal_component_get_categories_list (CalComponent *comp, GSList **categ_list);
void cal_component_set_categories_list (CalComponent *comp, GSList *categ_list);
-void cal_component_free_categories_list (GSList *categ_list);
void cal_component_get_classification (CalComponent *comp, CalComponentClassification *classif);
void cal_component_set_classification (CalComponent *comp, CalComponentClassification classif);
-void cal_component_free_text_list (GSList *text_list);
-
void cal_component_get_comment_list (CalComponent *comp, GSList **text_list);
void cal_component_set_comment_list (CalComponent *comp, GSList *text_list);
-void cal_component_free_icaltimetype (struct icaltimetype *t);
-
void cal_component_get_completed (CalComponent *comp, struct icaltimetype **t);
void cal_component_set_completed (CalComponent *comp, struct icaltimetype *t);
@@ -161,8 +156,6 @@ void cal_component_set_created (CalComponent *comp, struct icaltimetype *t);
void cal_component_get_description_list (CalComponent *comp, GSList **text_list);
void cal_component_set_description_list (CalComponent *comp, GSList *text_list);
-void cal_component_free_datetime (CalComponentDateTime *dt);
-
void cal_component_get_dtend (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_set_dtend (CalComponent *comp, CalComponentDateTime *dt);
@@ -175,17 +168,17 @@ void cal_component_set_dtstart (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_get_due (CalComponent *comp, CalComponentDateTime *dt);
void cal_component_set_due (CalComponent *comp, CalComponentDateTime *dt);
+void cal_component_get_exdate_list (CalComponent *comp, GSList **period_list);
+void cal_component_set_exdate_list (CalComponent *comp, GSList *period_list);
+
void cal_component_get_last_modified (CalComponent *comp, struct icaltimetype **t);
void cal_component_set_last_modified (CalComponent *comp, struct icaltimetype *t);
-void cal_component_free_period_list (GSList *period_list);
-
void cal_component_get_rdate_list (CalComponent *comp, GSList **period_list);
void cal_component_set_rdate_list (CalComponent *comp, GSList *period_list);
void cal_component_get_sequence (CalComponent *comp, int **sequence);
void cal_component_set_sequence (CalComponent *comp, int *sequence);
-void cal_component_free_sequence (int *sequence);
void cal_component_get_summary (CalComponent *comp, CalComponentText *summary);
void cal_component_set_summary (CalComponent *comp, CalComponentText *summary);
@@ -196,6 +189,16 @@ void cal_component_set_transparency (CalComponent *comp, CalComponentTransparenc
void cal_component_get_url (CalComponent *comp, const char **url);
void cal_component_set_url (CalComponent *comp, const char *url);
+/* Functions to free returned values */
+
+void cal_component_free_categories_list (GSList *categ_list);
+void cal_component_free_datetime (CalComponentDateTime *dt);
+void cal_component_free_exdate_list (GSList *exdate_list);
+void cal_component_free_icaltimetype (struct icaltimetype *t);
+void cal_component_free_period_list (GSList *period_list);
+void cal_component_free_sequence (int *sequence);
+void cal_component_free_text_list (GSList *text_list);
+
/* Alarms */
typedef enum {