nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
API for parsing iCalendar

Data Structures

struct  ical_component
 iCalendar component. More...
 
struct  ical_parser_evt
 iCalendar parser event. More...
 
struct  icalendar_parser
 iCalendar parser instance. More...
 

Typedefs

typedef int(* icalendar_parser_callback_t) (const struct ical_parser_evt *event)
 iCalendar parser asynchronous event handler.
 

Enumerations

enum  ical_parser_evt_id {
  ICAL_EVT_VEVENT , ICAL_EVT_VTODO , ICAL_EVT_VJOURNAL , ICAL_EVT_VTIMEZONE ,
  ICAL_EVT_VFREEBUSY
}
 iCalendar parser event IDs. More...
 
enum  ical_parser_error_id {
  ICAL_ERROR_NONE , ICAL_ERROR_SUMMARY , ICAL_ERROR_LOCATION , ICAL_ERROR_DESCRIPTION ,
  ICAL_ERROR_DTSTART , ICAL_ERROR_DTEND , ICAL_ERROR_COM_NOT_SUPPORTED
}
 iCalendar parser error IDs. More...
 

Functions

int ical_parser_init (struct icalendar_parser *ical, icalendar_parser_callback_t callback)
 Initialize iCalendar parser.
 
size_t ical_parser_parse (struct icalendar_parser *ical, const char *data, size_t len)
 Parse the iCalendar data stream. Return the parsed bytes.
 

Detailed Description