summaryrefslogtreecommitdiff
path: root/pith/ical.h
diff options
context:
space:
mode:
Diffstat (limited to 'pith/ical.h')
-rw-r--r--pith/ical.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/pith/ical.h b/pith/ical.h
new file mode 100644
index 00000000..9da4516f
--- /dev/null
+++ b/pith/ical.h
@@ -0,0 +1,17 @@
+#ifndef ICAL_INCLUDED
+#define ICAL_INCLUDED
+
+#include "../pith/icaltype.h"
+
+void ical_free_vcalendar(void **);
+void ical_free_duration(ICAL_DURATION_S **ic_d);
+int ical_first_of_month(int, int); /* args: month, year - in that order */
+int ical_day_of_week(struct tm); /* args: a time structure */
+int ical_parse_date(char *, struct tm *);
+int ical_parse_duration(char *, ICAL_DURATION_S *);
+VEVENT_SUMMARY_S *ical_vevent_summary(VCALENDAR_S *);
+void free_vevent_summary(VEVENT_SUMMARY_S **);
+
+VCALENDAR_S *ical_parse_text(char *); /* this is the entry point */
+
+#endif /* ifndef ICAL_INCLUDED */