From 7539f8c8804849294e100c5442e0397f4f4d2c40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 1 Oct 2019 23:39:00 +0200 Subject: Disabled bunch of old stuff, new stuff kinda builds. --- src/calendar.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/calendar.h') diff --git a/src/calendar.h b/src/calendar.h index 20b78a9f..3e6941f9 100644 --- a/src/calendar.h +++ b/src/calendar.h @@ -1,7 +1,9 @@ #ifndef CALENDAR_H #define CALENDAR_H -#include "vcal.h" +#include + +// #include "vcal.h" /* * Reads all ics flies in path into the given vcomponent. The @@ -11,7 +13,7 @@ * path should either be a single .ics file (vcalendar), or a * directory directly containing .ics files (vdir). */ -int read_vcalendar(vcomponent* cal, char* path); +int read_vcalendar(SCM cal, char* path); /* * Gets extension from filename. Writes output to ext. @@ -27,15 +29,15 @@ int get_extension(const char* filename, char* ext, ssize_t max_len); int check_ext (const char* path, const char* ext); /* Handle a lone ics file */ -int handle_file(vcomponent* cal, char* path); +int handle_file(SCM cal, char* path); /* Handle a directory of ics files */ -int handle_dir(vcomponent* cal, char* path); +int handle_dir(SCM cal, char* path); /* * Helper for opening a single ICS file. Handles file internally, and * writes output to cal. */ -int open_ics (char* resolved_path, vcomponent* cal); +int open_ics (char* resolved_path, SCM cal); #endif /* CALENDAR_H */ -- cgit v1.2.3