[Evolution-hackers] Creating iCal components



Hi

I have a question regarding libical. Since you authored the documentation, I figured you would know!

Suppose my iCal string contains multiple events ie, looks as follows:
BEGIN:VCALENDAR
...
BEGIN:VEVENT
...
END:VEVENT
BEGIN:VEVENT
...
END:VEVENT
END:VCALENDAR

I'm using the icalcomponent* icalcomponent_new_from_string(char* str) function to parse it. According to the libical documentation "If the string contains multiple components, the multiple components will be returned as the children of an ICAL_XROOT_COMPONENT component."

What functions can I use to access these children vevent components? Code snippets would be great.

Thanks!

Regards,
Teresa



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]