From c374807e9d73014ce57eacbbaa56e05460288368 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 9 Feb 2019 00:19:58 +0100 Subject: Extend parsing to handle tree's of vcomponents. --- calendar.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'calendar.c') diff --git a/calendar.c b/calendar.c index 477de492..fef4ab28 100644 --- a/calendar.c +++ b/calendar.c @@ -70,10 +70,7 @@ int parse_dir(vcomponent* cal, char* path) { exit (1); } - /* TODO currently the hedaers cal is overwritten each - * iteration (not really, since I don't save any headers). - * Preferably, a special case is made for vdir structures - * which can assume that all headers are equal. */ + // TODO complete path parse_file(fname, f, cal); fclose(f); @@ -115,6 +112,7 @@ int read_vcalendar(vcomponent* cal, char* path) { exit (1); } + // TODO absolute path parse_file(path, f, cal); fclose(f); break; -- cgit v1.2.3