/*
- * Copyright (C) 2012 Andy Spencer <andy753421@gmail.com>
+ * Copyright (C) 2012-2013 Andy Spencer <andy753421@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
date_t end;
const cal_t *cal;
struct event_t *next;
+ struct event_t *prev;
} event_t;
typedef struct todo_t {
date_t due;
cal_t *cal;
struct todo_t *next;
+ struct todo_t *prev;
} todo_t;
/* Global data */
-extern cal_t *CALS;
-extern event_t *EVENTS;
-extern todo_t *TODOS;
+extern cal_t *CAL, *CALS;
+extern event_t *EVENT, *EVENTS;
+extern todo_t *TODO, *TODOS;
/* Calendar functions */
void cal_init(void);