diff options
author | Eduardo Chappa <chappa@washington.edu> | 2017-12-10 09:24:34 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2017-12-10 09:24:34 -0700 |
commit | 480bf4063f7d31b7d2c9ec8edd9fc4280ffb39ee (patch) | |
tree | 542f1b86a451bc33e6320dce3ccfed4ea57580a3 /pith/ical.h | |
parent | e0ebb8756c000f325a14469eec065654882bd0ac (diff) | |
download | alpine-480bf4063f7d31b7d2c9ec8edd9fc4280ffb39ee.tar.xz |
Initial commit for branch ical
Diffstat (limited to 'pith/ical.h')
-rw-r--r-- | pith/ical.h | 17 |
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 */ |