1 #ifndef PITH_ICAL_INCLUDED
2 #define PITH_ICAL_INCLUDED
4 #include "../pith/icaltype.h"
6 void ical_free_vcalendar(void **);
7 void ical_free_duration(ICAL_DURATION_S
**ic_d
);
8 int ical_first_of_month(int, int); /* args: month, year - in that order */
9 int ical_day_of_week(struct tm
); /* args: a time structure */
10 int ical_parse_date(char *, struct tm
*);
11 int ical_parse_duration(char *, ICAL_DURATION_S
*);
12 int ical_remove_escapes(char **);
13 VEVENT_SUMMARY_S
*ical_vevent_summary(VCALENDAR_S
*);
14 void free_vevent_summary(VEVENT_SUMMARY_S
**);
16 VCALENDAR_S
*ical_parse_text(char *); /* this is the entry point */
17 void ical_free_all(void);
19 #endif /* ifndef PITH_ICAL_INCLUDED */