]> Pileus Git - lackey/blobdiff - src/cal.c
Add event parsing for EWS calendars
[lackey] / src / cal.c
index 8fe7e702f15079dbd1d6050f4c45df91acf3202b..4e2a1e6b816c91bbdba8fdec0f32f85a48e02e20 100644 (file)
--- a/src/cal.c
+++ b/src/cal.c
@@ -65,7 +65,8 @@ static void add_todo(todo_t **first, todo_t **last, todo_t **next)
        (*next) = (*next)->next;
 }
 
-static cal_t *merge_cals(cal_t *a, cal_t *b)
+/* Merge functions */
+cal_t *merge_cals(cal_t *a, cal_t *b)
 {
        // TODO - we should sort these
        if (!a) return b;
@@ -77,7 +78,7 @@ static cal_t *merge_cals(cal_t *a, cal_t *b)
        return a;
 }
 
-static event_t *merge_events(event_t *a, event_t *b)
+event_t *merge_events(event_t *a, event_t *b)
 {
        event_t *first = NULL, *last = NULL;
        while (a && b)
@@ -90,7 +91,7 @@ static event_t *merge_events(event_t *a, event_t *b)
        return first;
 }
 
-static todo_t *merge_todos(todo_t *a, todo_t *b)
+todo_t *merge_todos(todo_t *a, todo_t *b)
 {
        todo_t *first = NULL, *last = NULL;
        while (a && b)