David Smart / iCal
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