X-Git-Url: http://pileus.org/git/?p=lackey;a=blobdiff_plain;f=src%2Fcal.h;h=f3f7a5fe41abef340f219e7ea8fcbb9ee93f4a6b;hp=48e1af4d20b1b0daf2cb0846c862283f76a9ae41;hb=b90716f36fac6e8c16dabd981cd47eeb9a8ec4f1;hpb=2b8964c94d39fc6d888e0b274cfb9fbe59424c1c diff --git a/src/cal.h b/src/cal.h index 48e1af4..f3f7a5f 100644 --- a/src/cal.h +++ b/src/cal.h @@ -22,10 +22,11 @@ typedef enum { } 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 */ @@ -52,6 +53,7 @@ typedef struct todo_t { } todo_t; /* Global data */ +extern cal_t *CALS; extern event_t *EVENTS; extern todo_t *TODOS;