Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: iCal.h
- Revision:
- 11:fe5586155a42
- Parent:
- 10:deeaec151283
--- a/iCal.h Tue Jan 26 11:58:10 2016 +0000 +++ b/iCal.h Mon Feb 27 02:17:06 2017 +0000 @@ -65,6 +65,27 @@ extern Event_T EventList[EVENT_COUNT]; +/// Prepare to start processing an iCal stream +/// +/// This initializes the data structures for parsing. +/// +/// @code +/// ParseICalStart(); +/// while (receive(buf, ... )) +/// ParseICalStream(buf, ...); +/// count = ParseICalClose(); +/// @endcode +/// +void ParseICalStart(void); + + +/// End processing an iCal stream and return the number of events +/// +/// @returns number of events in range +/// +int ParseICalClose(void); + + /// Parse an iCal stream, and extract everything useful. /// /// This accepts a pointer to a [large] buffer, which is the contents