]> Pileus Git - lackey/blobdiff - src/cal.h
Convert YEAR/MONTH/DAY to Selection struct
[lackey] / src / cal.h
index f3f7a5fe41abef340f219e7ea8fcbb9ee93f4a6b..72bcd955db4825844db259cda32196608f9bb8a6 100644 (file)
--- a/src/cal.h
+++ b/src/cal.h
@@ -1,5 +1,5 @@
 /*
- * 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
@@ -39,6 +39,7 @@ typedef struct event_t {
        date_t          end;
        const cal_t    *cal;
        struct event_t *next;
+       struct event_t *prev;
 } event_t;
 
 typedef struct todo_t {
@@ -50,6 +51,7 @@ typedef struct todo_t {
        date_t         due;
        cal_t         *cal;
        struct todo_t *next;
+       struct todo_t *prev;
 } todo_t;
 
 /* Global data */