Method

PurpleXmlNodeto_formatted_str

unstable since: 3.0

Declaration [src]

char*
purple_xmlnode_to_formatted_str (
  const PurpleXmlNode* node,
  int* len
)

Description [src]

Returns the node in a string of human readable xml.

Available since: 3.0

Parameters

len

Type: int*

Address for the size of the string.

The data is owned by the caller of the method.

Return value

Type: char*

The node as human readable string including tab and new line characters. You must g_free this string when finished using it.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.