} status_t;
/* Calendar type */
-typedef struct {
- char *name;
- char *desc;
- void *data;
+typedef struct cal_t {
+ char *type;
+ char *name;
+ char *desc;
+ struct cal_t *next;
} cal_t;
/* Calendar item types */
} todo_t;
/* Global data */
+extern cal_t *CALS;
extern event_t *EVENTS;
extern todo_t *TODOS;