an iCal processing library

Revision:
8:87549cc99d5e
Parent:
5:69577415c16e
Child:
10:deeaec151283
--- a/iCal.h	Thu Jul 10 11:01:49 2014 +0000
+++ b/iCal.h	Sat Oct 11 17:26:20 2014 +0000
@@ -45,6 +45,7 @@
 typedef int32_t tz_sec_t;
 typedef int16_t tz_min_t;
 
+/// A single event consists of quite a number of attributes.
 typedef struct {
     time_t Start;
     time_t End;
@@ -55,17 +56,15 @@
     uint8_t RepeatDays;             // bit mapped (bit 0 = sunday, bit 1=monday, ...)
     uint16_t RepeatMonths;          // bit mapped (bit 0 = jan, 1=feb, ...)
     uint32_t RepeatMonthDay;        // bit mapped (bit 1 = 1st, 2=2nd, ...)
-    uint32_t RepeatMonthDayRev;   // reverse -1 = last day = bit 1, -2=bit 2, ...
+    uint32_t RepeatMonthDayRev;     // reverse -1 = last day = bit 1, -2=bit 2, ...
     char Summary[SUMMARY_CHARS];
     char Location[LOCATION_CHARS];
-    char Category[CATEGORY_CHARS];     // "Green", ...
-    int Priority;           // 1 == High, 5 == Normal, 9 == Low
+    char Category[CATEGORY_CHARS];  // "Green", ...
+    int Priority;                   // 1 == High, 5 == Normal, 9 == Low
 } Event_T;
 
-
 extern Event_T EventList[EVENT_COUNT];
 
-
 /// Parse an iCal stream, and extract everything useful.
 ///
 /// This accepts a pointer to a [large] buffer, which is the contents