empathy-plist

empathy-plist

Synopsis

GValue *            empathy_plist_parse_from_file       (const char *filename);
GValue *            empathy_plist_parse_from_memory     (const char *data,
                                                         gsize len);

Description

Details

empathy_plist_parse_from_file ()

GValue *            empathy_plist_parse_from_file       (const char *filename);

Parses the XML plist file. If an error occurs during the parsing, empathy_plist_parse_from_file() will return NULL.

filename :

file containing XML plist data to parse

Returns :

NULL on error, a newly allocated GValue otherwise. Free it using tp_g_value_slice_free()

empathy_plist_parse_from_memory ()

GValue *            empathy_plist_parse_from_memory     (const char *data,
                                                         gsize len);

Parses the XML plist file stored in data which length is len bytes. If an error occurs during the parsing, empathy_plist_parse_from_memory() will return NULL.

data :

memory location containing XML plist data to parse

len :

length in bytes of the string to parse

Returns :

NULL on error, a newly allocated GValue otherwise. Free it using tp_g_value_slice_free()