diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-09 00:19:58 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-02-09 00:19:58 +0100 |
commit | c374807e9d73014ce57eacbbaa56e05460288368 (patch) | |
tree | af9974aa6b03c9e25c9e42c108d9f25277665b41 /calendar.c | |
parent | Fix minor memmory error. (diff) | |
download | calp-c374807e9d73014ce57eacbbaa56e05460288368.tar.gz calp-c374807e9d73014ce57eacbbaa56e05460288368.tar.xz |
Extend parsing to handle tree's of vcomponents.
Diffstat (limited to 'calendar.c')
-rw-r--r-- | calendar.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |