/*
- * 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
/* Test data */
static cal_t cal = {
+ .type = "dummy",
.name = "dummy",
.desc = "dummy calendar",
- .data = NULL,
};
static event_t event = {
enable = get_bool(value);
}
+/* Cal functions */
+cal_t *dummy_cals(void)
+{
+ return &cal;
+}
+
/* Event functions */
event_t *dummy_events(date_t start, date_t end)
{