Method

PurpleXmlNodeto_str

since: 3.0

Declaration [src]

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

Description [src]

Returns the node in a string of 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 function.

Return value

Type: char*

The node represented as a string. You must g_free this string when finished using it.

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