aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/calobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/calobj.h')
-rw-r--r--calendar/calobj.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/calendar/calobj.h b/calendar/calobj.h
index 7dc810b459..9287332d40 100644
--- a/calendar/calobj.h
+++ b/calendar/calobj.h
@@ -79,10 +79,21 @@ enum RecurType {
RECUR_YEARLY_BY_DAY,
};
+#define DAY_LASTDAY 10000
+
typedef struct {
enum RecurType type;
- int frequency;
+ int interval;
+ time_t enddate;
+ int weekday;
+
+ union {
+ int month_pos;
+ int month_day;
+ } u;
+
+ int temp_duration; /* Used temporarly, we compute enddate */
} Recurrence;
/* Flags to indicate what has changed in an object */