| libempathy-gtk Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
GValue * empathy_plist_parse_from_file (const char *filename); GValue * empathy_plist_parse_from_memory (const char *data, gsize len);
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.
|
file containing XML plist data to parse |
Returns : |
NULL on error, a newly allocated
GValue otherwise. Free it using tp_g_value_slice_free()
|
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.
|
memory location containing XML plist data to parse |
|
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()
|