aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/cal-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util/cal-util.h')
-rw-r--r--calendar/cal-util/cal-util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/calendar/cal-util/cal-util.h b/calendar/cal-util/cal-util.h
index 7821ce8ca4..b222ea8cba 100644
--- a/calendar/cal-util/cal-util.h
+++ b/calendar/cal-util/cal-util.h
@@ -42,6 +42,16 @@ typedef struct {
void cal_obj_instance_list_free (GList *list);
+/* Instance of an alarm trigger */
+typedef struct {
+ char *uid; /* UID of object */
+ enum AlarmType type; /* Type of alarm */
+ time_t trigger; /* Alarm trigger time */
+ time_t occur; /* Occurrence time */
+} CalAlarmInstance;
+
+void cal_alarm_instance_list_free (GList *list);
+
/* Used for multiple UID queries */
typedef enum {
CALOBJ_TYPE_EVENT = 1 << 0,