Method

PurpleXmlNodeget_child

since: 3.0

Declaration [src]

PurpleXmlNode*
purple_xmlnode_get_child (
  const PurpleXmlNode* parent,
  const char* name
)

Description [src]

Gets a child node named name.

Available since: 3.0

Parameters

name

Type: const char*

The child’s name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.

Return value

Type: PurpleXmlNode

The child or NULL.

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