Method

PurpleXmlNodecopy

since: 3.0

Declaration [src]

PurpleXmlNode*
purple_xmlnode_copy (
  const PurpleXmlNode* src
)

Description [src]

Creates a new node from the source node.

Available since: 3.0

Return value

Type: PurpleXmlNode

A new copy of the src node.

The caller of the method takes ownership of the data, and is responsible for freeing it.