parse


Description:

[ Version ( since = "1.0" ) ]
public Component parse (ParserLineGenFunc func)

icalparser_parse takes a string that holds the text ( in RFC 2445 format ) and returns a pointer to an Component.

The caller owns the memory. func is a pointer to a function that returns one content line per invocation.

Parameters:

this

The parser used to parse the string and output the Component

func

The function used to parse

user_data

The data given to func

Returns:

The component output by the parser.